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

Back to archive index

Minahito minah****@users*****
2006年 6月 5日 (月) 18:29:39 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.6 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.6	Wed May 24 22:54:37 2006
+++ xoops2jp/html/modules/base/admin/actions/HelpAction.class.php	Mon Jun  5 18:29:39 2006
@@ -1,6 +1,6 @@
 <?php
 /**
- * @version $Id: HelpAction.class.php,v 1.1.2.6 2006/05/24 13:54:37 minahito Exp $
+ * @version $Id: HelpAction.class.php,v 1.1.2.7 2006/06/05 09:29:39 minahito Exp $
  */
 
  if (!defined('XOOPS_ROOT_PATH')) exit();
@@ -70,9 +70,9 @@
 	$language = $root->mController->getConfig('language');
 	$dirname = $moduleObject->getVar('dirname');
 
-	$url = XOOPS_MODULE_URL . "/${dirname}/language/${language}/helpimages/${file}";
+	$url = XOOPS_MODULE_URL . "/${dirname}/language/${language}/help/images/${file}";
 	if (!file_exists($url) && $language != "english") {
-		$url = XOOPS_MODULE_URL . "/${dirname}/language/english/helpimages/${file}";
+		$url = XOOPS_MODULE_URL . "/${dirname}/language/english/help/images/${file}";
 	}
 
 	return $url;
@@ -126,9 +126,9 @@
 		//
 		// file check
 		//
-		$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/" . $language;
+		$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/help/" . $language;
 		if (!file_exists($template_dir . "/" . $helpfile)) {
-			$template_dir = XOOPS_MODULE_PATH . "/" . $this->_mDirname . "/language/english";
+			$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