%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/egp/vendor/yiisoft/yii2-debug/src/views/default/panels/user/ |
Upload File : |
<?php use yii\debug\UserswitchAsset; use yii\grid\GridView; use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this \yii\web\View */ /* @var $panel yii\debug\panels\UserPanel */ UserswitchAsset::register($this); ?> <h2>Switch user</h2> <div class="row"> <div class="col-sm-7"> <?php $formSet = ActiveForm::begin([ 'action' => \yii\helpers\Url::to(['user/set-identity']), 'options' => [ 'id' => 'debug-userswitch__set-identity', 'style' => $panel->canSearchUsers() ? 'display:none' : '' ] ]); echo $formSet->field( $panel->userSwitch, 'user[id]', ['options' => ['class' => '']]) ->textInput(['id' => 'user_id', 'name' => 'user_id']) ->label('Switch User'); echo Html::submitButton('Switch', ['class' => 'btn btn-primary']); ActiveForm::end(); ?> </div> <div class="col-sm-5"> <?php if (!$panel->userSwitch->isMainUser()) { $formReset = ActiveForm::begin([ 'action' => \yii\helpers\Url::to(['user/reset-identity']), 'options' => [ 'id' => 'debug-userswitch__reset-identity', ] ]); echo Html::submitButton('Reset to <span class="yii-debug-toolbar__label yii-debug-toolbar__label_info">' . $panel->userSwitch->getMainUser()->getId() . '</span>', [ 'class' => 'btn btn-outline-secondary', 'id' => 'debug-userswitch__reset-identity-button' ]); ActiveForm::end(); } ?> </div> </div> <?php if ($panel->canSearchUsers()) { yii\widgets\Pjax::begin(['id' => 'debug-userswitch__filter', 'timeout' => false]); echo GridView::widget([ 'dataProvider' => $panel->getUserDataProvider(), 'filterModel' => $panel->getUsersFilterModel(), 'tableOptions' => [ 'class' => 'table table-bordered table-responsive table-hover table-pointer' ], 'pager' => [ 'linkContainerOptions' => [ 'class' => 'page-item' ], 'linkOptions' => [ 'class' => 'page-link' ], 'disabledListItemSubTagOptions' => [ 'tag' => 'a', 'href' => 'javascript:;', 'tabindex' => '-1', 'class' => 'page-link' ] ], 'columns' => $panel->filterColumns ]); yii\widgets\Pjax::end(); } ?>