Author: mor
Date: Sat Sep 12 10:44:19 2009 New Revision: 814137 URL: http://svn.apache.org/viewvc?rev=814137&view=rev Log: Markup improvements. Thanks Deepak Dixit for implementation. Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl?rev=814137&r1=814136&r2=814137&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl (original) +++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/changepassword.ftl Sat Sep 12 10:44:19 2009 @@ -16,40 +16,33 @@ specific language governing permissions and limitations under the License. --> +<div class="screenlet"> <h2>${uiLabelMap.PartyChangePassword}</h2> - + <a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a> + <a href="javascript:$('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> + <div class="screenlet-body"> + <form id="changepasswordform" method="post" action="<@ofbizUrl>updatePassword/${donePage}</@ofbizUrl>"> + <fieldset> + <div> + <label for="currentPassword">${uiLabelMap.PartyOldPassword}</label> + <input type="password" class='inputBox' name="currentPassword" id="currentPassword" maxlength="20" />* + </div> + <div> + <label for="newPassword">${uiLabelMap.PartyNewPassword}</label> + <input type="password" class='inputBox' name="newPassword" id="newPassword" maxlength="20" />* + </div> + <div> + <label for="newPasswordVerify">${uiLabelMap.PartyNewPasswordVerify}</label> + <input type="password" class='inputBox' name="newPasswordVerify" id="newPasswordVerify" maxlength="20" />* + </div> + <div> + <label for="passwordHint">${uiLabelMap.PartyPasswordHint}</label> + <input type="text" class='inputBox' maxlength="100" name="passwordHint" id="passwordHint" value="${userLoginData.passwordHint?if_exists}" /> + </div> + <label>${uiLabelMap.CommonFieldsMarkedAreRequired}</label> + </fieldset> + </form> <a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a> - <a href="javascript:document.changepasswordform.submit()" class="button">[${uiLabelMap.CommonSave}]</a> - - <form method="post" action="<@ofbizUrl>updatePassword/${donePage}</@ofbizUrl>" name="changepasswordform"> - <table width="90%" border="0" cellpadding="2" cellspacing="0" class="tabletext"> - <tr> - <td align="right">${uiLabelMap.PartyOldPassword}</td> - <td> - <input type="password" class='inputBox' name="currentPassword" size="20" maxlength="20"/> - *</td> - </tr> - <tr> - <td align="right">${uiLabelMap.PartyNewPassword}</td> - <td> - <input type="password" class='inputBox' name="newPassword" size="20" maxlength="20"/> - *</td> - </tr> - <tr> - <td align="right">${uiLabelMap.PartyNewPasswordVerify}</td> - <td> - <input type="password" class='inputBox' name="newPasswordVerify" size="20" maxlength="20"/> - *</td> - </tr> - <tr> - <td align="right">${uiLabelMap.PartyPasswordHint}</td> - <td> - <input type="text" class='inputBox' size="40" maxlength="100" name="passwordHint" value="${userLoginData.passwordHint?if_exists}"/> - </td> - </tr> - </table> - </form> -<div class="tabletext">${uiLabelMap.CommonFieldsMarkedAreRequired}</div> - - <a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a> - <a href="javascript:document.changepasswordform.submit()" class="button">[${uiLabelMap.CommonSave}]</a> + <a href="javascript:$('changepasswordform').submit()" class="button">[${uiLabelMap.CommonSave}]</a> + </div> +</div> \ No newline at end of file |
Free forum by Nabble | Edit this page |