Changeset 2461
- Timestamp:
- 05/14/2008 03:07:12 AM
- Files:
-
- trunk/HISTORY (modified) (1 diff)
- trunk/framework/Web/UI/WebControls/TDataList.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/HISTORY
r2460 r2461 2 2 ============================ 3 3 BUG: Ticket#836 - TRatingList downgrade (Christophe) 4 BUG: Ticket#843 - TDataList alternatinItem issue after changes in rev 2227 (Christophe) 4 5 BUG: Ticket#849 - TDatePicker selecting current date problem (Christophe) 5 6 trunk/framework/Web/UI/WebControls/TDataList.php
r2227 r2461 1176 1176 private function getAlternatingItemDisplay() 1177 1177 { 1178 if(($classPath=$this->getAlternatingItemRenderer())==='' && ($template=$this->_alternatingItemTemplate)===null)1178 if(($classPath=$this->getAlternatingItemRenderer())==='' && $this->_alternatingItemTemplate===null) 1179 1179 return array($this->getItemRenderer(),$this->_itemTemplate); 1180 1180 else 1181 return array($classPath,$t emplate);1181 return array($classPath,$this->_alternatingItemTemplate); 1182 1182 } 1183 1183 1184 1184 private function getSelectedItemDisplay($itemIndex) 1185 1185 { 1186 if(($classPath=$this->getSelectedItemRenderer())==='' && ($template=$this->_selectedItemTemplate)===null)1186 if(($classPath=$this->getSelectedItemRenderer())==='' && $this->_selectedItemTemplate===null) 1187 1187 { 1188 1188 if($itemIndex%2===0) … … 1192 1192 } 1193 1193 else 1194 return array($classPath,$t emplate);1194 return array($classPath,$this->_selectedItemTemplate); 1195 1195 } 1196 1196 1197 1197 private function getEditItemDisplay($itemIndex) 1198 1198 { 1199 if(($classPath=$this->getEditItemRenderer())==='' && ($template=$this->_editItemTemplate)===null)1199 if(($classPath=$this->getEditItemRenderer())==='' && $this->_editItemTemplate===null) 1200 1200 return $this->getSelectedItemDisplay($itemIndex); 1201 1201 else 1202 return array($classPath,$t emplate);1202 return array($classPath,$this->_editItemTemplate); 1203 1203 } 1204 1204
