]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/style.php
Merge origin/geotag into geotag
[friendica.git] / view / theme / vier / style.php
1 <?php
2
3 if (file_exists("$THEMEPATH//style.css")){
4         echo file_get_contents("$THEMEPATH//style.css");
5 }
6
7 $uid = get_theme_uid();
8
9 $style = get_pconfig( $uid, 'vier', 'style');
10
11 if ($style == "")
12         $style = get_config('vier', 'style');
13
14 if ($style == "")
15         $style = "plus";
16
17 if ($style == "flat")
18         $stylecss = file_get_contents('view/theme/vier/flat.css');
19 else if ($style == "netcolour")
20         $stylecss = file_get_contents('view/theme/vier/netcolour.css');
21 else if ($style == "breathe")
22         $stylecss = file_get_contents('view/theme/vier/breathe.css');
23 else if ($style == "plus")
24         $stylecss = file_get_contents('view/theme/vier/plus.css');
25 else if ($style == "dark")
26         $stylecss = file_get_contents('view/theme/vier/dark.css');
27
28 echo $stylecss;