I assume (but haven't checked) you upset the W3C police with that change ;)

— Alexander

On Tue, 06 Mar 2007 01:23:34 -0800, wichert <[EMAIL PROTECTED]> wrote:

Author: wichert
Date: Tue Mar  6 09:23:34 2007
New Revision: 13585

Modified:
   CMFPlone/trunk/skins/plone_templates/batch_macros.pt
   CMFPlone/trunk/skins/plone_templates/main_template.pt
Log:
Use a trick to create a non-empty base tag which makes it through the TAL police

Modified: CMFPlone/trunk/skins/plone_templates/batch_macros.pt
==============================================================================
--- CMFPlone/trunk/skins/plone_templates/batch_macros.pt        (original)
+++ CMFPlone/trunk/skins/plone_templates/batch_macros.pt Tue Mar 6 09:23:34 2007
@@ -1,4 +1,5 @@
-<html xmlns:tal="http://xml.zope.org/namespaces/tal";
+<html xmlns="http://www.w3.org/1999/xhtml";
+      xmlns:tal="http://xml.zope.org/namespaces/tal";
       xmlns:metal="http://xml.zope.org/namespaces/metal";
       xmlns:i18n="http://xml.zope.org/namespaces/i18n";
       i18n:domain="plone">

Modified: CMFPlone/trunk/skins/plone_templates/main_template.pt
==============================================================================
--- CMFPlone/trunk/skins/plone_templates/main_template.pt       (original)
+++ CMFPlone/trunk/skins/plone_templates/main_template.pt Tue Mar 6 09:23:34 2007
@@ -22,7 +22,7 @@
tal:attributes="content string:text/html;;charset=${charset}" />
    <metal:baseslot define-slot="base">
-    <base href="" tal:attributes="href here/renderBase" />
+ <base tal:attributes="href here/renderBase"><!--[if IE]></base><![endif]-->
     </metal:baseslot>
    <meta name="generator" content="Plone - http://plone.org"; />

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



--
Alexander Limi · http://limi.net


_______________________________________________
Framework-Team mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/framework-team

Reply via email to