You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by ri...@apache.org on 2004/12/01 21:18:28 UTC
svn commit: r109375 - /forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl /forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl /forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl
Author: rick
Date: Wed Dec 1 12:18:26 2004
New Revision: 109375
URL: http://svn.apache.org/viewcvs?view=rev&rev=109375
Log:
Added code to handle the text links on the pelt (and common) skins.
Corrected a typo on the tigris skin.
Modified:
forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl
forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl
forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl
Modified: forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl?view=diff&rev=109375&p1=forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl&r1=109374&p2=forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl&r2=109375
==============================================================================
--- forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/common/xslt/html/site2xhtml.xsl Wed Dec 1 12:18:26 2004
@@ -205,6 +205,16 @@
</xsl:if>
</xsl:template>
+ <!-- Generates the TXT link -->
+ <xsl:template match="div[@id='skinconf-txtlink']">
+ <xsl:if test="$disable-txt-link = 'false'">
+ <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.txt" class="dida">
+ <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT"/><br/>
+ TXT</a>
+ </td>
+ </xsl:if>
+ </xsl:template>
+
<!-- Generates the POD link -->
<xsl:template match="div[@id='skinconf-podlink']">
<xsl:if test="$disable-pod-link = 'false'">
Modified: forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl?view=diff&rev=109375&p1=forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl&r1=109374&p2=forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl&r2=109375
==============================================================================
--- forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/pelt/xslt/html/site2xhtml.xsl Wed Dec 1 12:18:26 2004
@@ -514,6 +514,14 @@
</div>
</xsl:if>
</xsl:template>
+ <xsl:template match="div[@id='skinconf-txtlink']">
+ <xsl:if test="not($config/disable-txt-link) or $disable-txt-link = 'false'">
+ <div class="podlink" title="Plain Text Documentation"><a href="{$filename-noext}.txt" class="dida">
+ <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT - icon" /><br/>
+ TXT</a>
+ </div>
+ </xsl:if>
+ </xsl:template>
<xsl:template match="div[@id='skinconf-podlink']">
<xsl:if test="not($config/disable-pod-link) or $disable-pod-link = 'false'">
<div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod" class="dida">
Modified: forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl?view=diff&rev=109375&p1=forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl&r1=109374&p2=forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl&r2=109375
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl Wed Dec 1 12:18:26 2004
@@ -194,7 +194,7 @@
<xsl:if test="not($config/disable-txt-link) or $disable-txt-link = 'false'">
<div class="txtlink" title="Text Format"><a href="{$filename-noext}.txt" class="dida">
<img class="skin" src="{$skin-img-dir}/txtdoc.gif" alt="TXT -icon" /><br/>
- txt</a>
+ TXT</a>
</div>
</xsl:if>
</xsl:template>