source: products/SimpleBlog/trunk/skins/SimpleBlog/SimpleBlogFullSearch.pt @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
2      lang="en"
3      metal:use-macro="here/main_template/macros/master"
4      i18n:domain="SimpleBlog">
5  <metal:block fill-slot="top_slot"
6             tal:define="dummy python:request.set('disable_border',1)" />
7<div metal:fill-slot="main"
8     tal:define="results python:here.simpleblog_tool.searchForEntries(here, maxResults=0);
9                      b_size python:10;
10                      b_start python:0;
11                      b_start request/b_start | b_start;
12                      Batch python:modules['Products.CMFPlone'].Batch;">
13    <tal:block metal:use-macro="here/SimpleBlog_macros/macros/blogGlobals"/>
14    <h1>Search results</h1>
15    <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);">
16         <tal:results tal:repeat="result batch">
17             <tal:list tal:define="obj result/getObject">
18                 <div metal:use-macro="here/SimpleBlog_macros/macros/descriptionOnly"/>
19             </tal:list>
20         </tal:results>
21         <div metal:use-macro="here/batch_macros/macros/navigation" />
22    </div>
23    <p tal:condition="not: results">
24        No Entries are found.
25    </p>
26  </div>
27</html>
Note: See TracBrowser for help on using the repository browser.