mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Notifications now send emails when a comment is published. It won't
send the email if the comment status is not published. This gives the administrator to moderate the comments prior to being published.
This commit is contained in:
19
modules/notification/views/comment_published.html.php
Normal file
19
modules/notification/views/comment_published.html.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<html>
|
||||
<head>
|
||||
<title><?= $subject ?> </title>
|
||||
</head>
|
||||
<body>
|
||||
<h2><?= sprintf(t("A new comment was added by %s"), $author); ?></h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td><?= t("Comment:") ?></td>
|
||||
<td><?= $text ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= t("Url:") ?></td>
|
||||
<td><a href="<?= $url ?>"><?= $url ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user