Last change
on this file since 3665 was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
File size:
1.5 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="results python:here.simpleblog_tool.searchForEntries(here, maxResults=0); |
---|
15 | standardButtons python:here.simpleblog_tool.getShowStandardButtons(); |
---|
16 | b_size python:10; |
---|
17 | b_start python:0; |
---|
18 | b_start request/b_start | b_start; |
---|
19 | Batch python:modules['Products.CMFPlone'].Batch;"> |
---|
20 | |
---|
21 | <h1 i18n:translate="heading_search_results">Search results</h1> |
---|
22 | |
---|
23 | <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);"> |
---|
24 | <tal:results tal:repeat="result batch"> |
---|
25 | <tal:list tal:define="obj result/getObject;headerSize python:3"> |
---|
26 | <div metal:use-macro="here/SimpleBlog_macros/macros/descriptionOnly"/> |
---|
27 | </tal:list> |
---|
28 | </tal:results> |
---|
29 | <div metal:use-macro="here/batch_macros/macros/navigation" /> |
---|
30 | </div> |
---|
31 | <p tal:condition="not: results" i18n:translate="no_entries"> |
---|
32 | No Entries are found. |
---|
33 | </p> |
---|
34 | |
---|
35 | </div> |
---|
36 | |
---|
37 | |
---|
38 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.