bashgid/web/protected/views/channel/view.php

31 lines
809 B
PHP
Raw Permalink Normal View History

2015-06-26 10:03:20 +00:00
<?php
/* @var $this ChannelController */
/* @var $model Channel */
$this->breadcrumbs=array(
'Channels'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List Channel', 'url'=>array('index')),
array('label'=>'Create Channel', 'url'=>array('create')),
array('label'=>'Update Channel', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete Channel', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage Channel', 'url'=>array('admin')),
);
?>
<h1>View Channel #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'name',
'title',
'description',
2015-07-02 08:37:15 +00:00
'hidden',
2015-06-26 10:03:20 +00:00
),
)); ?>