Merge remote-tracking branch 'upstream/master'
Conflicts: twitter/twitter.phppull/91/head
commit
cef923f104
|
@ -550,12 +550,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