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

pull/1018/head
Michael Vogel 2014-06-16 00:00:05 +02:00
rodzic a05ed41fb2
commit 8bce8b0bd2
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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);
}

Wyświetl plik

@ -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")