add travian T4 comming screen to index.php (can select in install)

This commit is contained in:
unknown
2012-04-05 09:30:51 +03:00
parent 5aac91bda1
commit ab706b0556
161 changed files with 792 additions and 0 deletions
+3
View File
@@ -88,6 +88,9 @@ define("PROTECTION","%BEGINNER%");
// ***** Enable WW Statistics
define("WW",%WW%);
// ***** Enable T4 is Coming screen
define("T4_COMING",%T4_COMING%);
// ***** Activation Mail
// true = activation mail will be sent, users will have to finish registration
// by clicking on link recieved in mail.
+1
View File
@@ -88,6 +88,7 @@
$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("'%T4_COMING%'", $_POST['t4_coming'], $text);
fwrite($fh, $text);
+4
View File
@@ -233,6 +233,10 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
<tr> <td><span class="f9 c6">Error Reporting:</span></td><td><select name="error">
<option value="error_reporting (E_ALL ^ E_NOTICE);" selected="selected">Yes</option>
<option value="error_reporting (0);">No</option>
</select></td></tr><tr>
<td><span class="f9 c6">T4 is Coming screen:</span></td><td><select name="t4_coming">
<option value="true">Yes</option>
<option value="false" selected="selected">No</option>
</select></td></tr>
</table>
</p>