%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 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 : /var/www/html/water/vendor/amnah/yii2-user/views/default/ |
Upload File : |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var amnah\yii2\user\Module $module
* @var amnah\yii2\user\models\User $user
* @var amnah\yii2\user\models\User $profile
* @var string $userDisplayName
*/
$module = $this->context->module;
$this->title = Yii::t('user', 'Register');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-default-register">
<h1><?= Html::encode($this->title) ?></h1>
<?php if ($flash = Yii::$app->session->getFlash("Register-success")): ?>
<div class="alert alert-success">
<p><?= $flash ?></p>
</div>
<?php else: ?>
<?php $form = ActiveForm::begin([
'id' => 'register-form',
'options' => ['class' => 'form-horizontal'],
'fieldConfig' => [
'template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n<div class=\"col-lg-7\">{error}</div>",
'labelOptions' => ['class' => 'col-lg-2 control-label'],
],
'enableAjaxValidation' => true,
]); ?>
<?php if ($module->requireEmail): ?>
<?= $form->field($user, 'email') ?>
<?php endif; ?>
<?php if ($module->requireUsername): ?>
<?= $form->field($user, 'username') ?>
<?php endif; ?>
<?= $form->field($user, 'newPassword')->passwordInput() ?>
<?php /* uncomment if you want to add profile fields here
<?= $form->field($profile, 'full_name') ?>
*/ ?>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<?= Html::submitButton(Yii::t('user', 'Register'), ['class' => 'btn btn-primary']) ?>
<br/><br/>
<?= Html::a(Yii::t('user', 'Login'), ["/user/login"]) ?>
</div>
</div>
<?php ActiveForm::end(); ?>
<?php if (Yii::$app->get("authClientCollection", false)): ?>
<div class="col-lg-offset-2 col-lg-10">
<?= yii\authclient\widgets\AuthChoice::widget([
'baseAuthUrl' => ['/user/auth/login']
]) ?>
</div>
<?php endif; ?>
<?php endif; ?>
</div>