mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 04:39:28 +00:00
45485ee02a
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
59 lines
1.1 KiB
PHP
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>
|
|
|
|
</td>
|
|
<td>
|
|
<?php echo $sender->vorname.' '.$sender->nachname; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 80px;">
|
|
<b>Subject:</b>
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
<?php echo $message->subject; ?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">
|
|
<br>
|
|
<b>Message:</b>
|
|
</td>
|
|
<td>
|
|
|
|
</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"); ?>
|