1) Setting a new value did not work because the short name was send to XDebug instead...
[phpeclipse.git] / net.sourceforge.phpeclipse.help / docbook-src / guide / xsl / phpeclipse_htmlhelp.xsl
1 <?xml version='1.0'?>
2 <xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0">
3
4 <xsl:import href="file:///c:/docbook/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
5
6 <xsl:param name="profile.role" select="'html;bold'"/>
7
8 <xsl:param name="paper.type" select="'A4'"/>
9 <xsl:param name="double.sided" select="1"/>
10 <xsl:param name="section.autolabel" select="1"/>
11 <xsl:param name="toc.section.depth" select="2"/>
12 <xsl:param name="section.label.includes.component.label" select="1"/>
13 <xsl:param name="draft.watermark.image" select="''"/>
14 <xsl:param name="draft.mode" select="'no'"/>
15 <xsl:param name="htmlhelp.use.hhk" select="1"/>
16 <xsl:param name="suppress.navigation" select="0"/>
17
18 <xsl:param name="tablecolumns.extension" select="'0'"></xsl:param>
19
20 <xsl:param name="callout.graphics">1</xsl:param>
21 <xsl:param name="callout.graphics.extension">.png</xsl:param>
22 <xsl:param name="callout.graphics.path" select="'img/callouts/'"></xsl:param>
23
24 <xsl:param name="admon.graphics" select="1"></xsl:param>
25 <xsl:param name="admon.graphics.path">img/admon/</xsl:param>
26
27 <xsl:param name="qanda.defaultlabel">number</xsl:param>
28 <xsl:param name="header.rule" select="0"/>
29 <xsl:param name="footer.rule" select="0"/>
30
31 <xsl:param name="formal.title.placement">
32 figure after
33 example before
34 equation after
35 table after
36 procedure before
37 </xsl:param>
38
39 <xsl:template name="user.head.content">
40   <link rel="stylesheet" type="text/css" media="screen" href="style.css" />
41   <link rel="stylesheet" type="text/css" media="print" href="xoopsstyleprint.css" />
42 </xsl:template>
43
44 <xsl:template name="header.navigation">
45   <xsl:param name="prev" select="/foo"/>
46   <xsl:param name="next" select="/foo"/>
47   <xsl:param name="nav.context"/>
48
49   <xsl:variable name="home" select="/*[1]"/>
50   <xsl:variable name="up" select="parent::*"/>
51
52   <xsl:variable name="row1" select="$navig.showtitles != 0"/>
53   <xsl:variable name="row2" select="count($prev) &gt; 0
54                                     or (count($up) &gt; 0
55                                         and $up != $home
56                                         and $navig.showtitles != 0)
57                                     or count($next) &gt; 0"/>
58
59   <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'">
60     <div class="navheader">
61       <xsl:if test="$row1 or $row2">
62         <table width="100%" summary="Navigation header">
63           <xsl:if test="$row1">
64             <tr>
65               <th colspan="3" align="left">
66                 <xsl:apply-templates select="." mode="object.title.markup"/>
67               </th>
68             </tr>
69           </xsl:if>
70
71           <xsl:if test="$row2">
72             <tr>
73
74               <th width="60%" align="left">
75                 <xsl:choose>
76                   <xsl:when test="count($up) &gt; 0
77                                   and $up != $home
78                                   and $navig.showtitles != 0">
79                     <xsl:apply-templates select="$up" mode="object.title.markup"/>
80                   </xsl:when>
81                   <xsl:otherwise>&#160;</xsl:otherwise>
82                 </xsl:choose>
83               </th>
84
85               <td width="20%" align="right">
86                 <font face="Arial" size="2">
87
88                 <xsl:choose>
89                   <xsl:when test="count($up)&gt;0">
90                     <a accesskey="u" onmouseover="document.images.main_head.src='img/nav/button_main_h.gif'" onmouseout="document.images.main_head.src='img/nav/button_main.gif'">
91                       <xsl:attribute name="href">
92                         <xsl:call-template name="href.target">
93                           <xsl:with-param name="object" select="$up"/>
94                         </xsl:call-template>
95                       </xsl:attribute>
96 <!--
97                       <xsl:call-template name="navig.content">
98                         <xsl:with-param name="direction" select="'up'"/>
99                       </xsl:call-template>
100 -->
101                       <img name="main_head" src="img/nav/button_main.gif" border="0" alt="Back to Top" />
102                     </a>
103
104                   </xsl:when>
105                   <xsl:otherwise>&#160;</xsl:otherwise>
106                 </xsl:choose>
107
108                 <xsl:choose>
109                   <xsl:when test="count($prev)&gt;0">
110                     <a accesskey="p" onmouseover="document.images.prev_head.src='img/nav/button_prev_h.gif'" onmouseout="document.images.prev_head.src='img/nav/button_prev.gif'">
111                       <xsl:attribute name="href">
112                         <xsl:call-template name="href.target">
113                           <xsl:with-param name="object" select="$prev"/>
114                         </xsl:call-template>
115                       </xsl:attribute>
116 <!--
117                       <xsl:call-template name="navig.content">
118                         <xsl:with-param name="direction" select="'prev'"/>
119                       </xsl:call-template>
120 -->
121                       <img name="prev_head" src="img/nav/button_prev.gif" border="0" alt="Previous page" />
122                     </a>
123                   </xsl:when>
124                   <xsl:otherwise>
125                     <img src="img/nav/button_prev_d.gif" border="0" />
126                   </xsl:otherwise>
127                 </xsl:choose>
128
129                 <xsl:choose>
130                   <xsl:when test="count($next)&gt;0">
131                     <a accesskey="n" onmouseover="document.images.next.src='img/nav/button_next_h.gif'" onmouseout="document.images.next.src='img/nav/button_next.gif'">
132                       <xsl:attribute name="href">
133                         <xsl:call-template name="href.target">
134                           <xsl:with-param name="object" select="$next"/>
135                         </xsl:call-template>
136                       </xsl:attribute>
137 <!--
138                       <xsl:call-template name="navig.content">
139                         <xsl:with-param name="direction" select="'next'"/>
140                       </xsl:call-template>
141 -->
142                       <img name="next" src="img/nav/button_next.gif" border="0" alt="Next page" />
143                     </a>
144                   </xsl:when>
145                   <xsl:otherwise>
146                     <img src="img/nav/button_next_d.gif" border="0" />
147                   </xsl:otherwise>
148                 </xsl:choose>
149                 </font>
150               </td>
151             </tr>
152           </xsl:if>
153         </table>
154       </xsl:if>
155       <xsl:if test="$header.rule != 0">
156         <hr/>
157       </xsl:if>
158     </div>
159   </xsl:if>
160 </xsl:template>
161
162
163
164 <xsl:template name="footer.navigation">
165   <xsl:param name="prev" select="/foo"/>
166   <xsl:param name="next" select="/foo"/>
167   <xsl:param name="nav.context"/>
168
169   <xsl:variable name="home" select="/*[1]"/>
170   <xsl:variable name="up" select="parent::*"/>
171
172   <xsl:variable name="row1" select="count($prev) &gt; 0
173                                     or count($up) &gt; 0
174                                     or count($next) &gt; 0"/>
175
176   <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
177                                     or ($home != . or $nav.context = 'toc')
178                                     or ($chunk.tocs.and.lots != 0
179                                         and $nav.context != 'toc')
180                                     or ($next and $navig.showtitles != 0)"/>
181
182   <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
183     <div class="navfooter">
184       <xsl:if test="$footer.rule != 0">
185         <hr/>
186       </xsl:if>
187
188       <xsl:if test="$row1 or $row2">
189         <table width="100%" summary="Navigation footer">
190           <xsl:if test="$row1">
191             <tr>
192               <td width="40%" align="left">
193                 <xsl:choose>
194                   <xsl:when test="count($prev)&gt;0">
195                     <a accesskey="p" onmouseover="document.images.prev_foot.src='img/nav/button_prev_h.gif'" onmouseout="document.images.prev_foot.src='img/nav/button_prev.gif'">
196                       <xsl:attribute name="href">
197                         <xsl:call-template name="href.target">
198                           <xsl:with-param name="object" select="$prev"/>
199                         </xsl:call-template>
200                       </xsl:attribute>
201 <!--
202                       <xsl:call-template name="navig.content">
203                         <xsl:with-param name="direction" select="'prev'"/>
204                       </xsl:call-template>
205 -->
206                       <img name="prev_foot" src="img/nav/button_prev.gif" border="0" alt="Previous page" />
207                     </a>
208                   </xsl:when>
209                   <xsl:otherwise>
210                     <img src="img/nav/button_prev_d.gif" border="0" />
211                   </xsl:otherwise>
212                 </xsl:choose>
213               </td>
214               <td width="20%" align="center">
215                 <xsl:choose>
216                   <xsl:when test="count($up)&gt;0">
217                     <a accesskey="u" onmouseover="document.images.main_foot.src='img/nav/button_main_h.gif'" onmouseout="document.images.main_foot.src='img/nav/button_main.gif'">
218                       <xsl:attribute name="href">
219                         <xsl:call-template name="href.target">
220                           <xsl:with-param name="object" select="$up"/>
221                         </xsl:call-template>
222                       </xsl:attribute>
223 <!--
224                       <xsl:call-template name="navig.content">
225                         <xsl:with-param name="direction" select="'up'"/>
226                       </xsl:call-template>
227 -->
228                       <img name="main_foot" src="img/nav/button_main.gif" border="0" alt="Back to Top" />
229                     </a>
230                   </xsl:when>
231                   <xsl:otherwise>&#160;</xsl:otherwise>
232                 </xsl:choose>
233               </td>
234               <td width="40%" align="right">
235                 <xsl:text>&#160;</xsl:text>
236                 <xsl:choose>
237                   <xsl:when test="count($next)&gt;0">
238                     <a accesskey="n" onmouseover="document.images.next_foot.src='img/nav/button_next_h.gif'" onmouseout="document.images.next_foot.src='img/nav/button_next.gif'">
239                       <xsl:attribute name="href">
240                         <xsl:call-template name="href.target">
241                           <xsl:with-param name="object" select="$next"/>
242                         </xsl:call-template>
243                       </xsl:attribute>
244 <!--
245                       <xsl:call-template name="navig.content">
246                         <xsl:with-param name="direction" select="'next'"/>
247                       </xsl:call-template>
248 -->
249                       <img name="next_foot" src="img/nav/button_next.gif" border="0" alt="Next page" />
250                     </a>
251                   </xsl:when>
252                   <xsl:otherwise>
253                     <img src="img/nav/button_next_d.gif" border="0" />
254                   </xsl:otherwise>
255                 </xsl:choose>
256               </td>
257             </tr>
258           </xsl:if>
259
260           <xsl:if test="$row2">
261             <tr>
262               <td width="40%" align="left" valign="top">
263                 <xsl:if test="$navig.showtitles != 0">
264                   <xsl:apply-templates select="$prev" mode="object.title.markup"/>
265                 </xsl:if>
266                 <xsl:text>&#160;</xsl:text>
267               </td>
268               <td width="20%" align="center">
269                 <xsl:choose>
270                   <xsl:when test="$home != . or $nav.context = 'toc'">
271                     <a accesskey="h">
272                       <xsl:attribute name="href">
273                         <xsl:call-template name="href.target">
274                           <xsl:with-param name="object" select="$home"/>
275                         </xsl:call-template>
276                       </xsl:attribute>
277                       <xsl:call-template name="navig.content">
278                         <xsl:with-param name="direction" select="'home'"/>
279                       </xsl:call-template>
280                     </a>
281                     <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
282                       <xsl:text>&#160;|&#160;</xsl:text>
283                     </xsl:if>
284                   </xsl:when>
285                   <xsl:otherwise>&#160;</xsl:otherwise>
286                 </xsl:choose>
287
288                 <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
289                   <a accesskey="t">
290                     <xsl:attribute name="href">
291                       <xsl:apply-templates select="/*[1]" mode="recursive-chunk-filename"/>
292                       <xsl:text>-toc</xsl:text>
293                       <xsl:value-of select="$html.ext"/>
294                     </xsl:attribute>
295                     <xsl:call-template name="gentext">
296                       <xsl:with-param name="key" select="'nav-toc'"/>
297                     </xsl:call-template>
298                   </a>
299                 </xsl:if>
300               </td>
301               <td width="40%" align="right" valign="top">
302                 <xsl:text>&#160;</xsl:text>
303                 <xsl:if test="$navig.showtitles != 0">
304                   <xsl:apply-templates select="$next" mode="object.title.markup"/>
305                 </xsl:if>
306               </td>
307             </tr>
308           </xsl:if>
309         </table>
310       </xsl:if>
311     </div>
312   </xsl:if>
313 </xsl:template>
314
315
316 </xsl:stylesheet>