📄 keywordsearch.ftl
字号:
<#-- * 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 (jonesde@ofbiz.org) *@version $Rev: 5877 $ *@since 2.1--><div class="head1">${uiLabelMap.ProductProductSearch}, <span class="head2">${uiLabelMap.ProductYouSearchedFor}:</span></div><#list searchConstraintStrings as searchConstraintString> <div class="tabletext"> <a href="<@ofbizUrl>keywordsearch?removeConstraint=${searchConstraintString_index}&clearSearch=N</@ofbizUrl>" class="buttontext">[X]</a> ${searchConstraintString}</div></#list><div class="tabletext">${uiLabelMap.ProductSortedBy}: ${searchSortOrderString}</div><div class="tabletext"><a href="<@ofbizUrl>advancedsearch?SEARCH_CATEGORY_ID=${(reqeustParameters.SEARCH_CATEGORY_ID)?if_exists}</@ofbizUrl>" class="buttontext">${uiLabelMap.ProductRefineSearch}</a></div><#if !productIds?has_content> <div class="head2"> ${uiLabelMap.ProductNoResultsFound}.</div></#if><#if productIds?has_content> <div class="product-prevnext"> <#-- Start Page Select Drop-Down --> <#assign viewIndexMax = Static["java.lang.Math"].ceil(listSize?double / viewSize?double)> <select name="pageSelect" class="selectBox" onchange="window.location=this[this.selectedIndex].value;"> <option value="#">Page ${viewIndex?int + 1} of ${viewIndexMax}</option> <#list 1..viewIndexMax as curViewNum> <option value="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${curViewNum?int - 1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>">Go to Page ${curViewNum}</option> </#list> </select> <#-- End Page Select Drop-Down --> <b> <#if 0 < viewIndex?int> <a href="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${viewIndex-1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> | </#if> <#if 0 < listSize?int> <span class="tabletext">${lowIndex+1} - ${highIndex} of ${listSize}</span> </#if> <#if highIndex?int < listSize?int> | <a href="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${viewIndex+1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a> </#if> </b> </div></#if><#if productIds?has_content> <div class="productsummary-container"> <#list productIds as productId> <#-- note that there is no boundary range because that is being done before the list is put in the content --> ${setRequestAttribute("optProductId", productId)} ${setRequestAttribute("listIndex", productId_index)} ${screens.render(productsummaryScreen)} </#list> </div></#if><#if productIds?has_content> <div class="product-prevnext"> <#-- Start Page Select Drop-Down --> <#assign viewIndexMax = Static["java.lang.Math"].ceil(listSize?double / viewSize?double)> <select name="pageSelect" class="selectBox" onchange="window.location=this[this.selectedIndex].value;"> <option value="#">Page ${viewIndex?int + 1} of ${viewIndexMax}</option> <#list 1..viewIndexMax as curViewNum> <option value="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${curViewNum?int - 1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>">Go to Page ${curViewNum}</option> </#list> </select> <#-- End Page Select Drop-Down --> <b> <#if 0 < viewIndex?int> <a href="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${viewIndex-1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonPrevious}</a> | </#if> <#if 0 < listSize?int> <span class="tabletext">${lowIndex+1} - ${highIndex} of ${listSize}</span> </#if> <#if highIndex?int < listSize?int> | <a href="<@ofbizUrl>keywordsearch/~VIEW_INDEX=${viewIndex+1}/~VIEW_SIZE=${viewSize}/~clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonNext}</a> </#if> </b> </div></#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -