Twitter connector: fix smarty issue
parent
84d5d96dc8
commit
268c296f8b
|
@ -506,12 +506,7 @@ function twitter_plugin_admin_post(&$a){
|
||||||
function twitter_plugin_admin(&$a, &$o){
|
function twitter_plugin_admin(&$a, &$o){
|
||||||
$t = get_markup_template( "admin.tpl", "addon/twitter/" );
|
$t = get_markup_template( "admin.tpl", "addon/twitter/" );
|
||||||
|
|
||||||
$includes = array(
|
$o = replace_macros($t, array(
|
||||||
'$field_input' => 'field_input.tpl',
|
|
||||||
);
|
|
||||||
$includes = set_template_includes($a->theme['template_engine'], $includes);
|
|
||||||
|
|
||||||
$o = replace_macros($t, $includes + array(
|
|
||||||
'$submit' => t('Submit'),
|
'$submit' => t('Submit'),
|
||||||
// name, label, value, help, [extra values]
|
// name, label, value, help, [extra values]
|
||||||
'$consumerkey' => array('consumerkey', t('Consumer key'), get_config('twitter', 'consumerkey' ), ''),
|
'$consumerkey' => array('consumerkey', t('Consumer key'), get_config('twitter', 'consumerkey' ), ''),
|
||||||
|
|
Loading…
Reference in New Issue