The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 53537da7 authored by Ere Maijala's avatar Ere Maijala
Browse files

Added MultiILS support to jquerymobile and help-block to bootstrap3 MultiILS/newpassword.phtml.

parent e46a0d96
No related merge requests found
......@@ -11,6 +11,7 @@
<label class="col-sm-3 control-label"><?=$this->transEsc('old_password') ?>:</label>
<div class="col-sm-9">
<input type="password" name="oldpwd" class="form-control"/>
<div class="help-block with-errors"></div>
</div>
</div>
<? endif; ?>
......
......@@ -12,4 +12,4 @@
<input type="password" name="password" id="password" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset"/><br/>
<label for="password2" class="ui-input-text"><?=$this->transEsc('confirm_new_password') ?>:</label>
<input type="password" name="password2" id="password2" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset"/><br/>
</div>
\ No newline at end of file
</div>
<label for="login_target"><?=$this->transEsc('login_target')?>:</label>
<?$currentTarget = $this->request->get('target'); if (!$currentTarget) $currentTarget = $this->auth()->getManager()->getDefaultLoginTarget();?>
<select id="login_target" name="target">
<?foreach ($this->auth()->getManager()->getLoginTargets() as $target):?>
<option value="<?=$this->escapeHtmlAttr($target)?>"<?=($target == $currentTarget ? ' selected="selected"' : '')?>><?=$this->transEsc("source_$target", null, $target)?></option>
<? endforeach ?>
</select>
<label for="login_username"><?=$this->transEsc('Username')?>:</label>
<input id="login_username" type="text" name="username" value="<?=$this->escapeHtmlAttr($this->request->get('username'))?>"/>
<label for="login_password"><?=$this->transEsc('Password')?>:</label>
<input id="login_password" type="password" name="password"/>
<div data-role="fieldcontain" class="ui-field-contain ui-body ui-br">
<? if (isset($this->username)): ?>
<input type="hidden" name="username" value="<?=$this->username ?>"/>
<label class="ui-input-text"><?=$this->transEsc('Username') ?>:</label>
<input type="text" name="username" id="username" value="<?=$this->username ?>" disabled class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset" style="border:1px solid #CCC;box-shadow:rgba(0, 0, 0, 0.1) 0px 1px 4px 0px inset;color:#777"/><br/>
<? endif; ?>
<? if (isset($this->verifyold) && $this->verifyold || isset($this->oldpwd)): ?>
<label for="oldpwd" class="ui-input-text"><?=$this->transEsc('old_password') ?>:</label>
<input type="password" name="oldpwd" id="oldpwd" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset"/><br/>
<? endif; ?>
<label for="password" class="ui-input-text"><?=$this->transEsc('new_password') ?>:</label>
<input type="password" name="password" id="password" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset"/><br/>
<label for="password2" class="ui-input-text"><?=$this->transEsc('confirm_new_password') ?>:</label>
<input type="password" name="password2" id="password2" class="ui-input-text ui-body-c ui-corner-all ui-shadow-inset"/><br/>
</div>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment