diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-04 21:00:21 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-04 21:00:21 -0700 |
commit | e736d98eaa37df24122c746c21c473f0988d58f2 (patch) | |
tree | 598fd7fc40028661974ce63c64997de1f0fb6aaf /modules/user/views | |
parent | 11c76572f0875e69f513e236a4c65e2d103d56c4 (diff) |
Patch for ticket #1765. Provide the full site url for the the gallery link instead of trying to use url_base for the hidden link and the presentation text.
Diffstat (limited to 'modules/user/views')
-rw-r--r-- | modules/user/views/reset_password.html.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/user/views/reset_password.html.php b/modules/user/views/reset_password.html.php index 3afca881..d939ad42 100644 --- a/modules/user/views/reset_password.html.php +++ b/modules/user/views/reset_password.html.php @@ -9,8 +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" => html::mark_clean(url::base(false, "http")), + <?= t("We received a request to reset your password for <a href=\"%site_url\">%base_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_clean(url::abs_site("/")), + "base_url" => html::mark_clean(url::base(false)), "confirm_url" => $confirm_url)) ?> </p> </body> |