OXID eShop CE 4.10.1 tpl/form/user_password.tpl 
[{oxscript include="js/libs/jqBootstrapValidation.min.js" priority=10}]
[{oxscript add="$('input,select,textarea').not('[type=submit]').jqBootstrapValidation();"}]
<form class="js-oxValidate form-horizontal" action="[{$oViewConf->getSelfActionLink()}]" name="changepassword" method="post" novalidate="novalidate">
[{assign var="aErrors" value=$oView->getFieldValidationErrors()}]
<div class="hidden">
[{$oViewConf->getHiddenSid()}]
[{$oViewConf->getNavFormParams()}]
10  <input type="hidden" name="fnc" value="changePassword">
11  <input type="hidden" name="cl" value="account_password">
12  <input type="hidden" name="CustomError" value='user'>
13  <input type="hidden" id="passwordLength" value="[{$oViewConf->getPasswordLength()}]">
14  </div>
15 
16  <div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
17  <label class="control-label col-lg-3" for="passwordOld">[{oxmultilang ident="OLD_PASSWORD"}]</label>
18  <div class="col-lg-5">
19  <input type="password" id="passwordOld" name="password_old" class="js-oxValidate js-oxValidate_notEmpty form-control" required="">
20  [{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
21  <div class="help-block"></div>
22  </div>
23  </div>
24  <div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
25  <label class="control-label col-lg-3" for="passwordNew">[{oxmultilang ident="NEW_PASSWORD"}]</label>
26  <div class="col-lg-5">
27  <input type="password" id="passwordNew" name="password_new" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match form-control" required="">
28  [{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
29  <div class="help-block"></div>
30  </div>
31  </div>
32  <div class="form-group[{if $aErrors.oxuser__oxpassword}] oxInValid[{/if}]">
33  <label class="control-label col-lg-3" for="passwordNewConfirm">[{oxmultilang ident="CONFIRM_PASSWORD"}]</label>
34  <div class="col-lg-5">
*** 
35  <input type="password" id="passwordNewConfirm" name="password_new_confirm" class="js-oxValidate js-oxValidate_notEmpty js-oxValidate_length js-oxValidate_match form-control" required="" data-validation-matches-match="password_new" data-validation-matches-message="[{oxmultilang ident="ERROR_MESSAGE_USER_PWDDONTMATCH"}]">
36  <div class="help-block"></div>
37  [{include file="message/inputvalidation.tpl" aErrors=$aErrors.oxuser__oxpassword}]
38  </div>
39  </div>
40  <div class="form-group">
41  <div class="col-lg-offset-3 col-lg-5">
42  <button id="savePass" type="submit" class="btn btn-primary" role="button">[{oxmultilang ident="SAVE"}]</button>
43  </div>
44  </div>
45 </form>
 
1 lines changed or deleted