1
0
www.mikescher.com/demos/blog/protected/views/layouts/column2.php

22 lines
587 B
PHP

<?php $this->beginContent('/layouts/main'); ?>
<div class="container">
<div class="span-18">
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
</div>
<div class="span-6 last">
<div id="sidebar">
<?php if(!Yii::app()->user->isGuest) $this->widget('UserMenu'); ?>
<?php $this->widget('TagCloud', array(
'maxTags'=>Yii::app()->params['tagCloudCount'],
)); ?>
<?php $this->widget('RecentComments', array(
'maxComments'=>Yii::app()->params['recentCommentCount'],
)); ?>
</div><!-- sidebar -->
</div>
</div>
<?php $this->endContent(); ?>