diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:44:38 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:44:38 +0200 |
| commit | 69bffb7fe85347621f41c0baed839452e72930e1 (patch) | |
| tree | 8446bced1732932fd741e91ff8dba88b1e56693b /protected/views/layouts/column2.php | |
| parent | a098922f681a9a1362202580a26b132501df4b1b (diff) | |
Erstes Yii Projekt
Diffstat (limited to 'protected/views/layouts/column2.php')
| -rw-r--r-- | protected/views/layouts/column2.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/protected/views/layouts/column2.php b/protected/views/layouts/column2.php new file mode 100644 index 0000000..e435a69 --- /dev/null +++ b/protected/views/layouts/column2.php @@ -0,0 +1,21 @@ +<?php $this->beginContent('//layouts/main'); ?> +<div class="span-19"> + <div id="content"> + <?php echo $content; ?> + </div><!-- content --> +</div> +<div class="span-5 last"> + <div id="sidebar"> + <?php + $this->beginWidget('zii.widgets.CPortlet', array( + 'title'=>'Operations', + )); + $this->widget('zii.widgets.CMenu', array( + 'items'=>$this->menu, + 'htmlOptions'=>array('class'=>'operations'), + )); + $this->endWidget(); + ?> + </div><!-- sidebar --> +</div> +<?php $this->endContent(); ?>
\ No newline at end of file |
