Last change
on this file 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 | <metal:css fill-slot="css_slot"> |
---|
6 | <link rel="stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/SimpleBlogCSS.css" /> |
---|
7 | </metal:css> |
---|
8 | |
---|
9 | <metal:block fill-slot="top_slot" |
---|
10 | tal:define="dummy python:request.set('disable_border',1)" /> |
---|
11 | |
---|
12 | <body> |
---|
13 | <div metal:fill-slot="main" |
---|
14 | tal:define="displayItems python:20; |
---|
15 | standardButtons python:here.simpleblog_tool.getShowStandardButtons(); |
---|
16 | results python:here.simpleblog_tool.searchForEntries(here, maxResults=0); |
---|
17 | displayMode string:descriptionOnly; |
---|
18 | b_size python:displayItems; |
---|
19 | b_start python:0; |
---|
20 | b_start request/b_start | b_start; |
---|
21 | Batch python:modules['Products.CMFPlone'].Batch; |
---|
22 | "> |
---|
23 | <h1>Recent Blog Entries</h1> |
---|
24 | <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);"> |
---|
25 | <tal:block tal:repeat="entry batch"> |
---|
26 | <tal:list tal:define="obj entry/getObject;headerSize python:3"> |
---|
27 | <div metal:use-macro="here/SimpleBlog_macros/macros/?displayMode"/> |
---|
28 | </tal:list> |
---|
29 | </tal:block> |
---|
30 | <div metal:use-macro="here/batch_macros/macros/navigation" /> |
---|
31 | </div> |
---|
32 | </div> |
---|
33 | </body> |
---|
34 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.