Marius Cramer
2015-08-06 37b29231e47a0c4458dc1c15d98588f16f07e1e2
commit | author | age
85c90f 1 <?php
T 2
3 global $conf;
4
b1a6a5 5 $module['name']  = 'tools';
MC 6 $module['title']  = 'top_menu_tools';
7 $module['template']  = 'module.tpl.htm';
8 $module['startpage']  = 'tools/index.php';
85c90f 9 $module['tab_width']    = '60';
a563d5 10 $module['order']    = '80';
85c90f 11
T 12
13 //**** Change User password
14 $items = array();
15
b1a6a5 16 $items[] = array(   'title'  => 'Password and Language',
MC 17     'target'  => 'content',
18     'link' => 'tools/user_settings.php',
19     'html_id'   => 'user_settings');
85c90f 20
T 21
4eb8d2 22 $module['nav'][] = array(   'title' => 'User Settings',
b1a6a5 23     'open'  => 1,
MC 24     'items' => $items);
85c90f 25
4eb8d2 26 unset($items);
85c90f 27
4eb8d2 28 //**** Change interface settings + load settings page of the activated theme
C 29 $items = array();
30
31 $items[] = array(   'title'     => 'Interface',
b1a6a5 32     'target'  => 'content',
MC 33     'link' => 'tools/interface_settings.php',
34     'html_id'   => 'interface_settings');
4eb8d2 35
b1a6a5 36 if(file_exists(ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php')) include_once ISPC_WEB_PATH.'/tools/lib/interface.d/tpl_' . $_SESSION['s']['user']['app_theme'] . '.menu.php';
MC 37
38 $module['nav'][] = array( 'title' => 'Interface',
39     'open'  => 1,
40     'items' => $items);
4eb8d2 41
C 42 unset($items);
43
9b56b7 44
85c90f 45
b1a6a5 46 ?>