</div><!-- End #sidebar --> <?php } ?> </div><!-- End #content --> <div id="footer"> <ul> <li><?php echo Yii::t('global', 'Powered By {x}', array('{x}' => CHtml::link('X', '#'))); ?> </li> <li class="alignright"><?php echo Yii::t('global', 'Page generated in {time} seconds', array('{time}' => round(CLogger::getExecutionTime(), 3))); ?> </li> </ul> </div> </div><!-- End #container --> <?php $settings = array('baseUrl' => Yii::app()->baseUrl, 'currentUrl' => $this->createUrl(''), 'debugMode' => (int) YII_DEBUG); $phrases = array_merge($this->jsLanguages, array('cancel' => Yii::t('global', 'Cancel'), 'deleteConfirm' => Yii::t('global', 'Are you sure you would like to delete this item?'), 'inlineEditButton' => Yii::t('global', 'Update'))); $phrases = 'Tracker.phrases = ' . CJSON::encode($phrases) . ';'; $settings = 'Tracker.settings = ' . CJSON::encode($settings) . ';'; Yii::app()->clientScript->registerScript('_sitesettings', $settings, CClientScript::POS_END); Yii::app()->clientScript->registerScript('_sitephrases', $phrases, CClientScript::POS_END); ?> </body>
echo ' '.CHtml::link('<span class="add-button">'.Yii::t('app','Action').'</span>',array('actions/create','param'=>Yii::app()->user->getName().';none:0'),array('class'=>'x2-button'))." \n"; echo ' '.CHtml::link('<span class="add-button">'.Yii::t('app','Contact + Action').'</span>',array('actions/quickCreate'),array('class'=>'x2-button'))." \n"; ?> </div> <?php } echo $content; ?> <div id="footer"> <hr><div id="footer-logos"> <?php $imghtml = CHtml::image($themeURL.'/images/x2footer.png',''); echo CHtml::link($imghtml,array('site/page','view'=>'about')); // Yii::app()->request->baseURL.'/index.php'); ?></div> Copyright © <?php echo date('Y').' '.CHtml::link('X2Engine Inc.','http://www.x2engine.com');?> <?php echo Yii::t('app','Rights reservered.'); ?> <?php echo Yii::t('app','The Program is provided AS IS, without warranty.<br />Licensed under {GPLv3}. This program is free software; you can redistribute it and/or modify it<br />under the terms of the {GPLv3long} as published by the Free Software Foundation<br />including the additional permission set forth in the source code header.', array( '{GPLv3}'=>CHtml::link('GPLv3',Yii::app()->getBaseUrl().'/GPL-3.0 License.txt'), '{GPLv3long}'=>CHtml::link(Yii::t('app','GNU General Public License version 3'),Yii::app()->getBaseUrl().'/GPL-3.0 License.txt') ));?><br /> <?php echo Yii::t('app','Generated in {time} seconds',array('{time}'=>round(CLogger::getExecutionTime(),3))); ?><br /> <?php $imghtml = CHtml::image($themeURL.'/images/x2touch.png',''); echo CHtml::link($imghtml,Yii::app()->getBaseUrl().'/index.php/x2touch'); ?> </div> </div> </body> </html>