X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=a7ba561b23cea53f5d4f4c176a127e7a5bec3421;hb=190b7d6070d3a72ddcf1fa994ee6ba57ed9255f2;hp=7c0f3d3f8d1b6fa3f3136230564047319179b2c4;hpb=685a677bc91c38dc2f59d3565d6c413bca84629d;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 7c0f3d3f8d..a7ba561b23 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -1,20 +1,43 @@ * Author: Ike + * Author: Beanow * Maintainer: Ike - * Description: "Vier" uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/ + * Description: "Vier" is a very compact and modern theme. It uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/ */ +function vier_init(&$a) { set_template_engine($a, 'smarty3'); +$baseurl = $a->get_baseurl(); + $a->theme_info = array(); -function vier_init(&$a) { +$style = get_pconfig(local_user(), 'vier', 'style'); + +if ($style == "") + $style = get_config('vier', 'style'); + +if ($style == "") + $style = "plus"; + +if ($style == "flat") + $a->page['htmlhead'] .= ''."\n"; +else if ($style == "netcolour") + $a->page['htmlhead'] .= ''."\n"; +else if ($style == "breathe") + $a->page['htmlhead'] .= ''."\n"; +else if ($style == "plus") + $a->page['htmlhead'] .= ''."\n"; +else if ($style == "dark") + $a->page['htmlhead'] .= ''."\n"; + $a->page['htmlhead'] .= <<< EOT - EOT; }