mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-15 15:51:01 +00:00
add show natars option
This commit is contained in:
@@ -95,6 +95,9 @@ define("PROTECTION","%BEGINNER%");
|
||||
// ***** Enable WW Statistics
|
||||
define("WW",%WW%);
|
||||
|
||||
// ***** Show Natars in Statistics
|
||||
define("SHOW_NATARS",%SHOW_NATARS%);
|
||||
|
||||
// ***** Enable T4 is Coming screen
|
||||
define("T4_COMING",%T4_COMING%);
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ class Process {
|
||||
$text = preg_replace("'%GREAT_WKS%'", $_POST['great_wks'], $text);
|
||||
$text = preg_replace("'%TS_THRESHOLD%'", $_POST['ts_threshold'], $text);
|
||||
$text = preg_replace("'%WW%'", $_POST['ww'], $text);
|
||||
$text = preg_replace("'%SHOW_NATARS%'", $_POST['show_natars'], $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);
|
||||
|
||||
@@ -91,6 +91,12 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
<option value="False" selected="selected">False</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Show Natars in Statistics:</span></td><td>
|
||||
<select name="show_natars">
|
||||
<option value="True">True</option>
|
||||
<option value="False" selected="selected">False</option>
|
||||
</select>
|
||||
</td></tr><tr></tr>
|
||||
<td><span class="f9 c6">Peace system:</span></td><td>
|
||||
<select name="peace">
|
||||
<option value="0" selected="selected">None</option>
|
||||
|
||||
-1178
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user