[xoops-cvslog 1485] CVS update: xoops2jp/html/modules/base/admin/actions

Back to archive index

Minahito minah****@users*****
2005年 12月 29日 (木) 00:47:49 JST


Index: xoops2jp/html/modules/base/admin/actions/LegacyHelpAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/LegacyHelpAction.class.php:1.1.2.1 xoops2jp/html/modules/base/admin/actions/LegacyHelpAction.class.php:1.1.2.2
--- xoops2jp/html/modules/base/admin/actions/LegacyHelpAction.class.php:1.1.2.1	Tue Dec 27 19:29:30 2005
+++ xoops2jp/html/modules/base/admin/actions/LegacyHelpAction.class.php	Thu Dec 29 00:47:49 2005
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: LegacyHelpAction.class.php,v 1.1.2.1 2005/12/27 10:29:30 minahito Exp $
+ * @version $Id: LegacyHelpAction.class.php,v 1.1.2.2 2005/12/28 15:47:49 minahito Exp $
  */
 
 /**
@@ -41,6 +41,8 @@
 {
 	var $mModuleObject = null;
 	var $mContents = null;
+
+	var $mErrorMessage = null;
 	
 	function getDefaultView(&$controller, &$xoopsUser)
 	{
@@ -75,6 +77,7 @@
 		if (!file_exists($template_dir . "/" . $helpfile)) {
 			$template_dir = XOOPS_MODULE_PATH . "/" . $dirname . "/language/english";
 			if (!file_exists($template_dir . "/" . $helpfile)) {
+				$this->mErrorMessage = _MD_A_BASE_ERROR_NO_HELP_FILE;
 				return LEGACY_ADMIN_FRAME_VIEW_ERROR;
 			}
 		}
@@ -94,7 +97,7 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$renderer)
 	{
-		XCube_Utils::redirectHeader('./index.php?action=ModuleList', 1, "*Module not found*");
+		XCube_Utils::redirectHeader('./index.php?action=ModuleList', 1, $this->mErrorMessage);
 	}
 }
 


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