]> git.mxchange.org Git - friendica.git/commitdiff
"plus" is now the default style at "vier" for new installations
authorMichael Vogel <icarus@dabo.de>
Sat, 21 Feb 2015 08:44:13 +0000 (09:44 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 21 Feb 2015 08:44:13 +0000 (09:44 +0100)
view/theme/vier/config.php
view/theme/vier/theme.php

index 72279daebceb687189c5cc3c751587ac78bc8f1d..9df9088ed826bcf0314326dc489bc73374155456 100644 (file)
@@ -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(
+               "plus"=>"Plus",
+               "breathe"=>"Breathe",
+               "dark"=>"Dark",
                "shadow"=>"Shadow",
-               "flat"=>"Flat",
                "netcolour"=>"Coloured Networks",
-               "breathe"=>"Breathe",
-               "plus"=>"Plus",
-               "dark"=>"Dark"
+               "flat"=>"Flat"
        );
        $t = get_markup_template("theme_settings.tpl" );
        $o .= replace_macros($t, array(
index 91e34e78247bae5c6bbb28faaf47760ef39676ec..a7ba561b23cea53f5d4f4c176a127e7a5bec3421 100644 (file)
@@ -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")