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:
parent
b41c6824c5
commit
7aa1e02d06
@ -104,7 +104,9 @@ class ProfilesettingsAction extends SettingsAction
|
|||||||
// TRANS: Tooltip for field label in form for profile settings.
|
// TRANS: Tooltip for field label in form for profile settings.
|
||||||
_('1-64 lowercase letters or numbers, no punctuation or spaces.'),
|
_('1-64 lowercase letters or numbers, no punctuation or spaces.'),
|
||||||
null, false, // "name" (will be set to id), then "required"
|
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->elementEnd('li');
|
||||||
$this->elementStart('li');
|
$this->elementStart('li');
|
||||||
// TRANS: Field label in form for profile settings.
|
// TRANS: Field label in form for profile settings.
|
||||||
|
Loading…
Reference in New Issue
Block a user