mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 22:03:40 +00:00
startpage: show/hide config
This commit is contained in:
parent
834966b583
commit
24237d33e6
2 changed files with 6 additions and 1 deletions
BIN
startpage.tgz
BIN
startpage.tgz
Binary file not shown.
|
@ -79,8 +79,13 @@ function startpage_settings(&$a,&$s) {
|
|||
|
||||
/* Add some HTML to the existing form */
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<span id="settings_startpage_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_startpage_expanded\'); openClose(\'settings_startpage_inflated\');">';
|
||||
$s .= '<h3>' . t('Startpage Settings') . '</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_startpage_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_startpage_expanded\'); openClose(\'settings_startpage_inflated\');">';
|
||||
$s .= '<h3>' . t('Startpage Settings') . '</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="startpage-page-wrapper">';
|
||||
$s .= '<label id="startpage-page-label" for="startpage-page">' . t('Home page to load after login - leave blank for profile wall') . '</label>';
|
||||
$s .= '<input id="startpage-page" type="text" name="startpage" value="' . $page . '" />';
|
||||
|
|
Loading…
Reference in a new issue