| | |
| | | $language = (isset($_SESSION['s']['user']['language']))?$_SESSION['s']['user']['language']:$conf['language']; |
| | | $app->load_language_file('web/'.$mt.'/lib/'.$language.'.lng'); |
| | | $active = ($module['name'] == $_SESSION['s']['module']['name']) ? 1 : 0; |
| | | $topnav[$module['order']] = array( 'title' => $app->lng($module['title']), |
| | | $topnav[$module['order'].'-'.$module['name']] = array( 'title' => $app->lng($module['title']), |
| | | 'active' => $active, |
| | | 'module' => $module['name']); |
| | | } |
| | |
| | | $module['template'] = 'module.tpl.htm'; |
| | | $module['startpage'] = 'vm/openvz_vm_list.php'; |
| | | $module['tab_width'] = ''; |
| | | $module['order'] = '50'; |
| | | |
| | | //**** Templates menu |
| | | $items = array(); |