mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 01:20:17 +00:00
Merge pull request #176 from tobiasd/2014-01-20
startpage: show/hide config
This commit is contained in:
commit
4893373e49
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