forked from friendica/friendica-addons
inflate/deflate fromapp settings
This commit is contained in:
parent
45c866bb6a
commit
5bede2a1c5
|
@ -60,8 +60,13 @@ function fromapp_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_fromapp_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fromapp_expanded\'); openClose(\'settings_fromapp_inflated\');">';
|
||||||
$s .= '<h3>' . t('FromApp Settings') . '</h3>';
|
$s .= '<h3>' . t('FromApp Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
|
$s .= '<div id="settings_fromapp_expanded" class="settings-block" style="display: none;">';
|
||||||
|
$s .= '<span class="fakelink" onclick="openClose(\'settings_fromapp_expanded\'); openClose(\'settings_fromapp_inflated\');">';
|
||||||
|
$s .= '<h3>' . t('FromApp Settings') . '</h3>';
|
||||||
|
$s .= '</span>';
|
||||||
$s .= '<div id="fromapp-wrapper">';
|
$s .= '<div id="fromapp-wrapper">';
|
||||||
$s .= '<label id="fromapp-label" for="fromapp-input">' . t('The application name you would like to show your posts originating from.') . '</label>';
|
$s .= '<label id="fromapp-label" for="fromapp-input">' . t('The application name you would like to show your posts originating from.') . '</label>';
|
||||||
$s .= '<input id="fromapp-input" type="text" name="fromapp-input" value="' . $fromapp . '" ' . '/>';
|
$s .= '<input id="fromapp-input" type="text" name="fromapp-input" value="' . $fromapp . '" ' . '/>';
|
||||||
|
|
Loading…
Reference in a new issue