Changeset 597
- Timestamp:
- 10/23/06 13:24:43
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
SimpleBlog/branches/plone-2.5/skins/SimpleBlog/SimpleBlogCatSearch.pt
r596 r597 3 3 metal:use-macro="here/main_template/macros/master" 4 4 i18n:domain="SimpleBlog"> 5 6 5 <metal:block fill-slot="top_slot" 7 6 tal:define="dummy python:request.set('disable_border',1)" /> 8 9 7 <div metal:fill-slot="main" 10 8 tal:define="category python:(traverse_subpath and traverse_subpath[0]) or request.get('category') or ''; … … 13 11 b_start python:0; 14 12 b_start request/b_start | b_start; 15 Batch python:modules['Products.CMFPlone'].Batch; 16 "> 17 13 Batch python:modules['Products.CMFPlone'].Batch;"> 14 <tal:block metal:use-macro="here/SimpleBlog_macros/macros/blogGlobals"/> 18 15 <h1>Search results for category: <span tal:replace="category"/></h1> 19 20 16 <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);"> 21 17 <tal:results tal:repeat="result batch"> … … 26 22 <div metal:use-macro="here/batch_macros/macros/navigation" /> 27 23 </div> 28 29 24 <p tal:condition="not: results"> 30 25 No Entries are found within this category. 31 26 </p> 32 33 27 </div> 34 35 36 28 </html>
