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

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 7月 27日 (木) 18:31:02 JST


Index: xoops2jp/html/modules/base/actions/MiscSmiliesAction.class.php
diff -u /dev/null xoops2jp/html/modules/base/actions/MiscSmiliesAction.class.php:1.1.2.1
--- /dev/null	Thu Jul 27 18:31:02 2006
+++ xoops2jp/html/modules/base/actions/MiscSmiliesAction.class.php	Thu Jul 27 18:31:02 2006
@@ -0,0 +1,58 @@
+<?php
+/**
+ * @package Legacy
+ * @version $Id: MiscSmiliesAction.class.php,v 1.1.2.1 2006/07/27 09:31:02 minahito Exp $
+ */
+
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
+require_once XOOPS_MODULE_PATH . "/base/class/PageNavigator.class.php";
+require_once XOOPS_MODULE_PATH . "/base/class/AbstractListAction.class.php";
+require_once XOOPS_MODULE_PATH . "/base/forms/SmilesFilterForm.class.php";
+
+class Legacy_MiscSmiliesAction extends Legacy_AbstractListAction
+{
+	/**
+	 * @var string
+	 */
+	var $mTargetName = null;
+
+	function &_getHandler()
+	{
+		$handler =& xoops_getmodulehandler('smiles', 'base');
+		return $handler;
+	}
+
+	function &_getFilterForm(&$navi)
+	{
+		$filter =& new Legacy_SmilesFilterForm($navi);
+		return $filter;
+	}
+
+	function _getBaseUrl()
+	{
+		return "./misc.php?type=Smilies";
+	}
+
+	function getDefaultView(&$controller, &$xoopsUser)
+	{
+		$this->mTargetName = xoops_getrequest('target');
+		return parent::getDefaultView($controller, $xoopsUser);
+	}
+	
+	function executeViewIndex(&$controller, &$xoopsUser, &$render)
+	{
+		//
+		// Because this action's template uses BASE message catalog, load it.
+		//
+		$root =& $controller->mRoot;
+		$root->mLanguageManager->loadModuleMessageCatalog('base');
+		
+		$render->setTemplateName("legacy_misc_smilies.html");
+		$render->setAttribute("objects", $this->mObjects);
+		$render->setAttribute("pageNavi", $this->mNavi);
+		$render->setAttribute("targetName", $this->mTargetName);
+	}
+}
+
+?>
Index: xoops2jp/html/modules/base/actions/SslloginAction.class.php
diff -u xoops2jp/html/modules/base/actions/SslloginAction.class.php:1.1.2.3 xoops2jp/html/modules/base/actions/SslloginAction.class.php:removed
--- xoops2jp/html/modules/base/actions/SslloginAction.class.php:1.1.2.3	Thu Jul 20 17:19:49 2006
+++ xoops2jp/html/modules/base/actions/SslloginAction.class.php	Thu Jul 27 18:31:02 2006
@@ -1,28 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-/**
- * TODO This action should be implemented by base. We must move it to user.
- */
-class Legacy_SslloginAction extends Legacy_Action
-{
-	function getDefaultView(&$controller, &$xoopsUser)
-	{
-		return LEGACY_FRAME_VIEW_INDEX;
-	}
-	
-	function executeViewIndex(&$controller, &$xoopsUser, &$render)
-	{
-		//
-		// Because this action's template uses USER message catalog, load it.
-		//
-		$root =& $controller->mRoot;
-		$root->mLanguageManager->loadModuleMessageCatalog('user');
-
-		$render->setTemplateName("legacy_misc_ssllogin.html");
-		$render->setAttribute("message", @sprintf(_US_LOGGINGU, $xoopsUser->getVar('uname')));
-	}
-}
-
-?>
Index: xoops2jp/html/modules/base/actions/OnlineAction.class.php
diff -u xoops2jp/html/modules/base/actions/OnlineAction.class.php:1.1.2.3 xoops2jp/html/modules/base/actions/OnlineAction.class.php:removed
--- xoops2jp/html/modules/base/actions/OnlineAction.class.php:1.1.2.3	Tue Mar 28 22:28:25 2006
+++ xoops2jp/html/modules/base/actions/OnlineAction.class.php	Thu Jul 27 18:31:02 2006
@@ -1,41 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-require_once XOOPS_MODULE_PATH . "/base/class/PageNavigator.class.php";
-require_once XOOPS_MODULE_PATH . "/base/class/AbstractListAction.class.php";
-require_once XOOPS_MODULE_PATH . "/base/forms/OnlineFilterForm.class.php";
-
-class Legacy_OnlineAction extends Legacy_AbstractListAction
-{
-	function &_getHandler()
-	{
-		$handler =& xoops_getmodulehandler('online', 'base');
-		return $handler;
-	}
-
-	function &_getFilterForm(&$navi)
-	{
-		$filter =& new Legacy_OnlineFilterForm($navi);
-		return $filter;
-	}
-
-	function _getBaseUrl()
-	{
-		return "./index.php?type=Online";
-	}
-
-	function executeViewIndex(&$controller, &$xoopsUser, &$render)
-	{
-		$render->setTemplateName("legacy_misc_online.html");
-		
-		foreach (array_keys($this->mObjects) as $key) {
-			$this->mObjects[$key]->loadModule();
-		}
-		
-		$render->setAttribute("objects", $this->mObjects);
-		$render->setAttribute("pageNavi", $this->mNavi);
-	}
-}
-
-?>
Index: xoops2jp/html/modules/base/actions/SmiliesAction.class.php
diff -u xoops2jp/html/modules/base/actions/SmiliesAction.class.php:1.1.2.4 xoops2jp/html/modules/base/actions/SmiliesAction.class.php:removed
--- xoops2jp/html/modules/base/actions/SmiliesAction.class.php:1.1.2.4	Thu Jul 20 17:19:49 2006
+++ xoops2jp/html/modules/base/actions/SmiliesAction.class.php	Thu Jul 27 18:31:02 2006
@@ -1,54 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-require_once XOOPS_MODULE_PATH . "/base/class/PageNavigator.class.php";
-require_once XOOPS_MODULE_PATH . "/base/class/AbstractListAction.class.php";
-require_once XOOPS_MODULE_PATH . "/base/forms/SmilesFilterForm.class.php";
-
-class Legacy_SmiliesAction extends Legacy_AbstractListAction
-{
-	/**
-	 * @var string
-	 */
-	var $mTargetName = null;
-
-	function &_getHandler()
-	{
-		$handler =& xoops_getmodulehandler('smiles', 'base');
-		return $handler;
-	}
-
-	function &_getFilterForm(&$navi)
-	{
-		$filter =& new Legacy_SmilesFilterForm($navi);
-		return $filter;
-	}
-
-	function _getBaseUrl()
-	{
-		return "./misc.php?type=Smilies";
-	}
-
-	function getDefaultView(&$controller, &$xoopsUser)
-	{
-		$this->mTargetName = xoops_getrequest('target');
-		return parent::getDefaultView($controller, $xoopsUser);
-	}
-	
-	function executeViewIndex(&$controller, &$xoopsUser, &$render)
-	{
-		//
-		// Because this action's template uses BASE message catalog, load it.
-		//
-		$root =& $controller->mRoot;
-		$root->mLanguageManager->loadModuleMessageCatalog('base');
-		
-		$render->setTemplateName("legacy_misc_smilies.html");
-		$render->setAttribute("objects", $this->mObjects);
-		$render->setAttribute("pageNavi", $this->mNavi);
-		$render->setAttribute("targetName", $this->mTargetName);
-	}
-}
-
-?>
Index: xoops2jp/html/modules/base/actions/MiscSslloginAction.class.php
diff -u /dev/null xoops2jp/html/modules/base/actions/MiscSslloginAction.class.php:1.1.2.1
--- /dev/null	Thu Jul 27 18:31:02 2006
+++ xoops2jp/html/modules/base/actions/MiscSslloginAction.class.php	Thu Jul 27 18:31:02 2006
@@ -0,0 +1,28 @@
+<?php
+
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
+/**
+ * TODO This action should be implemented by base. We must move it to user.
+ */
+class Legacy_MiscSslloginAction extends Legacy_Action
+{
+	function getDefaultView(&$controller, &$xoopsUser)
+	{
+		return LEGACY_FRAME_VIEW_INDEX;
+	}
+	
+	function executeViewIndex(&$controller, &$xoopsUser, &$render)
+	{
+		//
+		// Because this action's template uses USER message catalog, load it.
+		//
+		$root =& $controller->mRoot;
+		$root->mLanguageManager->loadModuleMessageCatalog('user');
+
+		$render->setTemplateName("legacy_misc_ssllogin.html");
+		$render->setAttribute("message", @sprintf(_US_LOGGINGU, $xoopsUser->getVar('uname')));
+	}
+}
+
+?>
Index: xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php
diff -u /dev/null xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php:1.1.2.1
--- /dev/null	Thu Jul 27 18:31:02 2006
+++ xoops2jp/html/modules/base/actions/MiscOnlineAction.class.php	Thu Jul 27 18:31:02 2006
@@ -0,0 +1,45 @@
+<?php
+/**
+ * @package Legacy
+ * @version $Id: MiscOnlineAction.class.php,v 1.1.2.1 2006/07/27 09:31:02 minahito Exp $
+ */
+
+if (!defined('XOOPS_ROOT_PATH')) exit();
+
+require_once XOOPS_MODULE_PATH . "/base/class/PageNavigator.class.php";
+require_once XOOPS_MODULE_PATH . "/base/class/AbstractListAction.class.php";
+require_once XOOPS_MODULE_PATH . "/base/forms/OnlineFilterForm.class.php";
+
+class Legacy_MiscOnlineAction extends Legacy_AbstractListAction
+{
+	function &_getHandler()
+	{
+		$handler =& xoops_getmodulehandler('online', 'base');
+		return $handler;
+	}
+
+	function &_getFilterForm(&$navi)
+	{
+		$filter =& new Legacy_OnlineFilterForm($navi);
+		return $filter;
+	}
+
+	function _getBaseUrl()
+	{
+		return "./index.php?type=Online";
+	}
+
+	function executeViewIndex(&$controller, &$xoopsUser, &$render)
+	{
+		$render->setTemplateName("legacy_misc_online.html");
+		
+		foreach (array_keys($this->mObjects) as $key) {
+			$this->mObjects[$key]->loadModule();
+		}
+		
+		$render->setAttribute("objects", $this->mObjects);
+		$render->setAttribute("pageNavi", $this->mNavi);
+	}
+}
+
+?>


xoops-cvslog メーリングリストの案内
Zurück zum Archiv-Index