[xoops-cvslog 2881] CVS update: xoops2jp/html/modules/legacyRender/admin/actions

Zurück zum Archiv-Index

Minahito minah****@users*****
2006年 4月 25日 (火) 14:16:21 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishEditAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishEditAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishEditAction.class.php:removed
--- xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishEditAction.class.php:1.1.2.1	Mon Apr 24 16:30:10 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishEditAction.class.php	Tue Apr 25 14:16:21 2006
@@ -1,53 +0,0 @@
-<?php
-
-if (!defined('XOOPS_ROOT_PATH')) exit();
-
-require_once XOOPS_MODULE_PATH . "/legacyRender/class/AbstractEditAction.class.php";
-require_once XOOPS_MODULE_PATH . "/legacyRender/admin/forms/BannerfinishAdminEditForm.class.php";
-
-class LegacyRender_BannerfinishEditAction extends LegacyRender_AbstractEditAction
-{
-	function _getId()
-	{
-		return isset($_REQUEST['bid']) ? $_REQUEST['bid'] : 0;
-	}
-
-	function &_getHandler()
-	{
-		$handler =& xoops_getmodulehandler('bannerfinish');
-		return $handler;
-	}
-
-	function _setupActionForm()
-	{
-		$this->mActionForm =& new LegacyRender_BannerfinishAdminEditForm();
-		$this->mActionForm->prepare();
-	}
-
-	function executeViewInput(&$controller, &$xoopsUser, &$render)
-	{
-		$render->setTemplateName("bannerfinish_edit.html");
-		$render->setAttribute('actionForm', $this->mActionForm);
-		$this->mObject->loadBannerclient();
-		$render->setAttribute('object', $this->mObject);
-		
-		$bannerclientHandler =& xoops_getmodulehandler('bannerclient');
-		$bannerclientArr =& $bannerclientHandler->getObjects();
-		foreach (array_keys($bannerclientArr) as $key) {
-			$bannerclientArr[$key]->loadBanner();
-		}
-		$render->setAttribute('bannerclientArr', $bannerclientArr);
-	}
-
-	function executeViewSuccess(&$controller, &$xoopsUser, &$render)
-	{
-		$controller->executeForward("./index.php?action=BannerfinishList");
-	}
-
-	function executeViewError(&$controller, &$xoopsUser, &$render)
-	{
-		redirect_header("./index.php?action=BannerfinishList", 1, _AD_LEGACYRENDER_ERROR_DBUPDATE_FAILED);
-	}
-}
-
-?>


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