summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-08-29 16:28:30 -0700
commitb4b638be44375c93f5222c7b48ed547845d6d7e5 (patch)
treea81bdf92946ae4e776bcb2d5f6357c08fa616080 /modules/user
parent0204617b602183a3e157bc7e23c617acd22a5212 (diff)
Undo url helper changes - url methods no longer return a SafeString.
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/views/reset_password.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/user/views/reset_password.html.php b/modules/user/views/reset_password.html.php
index 3dc7aebf..6fa92d54 100644
--- a/modules/user/views/reset_password.html.php
+++ b/modules/user/views/reset_password.html.php
@@ -9,7 +9,9 @@
<?= t("Hello, %name,", array("name" => $user->full_name ? $user->full_name : $user->name)) ?>
</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" => url::base(false, "http"), "confirm_url" => $confirm_url)) ?>
+ <?= 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" => SafeString::of_safe_html(url::base(false, "http")),
+ "confirm_url" => $confirm_url)) ?>
</p>
</body>
</html>