"plus" is now the default style at "vier" for new installations

2022.09-rc
Michael Vogel 2015-02-21 09:44:13 +01:00
rodzic d026df3240
commit 19af382ffb
2 zmienionych plików z 11 dodań i 5 usunięć

Wyświetl plik

@ -14,6 +14,9 @@ function theme_content(&$a){
if ($style == "")
$style = get_config('vier', 'style');
if ($style == "")
$style = "plus";
return vier_form($a,$style);
}
@ -41,12 +44,12 @@ function theme_admin_post(&$a){
function vier_form(&$a, $style){
$styles = array(
"shadow"=>"Shadow",
"flat"=>"Flat",
"netcolour"=>"Coloured Networks",
"breathe"=>"Breathe",
"plus"=>"Plus",
"dark"=>"Dark"
"breathe"=>"Breathe",
"dark"=>"Dark",
"shadow"=>"Shadow",
"netcolour"=>"Coloured Networks",
"flat"=>"Flat"
);
$t = get_markup_template("theme_settings.tpl" );
$o .= replace_macros($t, array(

Wyświetl plik

@ -21,6 +21,9 @@ $style = get_pconfig(local_user(), 'vier', 'style');
if ($style == "")
$style = get_config('vier', 'style');
if ($style == "")
$style = "plus";
if ($style == "flat")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/flat.css" type="text/css" media="screen"/>'."\n";
else if ($style == "netcolour")