diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
| commit | c01ac42c4604b3b129e8089e0dc683ebd418b380 (patch) | |
| tree | 87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/notification/views/comment_published.html.php | |
| parent | a10063ff68cf5988297dcad889384ab2080c3850 (diff) | |
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.
Diffstat (limited to 'modules/notification/views/comment_published.html.php')
| -rw-r--r-- | modules/notification/views/comment_published.html.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/notification/views/comment_published.html.php b/modules/notification/views/comment_published.html.php index 4a56cdad..02daf921 100644 --- a/modules/notification/views/comment_published.html.php +++ b/modules/notification/views/comment_published.html.php @@ -1,26 +1,26 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <html> <head> - <title><?= p::clean($subject) ?> </title> + <title><?= SafeString::of($subject) ?> </title> </head> <body> - <h2><?= p::clean($subject) ?></h2> + <h2><?= SafeString::of($subject) ?></h2> <table> <tr> <td><?= t("Comment:") ?></td> - <td><?= nl2br(p::purify($comment->text)) ?></td> + <td><?= nl2br(SafeString::purify($comment->text)) ?></td> </tr> <tr> <td><?= t("Author Name:") ?></td> - <td><?= p::clean($comment->author_name()) ?></td> + <td><?= SafeString::of($comment->author_name()) ?></td> </tr> <tr> <td><?= t("Author Email:") ?></td> - <td><?= p::clean($comment->author_email()) ?></td> + <td><?= SafeString::of($comment->author_email()) ?></td> </tr> <tr> <td><?= t("Author URL:") ?></td> - <td><?= p::clean($comment->author_url()) ?></td> + <td><?= SafeString::of($comment->author_url()) ?></td> </tr> <tr> <td><?= t("Url:") ?></td> |
