Last change
on this file since 1 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
1.3 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="date python:request.get('startdate'); |
---|
9 | results python:here.simpleblog_tool.searchForDay(here, date); |
---|
10 | b_size python:10; |
---|
11 | b_start python:0; |
---|
12 | b_start request/b_start | b_start; |
---|
13 | Batch python:modules['Products.CMFPlone'].Batch;"> |
---|
14 | <tal:block metal:use-macro="here/SimpleBlog_macros/macros/blogGlobals"/> |
---|
15 | <h1>Search results</h1> |
---|
16 | <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);"> |
---|
17 | <tal:results tal:repeat="result batch"> |
---|
18 | <tal:list tal:define="obj result/getObject"> |
---|
19 | <div metal:use-macro="here/SimpleBlog_macros/macros/descriptionOnly"/> |
---|
20 | </tal:list> |
---|
21 | </tal:results> |
---|
22 | <div metal:use-macro="here/batch_macros/macros/navigation" /> |
---|
23 | </div> |
---|
24 | <p tal:condition="not: results"> |
---|
25 | No Entries are found. |
---|
26 | </p> |
---|
27 | </div> |
---|
28 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.