Pārlūkot izejas kodu

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

pecesama 16 gadus atpakaļ
vecāks
revīzija
d4813db262
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      classes/user.class.php

+ 3 - 2
classes/user.class.php Parādīt failu

@@ -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
 ?>