Browse Source

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

pull/1412/head
Michael Vogel 5 years ago
parent
commit
19af382ffb
2 changed files with 10 additions and 4 deletions
  1. +7
    -4
      view/theme/vier/config.php
  2. +3
    -0
      view/theme/vier/theme.php

+ 7
- 4
view/theme/vier/config.php View 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(

+ 3
- 0
view/theme/vier/theme.php View 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")

Loading…
Cancel
Save