You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/templates/bootstrap/password.tpl

37 lines
2.0 KiB
Smarty

<form name="password" method="post" action="" class="form-horizontal">
<div id="edit_form" class="panel panel-default">
<div class="panel-heading"><h4>{$PALANG.pPassword_welcome}</h4></div>
<div class="panel-body enable-asterisk">
<input class="flat" type="hidden" name="token" value="{$smarty.session.PFA_token|escape:"url"}" />
<div class="form-group">
<label class="col-md-4 col-sm-4 control-label">{$PALANG.pLogin_username}:</label>
<div class="col-md-6 col-sm-8"><p class="form-control-static"><em>{$SESSID_USERNAME}</em></p></div>
</div>
<div class="form-group {if $pPassword_password_current_text}has-error{/if}">
<label class="col-md-4 col-sm-4 control-label" for="fPassword_current">{$PALANG.pPassword_password_current}:</label>
<div class="col-md-6 col-sm-8"><input class="form-control" type="password" name="fPassword_current" id="fPassword_current" /></div>
<span class="help-block">{$pPassword_password_current_text}</span>
</div>
<div class="form-group {if $pPassword_password_text}has-error{/if}">
<label class="col-md-4 col-sm-4 control-label" for="fPassword">{$PALANG.pPassword_password}:</label>
<div class="col-md-6 col-sm-8"><input class="form-control" type="password" name="fPassword" id="fPassword" /></div>
<span class="help-block">{$pPassword_password_text}</span>
</div>
<div class="form-group">
<label class="col-md-4 col-sm-4 control-label" for="fPassword2">{$PALANG.pPassword_password2}:</label>
<div class="col-md-6 col-sm-8"><input class="form-control" type="password" name="fPassword2" id="fPassword2" /></div>
</div>
</div>
<div class="panel-footer">
<div class="btn-toolbar" role="toolbar">
<div class="btn-group pull-right">
<input class="btn btn-primary" type="submit" name="submit" value="{$PALANG.change_password}" />
{if $authentication_has_role.user}
<input class="btn btn-primary" type="submit" name="fCancel" value="{$PALANG.exit}" />
{/if}
</div>
</div>
</div>
</div>
</form>