tumblr: inflate/deflate settings
This commit is contained in:
parent
70495489a1
commit
5c015548db
|
@ -181,8 +181,13 @@ function tumblr_settings(&$a,&$s) {
|
||||||
|
|
||||||
/* Add some HTML to the existing form */
|
/* Add some HTML to the existing form */
|
||||||
|
|
||||||
$s .= '<div class="settings-block">';
|
$s .= '<span id="settings_tumblr_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
|
||||||
$s .= '<h3>' . t('Tumblr Post Settings') . '</h3>';
|
$s .= '<h3>' . t('Tumblr Post Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_tumblr_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_tumblr_expanded\'); openClose(\'settings_tumblr_inflated\');">';
|
||||||
|
$s .= '<h3>' . t('Tumblr Post Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
$s .= '<div id="tumblr-username-wrapper">';
|
$s .= '<div id="tumblr-username-wrapper">';
|
||||||
$s .= '<a href="'.$a->get_baseurl().'/tumblr/connect">'.t("(Re-)Authenticate your tumblr page").'</a>';
|
$s .= '<a href="'.$a->get_baseurl().'/tumblr/connect">'.t("(Re-)Authenticate your tumblr page").'</a>';
|
||||||
|
|
Loading…
Reference in a new issue