⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newcustomer.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a  *  copy of this software and associated documentation files (the "Software"),  *  to deal in the Software without restriction, including without limitation  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,  *  and/or sell copies of the Software, and to permit persons to whom the  *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included  *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     David E. Jones *@since      2.1--><#if getUsername><script language="JavaScript" type="text/javascript">     lastFocusedName = null;     function setLastFocused(formElement) {         lastFocusedName = formElement.name;     }     function clickUsername() {         if (document.forms["newuserform"].elements["UNUSEEMAIL"].checked) {             if (lastFocusedName == "UNUSEEMAIL") {                 document.forms["newuserform"].elements["PASSWORD"].focus();             } else if (lastFocusedName == "PASSWORD") {                 document.forms["newuserform"].elements["UNUSEEMAIL"].focus();             } else {                 document.forms["newuserform"].elements["PASSWORD"].focus();             }         }     }     function changeEmail() {         if (document.forms["newuserform"].elements["UNUSEEMAIL"].checked) {             document.forms["newuserform"].elements["USERNAME"].value=document.forms["newuserform"].elements["CUSTOMER_EMAIL"].value;         }     }     function setEmailUsername() {         if (document.forms["newuserform"].elements["UNUSEEMAIL"].checked) {             document.forms["newuserform"].elements["USERNAME"].value=document.forms["newuserform"].elements["CUSTOMER_EMAIL"].value;             // don't disable, make the browser not submit the field: document.forms["newuserform"].elements["USERNAME"].disabled=true;         } else {             document.forms["newuserform"].elements["USERNAME"].value='';             // document.forms["newuserform"].elements["USERNAME"].disabled=false;         }     }</script></#if><p class="head1">${uiLabelMap.PartyRequestNewAccount}</p><p class='tabletext'>${uiLabelMap.PartyAlreadyHaveAccount}, <a href='<@ofbizUrl>checkLogin/main</@ofbizUrl>' class='buttontext'>${uiLabelMap.CommonLoginHere}</a>.</p><#macro fieldErrors fieldName>  <#if errorMessageList?has_content>    <#assign fieldMessages = Static["org.ofbiz.base.util.MessageString"].getMessagesForField(fieldName, true, errorMessageList)>    <ul>      <#list fieldMessages as errorMsg>        <li class="errorMessage">${errorMsg}</li>      </#list>    </ul>  </#if></#macro><#macro fieldErrorsMulti fieldName1 fieldName2 fieldName3 fieldName4>  <#if errorMessageList?has_content>    <#assign fieldMessages = Static["org.ofbiz.base.util.MessageString"].getMessagesForField(fieldName1, fieldName2, fieldName3, fieldName4, true, errorMessageList)>    <ul>      <#list fieldMessages as errorMsg>        <li class="errorMessage">${errorMsg}</li>      </#list>    </ul>  </#if></#macro><form method="post" action="<@ofbizUrl>createcustomer${previousParams}</@ofbizUrl>" name="newuserform" style="margin: 0;"><input type="hidden" name="emailProductStoreId" value="${productStoreId}"/><div class="screenlet">    <div class="screenlet-header">        <div class='boxhead'>&nbsp;${uiLabelMap.PartyNameAndShippingAddress}</div>    </div>    <div class="screenlet-body">        <div class="form-row">            <div class="form-label">${uiLabelMap.CommonTitle}</div>            <div class="form-field">                <@fieldErrors fieldName="USER_TITLE"/>                <input type="text" class='inputBox' name="USER_TITLE" value="${requestParameters.USER_TITLE?if_exists}" size="10" maxlength="30"/>            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyFirstName}</div>            <div class="form-field">                <@fieldErrors fieldName="USER_FIRST_NAME"/>                <input type="text" class='inputBox' name="USER_FIRST_NAME" value="${requestParameters.USER_FIRST_NAME?if_exists}" size="30" maxlength="30"> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyMiddleInitial}</div>            <div class="form-field">                <@fieldErrors fieldName="USER_MIDDLE_NAME"/>                <input type="text" class='inputBox' name="USER_MIDDLE_NAME" value="${requestParameters.USER_MIDDLE_NAME?if_exists}" size="4" maxlength="4">            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyLastName}</div>            <div class="form-field">                <@fieldErrors fieldName="USER_LAST_NAME"/>                <input type="text" class='inputBox' name="USER_LAST_NAME" value="${requestParameters.USER_LAST_NAME?if_exists}" size="30" maxlength="30"> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartySuffix}</div>            <div class="form-field">                <@fieldErrors fieldName="USER_SUFFIX"/>                <input type="text" class='inputBox' name="USER_SUFFIX" value="${requestParameters.USER_SUFFIX?if_exists}" size="10" maxlength="30">            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyAddressLine1}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_ADDRESS1"/>                <input type="text" class='inputBox' name="CUSTOMER_ADDRESS1" value="${requestParameters.CUSTOMER_ADDRESS1?if_exists}" size="30" maxlength="30"> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyAddressLine2}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_ADDRESS2"/>                <input type="text" class='inputBox' name="CUSTOMER_ADDRESS2" value="${requestParameters.CUSTOMER_ADDRESS2?if_exists}" size="30" maxlength="30">            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyCity}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_CITY"/>                <input type="text" class='inputBox' name="CUSTOMER_CITY" value="${requestParameters.CUSTOMER_CITY?if_exists}" size="30" maxlength="30"> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyState}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_STATE"/>                <select name="CUSTOMER_STATE" class='selectBox'>                    <#if requestParameters.CUSTOMER_STATE?exists><option value='${requestParameters.CUSTOMER_STATE}'>${selectedStateName?default(requestParameters.CUSTOMER_STATE)}</option></#if>                    <option value="">${uiLabelMap.PartyNoState}</option>                    ${screens.render("component://common/widget/CommonScreens.xml#states")}                </select> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyZipCode}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_POSTAL_CODE"/>                <input type="text" class='inputBox' name="CUSTOMER_POSTAL_CODE" value="${requestParameters.CUSTOMER_POSTAL_CODE?if_exists}" size="12" maxlength="10"> *            </div>        </div>        <div class="form-row">            <div class="form-label">${uiLabelMap.PartyCountry}</div>            <div class="form-field">                <@fieldErrors fieldName="CUSTOMER_COUNTRY"/>                <select name="CUSTOMER_COUNTRY" class='selectBox'>                    <#if requestParameters.CUSTOMER_COUNTRY?exists><option value='${requestParameters.CUSTOMER_COUNTRY}'>${selectedCountryName?default(requestParameters.CUSTOMER_COUNTRY)}</option></#if>                    ${screens.render("component://common/widget/CommonScreens.xml#countries")}                </select> *            </div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -