mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:30:20 +00:00
inflate/deflate fromapp settings
This commit is contained in:
parent
45c866bb6a
commit
5bede2a1c5
1 changed files with 6 additions and 1 deletions
|
@ -60,8 +60,13 @@ function fromapp_settings(&$a,&$s) {
|
|||
|
||||
/* 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 .= '</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 .= '<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 . '" ' . '/>';
|
||||
|
|
Loading…
Reference in a new issue