t("None"), ".willow.jpg" => "willow.jpg", ".wheel.jpg" => "wheel.jpg", ); /* // get_markup_template() load templates from current enabled theme // if this theme is not the current one, it will fail $template = dirname(__file__)."/smarty3/config.tpl"; if($a->theme['template_engine'] === 'smarty3') { $t = new FriendicaSmarty(); $t->filename = $template; } else { $t = get_markup_template( $template ); }*/ // load template from theme folder $t = get_markup_template('config.tpl', 'view/theme/blog'); $o .= replace_macros($t, array( '$submit' => t('Submit'), '$baseurl' => $a->get_baseurl(), '$title' => t("Theme settings"), '$headimg' => array('blog_headimg', t('Header image'), $headimg, '', $imgs ), '$headimghome' => array('blog_headimghome', t('Header image only on profile pages'), $headimghome, ''), )); return $o; }