Files
gallery3/modules/notification/views/item_updated.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
1.1 KiB
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>
<? if ($item->original("title") != $item->title): ?>
<td><?= t("New Title:") ?></td>
<td><?= SafeString::of($item->title) ?></td>
<? else: ?>
<td><?= t("Title:") ?></td>
<td><?= SafeString::of($item->title) ?></td>
<? endif ?>
</tr>
<tr>
<td><?= t("Url:") ?></td>
<td><a href="<?= $item->url(array(), true) ?>"><?= $item->url(array(), true) ?></a></td>
</tr>
<? if ($item->original("description") != $item->description): ?>
<tr>
<td><?= t("New Description:") ?></td>
<td><?= SafeString::of($item->description) ?></td>
</tr>
<? elseif (!empty($item->description)): ?>
<tr>
<td><?= t("Description:") ?></td>
<td><?= SafeString::of($item->description) ?></td>
</tr>
<? endif ?>
</table>
</body>
</html>