NobuNobu
nobun****@users*****
2006年 2月 4日 (土) 16:52:47 JST
Index: xoops2jp/html/modules/user/class/RegistMailBuilder.class.php diff -u xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.1 xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.2 --- xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.1 Thu Nov 10 19:18:47 2005 +++ xoops2jp/html/modules/user/class/RegistMailBuilder.class.php Sat Feb 4 16:52:47 2006 @@ -31,7 +31,7 @@ function RegistUserActivateMailBuilder() { $this->mMailer=&getMailer(); - $this->mMailer->userMail(); + $this->mMailer->useMail(); } function setTemplate() @@ -64,7 +64,7 @@ function &getResult() { - $this->mMailer; + return $this->mMailer; } } @@ -102,7 +102,7 @@ } } -class RegistUserNotifyMailBuilder extends RegistUserNotifyMail +class RegistUserNotifyMailBuilder extends RegistUserActivateMailBuilder { function setTemplate() { @@ -127,7 +127,7 @@ function setBody($user,$xoopsConfig) { - $xoopsMailer->setBody(@printf(_US_HASJUSTREG,$uname->getVar('uname'))); + $this->mMailer->setBody(@sprintf(_US_HASJUSTREG, $user->getVar('uname'))); } }