You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/08/02 12:37:50 UTC

svn commit: r427950 - /lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl

Author: thorsten
Date: Wed Aug  2 03:37:46 2006
New Revision: 427950

URL: http://svn.apache.org/viewvc?rev=427950&view=rev
Log:
Switching the order of the css links to override on a pub basis. Adding note about the pub override.

Modified:
    lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl

Modified: lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl?rev=427950&r1=427949&r2=427950&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/trunk/src/pubs/default/xslt/page2xhtml.xsl Wed Aug  2 03:37:46 2006
@@ -54,10 +54,11 @@
       <!-- Load doctype-specific CSS -->
       <xsl:choose>
         <xsl:when test="$document-type">
-            <link rel="stylesheet" href="{$root}/css/{$document-type}.css" type="text/css"/>
-          <!-- The following only work if the module is called like the {$document-type}
+            <!-- The following only work if the module is called like the {$document-type}
             This makes it possible to provide css e.g. for bxe on a module basis -->
             <link rel="stylesheet" href="{$context-prefix}/modules/{$document-type}/css/{$document-type}.css" type="text/css"/>
+            <!-- Looking into the pub e.g. {$yourPub}/resources/shared/css/{$document-type}.css -->
+            <link rel="stylesheet" href="{$root}/css/{$document-type}.css" type="text/css"/>
         </xsl:when>
         <xsl:otherwise>
             <!-- do nothing -->



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org