1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

More menu-manager enhancements and fixes.

This commit is contained in:
CaMer0n
2009-07-11 01:48:40 +00:00
parent fe1d116282
commit c776655611
2 changed files with 252 additions and 101 deletions

View File

@@ -9,9 +9,9 @@
* General purpose file
*
* $Source: /cvs_backup/e107_0.8/class2.php,v $
* $Revision: 1.105 $
* $Date: 2009-07-09 21:22:52 $
* $Author: e107steved $
* $Revision: 1.106 $
* $Date: 2009-07-11 01:48:40 $
* $Author: e107coders $
*
*/
//
@@ -1064,7 +1064,7 @@ $theme_pref = varset($pref['sitetheme_pref']);
// here we USE the theme
if ($inAdminDir)
{
if (file_exists(THEME.'admin_theme.php'))
if (file_exists(THEME.'admin_theme.php') && (strpos(e_SELF.'?'.e_QUERY, $ADMIN_DIRECTORY. 'menus.php?configure')===FALSE)) // no admin theme when previewing.
{
require_once(THEME.'admin_theme.php');
}