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

Back to archive index

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


Index: xoops2jp/html/modules/legacyRender/admin/actions/BannerListAction.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/actions/BannerListAction.class.php:1.1.2.1 xoops2jp/html/modules/legacyRender/admin/actions/BannerListAction.class.php:1.1.2.2
--- xoops2jp/html/modules/legacyRender/admin/actions/BannerListAction.class.php:1.1.2.1	Mon Apr 24 16:30:10 2006
+++ xoops2jp/html/modules/legacyRender/admin/actions/BannerListAction.class.php	Thu May 11 18:01:11 2006
@@ -33,6 +33,19 @@
 		}
 		$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