mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 12:03:41 +00:00
Twitter connector: fix smarty issue
This commit is contained in:
parent
84d5d96dc8
commit
268c296f8b
1 changed files with 1 additions and 6 deletions
|
@ -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