fix issue 261

This commit is contained in:
yi12345
2013-08-07 13:37:38 +03:00
parent d09b68a065
commit b2f329cf83
3 changed files with 14 additions and 0 deletions
+3
View File
@@ -106,6 +106,9 @@ define("SHOW_NATARS",%SHOW_NATARS%);
// ***** Natars Units Multiplier
define("NATARS_UNITS",%NATARS_UNITS%);
// ***** Nature troops regeneration time
define("NATURE_REGTIME",%NATURE_REGTIME%);
// ***** Enable T4 is Coming screen
define("T4_COMING",%T4_COMING%);
+1
View File
@@ -96,6 +96,7 @@ class Process {
$text = preg_replace("'%WW%'", $_POST['ww'], $text);
$text = preg_replace("'%SHOW_NATARS%'", $_POST['show_natars'], $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("'%REG_OPEN%'", $_POST['reg_open'], $text);
$text = preg_replace("'%PEACE%'", $_POST['peace'], $text);
+10
View File
@@ -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>
</select>
</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">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>