]> git.mxchange.org Git - friendica-addons.git/commitdiff
Twitter connector: fix smarty issue
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 5 Jan 2013 14:56:04 +0000 (15:56 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 5 Jan 2013 14:56:04 +0000 (15:56 +0100)
twitter/twitter.php

index 6cb2d9cd8a9ca934369d4f4f78162e61cce4edc6..356d855ab1424eed4a865f0c0cfecc46cef156ef 100755 (executable)
@@ -506,12 +506,7 @@ function twitter_plugin_admin_post(&$a){
 function twitter_plugin_admin(&$a, &$o){
        $t = get_markup_template( "admin.tpl", "addon/twitter/" );
 
-       $includes = array(
-               '$field_input' => 'field_input.tpl',
-       );
-       $includes = set_template_includes($a->theme['template_engine'], $includes);
-
-       $o = replace_macros($t, $includes + array(
+       $o = replace_macros($t, array(
                '$submit' => t('Submit'),
                                                                // name, label, value, help, [extra values]
                '$consumerkey' => array('consumerkey', t('Consumer key'),  get_config('twitter', 'consumerkey' ), ''),