1
0
www.mikescher.com/www/protected/views/log/view.php

38 lines
922 B
PHP
Raw Permalink Normal View History

2014-06-06 19:31:05 +02:00
<?php
/* @var $this LogController */
/* @var $model Log */
?>
<?php
2014-06-10 13:27:17 +02:00
$this->pageTitle = 'View Log - ' . Yii::app()->name;
2014-06-06 19:31:05 +02:00
$this->breadcrumbs=array(
'Logs'=>array('index'),
$model->title,
);
$this->menu=array(
array('label'=>'List Log', 'url'=>array('index')),
array('label'=>'Create Log', 'url'=>array('create')),
array('label'=>'Update Log', 'url'=>array('update', 'id'=>$model->ID)),
array('label'=>'Delete Log', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ID),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage Log', 'url'=>array('admin')),
);
?>
<h1>View Log #<?php echo $model->ID; ?></h1>
<?php $this->widget('zii.widgets.CDetailView',array(
'htmlOptions' => array(
'class' => 'table table-striped table-condensed table-hover',
),
'data'=>$model,
'attributes'=>array(
'ID',
'date',
'title',
'content',
),
)); ?>