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

Back to archive index

Minahito minah****@users*****
2006年 6月 12日 (月) 12:55:14 JST


Index: xoops2jp/html/modules/base/admin/actions/HelpAction.class.php
diff -u xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.7 xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.8
--- xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.7	Mon Jun  5 18:29:39 2006
+++ xoops2jp/html/modules/base/admin/actions/HelpAction.class.php	Mon Jun 12 12:55:14 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: HelpAction.class.php,v 1.1.2.7 2006/06/05 09:29:39 minahito Exp $
+ * @version $Id: HelpAction.class.php,v 1.1.2.8 2006/06/12 03:55:14 minahito Exp $
  */
 
  if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -126,9 +126,9 @@
 		//
 		// file check
 		//
-		$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/help/" . $language;
+		$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/${language}/help";
 		if (!file_exists($template_dir . "/" . $helpfile)) {
-			$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/english/help/";
+			$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/english/help";
 			if (!file_exists($template_dir . "/" . $helpfile)) {
 				$this->mErrorMessage = _MD_A_BASE_ERROR_NO_HELP_FILE;
 				return LEGACY_FRAME_VIEW_ERROR;


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