Files
gallery3/modules/notification/views/item_added.html.php
Tim Almdal 54ffea2419 Split the clean method into two clean and purify. clean is a light weight
approach using html::specialchars and purify uses HTMLPurifier to intelligently
cleanse the output fields. Use purifier for text and title fields where it is
likely that a user would enter html to format their data.
2009-07-03 21:44:10 -07:00

30 lines
706 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
<head>
<title><?= p::clean($subject) ?> </title>
</head>
<body>
<h2><?= p::clean($subject) ?></h2>
<table>
<tr>
<td><?= t("Title:") ?></td>
<td><?= p::purifys($item->title) ?></td>
</tr>
<tr>
<td><?= t("Url:") ?></td>
<td>
<a href="<?= $item->url(array(), true) ?>">
<?= $item->url(array(), true) ?>
</a>
</td>
</tr>
<? if ($item->description): ?>
<tr>
<td><?= t("Description:") ?></td>
<td><?= p::purify($item->description) ?></td>
</tr>
<? endif ?>
</table>
</body>
</html>