Lines 20-32
Link Here
|
20 |
|
20 |
|
21 |
<!-- Content of /guide --> |
21 |
<!-- Content of /guide --> |
22 |
<xsl:template name="guidecontent"> |
22 |
<xsl:template name="guidecontent"> |
23 |
<br/> |
23 |
<br /> |
24 |
<p class="dochead"> |
24 |
<h1> |
25 |
<xsl:choose> |
25 |
<xsl:choose> |
26 |
<xsl:when test="/guide/subtitle"><xsl:value-of select="/guide/title"/>: <xsl:value-of select="/guide/subtitle"/></xsl:when> |
26 |
<xsl:when test="/guide/subtitle"><xsl:value-of select="/guide/title"/>: <xsl:value-of select="/guide/subtitle"/></xsl:when> |
27 |
<xsl:otherwise><xsl:value-of select="/guide/title"/></xsl:otherwise> |
27 |
<xsl:otherwise><xsl:value-of select="/guide/title"/></xsl:otherwise> |
28 |
</xsl:choose> |
28 |
</xsl:choose> |
29 |
</p> |
29 |
</h1> |
30 |
|
30 |
|
31 |
<xsl:choose> |
31 |
<xsl:choose> |
32 |
<xsl:when test="$style = 'printable'"> |
32 |
<xsl:when test="$style = 'printable'"> |
Lines 70-78
Link Here
|
70 |
<xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise> |
70 |
<xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise> |
71 |
</xsl:choose> |
71 |
</xsl:choose> |
72 |
</title> |
72 |
</title> |
|
|
73 |
|
73 |
</head> |
74 |
</head> |
|
|
75 |
<xsl:choose> |
76 |
<xsl:when test="$style = 'printable'"> |
77 |
<!-- Insert the node-specific content --> |
78 |
<body bgcolor="#ffffff"> |
79 |
<xsl:call-template name="content"/> |
80 |
</body> |
81 |
</xsl:when> |
82 |
<xsl:otherwise> |
74 |
<body style="margin:0px;" bgcolor="#ffffff"> |
83 |
<body style="margin:0px;" bgcolor="#ffffff"> |
75 |
|
|
|
76 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
84 |
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
77 |
<tr> |
85 |
<tr> |
78 |
<td valign="top" height="125" bgcolor="#45347b"> |
86 |
<td valign="top" height="125" bgcolor="#45347b"> |
Lines 100-105
Link Here
|
100 |
</td> |
108 |
</td> |
101 |
<td width="1%" bgcolor="#dddaec" valign="top"> |
109 |
<td width="1%" bgcolor="#dddaec" valign="top"> |
102 |
<table border="0" cellspacing="5" cellpadding="0"> |
110 |
<table border="0" cellspacing="5" cellpadding="0"> |
|
|
111 |
<!-- Add a "printer-friendly" button when link attribute exists --> |
112 |
<xsl:if test="/book/@link or /guide/@link"> |
113 |
<tr> |
114 |
<td class="altmenu" align="center"> |
115 |
<xsl:variable name="PrintTip"><xsl:value-of select="xsl:gettext('PrintTip')"/></xsl:variable> |
116 |
<xsl:if test="/book"> |
117 |
<xsl:if test="$full=1"> |
118 |
<a title="{$PrintTip}" class="altlink" href="{/book/@link}?full=1&style=printable"><xsl:value-of select="xsl:gettext('Print')"/></a> |
119 |
</xsl:if> |
120 |
<xsl:if test="$full=0"> |
121 |
<a title="{$PrintTip}" class="altlink" href="{/book/@link}?part={$part}&chap={$chap}&style=printable"><xsl:value-of select="xsl:gettext('Print')"/></a> |
122 |
</xsl:if> |
123 |
</xsl:if> |
124 |
<xsl:if test="/guide"> |
125 |
<a title="{$PrintTip}" class="altlink" href="{/guide/@link}?style=printable"><xsl:value-of select="xsl:gettext('Print')"/></a> |
126 |
</xsl:if> |
127 |
</td> |
128 |
</tr> |
129 |
</xsl:if> |
103 |
<tr> |
130 |
<tr> |
104 |
<td> |
131 |
<td> |
105 |
<img src="/images/line.gif" alt="line"/> |
132 |
<img src="/images/line.gif" alt="line"/> |
Lines 241-246
Link Here
|
241 |
</table> |
268 |
</table> |
242 |
|
269 |
|
243 |
</body> |
270 |
</body> |
|
|
271 |
</xsl:otherwise> |
272 |
</xsl:choose> |
244 |
</html> |
273 |
</html> |
245 |
</xsl:template> |
274 |
</xsl:template> |
246 |
|
275 |
|