%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 : /proc/thread-self/root/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\models\User $user
* @var bool $success
* @var bool $invalidToken
*/
$this->title = Yii::t('user', 'Reset');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-default-reset">
<h1><?= Html::encode($this->title) ?></h1>
<?php if (!empty($success)): ?>
<div class="alert alert-success">
<p><?= Yii::t("user", "Password has been reset") ?></p>
<p><?= Html::a(Yii::t("user", "Log in here"), ["/user/login"]) ?></p>
</div>
<?php elseif (!empty($invalidToken)): ?>
<div class="alert alert-danger">
<p><?= Yii::t("user", "Invalid token") ?></p>
</div>
<?php else: ?>
<div class="row">
<div class="col-lg-5">
<div class="alert alert-warning">
<p><?= Yii::t("user", "Email") ?> [ <?= $user->email ?> ]</p>
</div>
<?php $form = ActiveForm::begin(['id' => 'reset-form']); ?>
<?= $form->field($user, 'newPassword')->passwordInput() ?>
<?= $form->field($user, 'newPasswordConfirm')->passwordInput() ?>
<div class="form-group">
<?= Html::submitButton(Yii::t("user", "Reset"), ['class' => 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
</div>
<?php endif; ?>
</div>