/[gentoo]/xml/htdocs/xsl/guide.xsl
Gentoo

Diff of /xml/htdocs/xsl/guide.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.160 Revision 1.161
1050 <!-- Add a "printer-friendly" button when link attribute exists --> 1050 <!-- Add a "printer-friendly" button when link attribute exists -->
1051 <xsl:if test="/book/@link or /guide/@link"> 1051 <xsl:if test="/book/@link or /guide/@link">
1052 <tr> 1052 <tr>
1053 <td class="topsep" align="center"> 1053 <td class="topsep" align="center">
1054 <p class="altmenu"> 1054 <p class="altmenu">
1055 <xsl:variable name="PrintTip"><xsl:value-of select="func:gettext('PrintTip')"/></xsl:variable> 1055 <xsl:variable name="PrintTip"><xsl:value-of select="func:gettext('PrintTip')"/></xsl:variable>
1056 <xsl:variable name="href">
1057 <xsl:choose>
1058 <xsl:when test="/book and $full != 0">
1059 <xsl:value-of select="concat(@link, '?full=1&amp;style=printable')"/>
1060 </xsl:when>
1056 <xsl:if test="/book"> 1061 <xsl:when test="/book">
1057 <xsl:if test="$full=1"> 1062 <xsl:value-of select="concat(@link, '?style=printable')"/>
1058 <a title="{$PrintTip}" class="altlink" href="{/book/@link}?full=1&amp;style=printable"><xsl:value-of select="func:gettext('Print')"/></a> 1063 <xsl:if test="$part != '0'">&amp;part=<xsl:value-of select="$part"/></xsl:if>
1059 </xsl:if> 1064 <xsl:if test="$chap != '0'">&amp;chap=<xsl:value-of select="$chap"/></xsl:if>
1060 <xsl:if test="$full=0"> 1065 </xsl:when>
1061 <a title="{$PrintTip}" class="altlink" href="{/book/@link}?part={$part}&amp;chap={$chap}&amp;style=printable"><xsl:value-of select="func:gettext('Print')"/></a>
1062 </xsl:if>
1063 </xsl:if>
1064 <xsl:if test="/guide"> 1066 <xsl:when test="/guide">
1067 <xsl:value-of select="concat(@link, '?style=printable')"/>
1068 </xsl:when>
1069 </xsl:choose>
1070 </xsl:variable>
1065 <a title="{$PrintTip}" class="altlink" href="{/guide/@link}?style=printable"><xsl:value-of select="func:gettext('Print')"/></a> 1071 <a title="{$PrintTip}" class="altlink" href="{$href}"><xsl:value-of select="func:gettext('Print')"/></a>
1066 </xsl:if>
1067 </p> 1072 </p>
1068 </td> 1073 </td>
1069 </tr> 1074 </tr>
1070 </xsl:if> 1075 </xsl:if>
1071 <xsl:choose> 1076 <xsl:choose>

Legend:
Removed from v.1.160  
changed lines
  Added in v.1.161

  ViewVC Help
Powered by ViewVC 1.1.20