diff options
Diffstat (limited to 'modules/notification/views')
-rw-r--r-- | modules/notification/views/comment_added.html.php | 0 | ||||
-rw-r--r-- | modules/notification/views/comment_changed.html.php | 0 | ||||
-rw-r--r-- | modules/notification/views/item_added.html.php | 25 | ||||
-rw-r--r-- | modules/notification/views/item_deleted.html.php | 0 | ||||
-rw-r--r-- | modules/notification/views/item_updated.html.php | 36 |
5 files changed, 61 insertions, 0 deletions
diff --git a/modules/notification/views/comment_added.html.php b/modules/notification/views/comment_added.html.php new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/modules/notification/views/comment_added.html.php diff --git a/modules/notification/views/comment_changed.html.php b/modules/notification/views/comment_changed.html.php new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/modules/notification/views/comment_changed.html.php diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php new file mode 100644 index 00000000..1832fb39 --- /dev/null +++ b/modules/notification/views/item_added.html.php @@ -0,0 +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> +</html> diff --git a/modules/notification/views/item_deleted.html.php b/modules/notification/views/item_deleted.html.php new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/modules/notification/views/item_deleted.html.php diff --git a/modules/notification/views/item_updated.html.php b/modules/notification/views/item_updated.html.php new file mode 100644 index 00000000..126bd5cc --- /dev/null +++ b/modules/notification/views/item_updated.html.php @@ -0,0 +1,36 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<html> +<head> + <title><?= $subject ?> </title> +</head> +<body> + <h2><?= sprintf(t("%s %s was updated"), ucfirst($type), $item_title); ?></h2> + <table> + <tr> + <? if (!empty($new_title)): ?> + <td><?= t("New Title:") ?></td> + <td><?= $new_title ?></td> + <? else: ?> + <td><?= t("Title:") ?></td> + <td><?= $item_title ?></td> + <? endif ?> + </tr> + <tr> + <td><?= t("Url:") ?></td> + <td><a href="<?= $url ?>"><?= $url ?></a></td> + </tr> + <? if (!empty($new_description)): ?> + <tr> + <td><?= t("New Description:") ?></td> + <td><?= $new_description ?></td> + </tr> + <? else: if (!empty($description)): ?> + <tr> + <td><?= t("Description:") ?></td> + <td><?= $description ?></td> + </tr> + <? endif ?> + <? endif ?> + </table> +</body> +</html> |