moved rtl stylesheet to separate style section again, after all other styles to be...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 27 Apr 2004 21:42:41 +0000 (21:42 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 27 Apr 2004 21:42:41 +0000 (21:42 +0000)
templates/xhtml_slim.pt

index 2bdf195..3dbfe84 100644 (file)
@@ -5,11 +5,10 @@
     <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
        ${headlinks}
     <title tal:content="pagetitle">Exciting xhtml slimfast</title>
-    <style tal:omit-tag="" tal:condition="rtl" tal:define="rtlcss string:@import url(${stylepath}/${skinname}/rtl.css);;" />
+
     <style type="text/css" media="screen">
       /*<![CDATA[*/
       @import url(${stylepath}/${skinname}/main.css);
-      ${rtlcss}
       /* custom css, could be either a pref or a subpage of the the user page */
       /* @import url(${stylepath}/custom.css); */
       /*]]>*/
     <link tal:condition="favicon" rel="shortcut icon" href="${favicon}" type="image/x-icon" />
     <script type="text/javascript" src="${stylepath}/wikibits.js"></script>
     <script type="text/javascript"> /*<![CDATA[*/ if(addcss){addcss('${stylepath}/${skinname}/');} /*]]>*/</script>
+    <style tal:condition="rtl" type="text/css">/*<![CDATA[*/@import url(${stylepath}/${skinname}/rtl.css);/*]]>*/</style>
   </head>
 
-  <body tal:attributes="ondblclick body-ondblclick|default;dir dir">
+  <body tal:attributes="ondblclick body-ondblclick|default">
     <div id="visual-portal-wrapper">
 
       <div id="portal-column-content">