ISPConfig module for simplify the creation of websites and DNS zones in a only step
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

51 line
1.9 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' => 'Sitio Web',
  26. 'target' => 'content',
  27. 'link' => 'customdns/webdns_vhost_domain_edit.php?type=domain'
  28. //'../sites/web_vhost_domain_edit.php?type=domain'
  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. );