diff --git a/admin.php b/admin.php index c01e35937..0499d026f 100644 --- a/admin.php +++ b/admin.php @@ -84,20 +84,7 @@ function save_pref ( $prefs, $src ) { // Make sure globals values passed to styles.php are for this user. // Makes the demo calendar and Page title accurate. $GLOBALS['APPLICATION_NAME'] = $s['APPLICATION_NAME']; - $GLOBALS['BGCOLOR'] = $s['BGCOLOR']; - $GLOBALS['CELLBG'] = $s['CELLBG']; $GLOBALS['FONTS'] = $s['FONTS']; - $GLOBALS['H2COLOR'] = $s['H2COLOR']; - $GLOBALS['HASEVENTSBG'] = $s['HASEVENTSBG']; - $GLOBALS['MYEVENTS'] = $s['MYEVENTS']; - $GLOBALS['OTHERMONTHBG'] = $s['OTHERMONTHBG']; - $GLOBALS['TABLEBG'] = $s['TABLEBG']; - $GLOBALS['TEXTCOLOR'] = $s['TEXTCOLOR']; - $GLOBALS['THBG'] = $s['THBG']; - $GLOBALS['THFG'] = $s['THFG']; - $GLOBALS['TODAYCELLBG'] = $s['TODAYCELLBG']; - $GLOBALS['WEEKENDBG'] = $s['WEEKENDBG']; - $GLOBALS['WEEKNUMBER'] = $s['WEEKNUMBER']; define_languages(); // Load the language list. reset ( $languages ); @@ -127,8 +114,9 @@ function save_pref ( $prefs, $src ) { $option = '