mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 04:01:35 +00:00
Empty commit
This commit is contained in:
parent
96203e631e
commit
29629c5e9e
@ -5,7 +5,7 @@
|
||||
define('DOMAIN_REGEX', '([a-z0-9\-\_]+\.)*[a-z0-9\-\_]+');
|
||||
define('PORT_REGEX', ':\d{1,5}');
|
||||
define('URL_REGEX', '('.RESOURCE_REGEX.')('.IP_REGEX.'|'.DOMAIN_REGEX.')('.PORT_REGEX.')?(\/\S*)*');
|
||||
define('USERNAME_REGEX', '/^[a-z0-9_?]{1,20}$/iD');
|
||||
define('USERNAME_REGEX', '/^[a-z0-9_?\.]{1,20}$/iD');
|
||||
define('EMAIL_REGEX','[_a-z0-9-]+([.+][_a-z0-9-]+)*@'.DOMAIN_REGEX);
|
||||
define('IMAGE_REGEX', URL_REGEX.'\/\S+\.(jpg|jpeg|tif|tiff|png|gif|bmp)(\?\S*)?');
|
||||
define('CSS_REGEX', URL_REGEX.'\/\S+\.css(\?\S*)?');
|
||||
|
@ -26,7 +26,7 @@
|
||||
<tr>
|
||||
<td>Username </td>
|
||||
<td colspan="2">
|
||||
<input type="text" name="username" id="username" class="inputtext" required="required" maxlength="20" pattern="[A-Za-z0-9_?]{1,20}" autofocus="autofocus" placeholder="Username" />
|
||||
<input type="text" name="username" id="username" class="inputtext" required="required" maxlength="20" pattern="[A-Za-z0-9_?\.]{1,20}" autofocus="autofocus" placeholder="Username" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user