inflate/deflate twitter connector settings

This commit is contained in:
Tobias Diekershoff 2013-12-01 12:03:40 +01:00
parent 5bede2a1c5
commit e1a8b90fbc

View File

@ -229,8 +229,13 @@ function twitter_settings(&$a,&$s) {
$create_userenabled = get_pconfig(local_user(),'twitter','create_user');
$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 .= '</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) ) {
/***