]> git.mxchange.org Git - friendica-addons.git/blobdiff - widgets/widgets.php
update addons to support Smarty3
[friendica-addons.git] / widgets / widgets.php
index 47a6e48a6fe6deea6903fb25b3d8f4244206112a..72534ce3bb75863556051ffbbbe91c13738eacc0 100755 (executable)
@@ -51,7 +51,8 @@ function widgets_settings(&$a,&$o) {
 
        
        
-       $t = file_get_contents( dirname(__file__). "/settings.tpl" );
+#      $t = file_get_contents( dirname(__file__). "/settings.tpl" );
+       $t = get_markup_template("settings.tpl", "addon/widgets/");
        $o .= replace_macros($t, array(
                '$submit' => t('Generate new key'),
                '$baseurl' => $a->get_baseurl(),