📄 checkoutreview.ftl
字号:
<#--
* Copyright (c) 2001, 2002 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 Andy Zeneski (jaz@ofbiz.org)
*@version $Revision: 1.8 $
*@since 2.1
-->
<#assign uiLabelMap = requestAttributes.uiLabelMap>
<script language="JavaScript">
<!--
var clicked = 0;
function processOrder() {
if (clicked == 0) {
clicked++;
//window.location.replace("<@ofbizUrl>/processorder</@ofbizUrl>");
document.processForm.processButton.disabled=true;
document.processForm.processButton.value="${uiLabelMap.OrderSubmittingOrder}";
document.processForm.submit();
} else {
alert("You order is being processed, this may take a moment.");
}
}
// -->
</script>
<p class="head1">${uiLabelMap.OrderFinalCheckoutReview}</p>
<p>${uiLabelMap.OrderDemoFrontNote}.</p>
<#if cart?exists && 0 < cart.size()>
${pages.get("/order/orderheader.ftl")}
<br>
${pages.get("/order/orderitems.ftl")}
<table border="0" cellpadding="1" width="100%">
<tr>
<td colspan="4" align="left">
<a href="<@ofbizUrl>/${requestParameters.BACK_PAGE?default("setBilling")}</@ofbizUrl>" class="buttontextbig">[${uiLabelMap.CommonBackToOptions}]</a>
</td>
<td align="right">
<form type="POST" action="<@ofbizUrl>/processorder</@ofbizUrl>" name="processForm">
<input type="button" name="processButton" value="[${uiLabelMap.OrderSubmitOrder}]" onClick="processOrder();" class="mediumSubmit">
</form>
<#-- doesn't work with Safari, seems to work with IE, Mozilla <a href="#" onclick="processOrder();" class="buttontextbig">[${uiLabelMap.OrderSubmitOrder}] </a> -->
</td>
</tr>
</table>
<#else>
<h3>${uiLabelMap.OrderErrorShoppingCartEmpty}.</h3>
</#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -