/usr/share/horde/nag/templates/alarm/mail.html.php is in php-horde-nag 4.2.1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <p><font size="4"><strong><a href="<?php $url = new Horde_Url($this->task->view_link); echo $url->remove(session_name()) ?>"><?php echo $this->h($this->task->name) ?></a></strong></font></p>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td width="140" valign="top">
<img src="cid:<?php echo $this->imageId ?>" />
</td>
<td valign="top">
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<?php $i = 0 ?>
<tr<?php if ($i++ % 2) echo ' bgcolor="#f1f1f1"' ?>>
<td nowrap="nowrap" align="right">
<font size="2"><strong><?php echo _("Date and time:") ?></strong></font>
</td>
<td width="5"> </td>
<td width="100%"><font size="2"><strong><?php echo $this->due->strftime($this->dateFormat) ?>, <?php echo $this->due->format($this->timeFormat) ?></strong></font></td>
</tr>
<?php if (strlen($this->task->desc)): ?>
<tr<?php if ($i++ % 2) echo ' bgcolor="#f1f1f1"' ?>>
<td nowrap="nowrap" align="right" valign="top">
<font size="2"><strong><?php echo _("Description:") ?></strong></font>
</td>
<td width="5"> </td>
<td width="100%"><font size="2"><strong><?php echo $GLOBALS['injector']->getInstance('Horde_Core_Factory_TextFilter')->filter($this->task->desc, 'text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO, 'callback' => null)) ?></strong></font></td>
</tr>
<?php endif ?>
</table>
</td>
</tr></table>
<?php if ($this->prefsUrl): ?>
<p><font size="1"><?php printf(_("You get this message because your task list is configured to send you reminders of due tasks with alarms. You can change this if you %slogin to the task list%s and change your preferences."), '<a href="' . $this->prefsUrl . '">', '</a>') ?></font></p>
<?php endif ?>
|