), )); <?php $this->endWidget(); ?> </div> <br /><br /> <h3><?php echo Yii::t('ui', 'Ex 4: Icons after & show active'); ?> </h3> <?php $this->widget('ext.components.language.XLangMenu', array('encodeLabel' => false, 'hideActive' => false, 'items' => array('et' => XHtml::imageLabel('et.png', 'Eesti', true), 'en' => XHtml::imageLabel('en.png', 'In English', true)))); ?> <div class="tpanel"> <div class="toggle"><?php echo Yii::t('ui', 'View code'); ?> </div> <?php $this->beginWidget('CTextHighlighter', array('language' => 'PHP')); ?> $this->widget('ext.components.language.XLangMenu', array( 'encodeLabel'=>false, 'hideActive'=>false, 'items'=>array( 'et'=>XHtml::imageLabel('et.png','Eesti',true),
<body> <div id="page"> <div id="header"> <div id="menubar"> <?php $this->widget('ext.components.language.XLangMenu', array('encodeLabel' => false, 'items' => array('et' => XHtml::imageLabel('et.png', 'Eesti', true), 'en' => XHtml::imageLabel('en.png', 'In English', true)))); ?> </div><!-- menubar --> <div id="logo"> <?php echo XHtml::imageLabel('blocks.gif', Yii::app()->name); ?> </div><!-- logo --> <div id="mainmenu"> <?php $this->widget('ptl.MainMenu'); ?> </div><!-- mainmenu --> </div><!-- header --> <?php if (empty($this->layout)) { ?> <?php