forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject 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
Date Wed, 01 Dec 2004 20:18:28 GMT
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>

Mime
View raw message