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

アーカイブの一覧に戻る

Minahito minah****@users*****
2005年 12月 16日 (金) 18:51:09 JST


Index: xoops2jp/html/modules/base/admin/actions/LegacyModuleInstallAction.class.php
diff -u /dev/null xoops2jp/html/modules/base/admin/actions/LegacyModuleInstallAction.class.php:1.1.2.1
--- /dev/null	Fri Dec 16 18:51:09 2005
+++ xoops2jp/html/modules/base/admin/actions/LegacyModuleInstallAction.class.php	Fri Dec 16 18:51:09 2005
@@ -0,0 +1,33 @@
+<?php
+/**
+ * @version $Id: LegacyModuleInstallAction.class.php,v 1.1.2.1 2005/12/16 09:51:09 minahito Exp $
+ */
+
+require_once XOOPS_BASE_PATH."/admin/actions/AbstractModuleInstallAction.class.php";
+require_once XOOPS_BASE_PATH."/admin/class/ModuleInstaller.class.php";
+
+/**
+ * Install module
+ */
+class LegacyModuleInstallAction extends Legacy_AbstractModuleInstallAction
+{
+	function &_getInstaller($dirname)
+	{
+		$installer =& new Legacy_ModuleInstaller($dirname);
+		return $installer;
+	}
+
+	function executeViewSuccess(&$controller,&$xoopsUser,&$renderer)
+	{
+		$renderer->setTemplateName("module_install_success.html");
+		$renderer->setAttribute('log', $this->mLog->mMessages);
+	}
+
+	function executeViewInput(&$controller,&$xoopsUser,&$renderer)
+	{
+		$renderer->setTemplateName("module_install_confirm.html");
+		$renderer->setAttribute('module', $this->mModuleObject);
+	}
+}
+
+?>
\ No newline at end of file


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る