"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "framework/web/widgets/CTabView.php" between
yii-1.1.19.5790cb.tar.gz and yii-1.1.20.6ed384.tar.gz

About: Yii is a high-performance component-based PHP framework for developing large-scale Web applications. Hint: Yii 1.1 is now in maintenance mode.

CTabView.php  (yii-1.1.19.5790cb):CTabView.php  (yii-1.1.20.6ed384)
skipping to change at line 134 skipping to change at line 134
foreach($this->tabs as $id=>$tab) foreach($this->tabs as $id=>$tab)
if(isset($tab['visible']) && $tab['visible']==false) if(isset($tab['visible']) && $tab['visible']==false)
unset($this->tabs[$id]); unset($this->tabs[$id]);
if(empty($this->tabs)) if(empty($this->tabs))
return; return;
if($this->activeTab===null || !isset($this->tabs[$this->activeTab ])) if($this->activeTab===null || !isset($this->tabs[$this->activeTab ]))
{ {
reset($this->tabs); reset($this->tabs);
list($this->activeTab, )=each($this->tabs); $this->activeTab = key($this->tabs);
} }
$htmlOptions=$this->htmlOptions; $htmlOptions=$this->htmlOptions;
if(isset($this->htmlOptions['id'])) if(isset($this->htmlOptions['id']))
$this->id=$this->htmlOptions['id']; $this->id=$this->htmlOptions['id'];
else else
$htmlOptions['id']=$this->id; $htmlOptions['id']=$this->id;
if(!isset($htmlOptions['class'])) if(!isset($htmlOptions['class']))
$htmlOptions['class']=self::CSS_CLASS; $htmlOptions['class']=self::CSS_CLASS;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)