web part of Bashgid
This commit is contained in:
1 parent
4ef60e1aa0
commit
5c5238c85f
155 files changed
+7956
No files matched your search
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/* @var $this PhotoController */
|
||||
/* @var $model Photo */
|
||||
|
||||
$this->breadcrumbs=array(
|
||||
'Photos'=>array('index'),
|
||||
$model->title,
|
||||
);
|
||||
|
||||
$this->menu=array(
|
||||
array('label'=>'List Photo', 'url'=>array('index')),
|
||||
array('label'=>'Create Photo', 'url'=>array('create')),
|
||||
array('label'=>'Update Photo', 'url'=>array('update', 'id'=>$model->id)),
|
||||
array('label'=>'Delete Photo', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
|
||||
array('label'=>'Manage Photo', 'url'=>array('admin')),
|
||||
);
|
||||
?>
|
||||
|
||||
<h1>View Photo #<?php echo $model->id; ?></h1>
|
||||
|
||||
<?php $this->widget('zii.widgets.CDetailView', array(
|
||||
'data'=>$model,
|
||||
'attributes'=>array(
|
||||
'id',
|
||||
'title',
|
||||
'description',
|
||||
'imageUrl',
|
||||
'geoLat',
|
||||
'geoLon',
|
||||
),
|
||||
)); ?>
|
||||
Reference in new issue
Block a user