web access very cool
This commit is contained in:
1 parent
760ddd06ee
commit
482fb1edc4
51 files changed
+1780
-350
No files matched your search
@@ -2,33 +2,39 @@
|
||||
/* @var $this ArticleController */
|
||||
/* @var $model Article */
|
||||
|
||||
$this->breadcrumbs=array(
|
||||
'Articles'=>array('index'),
|
||||
$model->name,
|
||||
$this->breadcrumbs = array(
|
||||
'Articles' => array('index'),
|
||||
$model->name,
|
||||
);
|
||||
|
||||
$this->menu=array(
|
||||
array('label'=>'List Article', 'url'=>array('index')),
|
||||
array('label'=>'Create Article', 'url'=>array('create')),
|
||||
array('label'=>'Update Article', 'url'=>array('update', 'id'=>$model->id)),
|
||||
array('label'=>'Delete Article', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
|
||||
array('label'=>'Manage Article', 'url'=>array('admin')),
|
||||
$this->menu = array(
|
||||
array('label' => 'List Article', 'url' => array('index')),
|
||||
array('label' => 'Create Article', 'url' => array('create')),
|
||||
array('label' => 'Update Article', 'url' => array('update', 'id' => $model->id)),
|
||||
array('label' => 'Delete Article', 'url' => '#', 'linkOptions' => array('submit' => array('delete', 'id' => $model->id), 'confirm' => 'Are you sure you want to delete this item?')),
|
||||
array('label' => 'Manage Article', 'url' => array('admin')),
|
||||
);
|
||||
?>
|
||||
|
||||
<h1>View Article #<?php echo $model->id; ?></h1>
|
||||
|
||||
<?php $this->widget('zii.widgets.CDetailView', array(
|
||||
'data'=>$model,
|
||||
'attributes'=>array(
|
||||
'id',
|
||||
'name',
|
||||
'type',
|
||||
'title',
|
||||
'content',
|
||||
'geoLat',
|
||||
'geoLon',
|
||||
'externalLink',
|
||||
'dateTime',
|
||||
),
|
||||
)); ?>
|
||||
<?php
|
||||
$this->widget('zii.widgets.CDetailView', array(
|
||||
'data' => $model,
|
||||
'attributes' => array(
|
||||
'id',
|
||||
'name',
|
||||
'type',
|
||||
'title',
|
||||
'content',
|
||||
'geoLat',
|
||||
'geoLon',
|
||||
'address',
|
||||
'phone',
|
||||
'externalLink',
|
||||
'externalLinkText',
|
||||
'dateTime',
|
||||
'hidden',
|
||||
),
|
||||
));
|
||||
?>
|
||||
Reference in new issue
Block a user