diff --git a/interface/web/help/lib/module.conf.php b/interface/web/help/lib/module.conf.php index 36696ffbe04034957b60c273869476d854d49c5d..4af598d5b4114538893122209f45020fbe8470fa 100644 --- a/interface/web/help/lib/module.conf.php +++ b/interface/web/help/lib/module.conf.php @@ -37,4 +37,24 @@ $module['nav'][] = array( 'title' => 'Support', 'open' => 1, 'items' => $items); + +if($_SESSION['s']['user']['typ'] == 'admin') { +//* make sure that the items array is empty +$items = array(); + +//* Add a menu item with the label 'View messages' +$items[] = array( 'title' => 'Version', + 'target' => 'content', + 'link' => 'help/version.php'); + + +//* Add the menu items defined above to a menu section labeled 'Support' +$module['nav'][] = array( 'title' => 'About ISPConfig', + 'open' => 1, + 'items' => $items); + +} + + + ?> \ No newline at end of file diff --git a/interface/web/help/version.php b/interface/web/help/version.php new file mode 100644 index 0000000000000000000000000000000000000000..e53143c215292acceef75a58290e6bcae6490c57 --- /dev/null +++ b/interface/web/help/version.php @@ -0,0 +1,50 @@ +auth->check_module_permissions('admin'); + +echo '

 

 

'.$app->lng('ISPConfig Version:').' '.ISPC_APP_VERSION.'

'; + +?> \ No newline at end of file diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index 92eb747686d67423a957b42b94c386d2a5217f94..3232f507346c6a52bb099d9906ac9311127a2d26 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -84,8 +84,9 @@ function submitLoginForm(formname) { loadContent(redirect); redirect = ''; } + document.getElementById('footer').innerHTML = 'Powered by ISPConfig'; */ - document.getElementById('footer').innerHTML = 'Powered by ISPConfig '; + } function submitForm(formname,target) { diff --git a/interface/web/themes/default/templates/main.tpl.htm b/interface/web/themes/default/templates/main.tpl.htm index 49a89d1553fc80dd533c966adb196d8bd42b503d..d7aad2f11381f7c10948c832bff822ffe1f38141 100644 --- a/interface/web/themes/default/templates/main.tpl.htm +++ b/interface/web/themes/default/templates/main.tpl.htm @@ -1,123 +1,123 @@ - - - - <tmpl_var name="app_title"> <tmpl_var name="app_version"> - "/> - - - - - - - - - - - - - -
-
- - - - - -
- -
-
-
 
-
-
- - -
-
- - -
-
-
-
-
 
- -
- -
- - - -
- - + + + + <tmpl_var name="app_title"> <tmpl_var name="app_version"> + "/> + + + + + + + + + + + + + +
+
+ + + + + +
+ +
+
+
 
+
+
+ + +
+
+ + +
+
+
+
+
 
+ +
+ +
+ + + +
+ +