mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: removal of non-existant form field replacements
This commit is contained in:
+10
-10
@@ -48,12 +48,12 @@ class Process {
|
||||
$text = preg_replace("'%CRANNYCAP%'", $_POST['crannycap'], $text);
|
||||
$text = preg_replace("'%TRAPPERCAP%'", $_POST['trappercap'], $text);
|
||||
$text = preg_replace("'%STORAGE_MULTIPLIER%'", $_POST['storage_multiplier'], $text);
|
||||
$text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text);
|
||||
$text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text);
|
||||
$text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text);
|
||||
$text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text);
|
||||
//$text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text);
|
||||
//$text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text);
|
||||
//$text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text);
|
||||
//$text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text);
|
||||
$text = preg_replace("'%MAX%'", $_POST['wmax'], $text);
|
||||
$text = preg_replace("'%GP%'", $_POST['gpack'], $text);
|
||||
//$text = preg_replace("'%GP%'", $_POST['gpack'], $text);
|
||||
$text = preg_replace("'%SSERVER%'", $_POST['sserver'], $text);
|
||||
$text = preg_replace("'%SUSER%'", $_POST['suser'], $text);
|
||||
$text = preg_replace("'%SPASS%'", $_POST['spass'], $text);
|
||||
@@ -62,7 +62,7 @@ class Process {
|
||||
$text = preg_replace("'%CONNECTT%'", $_POST['connectt'], $text);
|
||||
$text = preg_replace("'%AEMAIL%'", $_POST['aemail'], $text);
|
||||
$text = preg_replace("'%ANAME%'", $_POST['aname'], $text);
|
||||
$text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text);
|
||||
//$text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text);
|
||||
$text = preg_replace("'%LOGBUILD%'", $_POST['log_build'], $text);
|
||||
$text = preg_replace("'%LOGTECH%'", $_POST['log_tech'], $text);
|
||||
$text = preg_replace("'%LOGLOGIN%'", $_POST['log_login'], $text);
|
||||
@@ -71,9 +71,9 @@ class Process {
|
||||
$text = preg_replace("'%LOGWAR%'", $_POST['log_war'], $text);
|
||||
$text = preg_replace("'%LOGMARKET%'", $_POST['log_market'], $text);
|
||||
$text = preg_replace("'%LOGILLEGAL%'", $_POST['log_illegal'], $text);
|
||||
$text = preg_replace("'%MINUSERLENGTH%'", $_POST['userlength'], $text);
|
||||
$text = preg_replace("'%MINPASSLENGTH%'", $_POST['passlength'], $text);
|
||||
$text = preg_replace("'%SPECIALCHARS%'", $_POST['specialchars'], $text);
|
||||
//$text = preg_replace("'%MINUSERLENGTH%'", $_POST['userlength'], $text);
|
||||
//$text = preg_replace("'%MINPASSLENGTH%'", $_POST['passlength'], $text);
|
||||
//$text = preg_replace("'%SPECIALCHARS%'", $_POST['specialchars'], $text);
|
||||
$text = preg_replace("'%ACTIVATE%'", $_POST['activate'], $text);
|
||||
$text = preg_replace("'%ARANK%'", $_POST['admin_rank'], $text);
|
||||
$text = preg_replace("'%QUEST%'", $_POST['quest'], $text);
|
||||
@@ -92,7 +92,7 @@ class Process {
|
||||
$text = preg_replace("'%VILLAGE_EXPAND%'", $_POST['village_expand'], $text);
|
||||
$text = preg_replace("'%ERRORREPORT%'", $_POST['error'], $text);
|
||||
$text = preg_replace("'%ERROR%'", $_POST['error'], $text);
|
||||
$text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text);
|
||||
//$text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text);
|
||||
$text = preg_replace("'%PLUS_TIME%'", $_POST['plus_time'], $text);
|
||||
$text = preg_replace("'%PLUS_PRODUCTION%'", $_POST['plus_production'], $text);
|
||||
$text = preg_replace("'%MEDALINTERVAL%'", $_POST['medalinterval'], $text);
|
||||
|
||||
Reference in New Issue
Block a user