forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 51791 - in forrest/trunk/src/core/context/skins: leather-dev/xslt/html pelt/xslt/html
Date Sat, 02 Oct 2004 04:16:41 GMT
Author: crossley
Date: Fri Oct  1 21:16:40 2004
New Revision: 51791

Modified:
   forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl
   forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
Log:
Better text for "title" attributes of PDF, POD, PRINT icons.


Modified: forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/leather-dev/xslt/html/site2xhtml.xsl	Fri Oct  1 21:16:40
2004
@@ -475,8 +475,8 @@
     +-->
   <xsl:template match="div[@id='skinconf-pdflink']">
     <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> 
-      <div id="content-pdf"><a href="{$filename-noext}.pdf" class="dida">
-        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/>
+      <div id="content-pdf" title="Portable Document Format"><a href="{$filename-noext}.pdf"
class="dida">
+        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF - icon"/><br/>
         PDF</a>
       </div>
     </xsl:if>

Modified: forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl
==============================================================================
--- forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	(original)
+++ forrest/trunk/src/core/context/skins/pelt/xslt/html/site2xhtml.xsl	Fri Oct  1 21:16:40
2004
@@ -500,24 +500,24 @@
     +-->
   <xsl:template match="div[@id='skinconf-pdflink']">
     <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> 
-      <div class="pdflink" title="PDF"><a href="{$filename-noext}.pdf" class="dida">
-        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF" /><br/>
+      <div class="pdflink" title="Portable Document Format"><a href="{$filename-noext}.pdf"
class="dida">
+        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF -icon" /><br/>
         PDF</a>
       </div>
     </xsl:if>
   </xsl:template>
   <xsl:template match="div[@id='skinconf-xmllink']">
     <xsl:if test="not($config/disable-xml-link) or $disable-xml-link = 'false'"> 
-      <div class="xmllink" title="XML"><a href="{$filename-noext}.xml" class="dida">
-        <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML" /><br/>
+      <div class="xmllink" title="raw XML"><a href="{$filename-noext}.xml" class="dida">
+        <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" /><br/>
         XML</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="POD"><a href="{$filename-noext}.pod" class="dida">
-        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD" /><br/>
+      <div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod"
class="dida">
+        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" /><br/>
         POD</a>
       </div>
     </xsl:if>
@@ -539,9 +539,9 @@
 if (VERSION > 3) {
   document.write('<div class="printlink" title="Print this Page">');
   document.write('  <a href="javascript:printit()" class="dida">');
-  document.write('    <img class="skin" src="{$skin-img-dir}/printer.gif" alt="Print this
Page" />');
+  document.write('    <img class="skin" src="{$skin-img-dir}/printer.gif" alt="print -
icon" />');
   document.write('    <br />');
-  document.write('  print</a>');
+  document.write('  PRINT</a>');
   document.write('</div>');
 }
         </script>

Mime
View raw message