<kupu:feature
    name="drawers"
    implementation="plone"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n"
    xmlns:tal="http://xml.zope.org/namespaces/tal"
    >
    <kupu:id>$Id: drawers.kupu 21175 2005-12-15 14:25:08Z duncan $</kupu:id>

  <kupu:part name="styles">
  </kupu:part>

  <kupu:part name="jsincludes">
  </kupu:part>

  <kupu:part name="xmlconfig">
    <tal:var define="field field|nothing;
            tool here/kupu_library_tool;
            usecaptions python:tool.getCaptioning() and tool.canCaption(field);
            base python:here.kupu_library_tool.getBaseUrl(here);
            base kupu_base_override|base;">
        <captions tal:condition="usecaptions">1</captions>
        <xsl_uri tal:content="string:${portal_url}/kupudrawers/drawer.xsl" />
        <image_resource>mediaobject</image_resource>
        <link_resource>linkable</link_resource>
        <lib_prefix tal:content="string:${base}/kupulibraries.xml?resource_type=" />
        <search_prefix tal:content="string:${portal_url}/kupusearch.xml?resource_type=" />
        <select_prefix tal:content="string:${portal_url}/kupuselection.xml?resource_type=" />
    </tal:var>
  </kupu:part>

</kupu:feature>
