mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
guess what ? yes, just fixed small glitches.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3705 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
05ad53f5ab
commit
adc030875e
7 changed files with 12 additions and 9 deletions
|
@ -155,7 +155,7 @@ if ( isset($HTTP_POST_VARS['submit']) )
|
||||||
// contained in the annotated php manual at php.com (ereg
|
// contained in the annotated php manual at php.com (ereg
|
||||||
// section)
|
// section)
|
||||||
//
|
//
|
||||||
if ( eregi('^(([[:alnum:]\*]+([-_.][[:alnum:]\*]+)*\.?)|(\*))@([[:alnum:]]+([-_]?[[:alnum:]]+)*\.){1,3}([[:alnum:]]{2,6})$', trim($email_list_temp[$i])) )
|
if (preg_match('#^(([a-z0-9&.-_+])|(\*))+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*?[a-z]+$#is', trim($email_list_temp[$i])))
|
||||||
{
|
{
|
||||||
$email_list[] = trim($email_list_temp[$i]);
|
$email_list[] = trim($email_list_temp[$i]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,8 @@ p,ul,td {font-size:10pt;}
|
||||||
<li>Fixed wrong path to database schema files within the upgrade script</li>
|
<li>Fixed wrong path to database schema files within the upgrade script</li>
|
||||||
<li>Fixed username validation - catch double quotes correctly</li>
|
<li>Fixed username validation - catch double quotes correctly</li>
|
||||||
<li>Changed email validation (apersands are allowed within emails now)</li>
|
<li>Changed email validation (apersands are allowed within emails now)</li>
|
||||||
|
<li>Fixed email validation for banned email addresses</li>
|
||||||
|
<li>Removed underline from email domain validation</li>
|
||||||
<li>Fixed redirection for PM Sentbox Folder, Installation and sending Email to another user</li>
|
<li>Fixed redirection for PM Sentbox Folder, Installation and sending Email to another user</li>
|
||||||
<li>Fixed poll deletion</li>
|
<li>Fixed poll deletion</li>
|
||||||
<li>Fixed Mozilla navigation bar</li>
|
<li>Fixed Mozilla navigation bar</li>
|
||||||
|
@ -100,6 +102,7 @@ p,ul,td {font-size:10pt;}
|
||||||
<li>Fixed disappearing post text if emoticon was inserted directly after pressing a BBCode button</li>
|
<li>Fixed disappearing post text if emoticon was inserted directly after pressing a BBCode button</li>
|
||||||
<li>Display correct alt-tag for smilies within postings - emoticon instead of filename</li>
|
<li>Display correct alt-tag for smilies within postings - emoticon instead of filename</li>
|
||||||
<li>Prevented the ability to apply BBCode to website contents - we will find another EasterEgg</li>
|
<li>Prevented the ability to apply BBCode to website contents - we will find another EasterEgg</li>
|
||||||
|
<li>Fixed problems with very long user passwords</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="203"></a><h3 class="h3">1.ii. Changes since 2.0.3</h3>
|
<a name="203"></a><h3 class="h3">1.ii. Changes since 2.0.3</h3>
|
||||||
|
|
|
@ -117,7 +117,7 @@ function validate_email($email)
|
||||||
|
|
||||||
if ($email != '')
|
if ($email != '')
|
||||||
{
|
{
|
||||||
if (preg_match('/^[a-z0-9&.-_+]+@[a-z0-9\-_]+\.([a-z0-9\-_]+\.)*?[a-z]+$/is', $email))
|
if (preg_match('/^[a-z0-9&.-_+]+@[a-z0-9\-]+\.([a-z0-9\-]+\.)*?[a-z]+$/is', $email))
|
||||||
{
|
{
|
||||||
$sql = "SELECT ban_email
|
$sql = "SELECT ban_email
|
||||||
FROM " . BANLIST_TABLE;
|
FROM " . BANLIST_TABLE;
|
||||||
|
|
|
@ -28,14 +28,14 @@
|
||||||
<td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
|
<td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
|
||||||
<span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
|
<span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
<input class="post" type="password" name="password" size="35" maxlength="100" value="" />
|
<input class="post" type="password" name="password" size="35" maxlength="32" value="" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
|
<td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
|
||||||
<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
|
<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
<input class="post" type="password" name="password_confirm" size="35" maxlength="100" value="" />
|
<input class="post" type="password" name="password_confirm" size="35" maxlength="32" value="" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
|
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
|
||||||
<input class="post" type="text" name="username" size="10" />
|
<input class="post" type="text" name="username" size="10" />
|
||||||
{L_PASSWORD}:
|
{L_PASSWORD}:
|
||||||
<input class="post" type="password" name="password" size="10" />
|
<input class="post" type="password" name="password" size="10" maxlength="32" />
|
||||||
{L_AUTO_LOGIN}
|
{L_AUTO_LOGIN}
|
||||||
<input class="text" type="checkbox" name="autologin" />
|
<input class="text" type="checkbox" name="autologin" />
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right"><span class="gen">{L_PASSWORD}:</span></td>
|
<td align="right"><span class="gen">{L_PASSWORD}:</span></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="password" name="password" size="25" maxlength="25" />
|
<input type="password" name="password" size="25" maxlength="32" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<td class="row1"><span class="gen">{L_CURRENT_PASSWORD}: *</span><br />
|
<td class="row1"><span class="gen">{L_CURRENT_PASSWORD}: *</span><br />
|
||||||
<span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td>
|
<span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
<input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{CUR_PASSWORD}" />
|
<input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="32" value="{CUR_PASSWORD}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END switch_edit_profile -->
|
<!-- END switch_edit_profile -->
|
||||||
|
@ -45,14 +45,14 @@
|
||||||
<td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
|
<td class="row1"><span class="gen">{L_NEW_PASSWORD}: *</span><br />
|
||||||
<span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
|
<span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
<input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{NEW_PASSWORD}" />
|
<input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="32" value="{NEW_PASSWORD}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
|
<td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: * </span><br />
|
||||||
<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
|
<span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
<input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" />
|
<input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="32" value="{PASSWORD_CONFIRM}" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN switch_confirm -->
|
<!-- BEGIN switch_confirm -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue