1: <?xml version="1.0" ?>
2: <kupu:feature
3: name="beforeunload"
4: implementation="plone"
5: xmlns="http://www.w3.org/1999/xhtml"
6: xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
7: xmlns:tal="http://xml.zope.org/namespaces/tal"
8: >
9: <kupu:id>$Id: beforeunload.kupu,v 1.1.1.1 2005/09/15 13:06:00 dwinter Exp $</kupu:id>
10:
11: <kupu:part name="jsincludes">
12: <tal:condition condition="python:here.kupu_library_tool.installBeforeUnload() and not path('haveBeforeUnload|nothing')">
13: <script tal:condition="not:exists:portal/portal_javascripts"
14: type="text/javascript" src="kupubeforeunload.js"
15: tal:attributes="src string:${portal_url}/kupubeforeunload.js"
16: tal:define="global haveBeforeUnload python:True;"> </script>
17: </tal:condition>
18: </kupu:part>
19:
20: </kupu:feature>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>