aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_profile_fields.php
diff options
context:
space:
mode:
authorSenky <jakubsenko@gmail.com>2013-01-27 22:45:45 +0100
committerSenky <jakubsenko@gmail.com>2013-05-20 18:40:12 +0200
commitcf9d407493d76cee76987edf38ae0191360bb661 (patch)
tree42378903e71ef7cd6a1e39a3270e0b84e0c11a32 /phpBB/includes/functions_profile_fields.php
parent4bb7a69afa90636a473005467828bfecf0e31b29 (diff)
downloadforums-cf9d407493d76cee76987edf38ae0191360bb661.tar
forums-cf9d407493d76cee76987edf38ae0191360bb661.tar.gz
forums-cf9d407493d76cee76987edf38ae0191360bb661.tar.bz2
forums-cf9d407493d76cee76987edf38ae0191360bb661.tar.xz
forums-cf9d407493d76cee76987edf38ae0191360bb661.zip
[ticket/11010] applying some of EXreaction notes
PHPBB3-11010
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r--phpBB/includes/functions_profile_fields.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index 63b0eab3e1..1261e363c7 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -1040,9 +1040,9 @@ class custom_profile_admin extends custom_profile
global $user;
$options = array(
- 0 => array('TITLE' => $user->lang['FIELD_LENGTH'], 'FIELD' => '<input type="number" min="0" max="99999" name="field_length" size="5" value="' . $this->vars['field_length'] . '" />'),
- 1 => array('TITLE' => $user->lang['MIN_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" max="99999" name="field_minlen" size="5" value="' . $this->vars['field_minlen'] . '" />'),
- 2 => array('TITLE' => $user->lang['MAX_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" max="99999" size="5" value="' . $this->vars['field_maxlen'] . '" />'),
+ 0 => array('TITLE' => $user->lang['FIELD_LENGTH'], 'FIELD' => '<input type="number" min="0" maxlength="5" name="field_length" size="5" value="' . $this->vars['field_length'] . '" />'),
+ 1 => array('TITLE' => $user->lang['MIN_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" maxlength="5" name="field_minlen" size="5" value="' . $this->vars['field_minlen'] . '" />'),
+ 2 => array('TITLE' => $user->lang['MAX_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" maxlength="5" size="5" value="' . $this->vars['field_maxlen'] . '" />'),
3 => array('TITLE' => $user->lang['FIELD_VALIDATION'], 'FIELD' => '<select name="field_validation">' . $this->validate_options() . '</select>')
);