forgot file in last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@698886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<#if requestAttributes.uiLabelMap?exists><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
|
||||
|
||||
<#if previousParams?has_content>
|
||||
<#assign previousParams = "?" + previousParams>
|
||||
</#if>
|
||||
|
||||
<#assign username = requestParameters.USERNAME?default((sessionAttributes.autoUserLogin.userLoginId)?default(""))>
|
||||
<center>
|
||||
<div class="screenlet login-screenlet">
|
||||
<div class="screenlet-title-bar">
|
||||
<h3>${uiLabelMap.CommonRegistered}</h3>
|
||||
</div>
|
||||
<div class="screenlet-body">
|
||||
<form method="post" action="<@ofbizUrl>login${previousParams?if_exists}</@ofbizUrl>" name="loginform">
|
||||
<table class="basic-table" cellspacing="0">
|
||||
<tr>
|
||||
<td class="label">${uiLabelMap.CommonUsername}</td>
|
||||
<td><input type="text" name="USERNAME" value="${username}" size="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">${uiLabelMap.CommonPassword}</td>
|
||||
<td><input type="password" name="PASSWORD" value="" size="20"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" value="${uiLabelMap.CommonLogin}"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="screenlet login-screenlet">
|
||||
<div class="screenlet-title-bar">
|
||||
<h3>${uiLabelMap.CommonForgotYourPassword}?</h3>
|
||||
</div>
|
||||
<div class="screenlet-body">
|
||||
<form method="post" action="<@ofbizUrl>forgotpassword${previousParams?if_exists}</@ofbizUrl>" name="forgotpassword">
|
||||
<input type="hidden" name="productStoreId" value="9000"/>
|
||||
<table class="basic-table" cellspacing="0">
|
||||
<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>
|
||||
<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>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</center>
|
||||
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<#if autoUserLogin?has_content>document.loginform.PASSWORD.focus();</#if>
|
||||
<#if !autoUserLogin?has_content>document.loginform.USERNAME.focus();</#if>
|
||||
</script>
|
||||
Reference in New Issue
Block a user