web part of Bashgid

This commit is contained in:
vladislav.khorev committed 2015-06-26 10:03:20 +00:00
1 parent 4ef60e1aa0
commit 5c5238c85f
155 files changed
+7956

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
$this->breadcrumbs=array(
'Videos'=>array('index'),
$model->title,
);
$this->menu=array(
array('label'=>'List Video', 'url'=>array('index')),
array('label'=>'Create Video', 'url'=>array('create')),
array('label'=>'Update Video', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete Video', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage Video', 'url'=>array('admin')),
);
?>
<h1>View Video #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'type',
'videoUrl',
'title',
'description',
'previewImageUrl',
),
)); ?>