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

30 lines
787 B
PHP
Raw Normal View History

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