From e27086410672d7c4efe37aac0505007fe26d6e8b Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Wed, 29 Aug 2012 07:35:16 -0400
Subject: [PATCH] Fixed: onClick attributes changed to valid onclick (lower case) Fixed: password match function blocked tabs incorrectly Fixed: set focus on username input field threw an error if this field did not exist on a page
---
interface/web/admin/lib/module.conf.php | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/interface/web/admin/lib/module.conf.php b/interface/web/admin/lib/module.conf.php
index 72e4197..91a9401 100644
--- a/interface/web/admin/lib/module.conf.php
+++ b/interface/web/admin/lib/module.conf.php
@@ -78,7 +78,19 @@
'link' => 'admin/system_config_edit.php?id=1',
'html_id' => 'interface_config');
-include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
+//**** Load the settings pages of all installed themes
+$menu_dir = ISPC_WEB_PATH.'/admin/lib/interface.d';
+
+if (is_dir($menu_dir)) {
+ if ($dh = opendir($menu_dir)) {
+ //** Go through all files in the menu dir
+ while (($file = readdir($dh)) !== false) {
+ if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php') {
+ include_once($menu_dir . '/' . $file);
+ }
+ }
+ }
+}
$module['nav'][] = array( 'title' => 'Interface',
'open' => "1",
--
Gitblit v1.9.1