diff options
author | friendica <info@friendica.com> | 2012-06-12 22:05:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-12 22:05:35 -0700 |
commit | f8314d6beafc517cba65bde120edf6beae72a9a8 (patch) | |
tree | 1180788af12128ca6f34f49d9ec42236585bcb92 | |
parent | bbdb8751e5c17db3ebdfb67dd363a65150df1e62 (diff) | |
download | volse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.tar.gz volse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.tar.bz2 volse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.zip |
one-click change for manage module
-rw-r--r-- | mod/manage.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/manage.php b/mod/manage.php index 84dfa6917..96d420c78 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -96,7 +96,7 @@ function manage_content(&$a) { $o .= '<div id="identity-selector-wrapper">' . "\r\n"; $o .= '<form action="manage" method="post" >' . "\r\n"; - $o .= '<select name="identity" size="4">' . "\r\n"; + $o .= '<select name="identity" size="4" onchange="this.form.submit();" >' . "\r\n"; foreach($a->identities as $rr) { $selected = (($rr['nickname'] === $a->user['nickname']) ? ' selected="selected" ' : ''); @@ -106,7 +106,8 @@ function manage_content(&$a) { $o .= '</select>' . "\r\n"; $o .= '<div id="identity-select-break"></div>' . "\r\n"; - $o .= '<input id="identity-submit" type="submit" name="submit" value="' . t('Submit') . '" /></div></form>' . "\r\n"; +// $o .= '<input id="identity-submit" type="submit" name="submit" value="' . t('Submit') . '" />'; + $o .= '</div></form>' . "\r\n"; return $o; |