mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-26 03:46:39 +08:00
fix issue 261
This commit is contained in:
@@ -106,6 +106,9 @@ define("SHOW_NATARS",%SHOW_NATARS%);
|
|||||||
// ***** Natars Units Multiplier
|
// ***** Natars Units Multiplier
|
||||||
define("NATARS_UNITS",%NATARS_UNITS%);
|
define("NATARS_UNITS",%NATARS_UNITS%);
|
||||||
|
|
||||||
|
// ***** Nature troops regeneration time
|
||||||
|
define("NATURE_REGTIME",%NATURE_REGTIME%);
|
||||||
|
|
||||||
// ***** Enable T4 is Coming screen
|
// ***** Enable T4 is Coming screen
|
||||||
define("T4_COMING",%T4_COMING%);
|
define("T4_COMING",%T4_COMING%);
|
||||||
|
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ class Process {
|
|||||||
$text = preg_replace("'%WW%'", $_POST['ww'], $text);
|
$text = preg_replace("'%WW%'", $_POST['ww'], $text);
|
||||||
$text = preg_replace("'%SHOW_NATARS%'", $_POST['show_natars'], $text);
|
$text = preg_replace("'%SHOW_NATARS%'", $_POST['show_natars'], $text);
|
||||||
$text = preg_replace("'%NATARS_UNITS%'", $_POST['natars_units'], $text);
|
$text = preg_replace("'%NATARS_UNITS%'", $_POST['natars_units'], $text);
|
||||||
|
$text = preg_replace("'%NATURE_REGTIME%'", $_POST['nature_regtime'], $text);
|
||||||
$text = preg_replace("'%T4_COMING%'", $_POST['t4_coming'], $text);
|
$text = preg_replace("'%T4_COMING%'", $_POST['t4_coming'], $text);
|
||||||
$text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text);
|
$text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text);
|
||||||
$text = preg_replace("'%PEACE%'", $_POST['peace'], $text);
|
$text = preg_replace("'%PEACE%'", $_POST['peace'], $text);
|
||||||
|
|||||||
@@ -80,6 +80,16 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
|||||||
<option value="(3600*24*7)" selected="selected">7 days</option>
|
<option value="(3600*24*7)" selected="selected">7 days</option>
|
||||||
</select>
|
</select>
|
||||||
</td></tr><tr></tr>
|
</td></tr><tr></tr>
|
||||||
|
<td><span class="f9 c6">Nature troops regeneration time:</span></td><td>
|
||||||
|
<select name="nature_regtime">
|
||||||
|
<option value="28800">8 hours</option>
|
||||||
|
<option value="36000">10 hours</option>
|
||||||
|
<option value="43200" selected="selected">12 hours</option>
|
||||||
|
<option value="57600">16 hours</option>
|
||||||
|
<option value="72000">20 hours</option>
|
||||||
|
<option value="86400">24 hours</option>
|
||||||
|
</select>
|
||||||
|
</td></tr><tr></tr>
|
||||||
<td><span class="f9 c6">Storage Multipler:</span></td><td width="140"><input type="text" name="storage_multiplier" id="storage_multiplier" value="1"></td></tr><tr>
|
<td><span class="f9 c6">Storage Multipler:</span></td><td width="140"><input type="text" name="storage_multiplier" id="storage_multiplier" value="1"></td></tr><tr>
|
||||||
<td><span class="f9 c6">Tourn Threshold:</span></td><td width="140"><input type="text" name="ts_threshold" id="ts_threshold" value="20"></td></tr><tr>
|
<td><span class="f9 c6">Tourn Threshold:</span></td><td width="140"><input type="text" name="ts_threshold" id="ts_threshold" value="20"></td></tr><tr>
|
||||||
<td><span class="f9 c6">Great Workshop:</span></td><td>
|
<td><span class="f9 c6">Great Workshop:</span></td><td>
|
||||||
|
|||||||
Reference in New Issue
Block a user