add show natars option

This commit is contained in:
unknown
2012-09-18 11:57:55 +03:00
parent 2d108c11bf
commit 1ef5eff485
5 changed files with 36 additions and 1182 deletions
+3
View File
@@ -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%);
+1
View File
@@ -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);
+6
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff