File indexing completed on 2024-12-29 05:24:37
0001 <?php 0002 /** 0003 * ocs-webserver 0004 * 0005 * Copyright 2016 by pling GmbH. 0006 * 0007 * This file is part of ocs-webserver. 0008 * 0009 * This program is free software: you can redistribute it and/or modify 0010 * it under the terms of the GNU Affero General Public License as 0011 * published by the Free Software Foundation, either version 3 of the 0012 * License, or (at your option) any later version. 0013 * 0014 * This program is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 * GNU Affero General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Affero General Public License 0020 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 **/ 0022 ?> 0023 <div id="login-form-box" class="well"> 0024 <h3><?= $this->translate('Please change your password') ?></h3> 0025 0026 <div id="help-block" class="help-block"> 0027 <?= $this->translate('Please set a new password:') ?> 0028 </div> 0029 <div id="error" class="center text-error help-block"> 0030 <?php if ($this->error && isset($this->errorText)): ?> 0031 <p class="errors"> 0032 <?= $this->translate($this->errorText) ?> 0033 </p> 0034 <p class="errors"> 0035 <?php echo $this->formErrors(); ?> 0036 </p> 0037 0038 <?php endif; ?> 0039 </div> 0040 <form class="standard-form row-fluid center partialjson" action="<?= $this->form->getAction(); ?>" 0041 method="<?= $this->form->getMethod(); ?>" data-target="#register-box"> 0042 <?php 0043 if ($this->error) { 0044 $this->form->mail->class = $this->form->mail->class . ' has-error'; 0045 } 0046 ?> 0047 <div class="form-group has-feedback"><?= $this->form->pass1 ?></div> 0048 <div class="form-group has-feedback"><?= $this->form->pass2 ?></div> 0049 <?= $this->form->send ?> 0050 </form> 0051 0052 </div> 0053