You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/09/25 11:23:55 UTC
svn commit: r698886 -
/ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
Author: hansbak
Date: Thu Sep 25 02:23:55 2008
New Revision: 698886
URL: http://svn.apache.org/viewvc?rev=698886&view=rev
Log:
forgot file in last commit
Added:
ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl (with props)
Added: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl?rev=698886&view=auto
==============================================================================
--- ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl (added)
+++ ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl Thu Sep 25 02:23:55 2008
@@ -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="<@o...@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="<@o...@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>
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/mypage/webapp/mypage/login.ftl
------------------------------------------------------------------------------
svn:mime-type = text/plain