1
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2
xmlns:html="http://www.w3.org/1999/xhtml"
3
xmlns:exsl="http://exslt.org/common"
4
xmlns:set="http://exslt.org/sets"
5
xmlns="http://www.w3.org/1999/xhtml"
6
exclude-result-prefixes="html set"
7
extension-element-prefixes="exsl"
10
<xsl:param name="color.gray_background" select="'#f7f6f5'"/>
11
<xsl:param name="color.gray_border" select="'#ccc1c1'"/>
12
<xsl:param name="color.blue_background" select="'#f7f6f5'"/>
13
<xsl:param name="color.blue_border" select="'#ccc1c1'"/>
14
<xsl:param name="color.yellow_background" select="'#f7f6f5'"/>
15
<xsl:param name="color.yellow_border" select="'#ccc1c1'"/>
16
<xsl:param name="color.red_background" select="'#f7f6f5'"/>
17
<xsl:param name="color.red_border" select="'#ccc1c1'"/>
19
<xsl:param name="color.text" select="'#333333'"/>
20
<xsl:param name="color.text_light" select="'#aea79f'"/>
21
<xsl:param name="color.link" select="'#dd4814'"/>
22
<xsl:param name="color.link_visited" select="'#dd4814'"/>
24
<xsl:template name="html.css.custom">
25
<xsl:param name="node" select="."/>
26
<xsl:param name="direction">
27
<xsl:call-template name="l10n.direction"/>
29
<xsl:param name="left">
30
<xsl:call-template name="l10n.align.start">
31
<xsl:with-param name="direction" select="$direction"/>
34
<xsl:param name="right">
35
<xsl:call-template name="l10n.align.end">
36
<xsl:with-param name="direction" select="$direction"/>
42
background: #d3caaa url(img/bg-page.png) repeat-x top;
46
font-family:"Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
52
background: #fff url(img/bg-content.png) repeat-y top;
59
background-color: #fff;
105
text-decoration: none;
121
#cse-search-box form div {
132
h1, h2, h3, h4, h5, h6
142
border-bottom: 2px solid #6d4c07; /* ubuntu dark brown */
147
border-bottom: 1px solid #6d4c07; /* ubuntu dark brown */
150
h3 {font-size: 1.3em;}
151
h4 {font-size: 1.1em;}
152
h4, h5, h6 {font-size: 1em;}
163
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
164
-webkit-margin-start: 16px; -webkit-margin-end: 0;
165
-moz-margin-start: 16px; -moz-margin-end: 0;
167
dt { margin-top: 16px; }
168
dt:first-child { margin-top: 0; }
169
dt + dt { margin-top: 0; }
172
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
173
-webkit-margin-start: 16px; -webkit-margin-end: 0;
174
-moz-margin-start: 16px; -moz-margin-end: 0;
176
ol.compact li { margin-top: 8px; }
177
ul.compact li { margin-top: 8px; }
178
ol.compact li:first-child { margin-top: 0; }
179
ul.compact li:first-child { margin-top: 0; }
180
dl.compact dt { margin-top: 8px; }
181
dl.compact dt:first-child { margin-top: 0; }
182
dl.compact dt + dt { margin-top: 0; }
184
div.title { margin: 0 0 8px 0; }
185
div.desc { margin: 0 0 8px 0; }
186
div.contents + div.desc { margin: 8px 0 0 0; }
187
pre.contents { padding: 8px; }
190
padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
192
div.sectionlinks { padding: 0 16px 0 16px; }
193
div.sectionlinks div.title { margin: 8px 0 8px 0; }
194
div.sectionlinks div.sectionlinks { margin: 8px 0 0 0; }
195
div.sectionlinks div.sectionlinks li {
196
padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
199
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
201
div.serieslinks { padding: 0 16px 0 16px; }
202
div.serieslinks div.title { margin: 8xp 0 8px 0; }
205
margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 8px;
208
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
209
-webkit-margin-start: 16px;
210
-moz-margin-start: 16px;
213
div.figure > div.inner > div.contents {
214
padding: 8px 16px 8px 16px;
216
div.list > div.title { margin-bottom: 8px; }
217
div.note { padding: 8px; }
218
div.note > div.inner > div.title {
219
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
220
<xsl:value-of select="$icons.size.note + 8"/><xsl:text>px;
222
div.note > div.inner > div.contents {
223
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: </xsl:text>
224
<xsl:value-of select="$icons.size.note + 8"/><xsl:text>px;
227
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 8px;
230
div.quote > div.inner > div.title { margin: 0 0 8px 0; }
231
div.quote > div.inner > div.cite { margin-top: 8px; }
233
padding: 8px 16px 8px 16px;
236
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
237
-webkit-margin-start: 16px;
238
-moz-margin-start: 16px;
241
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 32px;
242
-webkit-margin-start: 32px;
243
-moz-margin-start: 32px;
245
div.synopsis > div.inner > div.contents, div.synopsis > pre.contents {
246
padding: 8px 16px 8px 16px;
248
span.cmd { padding: 0 4px 0 4px; }
249
span.key { padding: 0 4px 0 4px; }
254
div.floatleft { margin-right: 16px; }
255
div.floatright { margin-left: 16px; }
257
margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 16px;
260
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
262
ul.mouseovers a { padding: 6px; }
265
padding-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 16px;
268
padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
269
-webkit-padding-start: 16px;
270
-moz-padding-start: 16px;
272
div.linkdiv div.title { font-size: 12px; }
275
-moz-border-radius: 0px;
276
border: solid 1px </xsl:text>
277
<xsl:value-of select="$color.background"/><xsl:text>;
280
padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
282
div.comment { padding: 8px; }
283
div.comment div.comment { margin: 16px 16px 0 16px; }
284
div.comment div.cite { margin: 0 0 8px 0; }
286
margin-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 16px;
287
-webkit-margin-start: 16px;
288
-moz-margin-start: 16px;
290
div.facets { padding: 8px; }
293
margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 16px;
299
<xsl:template name="html.page">
300
<xsl:param name="node" select="."/>
304
<xsl:apply-templates mode="html.title.mode" select="$node"/>
306
<xsl:call-template name="html.css"/>
307
<xsl:call-template name="html.js"/>
308
<xsl:call-template name="html.head.custom"/>
312
<img id="topcap" alt="" src="https://help.ubuntu.com/htdocs/ubuntunew/img/cap-top.png" />
313
<div id="layout" class="container clear-block">
314
<xsl:apply-templates mode="html.body.attr.mode" select="$node"/>
315
<script src="https://ssl.google-analytics.com/urchin.js"
316
type="text/javascript"></script>
317
<script type="text/javascript">
318
_uacct = "UA-1018242-8";
322
<div id="logo-floater">
323
<h1><a href="https://help.ubuntu.com" title="Ubuntu Documentation"><img alt="Ubuntu" id="logo" src="https://help.ubuntu.com/htdocs/ubuntunew/img/logo.png" /></a>
325
</div> <!-- logo-floater -->
327
<!-- Provide a search box for clients with and without javascript -->
329
<form action="http://www.google.com/cse" id="cse-search-box">
331
<input type="hidden" name="cx" value="004599128559784038176:vj_p0xo-nng" />
332
<input type="hidden" name="ie" value="UTF-8" />
333
<input type="text" name="q" size="27" />
334
<input type="submit" name="sa" value="Search" />
341
document.write('<form action="https://help.ubuntu.com/search.html" id="cse-search-box">');
342
document.write(' <div>');
343
document.write(' <input type="hidden" name="cof" value="FORID:9" />');
344
document.write(' <input type="hidden" name="cx" value="004599128559784038176:vj_p0xo-nng" />');
345
document.write(' <input type="hidden" name="ie" value="UTF-8" />');
346
document.write(' <input type="text" name="q" size="27" />');
347
document.write(' <input type="submit" name="sa" value="Search" />');
348
document.write(' </div>');
349
document.write('</form>');
351
<div id="sitename"><a href="https://help.ubuntu.com/"><img alt="Official Documentation" src="https://help.ubuntu.com/htdocs/ubuntunew/img/help-about.png" /><span>Official Documentation</span></a>
352
</div> <!-- sitename -->
353
</div> <!-- header -->
355
<xsl:apply-templates mode="html.header.mode" select="$node"/>
357
<xsl:apply-templates mode="html.body.mode" select="$node"/>
358
</div> <!-- content -->
361
<div id="ubuntulinks">
362
<p>The material in this document is available under a free license, see <a href="/legal.html">Legal</a> for details<br />
363
For information on contributing see the <a href="https://wiki.ubuntu.com/DocumentationTeam">Ubuntu Documentation Team wiki page</a>. To report a problem, visit the <a href="https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs">bug page for Ubuntu Documentation</a></p>
364
</div> <!-- ubuntulinks -->
366
</div> <!-- footer -->
368
<img src="https://help.ubuntu.com/htdocs/ubuntunew/img/cap-bottom.png" alt=""/>
369
</div> <!-- bottomcap -->
371
</div> <!-- layout -->
372
</div> <!-- round -->
377
<xsl:template name="mal2html.page.linktrails.trail">
378
<xsl:param name="node" select="."/>
380
<a href="https://help.ubuntu.com" class="trail">Ubuntu Documentation</a>
381
<xsl:variable name="direction">
382
<xsl:call-template name="l10n.direction"/>
385
<xsl:when test="$direction = 'rtl'">
387
<xsl:when test="$node/@child = 'section'">
388
<xsl:text> ‹ </xsl:text>
391
<xsl:text> « </xsl:text>
397
<xsl:when test="$node/@child = 'section'">
398
<xsl:text> › </xsl:text>
401
<xsl:text> » </xsl:text>
406
<a href="https://help.ubuntu.com/11.04" class="trail">Ubuntu 11.04</a>
408
<xsl:when test="$direction = 'rtl'">
410
<xsl:when test="$node/@child = 'section'">
411
<xsl:text> ‹ </xsl:text>
414
<xsl:text> « </xsl:text>
420
<xsl:when test="$node/@child = 'section'">
421
<xsl:text> › </xsl:text>
424
<xsl:text> » </xsl:text>
430
<xsl:call-template name="mal2html.page.linktrails.link">
431
<xsl:with-param name="node" select="$node"/>