Example #1
0
<?php

use yii\helpers\Html;
/**
 * @var yii\base\View $this
 */
$this->title = __('config');
$this->params['breadcrumbs'][] = array('label' => __('config'), 'url' => url('core/config/index'));
$this->params['breadcrumbs'][] = __('list');
?>
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'fields' => array('slug', 'memo'), 'title' => __('do you want remove config')));
?>

Example #2
0
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
 * @var yii\base\View $this
 */
$this->title = __('image cache');
$this->params['breadcrumbs'][] = array('label' => __('image cache'), 'url' => url('image/admin/index'));
$this->params['breadcrumbs'][] = __('list');
?>
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
 
<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'fields' => array('id', 'slug', 'memo')));
?>
 
 
Example #3
0
<?php

use yii\helpers\Html;
/**
 * @var yii\base\View $this
 */
$this->title = __('user');
$this->params['breadcrumbs'][] = array('label' => __('user'), 'url' => url('auth/user/index'));
$this->params['breadcrumbs'][] = __('list');
?>
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'fields' => array('id', 'username', 'email', 'bindgroup')));
?>

Example #4
0
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
 * @var yii\base\View $this
 */
$this->title = __('comment filter');
$this->params['breadcrumbs'][] = array('label' => __('comment filter'), 'url' => url('comment/site/index'));
$this->params['breadcrumbs'][] = __('list');
?>
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
 
<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'fields' => array('name', 'replace')));
?>
 

 
 
Example #5
0
<?php

use yii\helpers\Html;
/**
 * @var yii\base\View $this
 */
$this->title = __('user group');
$this->params['breadcrumbs'][] = array('label' => __('user group'), 'url' => url('auth/group/index'));
$this->params['breadcrumbs'][] = __('list');
?>
 
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'title' => 'remove group', 'content' => 'do you want to do this', 'fields' => array('slug', 'name', 'group_tree', 'bindaccess')));
?>

Example #6
0
	</h3>
</blockquote>
 
<?php 
$colunm = array('comment_form');
$flag = false;
if ($form) {
    $colunm = array('ids', 'content', 'display_raw');
    $sort = true;
}
if (true === $sort) {
    ?>
	<?php 
    $form = ActiveForm::begin(array('options' => array('class' => 'form-horizontal', 'id' => 'comment-sort'), 'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge'))));
    \app\core\UI::sort('#comment-sort', url('comment/site/sort'));
}
?>
	<?php 
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'update' => false, 'delete' => true, 'create' => false, 'fields' => $colunm));
?>
  
 
<?php 
if (true === $sort) {
    ?>
	<?php 
    ActiveForm::end();
}
?>
 
 
Example #7
0
	</h3>
</blockquote>
<?php 
$label = 'disable host';
$cls = 'warning';
if ($value == 1) {
    $cls = 'success';
    $label = 'enable host';
}
?>
<span class="btn btn-<?php 
echo $cls;
?>
">
	<?php 
echo Html::a(__($label), url('host/site/config'));
?>
</span>


<?php 
$form = ActiveForm::begin(array('options' => array('class' => 'form-horizontal', 'id' => 'host-sort'), 'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge'))));
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'title' => __('revmoe?'), 'fields' => array('ids', 'redirect')));
\app\core\UI::sort('#host-sort', url('host/site/sort'));
?>
 

<?php 
ActiveForm::end();
?>
 
Example #8
0
<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
 * @var yii\base\View $this
 */
$this->title = __('oauth');
$this->params['breadcrumbs'][] = array('label' => __('oauth'), 'url' => url('oauth/site/index'));
$this->params['breadcrumbs'][] = __('list');
?>
<blockquote>
	<h3>
		<?php 
echo $this->title;
?>
 
	</h3>
</blockquote>
<?php 
$form = ActiveForm::begin(array('options' => array('class' => 'form-horizontal', 'id' => 'oauth-sort'), 'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge'))));
echo app\core\widget\Table::widget(array('models' => $models, 'pages' => $pages, 'delete' => false, 'fields' => array('ids', 'name', 'key1', 'display_raw')));
\app\core\UI::sort('#oauth-sort', url('oauth/site/sort'));
?>
 

<?php 
ActiveForm::end();
?>