mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-10 14:46:09 +00:00
Minor changes using boolean statements
This commit is contained in:
@@ -245,7 +245,7 @@ class Alliance {
|
||||
// Log the notice
|
||||
$database->insertAlliNotice($session->alliance, '<a href="spieler.php?uid=' . $session->uid . '">' . addslashes($session->username) . '</a> has invited <a href="spieler.php?uid=' . $UserData['id'] . '">' . addslashes($UserData['username']) . '</a> into the alliance.');
|
||||
// send invitation via in-game messages
|
||||
if(NEW_FUNCTIONS_ALLIANCE_INVITATION == false) return;
|
||||
if(!NEW_FUNCTIONS_ALLIANCE_INVITATION) return;
|
||||
else {
|
||||
$database->sendMessage(
|
||||
$UserData['id'],
|
||||
|
||||
@@ -154,7 +154,7 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
if(NEW_FUNCTIONS_OASIS == false) {
|
||||
if(!NEW_FUNCTIONS_OASIS) {
|
||||
echo "<table cellpadding=\"1\" cellspacing=\"1\" id=\"villages\">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user