Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
0e14d736
Commit
0e14d736
authored
Apr 17, 2015
by
Marius Cramer
Browse files
- Fixed top navigation
parent
2df826da
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/nav.php
View file @
0e14d736
...
...
@@ -74,7 +74,7 @@ if(isset($_GET['nav']) && $_GET['nav'] == 'top') {
$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'
]);
}
...
...
interface/web/vm/lib/module.conf.php
View file @
0e14d736
...
...
@@ -5,6 +5,7 @@ $module['title'] = 'top_menu_vm';
$module
[
'template'
]
=
'module.tpl.htm'
;
$module
[
'startpage'
]
=
'vm/openvz_vm_list.php'
;
$module
[
'tab_width'
]
=
''
;
$module
[
'order'
]
=
'50'
;
//**** Templates menu
$items
=
array
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment