Files
gallery3/modules/notification/views/comment_published.html.php
Andy Staudacher c01ac42c46 Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-29 12:48:40 -07:00

36 lines
984 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
<head>
<title><?= SafeString::of($subject) ?> </title>
</head>
<body>
<h2><?= SafeString::of($subject) ?></h2>
<table>
<tr>
<td><?= t("Comment:") ?></td>
<td><?= nl2br(SafeString::purify($comment->text)) ?></td>
</tr>
<tr>
<td><?= t("Author Name:") ?></td>
<td><?= SafeString::of($comment->author_name()) ?></td>
</tr>
<tr>
<td><?= t("Author Email:") ?></td>
<td><?= SafeString::of($comment->author_email()) ?></td>
</tr>
<tr>
<td><?= t("Author URL:") ?></td>
<td><?= SafeString::of($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>