Thanks Amardeep Singh Jhajj for reporting the issue and providing patch for the same. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1744041 13f79535-47bb-0310-9956-ffa450edef68
77 lines
3.1 KiB
Plaintext
77 lines
3.1 KiB
Plaintext
<#--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<center>
|
|
<div class="screenlet login-screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<#if securityQuestion?has_content>
|
|
<h3>${uiLabelMap.AnswerSecurityQuestion}</h3>
|
|
<#else>
|
|
<h3>${uiLabelMap.CommonForgotYourPassword}</h3>
|
|
</#if>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<form method="post" action="<@ofbizUrl>ForgotPassword_step3${previousParams?if_exists}</@ofbizUrl>" name="forgotpassword">
|
|
<table class="basic-table" cellspacing="0">
|
|
<#if userLoginId?has_content>
|
|
<#if securityQuestion?has_content>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.SecurityQuestion}</td>
|
|
<td>
|
|
${securityQuestion.description!}
|
|
<input type="hidden" name="securityQuestion" value="${securityQuestion.enumId!}" />
|
|
<input type="hidden" name="USERNAME" value="${userLoginId!}" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.SecurityAnswer}</td>
|
|
<td>
|
|
<input type="text" name="securityAnswer" class="" value="" />
|
|
</td>
|
|
</tr>
|
|
<#else>
|
|
<tr>
|
|
<td class="label">${uiLabelMap.CommonUsername}</td>
|
|
<td><input type="text" size="20" name="USERNAME" value="<#if requestParameters.USERNAME?has_content>${requestParameters.USERNAME}<#elseif autoUserLogin?has_content>${autoUserLogin.userLoginId}</#if>" /></td>
|
|
</tr>
|
|
</#if>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<input type="submit" name="GET_PASSWORD_HINT" class="smallSubmit" value="${uiLabelMap.CommonGetPasswordHint}" />
|
|
<input type="submit" name="EMAIL_PASSWORD" class="smallSubmit" value="${uiLabelMap.CommonEmailPassword}" />
|
|
</td>
|
|
</tr>
|
|
<#else>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
${uiLabelMap.PartyUserLoginMissingError}
|
|
</td>
|
|
</tr>
|
|
</#if>
|
|
<tr>
|
|
<td colspan="2" align="center">
|
|
<a href='#' class="buttontext" onclick="window.history.back();">${uiLabelMap.CommonGoBack}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="hidden" name="JavaScriptEnabled" value="N" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</center> |