mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 21:03:16 +00:00
inflate/deflate twitter connector settings
This commit is contained in:
parent
5bede2a1c5
commit
e1a8b90fbc
1 changed files with 6 additions and 1 deletions
|
@ -229,8 +229,13 @@ function twitter_settings(&$a,&$s) {
|
||||||
$create_userenabled = get_pconfig(local_user(),'twitter','create_user');
|
$create_userenabled = get_pconfig(local_user(),'twitter','create_user');
|
||||||
$create_userchecked = (($create_userenabled) ? ' checked="checked" ' : '');
|
$create_userchecked = (($create_userenabled) ? ' checked="checked" ' : '');
|
||||||
|
|
||||||
$s .= '<div class="settings-block">';
|
$s .= '<span id="settings_twitter_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
|
||||||
$s .= '<h3>'. t('Twitter Posting Settings') .'</h3>';
|
$s .= '<h3>'. t('Twitter Posting Settings') .'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_twitter_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
|
||||||
|
$s .= '<h3>'. t('Twitter Posting Settings') .'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
if ( (!$ckey) && (!$csecret) ) {
|
if ( (!$ckey) && (!$csecret) ) {
|
||||||
/***
|
/***
|
||||||
|
|
Loading…
Reference in a new issue