summaryrefslogtreecommitdiff
path: root/modules/user/views/reset_password.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-05-31 23:28:42 -0700
commit3c24d9476618496c8f2e1ca2f6025fa157120e43 (patch)
treee3d8b381098affa3081cc95cd74ebeabef972ab3 /modules/user/views/reset_password.html.php
parent463b3454ae7633815e24cdf86e81c57409dd15a9 (diff)
parent79a05adb9d941671cefbdf6b1cc97f0cd84fabf3 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/user/views/reset_password.html.php')
-rw-r--r--modules/user/views/reset_password.html.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/modules/user/views/reset_password.html.php b/modules/user/views/reset_password.html.php
index 39845d61..4c4672ee 100644
--- a/modules/user/views/reset_password.html.php
+++ b/modules/user/views/reset_password.html.php
@@ -1,14 +1,15 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<html>
-<head>
- <title><?= $title ?> </title>
-</head>
-<body>
- <h2><?= t("Password Reset Request") ?> </h2>
- <p>
- <?= sprintf(t("A request to reset your password (user: %s) at %s."), $name, url::base(false, "http")) ?>
- <?= sprintf(t("To confirm this request please click on the link below")) ?><br />
- <a href="<?= $url ?>"><?= t("Reset Password") ?></a>
- </p>
-</body>
+ <head>
+ <title><?= t("Password Reset Request") ?> </title>
+ </head>
+ <body>
+ <h2><?= t("Password Reset Request") ?> </h2>
+ <p>
+ <?= t("Hello, %name,", array("name" => p::clean($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)) ?>
+ </p>
+ </body>
</html>