summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorDavid Reagan <reagand@lanecc.edu>2013-04-23 12:45:12 -0700
committerDavid Reagan <reagand@lanecc.edu>2013-04-23 12:45:12 -0700
commit7312cbec91e5e034c771ad7a473c744169d449c8 (patch)
tree29d630c8f3fe631d733fae41e656f2498311bf31 /settings/templates
parent99cb37a6d121d2f9907c54ad026b7423e3d5cdd2 (diff)
downloadnextcloud-server-7312cbec91e5e034c771ad7a473c744169d449c8.tar.gz
nextcloud-server-7312cbec91e5e034c771ad7a473c744169d449c8.zip
Made saving the display name work the same way as the email address. Fixed a few comparison operators. Increased the fadeOut time for the success and error messages.
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 03073069ab7..5ab111bd6d3 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -54,11 +54,9 @@ if($_['displayNameChangeSupported']) {
<form id="displaynameform">
<fieldset class="personalblock">
<legend><strong><?php echo $l->t('Display Name');?></strong></legend>
- <div id="displaynamechanged"><?php p($l->t('Your display name was changed'));?></div>
- <div id="displaynameerror"><?php p($l->t('Unable to change your display name'));?></div>
<input type="text" id="displayName" name="displayName" value="<?php p($_['displayName'])?>" />
+ <span class="msg"></span>
<input type="hidden" id="oldDisplayName" name="oldDisplayName" value="<?php p($_['displayName'])?>" />
- <input id="displaynamebutton" type="submit" value="<?php p($l->t('Change display name'));?>" />
</fieldset>
</form>
<?php