tbrehm
2012-04-23 d02193c14c33dd12edb14f000b1c4eb6b7c3f070
commit | author | age
85c90f 1 <?php
T 2
3 global $conf;
4
5 $module['name']         = 'tools';
40dd9f 6 $module['title']         = 'top_menu_tools';
85c90f 7 $module['template']     = 'module.tpl.htm';
T 8 $module['startpage']     = 'tools/index.php';
9 $module['tab_width']    = '60';
10
11
12 //**** Change User password
13 $items = array();
14
15 $items[] = array( 'title'     => 'Password and Language',
16                   'target'     => 'content',
9b56b7 17                   'link'    => 'tools/user_settings.php',
M 18                   'html_id'=> 'user_settings');
85c90f 19
T 20
21 $module['nav'][] = array(    'title'    => 'User Settings',
22                             'open'     => 1,
23                             'items'    => $items);
24
25
26 $menu_dir = ISPC_WEB_PATH.'/tools/lib/menu.d';
9b56b7 27
85c90f 28 if (is_dir($menu_dir)) {
T 29     if ($dh = opendir($menu_dir)) {
9b56b7 30         //** Go through all files in the menu dir
85c90f 31         while (($file = readdir($dh)) !== false) {
d02193 32             if($file != '.' && $file != '..' && substr($file,-9,9) == '.menu.php' && $file != 'dns_resync.menu.php') {
85c90f 33                 include_once($menu_dir.'/'.$file);
T 34             }
35         }
36     }
37 }
38
39 ?>