mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 03:13:15 +00:00
snautofollow: inflate/deflate settings
This commit is contained in:
parent
468868ae07
commit
6c0bfcb018
1 changed files with 8 additions and 2 deletions
|
@ -52,8 +52,14 @@ function snautofollow_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_snautofollow_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_snautofollow_expanded\'); openClose(\'settings_snautofollow_inflated\');">';
|
||||||
$s .= '<h3>' . t('StatusNet AutoFollow Settings') . '</h3>';
|
$s .= '<h3>' . t('StatusNet AutoFollow Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_snautofollow_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_snautofollow_expanded\'); openClose(\'settings_snautofollow_inflated\');">';
|
||||||
|
$s .= '<h3>' . t('StatusNet AutoFollow Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
$s .= '<div id="snautofollow-wrapper">';
|
$s .= '<div id="snautofollow-wrapper">';
|
||||||
$s .= '<label id="snautofollow-label" for="snautofollow-checkbox">' . t('Automatically follow any StatusNet followers/mentioners') . '</label>';
|
$s .= '<label id="snautofollow-label" for="snautofollow-checkbox">' . t('Automatically follow any StatusNet followers/mentioners') . '</label>';
|
||||||
$s .= '<input id="snautofollow-checkbox" type="checkbox" name="snautofollow" value="1" ' . $snautofollow_checked . '/>';
|
$s .= '<input id="snautofollow-checkbox" type="checkbox" name="snautofollow" value="1" ' . $snautofollow_checked . '/>';
|
||||||
|
|
Loading…
Reference in a new issue