diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 00:42:18 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 00:42:18 -0700 |
commit | ddb84c84e16766c6b79bd7fea61532257e83ef8b (patch) | |
tree | b66c8a2ce6e8d21da31b6d67adfd3ac5de9b8fe6 /modules/gallery/helpers | |
parent | 6d26b0dd6e900250072ca723c388cf3c5d987aeb (diff) |
Rename mark_safe() to mark_clean()
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/MY_html.php | 6 | ||||
-rw-r--r-- | modules/gallery/helpers/graphics.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/gallery/helpers/MY_html.php b/modules/gallery/helpers/MY_html.php index 4522d01c..b29f287f 100644 --- a/modules/gallery/helpers/MY_html.php +++ b/modules/gallery/helpers/MY_html.php @@ -51,12 +51,12 @@ class html extends html_Core { * * Example:<pre> * // Parameters to t() are automatically escaped by default. - * // If the parameter is marked as safe, it won't get escaped. + * // If the parameter is marked as clean, it won't get escaped. * t('Go <a href="%url">there</a>', - * array("url" => html::mark_safe(url::current()))) + * array("url" => html::mark_clean(url::current()))) * </pre> */ - static function mark_safe($html) { + static function mark_clean($html) { return SafeString::of_safe_html($html); } diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php index 787f8dc3..acbcb9b2 100644 --- a/modules/gallery/helpers/graphics.php +++ b/modules/gallery/helpers/graphics.php @@ -443,7 +443,7 @@ class graphics_Core { if (!module::get_var("gallery", "graphics_toolkit")) { site_status::warning( t("Graphics toolkit missing! Please <a href=\"%url\">choose a toolkit</a>", - array("url" => html::mark_safe(url::site("admin/graphics")))), + array("url" => html::mark_clean(url::site("admin/graphics")))), "missing_graphics_toolkit"); } } |