diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 22:54:20 -0700 |
| commit | b9bd1681a3b1496c0f1bbe5e6254ab4fd0c9fe30 (patch) | |
| tree | 0ce300329bb2b6ace0e0fd72c94fe5fbb7e4db96 /modules/notification/views/item_added.html.php | |
| parent | 952c8856098dcfd9673d344fc71be85b303c8fb1 (diff) | |
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
Diffstat (limited to 'modules/notification/views/item_added.html.php')
| -rw-r--r-- | modules/notification/views/item_added.html.php | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <?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> <td><?= t("Title:") ?></td> - <td><?= SafeString::purify($item->title) ?></td> + <td><?= html::purify($item->title) ?></td> </tr> <tr> <td><?= t("Url:") ?></td> @@ -21,7 +21,7 @@ <? if ($item->description): ?> <tr> <td><?= t("Description:") ?></td> - <td><?= nl2br(SafeString::purify($item->description)) ?></td> + <td><?= nl2br(html::purify($item->description)) ?></td> </tr> <? endif ?> </table> |
