/me shoots himself

- Finally fixed that *@&$ bug!


git-svn-id: file:///svn/phpbb/trunk@5537 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-02-08 22:11:40 +00:00
parent 94cafb8b7f
commit 9d95b33c2c
2 changed files with 3 additions and 2 deletions

View file

@ -121,7 +121,7 @@ class ucp_register
array('string', false, 6, 60), array('string', false, 6, 60),
array('email')), array('email')),
'email_confirm' => array('string', false, 6, 60), 'email_confirm' => array('string', false, 6, 60),
'confirm_code' => array('string', !$config['enable_confirm'], 6, 6), 'confirm_code' => array('string', !$config['enable_confirm'], 5, 8),
'tz' => array('num', false, -13, 13), 'tz' => array('num', false, -13, 13),
'lang' => array('match', false, '#^[a-z_]{2,}$#i'), 'lang' => array('match', false, '#^[a-z_]{2,}$#i'),
); );
@ -433,6 +433,7 @@ class ucp_register
} }
$confirm_image = "<img src=\"ucp.$phpEx$SID&amp;mode=confirm&amp;id=$confirm_id\" alt=\"\" title=\"\" />"; $confirm_image = "<img src=\"ucp.$phpEx$SID&amp;mode=confirm&amp;id=$confirm_id\" alt=\"\" title=\"\" />";
$s_hidden_fields .= '<input type="hidden" name="confirm_id" value="' . $confirm_id . '" />';
} }
// //

View file

@ -83,7 +83,7 @@
</tr> </tr>
<tr> <tr>
<td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td> <td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" name="confirm_code" size="6" maxlength="6" /></td> <td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>
</tr> </tr>
<!-- ENDIF --> <!-- ENDIF -->