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

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 10月 5日 (木) 19:18:12 JST


Index: xoops2jp/html/modules/user/class/RegistMailBuilder.class.php
diff -u xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.8 xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.8.2.1
--- xoops2jp/html/modules/user/class/RegistMailBuilder.class.php:1.1.2.8	Fri Aug 18 14:35:30 2006
+++ xoops2jp/html/modules/user/class/RegistMailBuilder.class.php	Thu Oct  5 19:18:12 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: RegistMailBuilder.class.php,v 1.1.2.8 2006/08/18 05:35:30 minahito Exp $
+ * @version $Id: RegistMailBuilder.class.php,v 1.1.2.8.2.1 2006/10/05 10:18:12 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -71,7 +71,7 @@
 	function setTemplate()
 	{
 		$root=&XCube_Root::getSingleton();
-		$language = $root->mController->getConfig('language');
+		$language = $root->mContext->getXoopsConfig('language');
 		$this->mMailer->setTemplateDir(XOOPS_ROOT_PATH . '/modules/user/language/' . $language . '/mail_template/');
 		$this->mMailer->setTemplate('register.tpl');
 	}
@@ -116,7 +116,7 @@
 	function setTemplate()
 	{
 		$root=&XCube_Root::getSingleton();
-		$language = $root->mController->getConfig('language');
+		$language = $root->mContext->getXoopsConfig('language');
 		$this->mMailer->setTemplateDir(XOOPS_ROOT_PATH . '/modules/user/language/' . $language . '/mail_template/');
 		$this->mMailer->setTemplate('adminactivate.tpl');
 	}
@@ -186,7 +186,7 @@
 	function setTemplate()
 	{
 		$root=&XCube_Root::getSingleton();
-		$language = $root->mController->getConfig('language');
+		$language = $root->mContext->getXoopsConfig('language');
 		$this->mMailer->setTemplateDir(XOOPS_ROOT_PATH . '/modules/user/language/' . $language . '/mail_template/');
 		$this->mMailer->setTemplate('activated.tpl');
 	}
Index: xoops2jp/html/modules/user/class/LostPassMailBuilder.class.php
diff -u xoops2jp/html/modules/user/class/LostPassMailBuilder.class.php:1.1.2.5 xoops2jp/html/modules/user/class/LostPassMailBuilder.class.php:1.1.2.5.2.1
--- xoops2jp/html/modules/user/class/LostPassMailBuilder.class.php:1.1.2.5	Fri Aug 18 14:35:30 2006
+++ xoops2jp/html/modules/user/class/LostPassMailBuilder.class.php	Thu Oct  5 19:18:12 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: LostPassMailBuilder.class.php,v 1.1.2.5 2006/08/18 05:35:30 minahito Exp $
+ * @version $Id: LostPassMailBuilder.class.php,v 1.1.2.5.2.1 2006/10/05 10:18:12 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -73,7 +73,7 @@
 	function setTemplate()
 	{
 		$root =& XCube_Root::getSingleton();
-		$language = $root->mController->getConfig('language');
+		$language = $root->mContext->getXoopsConfig('language');
 		$this->mMailer->setTemplateDir(XOOPS_MODULE_PATH . '/user/language/' . $language . '/mail_template/');
 		$this->mMailer->setTemplate("lostpass1.tpl");
 	}
@@ -103,7 +103,7 @@
 	function setTemplate()
 	{
 		$root=&XCube_Root::getSingleton();
-		$language = $root->mController->getConfig('language');
+		$language = $root->mContext->getXoopsConfig('language');
 		$this->mMailer->setTemplateDir(XOOPS_MODULE_PATH . '/user/language/' . $language . '/mail_template/');
 		$this->mMailer->setTemplate("lostpass2.tpl");
 	}


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る