v0.9.57
- move wtv-guide romcache + some fixes - fix getAbsolutePath - fix adding users (broken with getAbsolutePath update) - fix bugs, update badwords, more bugs with account addition to fix yet - implement bad username check (wordlist from Redialed) - update zefie server IP (again) - proper x-powered-by version format - fix: also respect in hide_minisrv_version in cgi - fix: properly respect hide_minisrv_version flag - removed a scary warning - add default php_binpath config entry (php is still disabled by default)
This commit is contained in:
@@ -14,7 +14,7 @@ if (!request_headers.query.registering) {
|
||||
else if (request_headers.query.subscriber_username.length < minisrv_config.config.user_accounts.min_username_length) errpage = wtvshared.doErrorPage(400, "Please choose a username with <b>" + minisrv_config.config.user_accounts.min_username_length + "</b> or more characters.");
|
||||
else if (request_headers.query.subscriber_username.length > minisrv_config.config.user_accounts.max_username_length) errpage = wtvshared.doErrorPage(400, "Please choose a username with <b>" + minisrv_config.config.user_accounts.max_username_length + "</b> or less characters.");
|
||||
else if (!wtvr.checkUsernameSanity(request_headers.query.subscriber_username)) errpage = wtvshared.doErrorPage(400, "The username you have chosen contains invalid characters. Please choose a username with only <b>letters</b>, <b>numbers</b>, <b>_</b> or <b>-</b>. Also, please be sure your username begins with a letter.");
|
||||
else if (!wtvr.checkUsernameAvailable(request_headers.query.subscriber_username)) errpage = wtvshared.doErrorPage(400, "The username you have selected is already in use. Please select another username.");
|
||||
else if (!wtvr.checkUsernameAvailable(request_headers.query.subscriber_username)) errpage = wtvshared.doErrorPage(400, "The username you have selected is not available. Please select another username.");
|
||||
else if (!request_headers.query.subscriber_contact) errpage = wtvshared.doErrorPage(400, "Please enter your contact information.");
|
||||
else if (request_headers.query.subscriber_contact_method == "") errpage = wtvshared.doErrorPage(400, "Please select the type of contact information you provided.");
|
||||
|
||||
@@ -47,7 +47,7 @@ correct an item, press <b>Back</b>.<p>`;
|
||||
|
||||
main_data += `<tr>
|
||||
<td width=260 valign=top align=left colspan=4>
|
||||
<table cellspacing=0 cellpadding=0 border=0 >
|
||||
<table cellspacing=0 cellpadding=0 border=0>
|
||||
<img src="images/arrow.gif"> <font size=-2><b>NAME</b></font><br>
|
||||
<tt><font color=#d1d3d3 size=-2><spacer type=horizontal size=17> ${request_headers.query.subscriber_name}</font></tt></a>
|
||||
</table>
|
||||
@@ -71,7 +71,8 @@ correct an item, press <b>Back</b>.<p>`;
|
||||
<td abswidth=20>
|
||||
</tr>`;
|
||||
if (isOldBuild) main_data += '</table>';
|
||||
var form_data = `<shadow>
|
||||
var form_data = `
|
||||
<input value="Edit" name="Change" type=submit borderimage="file://ROM/Borders/ButtonBorder2.bif" text="#dddddd">
|
||||
<input selected Value="Sign Up" name="Sign Up" width="110" type=submit Value=Continue name="Continue" borderimage="file://ROM/Borders/ButtonBorder2.bif" text="#dddddd">
|
||||
</shadow>
|
||||
</font>
|
||||
|
||||
Reference in New Issue
Block a user