mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
- ViewMessage: checks if the receiver is an employee or not. If an
employee then hides the reply link - Added isEmployee method to MessageToken_model
This commit is contained in:
@@ -37,11 +37,18 @@
|
||||
<?php echo $message->body; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" align="center" style="background-color:#dddddd; padding:5px;">
|
||||
<a href="<?php echo $href; ?>">Reply</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
if ($isEmployee === false)
|
||||
{
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="3" align="center" style="background-color:#dddddd; padding:5px;">
|
||||
<a href="<?php echo $href; ?>">Reply</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user