[xoops-cvslog 6100] CVS update: xoops2jp/html/include

Back to archive index

Minahito minah****@users*****
2007年 1月 17日 (水) 16:20:54 JST


Index: xoops2jp/html/include/comment_edit.php
diff -u xoops2jp/html/include/comment_edit.php:1.2.8.2.2.4 xoops2jp/html/include/comment_edit.php:1.2.8.2.2.5
--- xoops2jp/html/include/comment_edit.php:1.2.8.2.2.4	Sat Nov 11 18:33:49 2006
+++ xoops2jp/html/include/comment_edit.php	Wed Jan 17 16:20:54 2007
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_edit.php,v 1.2.8.2.2.4 2006/11/11 09:33:49 minahito Exp $
+// $Id: comment_edit.php,v 1.2.8.2.2.5 2007/01/17 07:20:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -105,7 +105,9 @@
 	//
 	// Render comment-form to render buffer with using Legacy_RenderSystem.
 	//
-	$renderTarget =& new Legacy_RenderTargetMain();
+	$renderSystem =& $root->getRenderSystem($root->mContext->mBaseRenderSystemName);
+	$renderTarget =& $renderSystem->createRenderTarget('main');
+	
 	$renderTarget->setTemplateName("legacy_comment_edit.html");
 
 	$renderTarget->setAttribute("actionForm", $actionForm);
@@ -115,8 +117,7 @@
 	//
 	// Rendering
 	//
-	$renderer =& $root->getRenderSystem("Legacy_RenderSystem");
-	$renderer->render($renderTarget);
+	$rendererSystem->render($renderTarget);
 
 	//
 	// Display now.
Index: xoops2jp/html/include/comment_reply.php
diff -u xoops2jp/html/include/comment_reply.php:1.2.8.3.2.5 xoops2jp/html/include/comment_reply.php:1.2.8.3.2.6
--- xoops2jp/html/include/comment_reply.php:1.2.8.3.2.5	Sat Nov 11 18:33:49 2006
+++ xoops2jp/html/include/comment_reply.php	Wed Jan 17 16:20:54 2007
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_reply.php,v 1.2.8.3.2.5 2006/11/11 09:33:49 minahito Exp $
+// $Id: comment_reply.php,v 1.2.8.3.2.6 2007/01/17 07:20:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -126,7 +126,9 @@
 //
 // Render comment-form to render buffer with using Legacy_RenderSystem.
 //
-$renderTarget =& new Legacy_RenderTargetMain();
+$renderSystem =& $root->getRenderSystem($root->mContext->mBaseRenderSystemName);
+$renderTarget =& $renderSystem->createRendeerTarget('main');
+
 $renderTarget->setTemplateName("legacy_comment_edit.html");
 
 $renderTarget->setAttribute("actionForm", $actionForm);
@@ -136,8 +138,7 @@
 //
 // Rendering
 //
-$renderer =& $root->getRenderSystem("Legacy_RenderSystem");
-$renderer->render($renderTarget);
+$renderSystem->render($renderTarget);
 
 //
 // Display now.
Index: xoops2jp/html/include/comment_view.php
diff -u xoops2jp/html/include/comment_view.php:1.2.8.5.2.1 xoops2jp/html/include/comment_view.php:1.2.8.5.2.2
--- xoops2jp/html/include/comment_view.php:1.2.8.5.2.1	Sat Nov 11 18:33:55 2006
+++ xoops2jp/html/include/comment_view.php	Wed Jan 17 16:20:54 2007
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_view.php,v 1.2.8.5.2.1 2006/11/11 09:33:55 minahito Exp $
+// $Id: comment_view.php,v 1.2.8.5.2.2 2007/01/17 07:20:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -154,7 +154,9 @@
 			}
 		}
 		
-		$renderTarget =& new Legacy_RenderTargetMain();
+		$renderSystem =& $root->getRenderSystem($root->mContext->mBaseRenderSystemName);
+		$renderTarget =& $renderSystem->createRendeerTarget('main');
+
 		$renderTarget->setTemplateName("legacy_comment_navi.html");
 		$renderTarget->setAttribute("pageName", $comment_config['pageName']);
 		
@@ -206,8 +208,7 @@
 		$renderTarget->setAttribute("link_extra", $link_extra);
 		$renderTarget->setAttribute("postcomment_link", $postcomment_link);
 		
-		$renderer =& $root->getRenderSystem('Legacy_RenderSystem');
-		$renderer->render($renderTarget);
+		$renderSystem->render($renderTarget);
 		
 		//
 		// TODO We change raw string data, we must change template for guarding XSS.
Index: xoops2jp/html/include/comment_new.php
diff -u xoops2jp/html/include/comment_new.php:1.2.8.3.2.4 xoops2jp/html/include/comment_new.php:1.2.8.3.2.5
--- xoops2jp/html/include/comment_new.php:1.2.8.3.2.4	Sat Nov 11 18:33:49 2006
+++ xoops2jp/html/include/comment_new.php	Wed Jan 17 16:20:54 2007
@@ -1,5 +1,5 @@
 <?php
-// $Id: comment_new.php,v 1.2.8.3.2.4 2006/11/11 09:33:49 minahito Exp $
+// $Id: comment_new.php,v 1.2.8.3.2.5 2007/01/17 07:20:54 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -127,7 +127,9 @@
 //
 // Render comment-form to render buffer with using Legacy_RenderSystem.
 //
-$renderTarget =& new Legacy_RenderTargetMain();
+$renderSystem =& $root->getRenderSystem($root->mContext->mBaseRenderSystemName);
+$renderTarget =& $renderSystem->createRendeerTarget('main');
+
 $renderTarget->setTemplateName("legacy_comment_edit.html");
 
 $renderTarget->setAttribute("actionForm", $actionForm);
@@ -137,8 +139,7 @@
 //
 // Rendering
 //
-$renderer =& $root->getRenderSystem("Legacy_RenderSystem");
-$renderer->render($renderTarget);
+$rendererSystem->render($renderTarget);
 
 //
 // Display now.


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