forked from friendica/friendica-addons
fbsync: inflate/deflate settings
This commit is contained in:
parent
ae76c8c37a
commit
d72241553e
1 changed files with 6 additions and 1 deletions
|
@ -119,8 +119,13 @@ function fbsync_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_fbsync_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
|
||||||
$s .= '<h3>' . t('Facebook Import Settings') . '</h3>';
|
$s .= '<h3>' . t('Facebook Import Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_fbsync_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
|
||||||
|
$s .= '<h3>' . t('Facebook Import Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
$s .= '<div id="fbsync-enable-wrapper">';
|
$s .= '<div id="fbsync-enable-wrapper">';
|
||||||
$s .= '<label id="fbsync-enable-label" for="fbsync-checkbox">' . t('Import Facebook newsfeed') . '</label>';
|
$s .= '<label id="fbsync-enable-label" for="fbsync-checkbox">' . t('Import Facebook newsfeed') . '</label>';
|
||||||
|
|
Loading…
Reference in a new issue