<html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" metal:use-macro="here/main_template/macros/master"> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <metal:block metal:fill-slot="javascript_head_slot"> <script type="text/javascript" tal:attributes="src string:${portal_url}/photo_lightbox_viewer.js"></script> </metal:block> </head> <body> <div metal:fill-slot="main_no_tabs" i18n:domain="cmf_default"> <div class="Desktop"> <h2 i18n:translate="">Search Results</h2> <div tal:define="b_start python:0;b_start request/b_start | b_start; results python:here.doFormSearch( REQUEST=request ); searchArgs results/searchArgs; results results/results; stext request/SearchableText|nothing; resultsLength python:len(results); Batch python:modules['Products.Plinn'].Batch; global batch python:Batch(results, here.default_batch_size, b_start, orphan=1, quantumleap=1); macro python:request.form.get('portal_type') == ['Photo'] and 'photo' or 'normal'; "> <div tal:condition="resultsLength" tal:omit-tag=""> <p i18n:translate="" tal:condition="stext">Found <span tal:replace="python:len(results)" i18n:name="count">100</span> <span i18n:name="item_s_match" tal:content="python:resultsLength > 1 and 'items matching' or 'item matching'" i18n:translate="" tal:omit-tag="">items matching</span> '<span tal:replace="request/SearchableText" i18n:name="text">search term</span>'. </p> <div tal:condition="not:stext"> <p tal:condition="python:resultsLength==1" i18n:translate="">Found 1 item.</p> <p tal:condition="python:resultsLength>1" i18n:translate="">Found <span i18n:name="count" tal:content="resultsLength" tal:omit-tag="">2</span> items.</p> </div> </div> <div tal:condition="results" tal:omit-tag=""> <div metal:use-macro="python:here.search_results_macros.macros[macro]"></div> </div> <p tal:condition="not:results" i18n:translate=""> There are no items matching your specified criteria. </p> </div> </div> </div> </body> </html>