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

Admin template fix

This commit is contained in:
CaMer0n
2012-06-07 00:33:10 +00:00
parent ad6437e806
commit 425937e1a4
5 changed files with 26 additions and 25 deletions

View File

@@ -314,21 +314,16 @@ function update_706_to_800($type='')
*/
$setCorePrefs = array( //modified prefs during upgrade.
$setCorePrefs = array( //modified prefs during upgrade.
'adminstyle' => 'infopanel',
'admintheme' => 'jayya'
);
$do_save = TRUE;
foreach($setCorePrefs as $k=>$v)
{
$pref[$k] = $v;
}
$do_save = TRUE;
// List of changed menu locations.
@@ -362,6 +357,13 @@ function update_706_to_800($type='')
$just_check = $type == 'do' ? FALSE : TRUE; // TRUE if we're just seeing whether an update is needed
if (!$just_check)
{
foreach($setCorePrefs as $k=>$v)
{
$pref[$k] = $v;
}
}
if (!$just_check)
{