diff --git a/web/skins/classic/views/options.php b/web/skins/classic/views/options.php index 34f6fc6f1..cf012ec52 100644 --- a/web/skins/classic/views/options.php +++ b/web/skins/classic/views/options.php @@ -83,11 +83,20 @@ foreach ( $tabs as $name=>$value ) window.opener.location.reload();window.location.href=\"{$_SERVER['PHP_SELF']}?view={$view}&tab={$tab}\""; + $reload = true; } + $current_css = $_COOKIE['zmCSS']; + if ( isset($_GET['css-choice']) and ( $_GET['css-choice'] != $current_css ) ) { + setcookie('zmCSS',$_GET['css-choice'], time()+3600*24*30*12*10 ); + //header("Location: index.php?view=options&tab=skins&reset_parent=1"); + $reload = true; + } + if ( $reload ) + echo ""; ?>