[xoops-cvslog 1554] CVS update: xoops2jp/html/modules/user/class

Back to archive index

Minahito minah****@users*****
2006年 1月 1日 (日) 23:10:42 JST


Index: xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php
diff -u xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.1 xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.2
--- xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php:1.1.2.1	Wed Oct 26 01:43:59 2005
+++ xoops2jp/html/modules/user/class/LostpassMailBuilder.class.php	Sun Jan  1 23:10:42 2006
@@ -1,49 +1,49 @@
-<?php
-
-class LostpassMailBuilder
-{
-	var $mMailer;
-	
-	function LostpassMailBuilder()
-	{
-		$this->mMailer=&getMailer();
-		$this->mMailer->useMail();
-	}
-
-	function setToUsers($user,$xoopsConfig)
-	{
-		$this->mMailer->setToUsers($user);
-	}
-
-	function setFromEmail($user,$xoopsConfig)
-	{
-		$this->mMailer->setFromEmail($xoopsConfig['adminmail']);
-		$this->mMailer->setFromName($xoopsConfig['sitename']);
-	}
-	
-	function setSubject($user,$xoopsConfig)
-	{
-		$this->mMailer->setSubject(sprintf(_US_NEWPWDREQ,$xoopsConfig['sitename'])));
-	}
-
-	function setTemplate()
-	{
-		$this->mMailer->setTemplate("lostpass1.tpl");
-	}
-	
-	function doAssign($user,$xoopsConfig)
-	{
-		$this->mMailer->assign("SITENAME", $xoopsConfig['sitename']);
-		$this->mMailer->assign("ADMINMAIL", $xoopsConfig['adminmail']);
-		$this->mMailer->assign("SITEURL", XOOPS_URL."/");
-		$this->mMailer->assign("IP", $_SERVER['REMOTE_ADDR']);
-		$this->mMailer->assign("NEWPWD_LINK", XOOPS_URL."/lostactv.php?email=".$editform->mEmailAddress."&code=".substr($user->getVar("pass"), 0, 5));
-	}
-		
-	function &getResult()
-	{
-		return $this->mMailer;
-	}
-}
-
+<?php
+
+class LostpassMailBuilder
+{
+	var $mMailer;
+	
+	function LostpassMailBuilder()
+	{
+		$this->mMailer=&getMailer();
+		$this->mMailer->useMail();
+	}
+
+	function setToUsers($user,$xoopsConfig)
+	{
+		$this->mMailer->setToUsers($user);
+	}
+
+	function setFromEmail($user,$xoopsConfig)
+	{
+		$this->mMailer->setFromEmail($xoopsConfig['adminmail']);
+		$this->mMailer->setFromName($xoopsConfig['sitename']);
+	}
+	
+	function setSubject($user,$xoopsConfig)
+	{
+		$this->mMailer->setSubject(sprintf(_US_NEWPWDREQ,$xoopsConfig['sitename']));
+	}
+
+	function setTemplate()
+	{
+		$this->mMailer->setTemplate("lostpass1.tpl");
+	}
+	
+	function doAssign($user,$xoopsConfig)
+	{
+		$this->mMailer->assign("SITENAME", $xoopsConfig['sitename']);
+		$this->mMailer->assign("ADMINMAIL", $xoopsConfig['adminmail']);
+		$this->mMailer->assign("SITEURL", XOOPS_URL."/");
+		$this->mMailer->assign("IP", $_SERVER['REMOTE_ADDR']);
+		$this->mMailer->assign("NEWPWD_LINK", XOOPS_URL."/lostactv.php?email=".$editform->mEmailAddress."&code=".substr($user->getVar("pass"), 0, 5));
+	}
+		
+	function &getResult()
+	{
+		return $this->mMailer;
+	}
+}
+
 ?>
\ No newline at end of file
Index: xoops2jp/html/modules/user/class/LostpassMailDirector.class.php
diff -u xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.1 xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.2
--- xoops2jp/html/modules/user/class/LostpassMailDirector.class.php:1.1.2.1	Wed Oct 26 01:44:13 2005
+++ xoops2jp/html/modules/user/class/LostpassMailDirector.class.php	Sun Jan  1 23:10:42 2006
@@ -1,27 +1,27 @@
-<?php
-
-class LostpassMailDirector
-{
-	var $mBuilder;
-	var $mXoopsUser;
-	var $mXoopsConfig;
-	
-	function LostpassMailDirector(&$builder,&$user,&$xoopsConfig)
-	{
-		$this->mBuilder=&$builder;
-		$this->mXoopsUser=&$user;
-		$this->mXoopsConfig=&$xoopsConfig;
-	}
-	
-	function contruct(&$builder,$user,&$xoopsCOnfig)
-	{
-		$this->mBuilder->setToUsers($user,$xoopsConfig);
-		$this->mBuilder->setFromEmail($user,$xoopsConfig);
-		$this->mBuilder->setSubject($user,$xoopsConfig);
-		$this->mBuilder->setTemplate();
-		$this->mBuilder->doAssign($user,$xoopsConfig);
-	}
-}
-
-
+<?php
+
+class LostpassMailDirector
+{
+	var $mBuilder;
+	var $mXoopsUser;
+	var $mXoopsConfig;
+	
+	function LostpassMailDirector(&$builder,&$user,&$xoopsConfig)
+	{
+		$this->mBuilder=&$builder;
+		$this->mXoopsUser=&$user;
+		$this->mXoopsConfig=&$xoopsConfig;
+	}
+	
+	function contruct(&$builder,$user,&$xoopsConfig)
+	{
+		$this->mBuilder->setToUsers($user,$xoopsConfig);
+		$this->mBuilder->setFromEmail($user,$xoopsConfig);
+		$this->mBuilder->setSubject($user,$xoopsConfig);
+		$this->mBuilder->setTemplate();
+		$this->mBuilder->doAssign($user,$xoopsConfig);
+	}
+}
+
+
 ?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
Back to archive index