ftimme
2012-11-14 aa78fde6a92f66b84d626e114d8b54a5fb6ece0c
interface/web/admin/lib/module.conf.php
@@ -47,6 +47,11 @@
                    'target'    => 'content',
                    'link'   => 'admin/server_php_list.php',
                    'html_id'   => 'server_php_list');
$items[] = array(   'title'    => 'Directive Snippets',
                    'target'    => 'content',
                    'link'   => 'admin/directive_snippets_list.php',
                    'html_id'   => 'directive_snippets_list');
$items[] = array(   'title'    => 'Firewall',
                    'target'    => 'content',
@@ -77,22 +82,6 @@
                    'target'    => 'content',
                    'link'   => 'admin/system_config_edit.php?id=1',
                    'html_id'   => 'interface_config');
//**** Load the settings pages of all installed themes
$menu_dir = ISPC_WEB_PATH.'/admin/lib/interface.d';
if (is_dir($menu_dir)) {
    if ($dh = opendir($menu_dir)) {
        //** Go through all files in the menu dir
        while (($file = readdir($dh)) !== false) {
            if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php') {
                include_once($menu_dir . '/' . $file);
            }
        }
    }
}
include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
$module['nav'][] = array(   'title'     => 'Interface',
                            'open'      => "1",