mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 00:13:16 +00:00
fromgplus: inflate/deflate settings
This commit is contained in:
parent
88224dc06b
commit
5970954f1a
1 changed files with 7 additions and 1 deletions
|
@ -33,8 +33,14 @@ function fromgplus_addon_settings(&$a,&$s) {
|
||||||
$enable_checked = (intval(get_pconfig(local_user(),'fromgplus','enable')) ? ' checked="checked"' : '');
|
$enable_checked = (intval(get_pconfig(local_user(),'fromgplus','enable')) ? ' checked="checked"' : '');
|
||||||
$account = get_pconfig(local_user(),'fromgplus','account');
|
$account = get_pconfig(local_user(),'fromgplus','account');
|
||||||
|
|
||||||
$s .= '<div class="settings-block">';
|
$s .= '<span id="settings_fromgplus_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
|
||||||
$s .= '<h3>' . t('Google+ Import Settings').'</h3>';
|
$s .= '<h3>' . t('Google+ Import Settings').'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_fromgplus_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_fromgplus_expanded\'); openClose(\'settings_fromgplus_inflated\');">';
|
||||||
|
$s .= '<h3>' . t('Google+ Import Settings').'</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
|
||||||
$s .= '<div id="fromgplus-wrapper">';
|
$s .= '<div id="fromgplus-wrapper">';
|
||||||
|
|
||||||
$s .= '<label id="fromgplus-enable-label" for="fromgplus-enable">'.t('Enable Google+ Import').'</label>';
|
$s .= '<label id="fromgplus-enable-label" for="fromgplus-enable">'.t('Enable Google+ Import').'</label>';
|
||||||
|
|
Loading…
Reference in a new issue