* Author: Ike * Author: Beanow * Maintainer: Ike * 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(); $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; }