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

Back to archive index

Minahito minah****@users*****
2006年 8月 1日 (火) 19:34:08 JST


Index: xoops2jp/html/modules/base/admin/actions/ModuleInfoAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/ModuleInfoAction.class.php:1.1.2.3 xoops2jp/html/modules/base/admin/actions/ModuleInfoAction.class.php:1.1.2.4
--- xoops2jp/html/modules/base/admin/actions/ModuleInfoAction.class.php:1.1.2.3	Mon Jul 31 19:33:06 2006
+++ xoops2jp/html/modules/base/admin/actions/ModuleInfoAction.class.php	Tue Aug  1 19:34:08 2006
@@ -1,6 +1,7 @@
 <?php
 /**
- * @version $Id: ModuleInfoAction.class.php,v 1.1.2.3 2006/07/31 10:33:06 minahito Exp $
+ * @package Legacy
+ * @version $Id: ModuleInfoAction.class.php,v 1.1.2.4 2006/08/01 10:34:08 minahito Exp $
  */
 
  if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -18,7 +19,7 @@
 
 	function getDefaultView(&$controller, &$xoopsUser)
 	{
-		$dirname = $_GET['dirname'];
+		$dirname = xoops_getrequest('dirname');
 		if (!preg_match("/^[a-z\_]+$/i", $dirname)) {
 			return LEGACY_FRAME_VIEW_ERROR;
 		}
@@ -56,7 +57,7 @@
 
 	function executeViewError(&$controller, &$xoopsUser, &$renderer)
 	{
-		$controller->executeRedirect('./index.php?action=ModuleList', 1, "*Module not found*");
+		$controller->executeRedirect('./index.php?action=ModuleList', 1, _AD_BASE_ERROR_MODULE_NOT_FOUND);
 	}
 }
 


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