From 87a6b63d6fb07683ae8512b04c18d194a78799c0 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sat, 26 Apr 2008 13:19:24 +0000 Subject: New: jQuery and Accordion Admin menus git-svn-id: http://piwigo.org/svn/trunk@2313 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/functions.inc.php') diff --git a/include/functions.inc.php b/include/functions.inc.php index 624e84934..6a4948aa9 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -868,6 +868,7 @@ function url_is_remote($url) */ function get_pwg_themes() { + global $conf; $themes = array(); $template_dir = PHPWG_ROOT_PATH.'template'; @@ -876,6 +877,7 @@ function get_pwg_themes() { foreach (get_dirs($template_dir.'/'.$template.'/theme') as $theme) { + if ( ($template.'/'.$theme) != $conf['admin_layout'] ) array_push($themes, $template.'/'.$theme); } } -- cgit v1.2.3