diff options
author | Senky <jakubsenko@gmail.com> | 2013-04-13 11:29:53 +0200 |
---|---|---|
committer | Senky <jakubsenko@gmail.com> | 2013-05-20 18:42:06 +0200 |
commit | 4c03c22e503a4317db93e7e61f676a396318b097 (patch) | |
tree | 16ecbecd00c9a1f918c59e391f5caeab7cb85129 /phpBB/includes/functions_profile_fields.php | |
parent | 178f23d4d8e37724e5f27cfb9b19dd2ab867e888 (diff) | |
download | forums-4c03c22e503a4317db93e7e61f676a396318b097.tar forums-4c03c22e503a4317db93e7e61f676a396318b097.tar.gz forums-4c03c22e503a4317db93e7e61f676a396318b097.tar.bz2 forums-4c03c22e503a4317db93e7e61f676a396318b097.tar.xz forums-4c03c22e503a4317db93e7e61f676a396318b097.zip |
[ticket/11010] dealing with dimensions problem, removing extra code
PHPBB3-11010
Diffstat (limited to 'phpBB/includes/functions_profile_fields.php')
-rw-r--r-- | phpBB/includes/functions_profile_fields.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_profile_fields.php b/phpBB/includes/functions_profile_fields.php index 1261e363c7..7dd0b0e87d 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" 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'] . '" />'), + 0 => array('TITLE' => $user->lang['FIELD_LENGTH'], 'FIELD' => '<input type="number" min="0" name="field_length" size="5" value="' . $this->vars['field_length'] . '" />'), + 1 => array('TITLE' => $user->lang['MIN_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" name="field_minlen" size="5" value="' . $this->vars['field_minlen'] . '" />'), + 2 => array('TITLE' => $user->lang['MAX_FIELD_CHARS'], 'FIELD' => '<input type="number" min="0" size="5" value="' . $this->vars['field_maxlen'] . '" />'), 3 => array('TITLE' => $user->lang['FIELD_VALIDATION'], 'FIELD' => '<select name="field_validation">' . $this->validate_options() . '</select>') ); |