From: Tobias Diekershoff Date: Sat, 5 Jan 2013 14:56:04 +0000 (+0100) Subject: Twitter connector: fix smarty issue X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=268c296f8b7c9b293808d5c0e3334dce883c9f3c;p=friendica-addons.git Twitter connector: fix smarty issue --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 6cb2d9cd..356d855a 100755 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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' ), ''),