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.
 
 
 
 

55 wiersze
2.0 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. $items[] = array( 'title' => 'Versión',
  26. 'target' => 'content',
  27. 'link' => 'webdns/version_webdns.php',
  28. 'html_id' =>'version_webdns'
  29. );
  30. /*$items[] = array( 'title' => 'Web DNS2',
  31. 'target' => 'content',
  32. 'link' => 'customdns/new_service_dns2.php',
  33. 'html_id' => 'new_service_dns2');*/
  34. // Append the menu $items defined above to a menu section labeled 'Support'
  35. $module['nav'][] = array( 'title' => 'WebDNS',
  36. 'open' => 1,
  37. 'items' => $items
  38. );
  39. /*$module['nav'][] = array( 'title' => 'Versión',
  40. 'open' => 1,
  41. 'items' => $items
  42. );*/