From effccfd41d2618cfd41ce6db0834c2298fdb42d8 Mon Sep 17 00:00:00 2001
From: Andy Staudacher
Date: Sun, 30 Aug 2009 07:00:56 -0700
Subject: Change all instances of SafeString::of_safe_html() to
html::mark_safe() in views.
---
modules/user/views/login.html.php | 2 +-
modules/user/views/reset_password.html.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'modules/user/views')
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index 85f673ce..dfd09661 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -8,7 +8,7 @@
else: ?>
- = t('Logged in as %name', array('name' => SafeString::of_safe_html(
+ = t('Logged in as %name', array('name' => html::mark_safe(
'id}") .
'" title="' . t("Edit Your Profile")->for_html_attr() .
'" id="gUserProfileLink" class="gDialogLink">' .
diff --git a/modules/user/views/reset_password.html.php b/modules/user/views/reset_password.html.php
index 6fa92d54..4097bb82 100644
--- a/modules/user/views/reset_password.html.php
+++ b/modules/user/views/reset_password.html.php
@@ -10,7 +10,7 @@
= t("We received a request to reset your password for %site_url. If you made this request, you can confirm it by clicking this link. If you didn't request this password reset, it's ok to ignore this mail.",
- array("site_url" => SafeString::of_safe_html(url::base(false, "http")),
+ array("site_url" => html::mark_safe(url::base(false, "http")),
"confirm_url" => $confirm_url)) ?>