You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/08/28 12:19:05 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed main-authoring.xsl main-live.xsl
michi 2003/08/28 03:19:05
Modified: src/webapp/lenya/pubs/blog/xslt global.xsl
src/webapp/lenya/pubs/blog/xslt/entry main-authoring.xsl
main-live.xsl
src/webapp/lenya/pubs/blog/xslt/feed main-authoring.xsl
main-live.xsl
Log:
Lenya title linked
Revision Changes Path
1.3 +9 -1 cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/global.xsl
Index: global.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/global.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- global.xsl 21 Aug 2003 18:52:36 -0000 1.2
+++ global.xsl 28 Aug 2003 10:19:04 -0000 1.3
@@ -19,7 +19,15 @@
<tr>
<td colspan="2" id="title">
<!-- FIXME: namespace -->
- <xsl:value-of select="feed/title"/><xsl:value-of select="feed/echo:title"/>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:choose>
+ <xsl:when test="$doctype='entry'">../../../../../index.html</xsl:when>
+ <xsl:otherwise>../../index.html</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:value-of select="feed/title"/><xsl:value-of select="feed/echo:title"/>
+ </a>
</td>
</tr>
<tr>
1.2 +2 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/main-authoring.xsl
Index: main-authoring.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/main-authoring.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- main-authoring.xsl 5 Aug 2003 19:50:48 -0000 1.1
+++ main-authoring.xsl 28 Aug 2003 10:19:05 -0000 1.2
@@ -4,6 +4,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
+<xsl:variable name="doctype">entry</xsl:variable>
+
<xsl:include href="../../../../xslt/menu/root.xsl"/>
<xsl:include href="../global.xsl"/>
1.2 +2 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/main-live.xsl
Index: main-live.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/main-live.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- main-live.xsl 5 Aug 2003 19:50:48 -0000 1.1
+++ main-live.xsl 28 Aug 2003 10:19:05 -0000 1.2
@@ -4,6 +4,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
+<xsl:variable name="doctype">entry</xsl:variable>
+
<xsl:include href="../../../../xslt/menu/live-root.xsl"/>
<xsl:include href="../global.xsl"/>
1.2 +2 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/main-authoring.xsl
Index: main-authoring.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/main-authoring.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- main-authoring.xsl 5 Aug 2003 19:50:48 -0000 1.1
+++ main-authoring.xsl 28 Aug 2003 10:19:05 -0000 1.2
@@ -4,6 +4,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
+<xsl:variable name="doctype">feed</xsl:variable>
+
<xsl:include href="../../../../xslt/menu/root.xsl"/>
<xsl:include href="../global.xsl"/>
1.2 +2 -0 cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/main-live.xsl
Index: main-live.xsl
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/main-live.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- main-live.xsl 5 Aug 2003 19:50:48 -0000 1.1
+++ main-live.xsl 28 Aug 2003 10:19:05 -0000 1.2
@@ -4,6 +4,8 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
+<xsl:variable name="doctype">feed</xsl:variable>
+
<xsl:include href="../../../../xslt/menu/live-root.xsl"/>
<xsl:include href="../global.xsl"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org