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

+46
View File
@@ -0,0 +1,46 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'album-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'description'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+40
View File
@@ -0,0 +1,40 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+25
View File
@@ -0,0 +1,25 @@
<?php
/* @var $this AlbumController */
/* @var $data Album */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
</div>
+56
View File
@@ -0,0 +1,56 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
$this->breadcrumbs=array(
'Albums'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Album', 'url'=>array('index')),
array('label'=>'Create Album', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#album-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Albums</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'album-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'name',
'title',
'description',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
$this->breadcrumbs=array(
'Albums'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Album', 'url'=>array('index')),
array('label'=>'Manage Album', 'url'=>array('admin')),
);
?>
<h1>Create Album</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this AlbumController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Albums',
);
$this->menu=array(
array('label'=>'Create Album', 'url'=>array('create')),
array('label'=>'Manage Album', 'url'=>array('admin')),
);
?>
<h1>Albums</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
$this->breadcrumbs=array(
'Albums'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Album', 'url'=>array('index')),
array('label'=>'Create Album', 'url'=>array('create')),
array('label'=>'View Album', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Album', 'url'=>array('admin')),
);
?>
<h1>Update Album <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+29
View File
@@ -0,0 +1,29 @@
<?php
/* @var $this AlbumController */
/* @var $model Album */
$this->breadcrumbs=array(
'Albums'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List Album', 'url'=>array('index')),
array('label'=>'Create Album', 'url'=>array('create')),
array('label'=>'Update Album', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete Album', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage Album', 'url'=>array('admin')),
);
?>
<h1>View Album #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'name',
'title',
'description',
),
)); ?>
@@ -0,0 +1,40 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'album-article-relation-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'albumName'); ?>
<?php echo $form->textArea($model,'albumName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'albumName'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'articleName'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
@@ -0,0 +1,35 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'albumName'); ?>
<?php echo $form->textArea($model,'albumName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
@@ -0,0 +1,21 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $data AlbumArticleRelation */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('albumName')); ?>:</b>
<?php echo CHtml::encode($data->albumName); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('articleName')); ?>:</b>
<?php echo CHtml::encode($data->articleName); ?>
<br />
</div>
@@ -0,0 +1,55 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
$this->breadcrumbs=array(
'Album Article Relations'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List AlbumArticleRelation', 'url'=>array('index')),
array('label'=>'Create AlbumArticleRelation', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#album-article-relation-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Album Article Relations</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'album-article-relation-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'albumName',
'articleName',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
@@ -0,0 +1,18 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
$this->breadcrumbs=array(
'Album Article Relations'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List AlbumArticleRelation', 'url'=>array('index')),
array('label'=>'Manage AlbumArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Create AlbumArticleRelation</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,20 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Album Article Relations',
);
$this->menu=array(
array('label'=>'Create AlbumArticleRelation', 'url'=>array('create')),
array('label'=>'Manage AlbumArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Album Article Relations</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
@@ -0,0 +1,21 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
$this->breadcrumbs=array(
'Album Article Relations'=>array('index'),
$model->id=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List AlbumArticleRelation', 'url'=>array('index')),
array('label'=>'Create AlbumArticleRelation', 'url'=>array('create')),
array('label'=>'View AlbumArticleRelation', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage AlbumArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Update AlbumArticleRelation <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,28 @@
<?php
/* @var $this AlbumArticleRelationController */
/* @var $model AlbumArticleRelation */
$this->breadcrumbs=array(
'Album Article Relations'=>array('index'),
$model->id,
);
$this->menu=array(
array('label'=>'List AlbumArticleRelation', 'url'=>array('index')),
array('label'=>'Create AlbumArticleRelation', 'url'=>array('create')),
array('label'=>'Update AlbumArticleRelation', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete AlbumArticleRelation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage AlbumArticleRelation', 'url'=>array('admin')),
);
?>
<h1>View AlbumArticleRelation #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'albumName',
'articleName',
),
)); ?>
+70
View File
@@ -0,0 +1,70 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'article-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'type'); ?>
<?php echo $form->textField($model,'type'); ?>
<?php echo $form->error($model,'type'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'content'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'geoLat'); ?>
<?php echo $form->textField($model,'geoLat'); ?>
<?php echo $form->error($model,'geoLat'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'geoLon'); ?>
<?php echo $form->textField($model,'geoLon'); ?>
<?php echo $form->error($model,'geoLon'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'externalLink'); ?>
<?php echo $form->textArea($model,'externalLink',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'externalLink'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+65
View File
@@ -0,0 +1,65 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'type'); ?>
<?php echo $form->textField($model,'type'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'content'); ?>
<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'geoLat'); ?>
<?php echo $form->textField($model,'geoLat'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'geoLon'); ?>
<?php echo $form->textField($model,'geoLon'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'externalLink'); ?>
<?php echo $form->textArea($model,'externalLink',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'dateTime'); ?>
<?php echo $form->textField($model,'dateTime'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+47
View File
@@ -0,0 +1,47 @@
<?php
/* @var $this ArticleController */
/* @var $data Article */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('type')); ?>:</b>
<?php echo CHtml::encode($data->type); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('content')); ?>:</b>
<?php echo CHtml::encode($data->content); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLat')); ?>:</b>
<?php echo CHtml::encode($data->geoLat); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLon')); ?>:</b>
<?php echo CHtml::encode($data->geoLon); ?>
<br />
<?php /*
<b><?php echo CHtml::encode($data->getAttributeLabel('externalLink')); ?>:</b>
<?php echo CHtml::encode($data->externalLink); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('dateTime')); ?>:</b>
<?php echo CHtml::encode($data->dateTime); ?>
<br />
*/ ?>
</div>
+63
View File
@@ -0,0 +1,63 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
$this->breadcrumbs=array(
'Articles'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Article', 'url'=>array('index')),
array('label'=>'Create Article', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#article-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Articles</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'article-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'name',
'type',
'title',
'content',
'geoLat',
/*
'geoLon',
'externalLink',
'dateTime',
*/
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
$this->breadcrumbs=array(
'Articles'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Article', 'url'=>array('index')),
array('label'=>'Manage Article', 'url'=>array('admin')),
);
?>
<h1>Create Article</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this ArticleController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Articles',
);
$this->menu=array(
array('label'=>'Create Article', 'url'=>array('create')),
array('label'=>'Manage Article', 'url'=>array('admin')),
);
?>
<h1>Articles</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
$this->breadcrumbs=array(
'Articles'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Article', 'url'=>array('index')),
array('label'=>'Create Article', 'url'=>array('create')),
array('label'=>'View Article', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Article', 'url'=>array('admin')),
);
?>
<h1>Update Article <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+34
View File
@@ -0,0 +1,34 @@
<?php
/* @var $this ArticleController */
/* @var $model Article */
$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')),
);
?>
<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',
),
)); ?>
@@ -0,0 +1,40 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'article-journal-relation-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'articleName'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'journalName'); ?>
<?php echo $form->textArea($model,'journalName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'journalName'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
@@ -0,0 +1,35 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'journalName'); ?>
<?php echo $form->textArea($model,'journalName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
@@ -0,0 +1,21 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $data ArticleJournalRelation */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('articleName')); ?>:</b>
<?php echo CHtml::encode($data->articleName); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('journalName')); ?>:</b>
<?php echo CHtml::encode($data->journalName); ?>
<br />
</div>
@@ -0,0 +1,55 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
$this->breadcrumbs=array(
'Article Journal Relations'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List ArticleJournalRelation', 'url'=>array('index')),
array('label'=>'Create ArticleJournalRelation', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#article-journal-relation-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Article Journal Relations</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'article-journal-relation-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'articleName',
'journalName',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
@@ -0,0 +1,18 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
$this->breadcrumbs=array(
'Article Journal Relations'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List ArticleJournalRelation', 'url'=>array('index')),
array('label'=>'Manage ArticleJournalRelation', 'url'=>array('admin')),
);
?>
<h1>Create ArticleJournalRelation</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,20 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Article Journal Relations',
);
$this->menu=array(
array('label'=>'Create ArticleJournalRelation', 'url'=>array('create')),
array('label'=>'Manage ArticleJournalRelation', 'url'=>array('admin')),
);
?>
<h1>Article Journal Relations</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
@@ -0,0 +1,21 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
$this->breadcrumbs=array(
'Article Journal Relations'=>array('index'),
$model->id=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List ArticleJournalRelation', 'url'=>array('index')),
array('label'=>'Create ArticleJournalRelation', 'url'=>array('create')),
array('label'=>'View ArticleJournalRelation', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage ArticleJournalRelation', 'url'=>array('admin')),
);
?>
<h1>Update ArticleJournalRelation <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,28 @@
<?php
/* @var $this ArticleJournalRelationController */
/* @var $model ArticleJournalRelation */
$this->breadcrumbs=array(
'Article Journal Relations'=>array('index'),
$model->id,
);
$this->menu=array(
array('label'=>'List ArticleJournalRelation', 'url'=>array('index')),
array('label'=>'Create ArticleJournalRelation', 'url'=>array('create')),
array('label'=>'Update ArticleJournalRelation', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete ArticleJournalRelation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage ArticleJournalRelation', 'url'=>array('admin')),
);
?>
<h1>View ArticleJournalRelation #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'articleName',
'journalName',
),
)); ?>
+46
View File
@@ -0,0 +1,46 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'channel-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'description'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+40
View File
@@ -0,0 +1,40 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+25
View File
@@ -0,0 +1,25 @@
<?php
/* @var $this ChannelController */
/* @var $data Channel */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
</div>
+56
View File
@@ -0,0 +1,56 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
$this->breadcrumbs=array(
'Channels'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Channel', 'url'=>array('index')),
array('label'=>'Create Channel', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#channel-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Channels</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'channel-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'name',
'title',
'description',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
$this->breadcrumbs=array(
'Channels'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Channel', 'url'=>array('index')),
array('label'=>'Manage Channel', 'url'=>array('admin')),
);
?>
<h1>Create Channel</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this ChannelController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Channels',
);
$this->menu=array(
array('label'=>'Create Channel', 'url'=>array('create')),
array('label'=>'Manage Channel', 'url'=>array('admin')),
);
?>
<h1>Channels</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
$this->breadcrumbs=array(
'Channels'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Channel', 'url'=>array('index')),
array('label'=>'Create Channel', 'url'=>array('create')),
array('label'=>'View Channel', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Channel', 'url'=>array('admin')),
);
?>
<h1>Update Channel <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+29
View File
@@ -0,0 +1,29 @@
<?php
/* @var $this ChannelController */
/* @var $model Channel */
$this->breadcrumbs=array(
'Channels'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List Channel', 'url'=>array('index')),
array('label'=>'Create Channel', 'url'=>array('create')),
array('label'=>'Update Channel', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete Channel', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage Channel', 'url'=>array('admin')),
);
?>
<h1>View Channel #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'name',
'title',
'description',
),
)); ?>
@@ -0,0 +1,40 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'channel-article-relation-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'channelName'); ?>
<?php echo $form->textArea($model,'channelName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'channelName'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'articleName'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
@@ -0,0 +1,35 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'channelName'); ?>
<?php echo $form->textArea($model,'channelName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'articleName'); ?>
<?php echo $form->textArea($model,'articleName',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
@@ -0,0 +1,21 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $data ChannelArticleRelation */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('channelName')); ?>:</b>
<?php echo CHtml::encode($data->channelName); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('articleName')); ?>:</b>
<?php echo CHtml::encode($data->articleName); ?>
<br />
</div>
@@ -0,0 +1,55 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
$this->breadcrumbs=array(
'Channel Article Relations'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List ChannelArticleRelation', 'url'=>array('index')),
array('label'=>'Create ChannelArticleRelation', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#channel-article-relation-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Channel Article Relations</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'channel-article-relation-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'channelName',
'articleName',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
@@ -0,0 +1,18 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
$this->breadcrumbs=array(
'Channel Article Relations'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List ChannelArticleRelation', 'url'=>array('index')),
array('label'=>'Manage ChannelArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Create ChannelArticleRelation</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,20 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Channel Article Relations',
);
$this->menu=array(
array('label'=>'Create ChannelArticleRelation', 'url'=>array('create')),
array('label'=>'Manage ChannelArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Channel Article Relations</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
@@ -0,0 +1,21 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
$this->breadcrumbs=array(
'Channel Article Relations'=>array('index'),
$model->id=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List ChannelArticleRelation', 'url'=>array('index')),
array('label'=>'Create ChannelArticleRelation', 'url'=>array('create')),
array('label'=>'View ChannelArticleRelation', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage ChannelArticleRelation', 'url'=>array('admin')),
);
?>
<h1>Update ChannelArticleRelation <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,28 @@
<?php
/* @var $this ChannelArticleRelationController */
/* @var $model ChannelArticleRelation */
$this->breadcrumbs=array(
'Channel Article Relations'=>array('index'),
$model->id,
);
$this->menu=array(
array('label'=>'List ChannelArticleRelation', 'url'=>array('index')),
array('label'=>'Create ChannelArticleRelation', 'url'=>array('create')),
array('label'=>'Update ChannelArticleRelation', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete ChannelArticleRelation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage ChannelArticleRelation', 'url'=>array('admin')),
);
?>
<h1>View ChannelArticleRelation #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'channelName',
'articleName',
),
)); ?>
+46
View File
@@ -0,0 +1,46 @@
<?php
/* @var $this JournalController */
/* @var $model Journal */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'journal-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'description'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+40
View File
@@ -0,0 +1,40 @@
<?php
/* @var $this JournalController */
/* @var $model Journal */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+25
View File
@@ -0,0 +1,25 @@
<?php
/* @var $this JournalController */
/* @var $data Journal */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
</div>
+56
View File
@@ -0,0 +1,56 @@
<?php
/* @var $this JournalController */
/* @var $model Journal */
$this->breadcrumbs=array(
'Journals'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Journal', 'url'=>array('index')),
array('label'=>'Create Journal', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#journal-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Journals</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'journal-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'name',
'title',
'description',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this JournalController */
/* @var $model Journal */
$this->breadcrumbs=array(
'Journals'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Journal', 'url'=>array('index')),
array('label'=>'Manage Journal', 'url'=>array('admin')),
);
?>
<h1>Create Journal</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this JournalController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Journals',
);
$this->menu=array(
array('label'=>'Create Journal', 'url'=>array('create')),
array('label'=>'Manage Journal', 'url'=>array('admin')),
);
?>
<h1>Journals</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this JournalController */
/* @var $model Journal */
$this->breadcrumbs=array(
'Journals'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Journal', 'url'=>array('index')),
array('label'=>'Create Journal', 'url'=>array('create')),
array('label'=>'View Journal', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Journal', 'url'=>array('admin')),
);
?>
<h1>Update Journal <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+29
View File
@@ -0,0 +1,29 @@
<?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',
),
)); ?>
+6
View File
@@ -0,0 +1,6 @@
<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
<?php $this->endContent(); ?>
+22
View File
@@ -0,0 +1,22 @@
<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<div class="span-19">
<div id="content">
<?php echo $content; ?>
</div><!-- content -->
</div>
<div class="span-5 last">
<div id="sidebar">
<?php
$this->beginWidget('zii.widgets.CPortlet', array(
'title'=>'Operations',
));
$this->widget('zii.widgets.CMenu', array(
'items'=>$this->menu,
'htmlOptions'=>array('class'=>'operations'),
));
$this->endWidget();
?>
</div><!-- sidebar -->
</div>
<?php $this->endContent(); ?>
+60
View File
@@ -0,0 +1,60 @@
<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<!-- blueprint CSS framework -->
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>
<div class="container" id="page">
<div id="header">
<div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
</div><!-- header -->
<div id="mainmenu">
<?php $this->widget('zii.widgets.CMenu',array(
'items'=>array(
array('label'=>'Home', 'url'=>array('/site/index')),
array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),
array('label'=>'Contact', 'url'=>array('/site/contact')),
array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Register', 'url'=>array('/site/register'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
),
)); ?>
</div><!-- mainmenu -->
<?php if(isset($this->breadcrumbs)):?>
<?php $this->widget('zii.widgets.CBreadcrumbs', array(
'links'=>$this->breadcrumbs,
)); ?><!-- breadcrumbs -->
<?php endif?>
<?php echo $content; ?>
<div class="clear"></div>
<div id="footer">
Copyright &copy; <?php echo date('Y'); ?> by My Company.<br/>
All Rights Reserved.<br/>
<?php echo Yii::powered(); ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>
+58
View File
@@ -0,0 +1,58 @@
<?php
/* @var $this PhotoController */
/* @var $model Photo */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'photo-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'description'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'imageUrl'); ?>
<?php echo $form->textArea($model,'imageUrl',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'imageUrl'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'geoLat'); ?>
<?php echo $form->textField($model,'geoLat'); ?>
<?php echo $form->error($model,'geoLat'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'geoLon'); ?>
<?php echo $form->textField($model,'geoLon'); ?>
<?php echo $form->error($model,'geoLon'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+50
View File
@@ -0,0 +1,50 @@
<?php
/* @var $this PhotoController */
/* @var $model Photo */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'imageUrl'); ?>
<?php echo $form->textArea($model,'imageUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'geoLat'); ?>
<?php echo $form->textField($model,'geoLat'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'geoLon'); ?>
<?php echo $form->textField($model,'geoLon'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+33
View File
@@ -0,0 +1,33 @@
<?php
/* @var $this PhotoController */
/* @var $data Photo */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('imageUrl')); ?>:</b>
<?php echo CHtml::encode($data->imageUrl); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLat')); ?>:</b>
<?php echo CHtml::encode($data->geoLat); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLon')); ?>:</b>
<?php echo CHtml::encode($data->geoLon); ?>
<br />
</div>
+58
View File
@@ -0,0 +1,58 @@
<?php
/* @var $this PhotoController */
/* @var $model Photo */
$this->breadcrumbs=array(
'Photos'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Photo', 'url'=>array('index')),
array('label'=>'Create Photo', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#photo-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Photos</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'photo-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'title',
'description',
'imageUrl',
'geoLat',
'geoLon',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this PhotoController */
/* @var $model Photo */
$this->breadcrumbs=array(
'Photos'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Photo', 'url'=>array('index')),
array('label'=>'Manage Photo', 'url'=>array('admin')),
);
?>
<h1>Create Photo</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this PhotoController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Photos',
);
$this->menu=array(
array('label'=>'Create Photo', 'url'=>array('create')),
array('label'=>'Manage Photo', 'url'=>array('admin')),
);
?>
<h1>Photos</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this PhotoController */
/* @var $model Photo */
$this->breadcrumbs=array(
'Photos'=>array('index'),
$model->title=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Photo', 'url'=>array('index')),
array('label'=>'Create Photo', 'url'=>array('create')),
array('label'=>'View Photo', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Photo', 'url'=>array('admin')),
);
?>
<h1>Update Photo <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+31
View File
@@ -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',
),
)); ?>
@@ -0,0 +1,40 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'photo-album-relation-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'imageUrl'); ?>
<?php echo $form->textArea($model,'imageUrl',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'imageUrl'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textField($model,'name',array('size'=>45,'maxlength'=>45)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
@@ -0,0 +1,35 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'imageUrl'); ?>
<?php echo $form->textArea($model,'imageUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textField($model,'name',array('size'=>45,'maxlength'=>45)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
@@ -0,0 +1,21 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $data PhotoAlbumRelation */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('imageUrl')); ?>:</b>
<?php echo CHtml::encode($data->imageUrl); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
</div>
@@ -0,0 +1,55 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
$this->breadcrumbs=array(
'Photo Album Relations'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List PhotoAlbumRelation', 'url'=>array('index')),
array('label'=>'Create PhotoAlbumRelation', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#photo-album-relation-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Photo Album Relations</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'photo-album-relation-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'imageUrl',
'name',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
@@ -0,0 +1,18 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
$this->breadcrumbs=array(
'Photo Album Relations'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List PhotoAlbumRelation', 'url'=>array('index')),
array('label'=>'Manage PhotoAlbumRelation', 'url'=>array('admin')),
);
?>
<h1>Create PhotoAlbumRelation</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,20 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Photo Album Relations',
);
$this->menu=array(
array('label'=>'Create PhotoAlbumRelation', 'url'=>array('create')),
array('label'=>'Manage PhotoAlbumRelation', 'url'=>array('admin')),
);
?>
<h1>Photo Album Relations</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
@@ -0,0 +1,21 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
$this->breadcrumbs=array(
'Photo Album Relations'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List PhotoAlbumRelation', 'url'=>array('index')),
array('label'=>'Create PhotoAlbumRelation', 'url'=>array('create')),
array('label'=>'View PhotoAlbumRelation', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage PhotoAlbumRelation', 'url'=>array('admin')),
);
?>
<h1>Update PhotoAlbumRelation <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,28 @@
<?php
/* @var $this PhotoAlbumRelationController */
/* @var $model PhotoAlbumRelation */
$this->breadcrumbs=array(
'Photo Album Relations'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List PhotoAlbumRelation', 'url'=>array('index')),
array('label'=>'Create PhotoAlbumRelation', 'url'=>array('create')),
array('label'=>'Update PhotoAlbumRelation', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete PhotoAlbumRelation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage PhotoAlbumRelation', 'url'=>array('admin')),
);
?>
<h1>View PhotoAlbumRelation #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'imageUrl',
'name',
),
)); ?>
+85
View File
@@ -0,0 +1,85 @@
<?php
/* @var $this SiteController */
/* @var $model ContactForm */
/* @var $form CActiveForm */
$this->pageTitle=Yii::app()->name . ' - Contact Us';
$this->breadcrumbs=array(
'Contact',
);
?>
<h1>Contact Us</h1>
<?php if(Yii::app()->user->hasFlash('contact')): ?>
<div class="flash-success">
<?php echo Yii::app()->user->getFlash('contact'); ?>
</div>
<?php else: ?>
<p>
If you have business inquiries or other questions, please fill out the following form to contact us. Thank you.
</p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'contact-form',
'enableClientValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textField($model,'name'); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'email'); ?>
<?php echo $form->textField($model,'email'); ?>
<?php echo $form->error($model,'email'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'subject'); ?>
<?php echo $form->textField($model,'subject',array('size'=>60,'maxlength'=>128)); ?>
<?php echo $form->error($model,'subject'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'body'); ?>
<?php echo $form->textArea($model,'body',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'body'); ?>
</div>
<?php if(CCaptcha::checkRequirements()): ?>
<div class="row">
<?php echo $form->labelEx($model,'verifyCode'); ?>
<div>
<?php $this->widget('CCaptcha'); ?>
<?php echo $form->textField($model,'verifyCode'); ?>
</div>
<div class="hint">Please enter the letters as they are shown in the image above.
<br/>Letters are not case-sensitive.</div>
<?php echo $form->error($model,'verifyCode'); ?>
</div>
<?php endif; ?>
<div class="row buttons">
<?php echo CHtml::submitButton('Submit'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
<?php endif; ?>
+15
View File
@@ -0,0 +1,15 @@
<?php
/* @var $this SiteController */
/* @var $error array */
$this->pageTitle=Yii::app()->name . ' - Error';
$this->breadcrumbs=array(
'Error',
);
?>
<h2>Error <?php echo $code; ?></h2>
<div class="error">
<?php echo CHtml::encode($message); ?>
</div>
+34
View File
@@ -0,0 +1,34 @@
<?php
/* @var $this SiteController */
$this->pageTitle = Yii::app()->name;
?>
<h1>Welcome home</h1>
<?php
if (!Yii::app()->user->isGuest)
{
$this->widget('zii.widgets.CMenu',array(
'items'=>array(
array('label' => 'Photo', 'url' => array('photo/admin')),
array('label' => 'Album', 'url' => array('album/admin')),
array('label' => 'Manage Photo in Album', 'url' => array('photoAlbumRelation/admin')),
array('label' => 'Video', 'url' => array('video/admin')),
array('label' => 'Channel', 'url' => array('channel/admin')),
array('label' => 'Manage Video in Channel', 'url' => array('videoChannelRelation/admin')),
array('label' => 'Article', 'url' => array('article/admin')),
array('label' => 'Manage Album in Article', 'url' => array('albumArticleRelation/admin')),
array('label' => 'Manage Channel in Article', 'url' => array('channelArticleRelation/admin')),
array('label' => 'Journal', 'url' => array('journal/admin')),
array('label' => 'Manage Article in Journal', 'url' => array('articleJournalRelation/admin')),
),
));
}
?>
+53
View File
@@ -0,0 +1,53 @@
<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm */
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
'Login',
);
?>
<h1>Login</h1>
<p>Please fill out the following form with your login credentials:</p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'enableClientValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<div class="row">
<?php echo $form->labelEx($model,'username'); ?>
<?php echo $form->textField($model,'username'); ?>
<?php echo $form->error($model,'username'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'password'); ?>
<?php echo $form->passwordField($model,'password'); ?>
<?php echo $form->error($model,'password'); ?>
<p class="hint">
Hint: You may login with <kbd>demo</kbd>/<kbd>demo</kbd> or <kbd>admin</kbd>/<kbd>admin</kbd>.
</p>
</div>
<div class="row rememberMe">
<?php echo $form->checkBox($model,'rememberMe'); ?>
<?php echo $form->label($model,'rememberMe'); ?>
<?php echo $form->error($model,'rememberMe'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Login'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+12
View File
@@ -0,0 +1,12 @@
<?php
/* @var $this SiteController */
$this->pageTitle=Yii::app()->name . ' - About';
$this->breadcrumbs=array(
'About',
);
?>
<h1>About</h1>
<p>This is a "static" page. You may change the content of this page
by updating the file <code><?php echo __FILE__; ?></code>.</p>
+57
View File
@@ -0,0 +1,57 @@
<?php
/* @var $this RegisterFormController */
/* @var $model RegisterForm */
/* @var $form CActiveForm */
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Register');
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'register-form-register-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// See class documentation of CActiveForm for details on this,
// you need to use the performAjaxValidation()-method described there.
'enableAjaxValidation'=>false,
)); ?>
<h1><?=Yii::t('app', 'Register')?></h1>
<p><?=Yii::t('app', 'Please fill out the registation form')?></p>
<p class="note"><?=Yii::t('app', 'Fields with {*} are required.', array('{*}'=>'<span class="required">*</span>'))?></p>
<?php echo $form->errorSummary($model, Yii::t('app', 'Please, fix following errors:')); ?>
<div class="row">
<?php echo $form->labelEx($model,'username'); ?>
<?php echo $form->textField($model,'username'); ?>
<?php echo $form->error($model,'username'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'password'); ?>
<?php echo $form->passwordField($model,'password'); ?>
<?php echo $form->error($model,'password'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'email'); ?>
<?php echo $form->emailField($model,'email'); ?>
<?php echo $form->error($model,'email'); ?>
</div>
<div class="row">
<?php echo CHtml::activeLabelEx($model, 'verifyCode'); ?>
<?php $this->widget('CCaptcha'); ?><BR>
<?php echo CHtml::activeTextField($model, 'verifyCode'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton(Yii::t('app', 'Register')); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+59
View File
@@ -0,0 +1,59 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'video-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'type'); ?>
<?php echo $form->textField($model,'type'); ?>
<?php echo $form->error($model,'type'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'videoUrl'); ?>
<?php echo $form->textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'videoUrl'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'title'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'description'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'previewImageUrl'); ?>
<?php echo $form->textArea($model,'previewImageUrl',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'previewImageUrl'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
+50
View File
@@ -0,0 +1,50 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'type'); ?>
<?php echo $form->textField($model,'type'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'videoUrl'); ?>
<?php echo $form->textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'previewImageUrl'); ?>
<?php echo $form->textArea($model,'previewImageUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
+34
View File
@@ -0,0 +1,34 @@
<?php
/* @var $this VideoController */
/* @var $data Video */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('type')); ?>:</b>
<?php echo CHtml::encode($data->type); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('videoUrl')); ?>:</b>
<?php echo CHtml::encode($data->videoUrl); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
<?php echo CHtml::encode($data->description); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('previewImageUrl')); ?>:</b>
<?php echo CHtml::encode($data->previewImageUrl); ?>
<br />
</div>
+58
View File
@@ -0,0 +1,58 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
$this->breadcrumbs=array(
'Videos'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List Video', 'url'=>array('index')),
array('label'=>'Create Video', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#video-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Videos</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'video-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'type',
'videoUrl',
'title',
'description',
'previewImageUrl',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
+18
View File
@@ -0,0 +1,18 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
$this->breadcrumbs=array(
'Videos'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List Video', 'url'=>array('index')),
array('label'=>'Manage Video', 'url'=>array('admin')),
);
?>
<h1>Create Video</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+20
View File
@@ -0,0 +1,20 @@
<?php
/* @var $this VideoController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Videos',
);
$this->menu=array(
array('label'=>'Create Video', 'url'=>array('create')),
array('label'=>'Manage Video', 'url'=>array('admin')),
);
?>
<h1>Videos</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
+21
View File
@@ -0,0 +1,21 @@
<?php
/* @var $this VideoController */
/* @var $model Video */
$this->breadcrumbs=array(
'Videos'=>array('index'),
$model->title=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List Video', 'url'=>array('index')),
array('label'=>'Create Video', 'url'=>array('create')),
array('label'=>'View Video', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage Video', 'url'=>array('admin')),
);
?>
<h1>Update Video <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
+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',
),
)); ?>
@@ -0,0 +1,46 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
/* @var $form CActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'video-channel-relation-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="note">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<div class="row">
<?php echo $form->labelEx($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
<?php echo $form->error($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'videoUrl'); ?>
<?php echo $form->textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'videoUrl'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
<?php echo $form->error($model,'name'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
@@ -0,0 +1,35 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'videoUrl'); ?>
<?php echo $form->textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'name'); ?>
<?php echo $form->textArea($model,'name',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->
@@ -0,0 +1,21 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $data VideoChannelRelation */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('videoUrl')); ?>:</b>
<?php echo CHtml::encode($data->videoUrl); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
</div>
@@ -0,0 +1,55 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
$this->breadcrumbs=array(
'Video Channel Relations'=>array('index'),
'Manage',
);
$this->menu=array(
array('label'=>'List VideoChannelRelation', 'url'=>array('index')),
array('label'=>'Create VideoChannelRelation', 'url'=>array('create')),
);
Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
$('.search-form').toggle();
return false;
});
$('.search-form form').submit(function(){
$('#video-channel-relation-grid').yiiGridView('update', {
data: $(this).serialize()
});
return false;
});
");
?>
<h1>Manage Video Channel Relations</h1>
<p>
You may optionally enter a comparison operator (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</b>
or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
</p>
<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
'model'=>$model,
)); ?>
</div><!-- search-form -->
<?php $this->widget('zii.widgets.grid.CGridView', array(
'id'=>'video-channel-relation-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
'id',
'videoUrl',
'name',
array(
'class'=>'CButtonColumn',
),
),
)); ?>
@@ -0,0 +1,18 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
$this->breadcrumbs=array(
'Video Channel Relations'=>array('index'),
'Create',
);
$this->menu=array(
array('label'=>'List VideoChannelRelation', 'url'=>array('index')),
array('label'=>'Manage VideoChannelRelation', 'url'=>array('admin')),
);
?>
<h1>Create VideoChannelRelation</h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,20 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs=array(
'Video Channel Relations',
);
$this->menu=array(
array('label'=>'Create VideoChannelRelation', 'url'=>array('create')),
array('label'=>'Manage VideoChannelRelation', 'url'=>array('admin')),
);
?>
<h1>Video Channel Relations</h1>
<?php $this->widget('zii.widgets.CListView', array(
'dataProvider'=>$dataProvider,
'itemView'=>'_view',
)); ?>
@@ -0,0 +1,21 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
$this->breadcrumbs=array(
'Video Channel Relations'=>array('index'),
$model->name=>array('view','id'=>$model->id),
'Update',
);
$this->menu=array(
array('label'=>'List VideoChannelRelation', 'url'=>array('index')),
array('label'=>'Create VideoChannelRelation', 'url'=>array('create')),
array('label'=>'View VideoChannelRelation', 'url'=>array('view', 'id'=>$model->id)),
array('label'=>'Manage VideoChannelRelation', 'url'=>array('admin')),
);
?>
<h1>Update VideoChannelRelation <?php echo $model->id; ?></h1>
<?php $this->renderPartial('_form', array('model'=>$model)); ?>
@@ -0,0 +1,28 @@
<?php
/* @var $this VideoChannelRelationController */
/* @var $model VideoChannelRelation */
$this->breadcrumbs=array(
'Video Channel Relations'=>array('index'),
$model->name,
);
$this->menu=array(
array('label'=>'List VideoChannelRelation', 'url'=>array('index')),
array('label'=>'Create VideoChannelRelation', 'url'=>array('create')),
array('label'=>'Update VideoChannelRelation', 'url'=>array('update', 'id'=>$model->id)),
array('label'=>'Delete VideoChannelRelation', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
array('label'=>'Manage VideoChannelRelation', 'url'=>array('admin')),
);
?>
<h1>View VideoChannelRelation #<?php echo $model->id; ?></h1>
<?php $this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'videoUrl',
'name',
),
)); ?>