diff --git a/view/theme/vier/config.php b/view/theme/vier/config.php index 054b5a2b1f..8736dfe840 100644 --- a/view/theme/vier/config.php +++ b/view/theme/vier/config.php @@ -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); } diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 8d9a0c5c22..1d2972b623 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -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'] .= ''."\n"; else if ($style == "netcolour")