aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.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_user.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_user.inc.php')
-rw-r--r--include/functions_user.inc.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 4272b3d3b..cdf751979 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -205,12 +205,7 @@ function build_user( $user_id, $use_cache )
if (is_admin($user['status']))
{
list($user['admin_template'], $user['admin_theme']) =
- explode
- (
- '/',
- isset($conf['default_admin_layout']) ? $conf['default_admin_layout']
- : $user['template']
- );
+ explode ('/', $conf['admin_layout']);
}
list($user['template'], $user['theme']) = explode('/', $user['template']);