mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
feat: Admins can see Support messages if set in config
This commit is contained in:
@@ -394,6 +394,10 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
<td>Include Admin in Rank</td>
|
||||
<td><?php if(INCLUDE_ADMIN == true){ echo "<b><font color='Green'>Enabled</font></b>"; } else if(INCLUDE_ADMIN == false){ echo "<b><font color='Red'>Disabled</font></b>"; } ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Include Support Messages in Admin Mailbox</td>
|
||||
<td><?php if(ADMIN_RECEIVE_SUPPORT_MESSAGES == true){ echo "<b><font color='Green'>Enabled</font></b>"; } else if(ADMIN_RECEIVE_SUPPORT_MESSAGES == false){ echo "<b><font color='Red'>Disabled</font></b>"; } ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -41,6 +41,14 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<td>Include Support Messages in Admin Mailbox:</td>
|
||||
<td>
|
||||
<select name="admin_support_msgs">
|
||||
<option value="True" <?php if (ADMIN_RECEIVE_SUPPORT_MESSAGES==true) echo "selected";?>>True</option>
|
||||
<option value="False" <?php if (ADMIN_RECEIVE_SUPPORT_MESSAGES==false) echo "selected";?>>False</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
$msg = $database->getMessage($_GET['nid'],3);;
|
||||
$msg = $database->getMessage($_GET['nid'],3);
|
||||
if($msg)
|
||||
{ ?>
|
||||
<link href="../<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7d" rel="stylesheet" type="text/css">
|
||||
|
||||
Reference in New Issue
Block a user