Don't use a placeholder value on the nickname field

(because the placeholder would be 'Nickname', and it might confuse
someone who thinks they can use capital letters...)
This commit is contained in:
Mikael Nordfeldth 2015-03-08 23:29:38 +01:00
parent b41c6824c5
commit 7aa1e02d06
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ class ProfilesettingsAction extends SettingsAction
// TRANS: Tooltip for field label in form for profile settings.
_('1-64 lowercase letters or numbers, no punctuation or spaces.'),
null, false, // "name" (will be set to id), then "required"
!common_config('profile', 'changenick') ? array('disabled'=>'disabled') : array());
!common_config('profile', 'changenick')
? array('disabled' => 'disabled', 'placeholder' => null)
: array('placeholder' => null));
$this->elementEnd('li');
$this->elementStart('li');
// TRANS: Field label in form for profile settings.