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.php44
1 files changed, 22 insertions, 22 deletions
diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php
index 1832fb39..b67b9f38 100644
--- a/modules/notification/views/item_added.html.php
+++ b/modules/notification/views/item_added.html.php
@@ -1,25 +1,25 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
-<head>
- <title><?= $subject ?> </title>
-</head>
-<body>
- <h2><?= sprintf(t("A new %s was added to %s"), $type, $parent_title); ?></h2>
- <table>
- <tr>
- <td><?= t("Title:") ?></td>
- <td><?= $item_title ?></td>
- </tr>
- <tr>
- <td><?= t("Url:") ?></td>
- <td><a href="<?= $url ?>"><?= $url ?></a></td>
- </tr>
- <? if (!empty($description)): ?>
- <tr>
- <td><?= t("Description:") ?></td>
- <td><?= $description ?></td>
- </tr>
- <? endif ?>
- </table>
-</body>
+ <head>
+ <title><?= $subject ?> </title>
+ </head>
+ <body>
+ <h2><?= $subject ?></h2>
+ <table>
+ <tr>
+ <td><?= t("Title:") ?></td>
+ <td><?= $item->title ?></td>
+ </tr>
+ <tr>
+ <td><?= t("Url:") ?></td>
+ <td><a href="<?= $item->url(array(), true) ?>"><?= $item->url(array(), true) ?></a></td>
+ </tr>
+ <? if ($item->description): ?>
+ <tr>
+ <td><?= t("Description:") ?></td>
+ <td><?= $item->description ?></td>
+ </tr>
+ <? endif ?>
+ </table>
+ </body>
</html>