$def_enabled = get_pconfig(local_user(),'appnetpost','post_by_default');
$def_checked = (($def_enabled) ? ' checked="checked" ' : '');
- $s .= '<div class="settings-block">';
+ $s .= '<span id="settings_appnetpost_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
$s .= '<h3>' . t('App.net Post Settings') . '</h3>';
+ $s .= '</span>';
+ $s .= '<div id="settings_appnetpost_expanded" class="settings-block" style="display: none;">';
+ $s .= '<span class="fakelink" onclick="openClose(\'settings_appnetpost_expanded\'); openClose(\'settings_appnetpost_inflated\');">';
+ $s .= '<h3>' . t('App.net Post Settings') . '</h3>';
+ $s .= '</span>';
+
$s .= '<div id="appnetpost-enable-wrapper">';
$s .= '<label id="appnetpost-enable-label" for="appnetpost-checkbox">' . t('Enable App.net Post Plugin') . '</label>';
$s .= '<input id="appnetpost-checkbox" type="checkbox" name="appnetpost" value="1" ' . $checked . '/>';