]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/cleanzero/config.php
Implement Smarty3
[friendica.git] / view / theme / cleanzero / config.php
index 312e9d3dd2c7fdb1036c34a81227db2c50486178..a81b05b8fed1971add5f8ab15504309e77f1bf98 100644 (file)
@@ -75,8 +75,15 @@ function cleanzero_form(&$a, $color,$font_size,$resize,$theme_width){
                "wide"=>"wide",
                );
 
-       $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
-       $o .= replace_macros($t, array(
+//     $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
+       $t = get_markup_template("theme_settings.tpl" );
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($t, $includes + array(
                '$submit' => t('Submit'),
                '$baseurl' => $a->get_baseurl(),
                '$title' => t("Theme settings"),