[xoops-cvslog 3926] CVS update: xoops2jp/html/modules/user/actions

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 8月 4日 (金) 13:39:11 JST


Index: xoops2jp/html/modules/user/actions/LostPassAction.class.php
diff -u xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.4 xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.5
--- xoops2jp/html/modules/user/actions/LostPassAction.class.php:1.1.2.4	Wed Jul 19 19:20:33 2006
+++ xoops2jp/html/modules/user/actions/LostPassAction.class.php	Fri Aug  4 13:39:10 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package user
- * @version $Id: LostPassAction.class.php,v 1.1.2.4 2006/07/19 10:20:33 minahito Exp $
+ * @version $Id: LostPassAction.class.php,v 1.1.2.5 2006/08/04 04:39:10 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -9,6 +9,12 @@
 require_once XOOPS_MODULE_PATH . "/user/forms/LostPassEditForm.class.php";
 require_once XOOPS_MODULE_PATH . "/user/class/LostPassMailBuilder.class.php";
 
+/**
+ * The process of lostpass. This action sends a mail even if the input mail
+ * address isn't registered in the site. Because displaying error message in
+ * such case shows the part of the personal information. We will discuss about
+ * this spec.
+ */
 class User_LostPassAction extends User_Action
 {
 	/**
@@ -112,12 +118,12 @@
 
 	function executeViewSuccess(&$controller, &$xoopsUser, &$render)
 	{
-		$controller->executeRedirect(XOOPS_URL, 3, _MD_MESSAGE_SEND_PASSWORD);
+		$controller->executeRedirect(XOOPS_URL, 3, _MD_USER_MESSAGE_SEND_PASSWORD);
 	}
 
 	function executeViewError(&$controller, &$xoopsUser, &$render)
 	{
-		$controller->executeRedirect(XOOPS_URL, 3, _MD_ERROR_SEND_MAIL);
+		$controller->executeRedirect(XOOPS_URL, 3, _MD_USER_ERROR_SEND_MAIL);
 	}
 }
 


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index