X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Fconfig.php;h=9df9088ed826bcf0314326dc489bc73374155456;hb=b4d09777b97be39abfae26bbc536b1ce6ab31c6a;hp=054b5a2b1f0708a81c9e985772e5c10c22eff356;hpb=e1c7c2b092727b81b383d54928140ea58a3407f2;p=friendica.git diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php index 054b5a2b1f..9df9088ed8 100644 --- a/view/theme/vier/config.php +++ b/view/theme/vier/config.php @@ -11,6 +11,12 @@ function theme_content(&$a){ $style = get_pconfig(local_user(), 'vier', 'style'); + if ($style == "") + $style = get_config('vier', 'style'); + + if ($style == "") + $style = "plus"; + return vier_form($a,$style); } @@ -38,10 +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" + "flat"=>"Flat" ); $t = get_markup_template("theme_settings.tpl" ); $o .= replace_macros($t, array(