From f9f431ec8e564465d08a18d9b402ed8643841fa1 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 1 Jan 2006 22:58:37 +0000 Subject: Added initial TCheckBoxList implementation. --- framework/Web/UI/WebControls/TRepeatInfo.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'framework/Web/UI/WebControls/TRepeatInfo.php') diff --git a/framework/Web/UI/WebControls/TRepeatInfo.php b/framework/Web/UI/WebControls/TRepeatInfo.php index ffb10c12..66584ded 100644 --- a/framework/Web/UI/WebControls/TRepeatInfo.php +++ b/framework/Web/UI/WebControls/TRepeatInfo.php @@ -92,7 +92,7 @@ class TRepeatInfo extends TComponent else $this->renderHorizontalContents($writer,$user); - $control->renderEndTag(); + $control->renderEndTag($writer); } protected function renderHorizontalContents($writer,$user) @@ -251,7 +251,6 @@ class TRepeatInfo extends TComponent for($row=0;$row<$rows;++$row) { $index=$row; - $writer->renderBeginTag('tr'); for($col=0;$col<$columns;++$col) { if($renderedItems>=$itemCount) @@ -273,8 +272,6 @@ class TRepeatInfo extends TComponent $writer->writeBreak(); $user->renderItem($writer,$this,'Separator',$index); } - else if($columns>1) - $writer->write('