ftimme
2012-11-07 f4ca60a4e9e16cad86c1e5d68dc158977dc39e5d
interface/web/sites/lib/module.conf.php
@@ -25,6 +25,16 @@
                    'target'    => 'content',
                    'link'      => 'sites/web_subdomain_list.php',
                    'html_id'   => 'subdomain_list');
    // read web config
    $app->uses('getconf');
    $sys_config = $app->getconf->get_global_config('sites');
    if($sys_config['vhost_subdomains'] == 'y') {
$items[] = array(   'title'    => "Subdomain (Vhost)",
                    'target'    => 'content',
                    'link'      => 'sites/web_vhost_subdomain_list.php',
                    'html_id'   => 'subdomain_list');
    }
}
if($app->auth->get_client_limit($userid,'web_aliasdomain') != 0)
@@ -52,15 +62,12 @@
                    'link'   => 'sites/database_list.php',
                    'html_id'   => 'database_list');
/*
Database User (for future development)
$items[] = array(   'title'     => "Database User",
                    'target'    => 'content',
                    'link'   => 'sites/database_user_list.php',
                    'html_id'   => 'database_user_list'
);
*/
$module["nav"][] = array(   'title' => 'Database',
                            'open'  => 1,
@@ -101,6 +108,8 @@
// CMD menu
if($app->auth->get_client_limit($userid,'shell_user') != 0 OR $app->auth->get_client_limit($userid,'cron') != 0)
{
$items=array();
if($app->auth->get_client_limit($userid,'shell_user') != 0)
@@ -120,7 +129,7 @@
$module["nav"][] = array(   'title' => 'Command Line',
                            'open'  => 1,
                            'items' => $items);
}
// APS menu
$items = array();