diff options
Diffstat (limited to 'modules/notification/views/comment_published.html.php')
-rw-r--r-- | modules/notification/views/comment_published.html.php | 44 |
1 files changed, 28 insertions, 16 deletions
diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index 4a7936e6..23588c72 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -1,19 +1,31 @@ <?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> + <head> + <title><?= $subject ?> </title> + </head> + <body> + <h2><?= $subject ?></h2> + <table> + <tr> + <td><?= t("Comment:") ?></td> + <td><?= $comment->text ?></td> + </tr> + <tr> + <td><?= t("Author Name:") ?></td> + <td><?= $comment->author_name() ?></td> + </tr> + <tr> + <td><?= t("Author Email:") ?></td> + <td><?= $comment->author_email() ?></td> + </tr> + <tr> + <td><?= t("Author URL:") ?></td> + <td><?= $comment->author_url() ?></td> + </tr> + <tr> + <td><?= t("Url:") ?></td> + <td><a href="<?= $comment->item()->url(array(), true) ?>#comments"><?= $comment->item()->url(array(), true) ?>#comments</a></td> + </tr> + </table> + </body> </html> |