浏览代码

A little improvement to confirmationEmail() on classes/user.class.php

pecesama 15 年前
父节点
当前提交
d4813db262
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      classes/user.class.php

+ 3 - 2
classes/user.class.php 查看文件

@@ -138,11 +138,12 @@ class user extends Conexion_Mysql {
138 138
 
139 139
 	function confirmationEmail($email="", $user="", $password="") {
140 140
 		$msg =  "<font face=verdana><em><font size=2>Account information on <strong>gelato CMS</strong></font></em><br/><br/>";
141
+		$msg .=	"Visit the <a href=\"".$this->conf->urlGelato."/admin/\">tumblelog panel</a> <br/><br/>";
141 142
 		$msg .=	"<font size=1>Username: <strong>".$user."</strong><br/><br/>";
142
-		$msg .=	"Password: <strong>".$password."</strong><br/><br/>";
143
+		$msg .=	"Password: <strong>".$password."</strong><br/><br/>";		
143 144
 		$msg .=	"<em>Don't tell your password to anybody!!</em><br/><br/></font>";
144 145
 
145
-		sendMail($email, "Register conformation on gelato CMS", $msg, "no-reply@gelatocms.com");
146
+		sendMail($email, "Register confirmation on gelato CMS", $msg, "no-reply@gelatocms.com");
146 147
 	}
147 148
 }
148 149
 ?>