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 2005/04/20 22:52:25 UTC
svn commit: r162069 -
/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl
Author: michi
Date: Wed Apr 20 13:52:25 2005
New Revision: 162069
URL: http://svn.apache.org/viewcvs?rev=162069&view=rev
Log:
language parameter added and german text added
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl
Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl?rev=162069&r1=162068&r2=162069&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/pubs/default/xslt/page2xhtml.xsl Wed Apr 20 13:52:25 2005
@@ -33,12 +33,16 @@
<!-- {context-prefix}/{publication-id}/{area} -->
<xsl:param name="root"/>
-<!-- i.e. doctypes/xhtml-document -->
<xsl:param name="document-id"/>
+<!-- i.e. doctypes/xhtml-document -->
+<xsl:param name="document-type"/>
+
<!-- The rquest url i.e. /lenya/doctypes/xhtml-document_en.html -->
<xsl:param name="url"/>
+<xsl:param name="language"/>
+
<xsl:template match="cmsbody">
<html>
@@ -51,7 +55,16 @@
<div id="page">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
- <td id="publication-title">Welcome to the Default Publication!</td>
+ <td id="publication-title">
+ <xsl:choose>
+ <xsl:when test="$language = 'de'">
+ Willkommen zur Default Publikation!
+ </xsl:when>
+ <xsl:otherwise>
+ Welcome to the Default Publication!
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
<td id="project-logo"><img src="{$root}/images/project-logo.png" alt="project logo"/></td>
</tr>
</table>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org