File:  [Repository] / kupu / plone / beforeunload.kupu
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Thu Sep 15 13:06:00 2005 UTC (18 years, 8 months ago) by dwinter
Branches: first, MAIN
CVS tags: dwinter, HEAD
modifizierter kupu fuer webpages des instituts

<?xml version="1.0" ?>
<kupu:feature
    name="beforeunload"
    implementation="plone"
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:kupu="http://kupu.oscom.org/namespaces/dist"
    xmlns:tal="http://xml.zope.org/namespaces/tal"
    >
    <kupu:id>$Id: beforeunload.kupu,v 1.1.1.1 2005/09/15 13:06:00 dwinter Exp $</kupu:id>

  <kupu:part name="jsincludes">
<tal:condition condition="python:here.kupu_library_tool.installBeforeUnload() and not path('haveBeforeUnload|nothing')">
    <script tal:condition="not:exists:portal/portal_javascripts"
        type="text/javascript" src="kupubeforeunload.js"
        tal:attributes="src string:${portal_url}/kupubeforeunload.js"
        tal:define="global haveBeforeUnload python:True;"> </script>
</tal:condition>
  </kupu:part>

</kupu:feature>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>