aboutsummaryrefslogtreecommitdiffstats
path: root/mod/manage.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-12 22:05:35 -0700
committerfriendica <info@friendica.com>2012-06-12 22:05:35 -0700
commitf8314d6beafc517cba65bde120edf6beae72a9a8 (patch)
tree1180788af12128ca6f34f49d9ec42236585bcb92 /mod/manage.php
parentbbdb8751e5c17db3ebdfb67dd363a65150df1e62 (diff)
downloadvolse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.tar.gz
volse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.tar.bz2
volse-hubzilla-f8314d6beafc517cba65bde120edf6beae72a9a8.zip
one-click change for manage module
Diffstat (limited to 'mod/manage.php')
-rw-r--r--mod/manage.php5
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;