You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/06/10 19:43:30 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/util page2xhtml.xsl

andreas     2003/06/10 10:43:30

  Modified:    src/webapp sitemap.xmap
               src/webapp/lenya/xslt/util page2xhtml.xsl
  Log:
  renamed context-prefix to contextprefix (some hyphen bug)
  
  Revision  Changes    Path
  1.93      +1 -1      cocoon-lenya/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/sitemap.xmap,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- sitemap.xmap	6 Jun 2003 17:35:24 -0000	1.92
  +++ sitemap.xmap	10 Jun 2003 17:43:30 -0000	1.93
  @@ -525,7 +525,7 @@
      
       <map:resource name="style-cms-page">
         <map:transform src="lenya/xslt/util/page2xhtml.xsl">
  -        <map:parameter name="context-prefix" value="{request:contextPath}"/>
  +        <map:parameter name="contextprefix" value="{request:contextPath}"/>
         </map:transform>
         <map:serialize/>
       </map:resource>
  
  
  
  1.3       +3 -3      cocoon-lenya/src/webapp/lenya/xslt/util/page2xhtml.xsl
  
  Index: page2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/util/page2xhtml.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- page2xhtml.xsl	3 Jun 2003 15:43:37 -0000	1.2
  +++ page2xhtml.xsl	10 Jun 2003 17:43:30 -0000	1.3
  @@ -15,14 +15,14 @@
       xmlns:page="http://www.lenya.org/2003/cms-page"
       >
   
  -<xsl:param name="context-prefix"/>
  +<xsl:param name="context"/>
   
   <xsl:template match="/page:page">
     <html>
       <head>
         <title><xsl:value-of select="page:title"/></title>
         <link rel="stylesheet" type="text/css"
  -        href="{$context-prefix}/lenya/css/default.css" title="default css"/>
  +        href="{$context}/lenya/css/default.css" title="default css"/>
       </head>
       <body>
       
  @@ -32,7 +32,7 @@
               <h1><xsl:value-of select="page:title"/></h1>
             </td>
             <td class="lenya-project-logo">
  -            <img src="{$context-prefix}/lenya/images/project-logo-small.png"/>
  +            <img src="{$context}/lenya/images/project-logo-small.png"/>
             </td>
           </tr>
         </table>
  
  
  

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