Skip to content

Commit 0e14d73

Browse files
author
Marius Cramer
committed
- Fixed top navigation
1 parent 2df826d commit 0e14d73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

interface/web/nav.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
$language = (isset($_SESSION['s']['user']['language']))?$_SESSION['s']['user']['language']:$conf['language'];
7575
$app->load_language_file('web/'.$mt.'/lib/'.$language.'.lng');
7676
$active = ($module['name'] == $_SESSION['s']['module']['name']) ? 1 : 0;
77-
$topnav[$module['order']] = array( 'title' => $app->lng($module['title']),
77+
$topnav[$module['order'].'-'.$module['name']] = array( 'title' => $app->lng($module['title']),
7878
'active' => $active,
7979
'module' => $module['name']);
8080
}

interface/web/vm/lib/module.conf.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
$module['template'] = 'module.tpl.htm';
66
$module['startpage'] = 'vm/openvz_vm_list.php';
77
$module['tab_width'] = '';
8+
$module['order'] = '50';
89

910
//**** Templates menu
1011
$items = array();

0 commit comments

Comments
 (0)