aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-04-26 13:19:24 +0000
committervdigital <vdigital@piwigo.org>2008-04-26 13:19:24 +0000
commit87a6b63d6fb07683ae8512b04c18d194a78799c0 (patch)
tree5b66003e7a396ffe238258e2d88ea770d3f512bc /include/functions.inc.php
parentd91759d63f2a62d2556b78fc549bd1192f00f7b6 (diff)
New: jQuery and Accordion Admin menus
git-svn-id: http://piwigo.org/svn/trunk@2313 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 2 insertions, 0 deletions
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);
}
}