cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r597540 - in /cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html: complex-page2html.xsl simple-page2html.xsl
Date Fri, 23 Nov 2007 04:03:39 GMT
Author: vgritsenko
Date: Thu Nov 22 20:03:39 2007
New Revision: 597540

URL: http://svn.apache.org/viewvc?rev=597540&view=rev
Log:
fix links

Modified:
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/complex-page2html.xsl
    cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl

Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/complex-page2html.xsl
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/complex-page2html.xsl?rev=597540&r1=597539&r2=597540&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/complex-page2html.xsl
(original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/complex-page2html.xsl
Thu Nov 22 20:03:39 2007
@@ -51,7 +51,7 @@
               <xsl:apply-templates select="document/header/tab"/>
             </td>
             <td nowrap="nowrap" align="right">
-              Orthogonal views:
+              Views:
               <a href="?cocoon-view=content">Content</a>
               &#160;
               <a href="?cocoon-view=pretty-content">Pretty content</a>

Modified: cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl?rev=597540&r1=597539&r2=597540&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
(original)
+++ cocoon/trunk/blocks/cocoon-samples-style/cocoon-samples-style-default/src/main/resources/COB-INF/common/style/xsl/html/simple-page2html.xsl
Thu Nov 22 20:03:39 2007
@@ -26,7 +26,7 @@
    <html>
      <head>
        <title><xsl:value-of select="title"/></title>
-       <link rel="stylesheet" href="servlet:/styles/main.css" title="Default Style"/>
+       <link href="servlet:/styles/main.css" rel="stylesheet" type="text/css" title="Default
Style"/>
        <!-- copy local CSS, if any -->
        <xsl:copy-of select="style"/>
      </head>
@@ -39,9 +39,12 @@
 
   <xsl:template name="resources">
     <div class="resources">
-      <a href="?cocoon-view=content">Content View</a>
-      <a href="?cocoon-view=pretty-content">Source</a>
-      <a href="sitemap.xmap?cocoon-view=pretty-content">Sitemap</a>
+      <a href="sitemap.xmap">Sitemap</a>
+      &#160;
+      Views:
+      <a href="?cocoon-view=content">Content</a>
+      <a href="?cocoon-view=pretty-content">Pretty Content</a>
+      <a href="?cocoon-view=links">Links</a>
 
       <xsl:for-each select="resources/resource">
         <xsl:variable name="href">
@@ -68,29 +71,32 @@
 
   <xsl:template match="resources"/>
 
+  
   <xsl:template match="title">
-   <h2><xsl:apply-templates/></h2>
+    <h2><xsl:apply-templates/></h2>
   </xsl:template>
-  
+
   <xsl:template match="content">
     <xsl:apply-templates/>
   </xsl:template>
 
   <xsl:template match="para">
-   <p><xsl:apply-templates/></p>
+    <p><xsl:apply-templates/></p>
   </xsl:template>
 
   <xsl:template match="link">
-   <a href="{@href}"><xsl:apply-templates/></a>
+    <a href="{@href}"><xsl:apply-templates/></a>
   </xsl:template>
 
   <xsl:template match="error">
     <span class="error"><xsl:apply-templates/></span>
   </xsl:template>
 
-  
+
   <xsl:template match="@*|node()" priority="-2">
-    <xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy>
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
   </xsl:template>
 
   <xsl:template match="text()" priority="-1">



Mime
View raw message