summaryrefslogtreecommitdiff
path: root/modules/user/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-31 00:42:18 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-31 00:42:18 -0700
commitddb84c84e16766c6b79bd7fea61532257e83ef8b (patch)
treeb66c8a2ce6e8d21da31b6d67adfd3ac5de9b8fe6 /modules/user/views
parent6d26b0dd6e900250072ca723c388cf3c5d987aeb (diff)
Rename mark_safe() to mark_clean()
Diffstat (limited to 'modules/user/views')
-rw-r--r--modules/user/views/login.html.php2
-rw-r--r--modules/user/views/reset_password.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index dfd09661..27431ce8 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -8,7 +8,7 @@
</li>
<? else: ?>
<li class="first">
- <?= t('Logged in as %name', array('name' => html::mark_safe(
+ <?= t('Logged in as %name', array('name' => html::mark_clean(
'<a href="' . url::site("form/edit/users/{$user->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 4097bb82..92ca4917 100644
--- a/modules/user/views/reset_password.html.php
+++ b/modules/user/views/reset_password.html.php
@@ -10,7 +10,7 @@
</p>
<p>
<?= t("We received a request to reset your password for <a href=\"%site_url\">%site_url</a>. If you made this request, you can confirm it by <a href=\"%confirm_url\">clicking this link</a>. If you didn't request this password reset, it's ok to ignore this mail.",
- array("site_url" => html::mark_safe(url::base(false, "http")),
+ array("site_url" => html::mark_clean(url::base(false, "http")),
"confirm_url" => $confirm_url)) ?>
</p>
</body>