From b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Sat, 29 Aug 2009 22:54:20 -0700 Subject: Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly. --- modules/notification/views/comment_published.html.php | 12 ++++++------ modules/notification/views/item_added.html.php | 8 ++++---- modules/notification/views/item_deleted.html.php | 6 +++--- modules/notification/views/item_updated.html.php | 12 ++++++------ 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'modules/notification') diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index 02daf921..e39e39c6 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -1,26 +1,26 @@ - <?= SafeString::of($subject) ?> + <?= html::clean($subject) ?> -

+

- + - + - + - + diff --git a/modules/notification/views/item_added.html.php b/modules/notification/views/item_added.html.php index 70b8fca4..f697fea6 100644 --- a/modules/notification/views/item_added.html.php +++ b/modules/notification/views/item_added.html.php @@ -1,14 +1,14 @@ - <?= SafeString::of($subject) ?> + <?= html::clean($subject) ?> -

+

text)) ?>text)) ?>
author_name()) ?>author_name()) ?>
author_email()) ?>author_email()) ?>
author_url()) ?>author_url()) ?>
- + @@ -21,7 +21,7 @@ description): ?> - +
title) ?>title) ?>
description)) ?>description)) ?>
diff --git a/modules/notification/views/item_deleted.html.php b/modules/notification/views/item_deleted.html.php index e04fc71b..a51782ff 100644 --- a/modules/notification/views/item_deleted.html.php +++ b/modules/notification/views/item_deleted.html.php @@ -1,15 +1,15 @@ - <?= SafeString::of($subject) ?> + <?= html::clean($subject) ?> -

+

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 @@ - <?= SafeString::of($subject) ?> + <?= html::clean($subject) ?> -

+

SafeString::purify($item->parent()->title))) ?> + array("title" => html::purify($item->parent()->title))) ?>
original("title") != $item->title): ?> - + - + @@ -22,12 +22,12 @@ original("description") != $item->description): ?> - + description)): ?> - +
title) ?>title) ?> title) ?>title) ?>
description) ?>description) ?>
description) ?>description) ?>
-- cgit v1.2.3