Files
FHC-Core/application/views/system/messageHTML.php
T
Andreas Österreicher 45485ee02a Fixed Bug where wrong Messages are sent if they are not sent immediately
Messages are only sent with the Employee-Adress of the Sender instead of
the private Address. If the Sender is not an Employee, the Messages are
sent with the System-EMail
2018-02-21 23:27:24 +01:00

59 lines
1.1 KiB
PHP

<?php $this->load->view("templates/header", array("title" => "Message viewer")); ?>
<body>
<center>
<br><br>
<table width="70%;" style="border: solid 1px gray; background-color:white; padding:5px;">
<tr style=''>
<td style="width: 80px;">
<b>From:</b>
</td>
<td>
&nbsp;
</td>
<td>
<?php echo $sender->vorname.' '.$sender->nachname; ?>
</td>
</tr>
<tr>
<td style="width: 80px;">
<b>Subject:</b>
</td>
<td>
&nbsp;
</td>
<td>
<?php echo $message->subject; ?>
</td>
</tr>
<tr>
<td valign="top">
<br>
<b>Message:</b>
</td>
<td>
&nbsp;
</td>
<td>
<?php echo $message->body; ?>
</td>
</tr>
<?php
if ($isEmployee === false && $href != '')
{
?>
<tr>
<td colspan="3" align="center" style="background-color:#dddddd; padding:5px;">
<a href="<?php echo $href; ?>">Reply</a>
</td>
</tr>
<?php
}
?>
</table>
</center>
</body>
<?php $this->load->view("templates/footer"); ?>