summaryrefslogtreecommitdiff
path: root/modules/notification/views/item_updated.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 22:54:20 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 22:54:20 -0700
commitb9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch)
tree0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/notification/views/item_updated.html.php
parent952c8856098dcfd9673d344fc71be85b303c8fb1 (diff)
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/notification/views/item_updated.html.php')
-rw-r--r--modules/notification/views/item_updated.html.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/notification/views/item_updated.html.php b/modules/notification/views/item_updated.html.php
index c3a4f795..ba03540a 100644
--- a/modules/notification/views/item_updated.html.php
+++ b/modules/notification/views/item_updated.html.php
@@ -1,18 +1,18 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
<head>
- <title><?= SafeString::of($subject) ?> </title>
+ <title><?= html::clean($subject) ?> </title>
</head>
<body>
- <h2> <?= SafeString::of($subject) ?> </h2>
+ <h2> <?= html::clean($subject) ?> </h2>
<table>
<tr>
<? if ($item->original("title") != $item->title): ?>
<td><?= t("New Title:") ?></td>
- <td><?= SafeString::of($item->title) ?></td>
+ <td><?= html::clean($item->title) ?></td>
<? else: ?>
<td><?= t("Title:") ?></td>
- <td><?= SafeString::of($item->title) ?></td>
+ <td><?= html::clean($item->title) ?></td>
<? endif ?>
</tr>
<tr>
@@ -22,12 +22,12 @@
<? if ($item->original("description") != $item->description): ?>
<tr>
<td><?= t("New Description:") ?></td>
- <td><?= SafeString::of($item->description) ?></td>
+ <td><?= html::clean($item->description) ?></td>
</tr>
<? elseif (!empty($item->description)): ?>
<tr>
<td><?= t("Description:") ?></td>
- <td><?= SafeString::of($item->description) ?></td>
+ <td><?= html::clean($item->description) ?></td>
</tr>
<? endif ?>
</table>