Browse Source

Vier: The setting for defining the default style is now working

pull/1018/head
Michael Vogel 6 years ago
parent
commit
8bce8b0bd2
2 changed files with 7 additions and 0 deletions
  1. +3
    -0
      view/theme/vier/config.php
  2. +4
    -0
      view/theme/vier/theme.php

+ 3
- 0
view/theme/vier/config.php View File

@ -11,6 +11,9 @@ function theme_content(&$a){
$style = get_pconfig(local_user(), 'vier', 'style');
if ($style == "")
$style = get_config('vier', 'style');
return vier_form($a,$style);
}

+ 4
- 0
view/theme/vier/theme.php View File

@ -16,6 +16,10 @@ $baseurl = $a->get_baseurl();
$a->theme_info = array();
$style = get_pconfig(local_user(), 'vier', 'style');
if ($style == "")
$style = get_config('vier', 'style');
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