Annotation of kupuMPIWG/plone/kupu_plone_layer/kupurecentitems.xml.pt, revision 1.1.1.1
1.1 dwinter 1: <tal:block define="charset here/portal_properties/site_properties/default_charset|here/portal_properties/default_charset|string:utf-8;
2: content_type python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=%s' % charset);"
3: replace='structure string:<?xml version="1.0" encoding="${charset}" ?>'>
4: <?xml version="1.0"?>
5: </tal:block>
6: <library
7: xmlns:tal="http://xml.zope.org/namespaces/tal"
8: xmlns:metal="http://xml.zope.org/namespaces/metal"
9: xmlns:i18n="http://xml.zope.org/namespaces/i18n"
10: i18n_domain="plone"
11: >
12: <uri tal:content="template/absolute_url">URI</uri>
13: <icon tal:content="string:${here/portal_url}/kupuimages/kupusearch_icon.gif">icon</icon>
14: <title i18n_translate="box_recentitems">Recent Items</title>
15: <description>Recently published items.</description>
16: <src tal:define="resource_type request/resource_type | string:mediaobject;"
17: tal:content="string:${here/absolute_url}/${template/getId}?resource_type=${resource_type}">Source</src>
18:
19: <items metal:use-macro="here/kupucollection.xml/macros/collectionItems">
20: <metal:slot fill-slot="defineItems">
21: <tal:var define="global items context/kupuRecentItems"/>
22: </metal:slot>
23: </items>
24: </library>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>