ISPConfig module for simplify the creation of websites and DNS zones in a only step
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

67 wiersze
2.3 KiB

  1. <?php
  2. //**** Module Definition ****
  3. // Name of the module. The module name must match the name of the module directory.
  4. // The module name may not contain spaces.
  5. $module['name'] = 'webdns';
  6. // Title of the module which is dispalayed in the top navigation.
  7. $module['title'] = 'WebDNS';
  8. // The template file of the module. This is always 'module.tpl.htm' unless
  9. // there are any special requirements such as a three column layout.
  10. $module['template'] = 'module.tpl.htm';
  11. // The page that is displayed when the module is loaded.
  12. // The path must is relative to the web/ directory
  13. $module['startpage'] = 'webdns/new_service_webdns.php';
  14. // The width of the tab. Normally you should leave this empty and
  15. // let the browser define the width automatically.
  16. $module['tab_width'] = '';
  17. //**** Menu Definition ****
  18. // Make sure that the items array is empty
  19. $items = array();
  20. // Add a menu item with the label 'Send message'
  21. $items[] = array( 'title' => 'Nuevo servicio web',
  22. 'target' => 'content',
  23. 'link' => 'webdns/new_service_webdns.php',
  24. 'html_id' => 'new_service_webdns'
  25. );
  26. /*$items[] = array( 'title' => 'La BD',
  27. 'target' => 'content',
  28. 'link' => 'webdns/database_edit.php',
  29. 'html_id' =>'db_service'
  30. );
  31. $items[] = array( 'title' => 'El FTP',
  32. 'target' => 'content',
  33. 'link' => 'webdns/ftp_user_edit.php',
  34. 'html_id' =>'ftp_user_service'
  35. );
  36. */
  37. $items[] = array( 'title' => 'Versión',
  38. 'target' => 'content',
  39. 'link' => 'webdns/version_webdns.php',
  40. 'html_id' =>'version_webdns'
  41. );
  42. /*$items[] = array( 'title' => 'Web DNS2',
  43. 'target' => 'content',
  44. 'link' => 'customdns/new_service_dns2.php',
  45. 'html_id' => 'new_service_dns2');*/
  46. // Append the menu $items defined above to a menu section labeled 'Support'
  47. $module['nav'][] = array( 'title' => 'WebDNS',
  48. 'open' => 1,
  49. 'items' => $items
  50. );
  51. /*$module['nav'][] = array( 'title' => 'Versión',
  52. 'open' => 1,
  53. 'items' => $items
  54. );*/