summaryrefslogtreecommitdiff
path: root/modules/notification/views/item_added.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/views/item_added.html.php')
-rw-r--r--modules/notification/views/item_added.html.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php
new file mode 100644
index 0000000..1ea3720
--- /dev/null
+++ b/modules/notification/views/item_added.html.php
@@ -0,0 +1,29 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<html>
+ <head>
+ <title><?= html::clean($subject) ?> </title>
+ </head>
+ <body>
+ <h2><?= html::clean($subject) ?></h2>
+ <table>
+ <tr>
+ <td><?= t("Title:") ?></td>
+ <td><?= html::purify($item->title) ?></td>
+ </tr>
+ <tr>
+ <td><?= t("Url:") ?></td>
+ <td>
+ <a href="<?= $item->abs_url() ?>">
+ <?= $item->abs_url() ?>
+ </a>
+ </td>
+ </tr>
+ <? if ($item->description): ?>
+ <tr>
+ <td><?= t("Description:") ?></td>
+ <td><?= nl2br(html::purify($item->description)) ?></td>
+ </tr>
+ <? endif ?>
+ </table>
+ </body>
+</html>