Twitter connector: fix smarty issue
This commit is contained in:
parent
84d5d96dc8
commit
268c296f8b
|
@ -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' ), ''),
|
||||
|
|
Loading…
Reference in a new issue