diff options
author | xue <> | 2007-04-13 16:08:09 +0000 |
---|---|---|
committer | xue <> | 2007-04-13 16:08:09 +0000 |
commit | e002cc7d95942fb8ac7e899e0e7c5f8998b8b6ba (patch) | |
tree | 0095e63caccd8118e8bd0a968e55b2cda73a1428 /framework/Web/UI | |
parent | 32b73a0b1dfcd33e07e7fd2b2cf2fd7d42cf48a0 (diff) |
removed <span> tags when TDataList.RepeatLayout is Raw
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TDataList.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php index 25b1221f..6cd01008 100644 --- a/framework/Web/UI/WebControls/TDataList.php +++ b/framework/Web/UI/WebControls/TDataList.php @@ -1097,7 +1097,10 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs {
$item=$this->getItem($itemType,$index);
$layout=$repeatInfo->getRepeatLayout();
- $item->renderControl($writer);
+ if($layout===TRepeatLayout::Raw)
+ $item->renderContents($writer);
+ else
+ $item->renderControl($writer);
}
/**
|