Vier: The setting for defining the default style is now working
This commit is contained in:
parent
a05ed41fb2
commit
8bce8b0bd2
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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…
Reference in New Issue
Block a user