From b5640aaebb3e0cc42bcc736976c4494f4f49bf0f Mon Sep 17 00:00:00 2001 From: orvice Date: Sun, 27 Mar 2016 23:52:41 +0800 Subject: [PATCH] update pwd reset tpl --- app/Services/Password.php | 2 +- resources/email/password/reset.tpl | 134 +++++++++++++++++------------ 2 files changed, 79 insertions(+), 57 deletions(-) diff --git a/app/Services/Password.php b/app/Services/Password.php index 3b38abc4b..2de7b600a 100644 --- a/app/Services/Password.php +++ b/app/Services/Password.php @@ -31,7 +31,7 @@ public static function sendResetEmail($email){ Mail::send($email,$subject,'password/reset.tpl',[ "resetUrl" => $resetUrl ],[ - BASE_PATH.'/public/assets/email/styles.css' + //BASE_PATH.'/public/assets/email/styles.css' ]); }catch (Exception $e){ return false; diff --git a/resources/email/password/reset.tpl b/resources/email/password/reset.tpl index 56cbf45a5..7fac6951e 100644 --- a/resources/email/password/reset.tpl +++ b/resources/email/password/reset.tpl @@ -1,63 +1,85 @@ - - + + - - - {$config["appName"]} - + + +{$config["appName"]} + + + - + - - - - + +
-
- - - +
- - - - + + +
+ + - - -
+
+ - -
+ - - - + - - - - - - - -
您收到此邮件是因为您在{$config["appName"]}申请了密码重置,如果不是您申请的,请忽略此邮件. -
+
若要开始重置密码,请点击以下链接 :) -
- -
- — {$config["appName"]} -
-
- -
-
- - +
+ +
+ — {$config["appName"]} +
+
\ No newline at end of file