1
0
www.mikescher.com/framework/gii/views/layouts/generator.php

25 lines
681 B
PHP
Raw Permalink Normal View History

2014-05-13 12:40:42 +02:00
<?php $this->beginContent('gii.views.layouts.main'); ?>
<div class="container">
<div class="span-4">
<div id="sidebar">
<?php $this->beginWidget('zii.widgets.CPortlet', array(
'title'=>'Generators',
)); ?>
<ul>
<?php foreach($this->module->controllerMap as $name=>$config): ?>
<li><?php echo CHtml::link(ucwords(CHtml::encode($name).' generator'),array($name.'/index'));?></li>
<?php endforeach; ?>
</ul>
<?php $this->endWidget(); ?>
</div><!-- sidebar -->
</div>
<div class="span-16">
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
</div>
<div class="span-4 last">
&nbsp;
</div>
</div>
<?php $this->endContent(); ?>