summaryrefslogtreecommitdiff
path: root/modules/notification/views/comment_published.html.php
blob: ac36a2c14ff8e8a0cfad2350df2bdbb7935b96cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?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("Comment:") ?></td>
  <td><?= nl2br(html::purify($comment->text)) ?></td>
      </tr>
      <tr>
        <td><?= t("Author name:") ?></td>
        <td><?= html::clean($comment->author_name()) ?></td>
      </tr>
      <tr>
        <td><?= t("Author email:") ?></td>
        <td><?= html::clean($comment->author_email()) ?></td>
      </tr>
      <tr>
        <td><?= t("Author URL:") ?></td>
        <td><?= html::clean($comment->author_url()) ?></td>
      </tr>
      <tr>
        <td><?= t("Url:") ?></td>
        <td>
          <a href="<?= $comment->item()->abs_url() ?>#comments">
            <?= $comment->item()->abs_url() ?>#comments
          </a>
        </td>
      </tr>
    </table>
  </body>
</html>