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

Back to archive index

Minahito minah****@users*****
2006年 5月 11日 (木) 18:58:07 JST


Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishListAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishListAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishListAction.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishListAction.class.php:1.1.2.1	Mon Apr 24 16:30:10 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/BannerfinishListAction.class.php	Thu May 11 18:58:07 2006
@@ -33,6 +33,18 @@
 		}
 		$render->setAttribute("objects", $this->mObjects);
 		$render->setAttribute("pageNavi", $this->mNavi);
+		
+		//
+		// If cid is specified, load client object and assign it.
+		//
+		$cid = xoops_getrequest('cid');
+		if ($cid > 0) {
+			$handler =& xoops_getmodulehandler('bannerclient');
+			$client =& $handler->get($cid);
+			if (is_object($client)) {
+				$render->setAttribute("currentClient", $client);
+			}
+		}
 	}
 }
 


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