Twitter connector: fix smarty issue

pull/91/head^2
Tobias Diekershoff 2013-01-05 15:56:04 +01:00
parent 84d5d96dc8
commit 268c296f8b
1 changed files with 1 additions and 6 deletions

View File

@ -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' ), ''),