source: products/SimpleBlog/branches/plone-2.1-Blogging-APIs/skins/SimpleBlog/SimpleBlogDaySearch.pt @ 3665

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

Building directory structure

File size: 1.6 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
6  <metal:block fill-slot="top_slot"
7             tal:define="dummy python:request.set('disable_border',1)" />
8
9    <metal:css fill-slot="css_slot">
10        <link rel="stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/SimpleBlogCSS.css" />
11    </metal:css>
12
13<div metal:fill-slot="main"
14     tal:define="date python:request.get('startdate');
15                      results python:here.simpleblog_tool.searchForDay(here, date);
16                      standardButtons python:here.simpleblog_tool.getShowStandardButtons();
17                      b_size python:10;
18                      b_start python:0;
19                      b_start request/b_start | b_start;
20                      Batch python:modules['Products.CMFPlone'].Batch;">
21
22    <h1 i18n:translate="heading_search_results">Search results</h1>
23
24    <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);">
25         <tal:results tal:repeat="result batch">
26             <tal:list tal:define="obj result/getObject;headerSize python:3">
27                 <div metal:use-macro="here/SimpleBlog_macros/macros/descriptionOnly"/>
28             </tal:list>
29         </tal:results>
30         <div metal:use-macro="here/batch_macros/macros/navigation" />
31    </div>
32    <p tal:condition="not: results" i18n:translate="no_entries">
33        No Entries are found.
34    </p>
35
36  </div>
37
38
39</html>
Note: See TracBrowser for help on using the repository browser.