Annotation of kupuMPIWG/plone/kupu_plone_layer/kupusearch.xml.pt, revision 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="heading_search_results"
! 15: tal:content="string:Search '${request/SearchableText}'">Search Results</title>
! 16: <description>Search results.</description>
! 17:
! 18: <items metal:use-macro="here/kupucollection.xml/macros/collectionItems">
! 19: <metal:slot fill-slot="defineItems">
! 20: <tal:var define="global items context/kupuSearch;
! 21: global resource_type request/resource_type | string:mediaobject;"/>
! 22: </metal:slot>
! 23: <metal:slot fill-slot="parentCollection" />
! 24: </items>
! 25: </library>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>