aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-02-15 21:40:52 +0000
committernikrou <nikrou@piwigo.org>2010-02-15 21:40:52 +0000
commit213eb3b7367472633667c538fb2add7b14f4b012 (patch)
tree11733b1904e6d0109b2b596a46a43bc1bd3035ff /include
parent58c91bb5f35f15bde6fb4858ee81c4e137ad7d41 (diff)
Bug 1426 fixed : admin help popup use gallery theme instead of admin theme
merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.0@4894 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/common.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 9575338a5..7b892cbbc 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -168,7 +168,8 @@ if (is_a_guest())
}
// template instance
-if ( defined('IN_ADMIN') and IN_ADMIN )
+if (( defined('IN_ADMIN') and IN_ADMIN )
+ or (defined('PWG_HELP') and PWG_HELP))
{// Admin template
list($user['admin_template'], $user['admin_theme']) =
explode ('/', $conf['admin_layout']);