~ubuntu-branches/ubuntu/lucid/gnome-doc-utils/lucid

« back to all changes in this revision

Viewing changes to xslt/docbook/html/db2html-info.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-19 08:34:21 UTC
  • mto: (2.1.1 etch) (1.1.18 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051219083421-k72rkh3n6vox1c0t
Tags: upstream-0.5.2
Import upstream version 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='utf-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
 
2
<!--
 
3
This program is free software; you can redistribute it and/or modify it under
 
4
the terms of the GNU Lesser General Public License as published by the Free
 
5
Software Foundation; either version 2 of the License, or (at your option) any
 
6
later version.
 
7
 
 
8
This program is distributed in the hope that it will be useful, but WITHOUT
 
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 
11
details.
 
12
 
 
13
You should have received a copy of the GNU Lesser General Public License
 
14
along with this program; see the file COPYING.LGPL.  If not, write to the
 
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
16
02111-1307, USA.
 
17
-->
2
18
 
3
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
20
                xmlns:doc="http://www.gnome.org/~shaunm/xsldoc"
43
59
      <xsl:call-template name="db2html.css"/>
44
60
    </head>
45
61
    <body>
46
 
      <div class="{local-name($info)}">
47
 
        <xsl:call-template name="db2html.anchor">
48
 
          <xsl:with-param name="name" select="local-name($info)"/>
49
 
        </xsl:call-template>
50
 
        <xsl:call-template name="db2html.info.title">
51
 
          <xsl:with-param name="node" select="$node"/>
52
 
          <xsl:with-param name="info" select="$info"/>
53
 
        </xsl:call-template>
54
 
        <xsl:call-template name="db2html.info.subtitle">
55
 
          <xsl:with-param name="node" select="$node"/>
56
 
          <xsl:with-param name="info" select="$info"/>
57
 
        </xsl:call-template>
58
 
        <xsl:call-template name="db2html.info.authors">
59
 
          <xsl:with-param name="node" select="$node"/>
60
 
          <xsl:with-param name="info" select="$info"/>
61
 
        </xsl:call-template>
62
 
        <xsl:call-template name="db2html.info.editors">
63
 
          <xsl:with-param name="node" select="$node"/>
64
 
          <xsl:with-param name="info" select="$info"/>
65
 
        </xsl:call-template>
66
 
        <xsl:call-template name="db2html.info.collabs">
67
 
          <xsl:with-param name="node" select="$node"/>
68
 
          <xsl:with-param name="info" select="$info"/>
69
 
        </xsl:call-template>
70
 
        <xsl:call-template name="db2html.info.translators">
71
 
          <xsl:with-param name="node" select="$node"/>
72
 
          <xsl:with-param name="info" select="$info"/>
73
 
        </xsl:call-template>
74
 
        <xsl:call-template name="db2html.info.publishers">
75
 
          <xsl:with-param name="node" select="$node"/>
76
 
          <xsl:with-param name="info" select="$info"/>
77
 
        </xsl:call-template>
78
 
        <xsl:call-template name="db2html.info.othercredits">
79
 
          <xsl:with-param name="node" select="$node"/>
80
 
          <xsl:with-param name="info" select="$info"/>
81
 
        </xsl:call-template>
82
 
        <xsl:call-template name="db2html.info.copyrights">
83
 
          <xsl:with-param name="node" select="$node"/>
84
 
          <xsl:with-param name="info" select="$info"/>
85
 
        </xsl:call-template>
86
 
        <xsl:apply-templates mode="db2html.info.mode" select="$info/legalnotice"/>
87
 
        <xsl:apply-templates mode="db2html.info.mode" select="$info/revhistory"/>
 
62
      <div class="body">
 
63
        <div class="{local-name($info)}">
 
64
          <xsl:call-template name="db2html.anchor">
 
65
            <xsl:with-param name="name" select="local-name($info)"/>
 
66
          </xsl:call-template>
 
67
          <xsl:call-template name="db2html.info.title">
 
68
            <xsl:with-param name="node" select="$node"/>
 
69
            <xsl:with-param name="info" select="$info"/>
 
70
          </xsl:call-template>
 
71
          <xsl:call-template name="db2html.info.subtitle">
 
72
            <xsl:with-param name="node" select="$node"/>
 
73
            <xsl:with-param name="info" select="$info"/>
 
74
          </xsl:call-template>
 
75
          <xsl:call-template name="db2html.info.authors">
 
76
            <xsl:with-param name="node" select="$node"/>
 
77
            <xsl:with-param name="info" select="$info"/>
 
78
          </xsl:call-template>
 
79
          <xsl:call-template name="db2html.info.editors">
 
80
            <xsl:with-param name="node" select="$node"/>
 
81
            <xsl:with-param name="info" select="$info"/>
 
82
          </xsl:call-template>
 
83
          <xsl:call-template name="db2html.info.collabs">
 
84
            <xsl:with-param name="node" select="$node"/>
 
85
            <xsl:with-param name="info" select="$info"/>
 
86
          </xsl:call-template>
 
87
          <xsl:call-template name="db2html.info.translators">
 
88
            <xsl:with-param name="node" select="$node"/>
 
89
            <xsl:with-param name="info" select="$info"/>
 
90
          </xsl:call-template>
 
91
          <xsl:call-template name="db2html.info.publishers">
 
92
            <xsl:with-param name="node" select="$node"/>
 
93
            <xsl:with-param name="info" select="$info"/>
 
94
          </xsl:call-template>
 
95
          <xsl:call-template name="db2html.info.othercredits">
 
96
            <xsl:with-param name="node" select="$node"/>
 
97
            <xsl:with-param name="info" select="$info"/>
 
98
          </xsl:call-template>
 
99
          <xsl:call-template name="db2html.info.copyrights">
 
100
            <xsl:with-param name="node" select="$node"/>
 
101
            <xsl:with-param name="info" select="$info"/>
 
102
          </xsl:call-template>
 
103
          <xsl:apply-templates mode="db2html.info.mode" select="$info/legalnotice"/>
 
104
          <xsl:apply-templates mode="db2html.info.mode" select="$info/revhistory"/>
 
105
        </div>
88
106
      </div>
89
107
    </body>
90
108
  </html>
203
221
  <xsl:if test="$authors">
204
222
    <div>
205
223
      <h2 class="author">
206
 
        <xsl:call-template name="gettext">
 
224
        <xsl:call-template name="l10n.gettext">
207
225
          <xsl:with-param name="msgid" select="'Author'"/>
208
226
          <xsl:with-param name="number" select="count($authors)"/>
209
227
        </xsl:call-template>
245
263
  <xsl:if test="$editors">
246
264
    <div>
247
265
      <h2 class="editor">
248
 
        <xsl:call-template name="gettext">
 
266
        <xsl:call-template name="l10n.gettext">
249
267
          <xsl:with-param name="msgid" select="'Editor'"/>
250
268
          <xsl:with-param name="number" select="count($editors)"/>
251
269
        </xsl:call-template>
287
305
  <xsl:if test="$collabs">
288
306
    <div>
289
307
      <h2 class="collab">
290
 
        <xsl:call-template name="gettext">
 
308
        <xsl:call-template name="l10n.gettext">
291
309
          <xsl:with-param name="msgid" select="'Collaborator'"/>
292
310
          <xsl:with-param name="number" select="count($collabs)"/>
293
311
        </xsl:call-template>
332
350
  <xsl:if test="$translators">
333
351
    <div>
334
352
      <h2 class="translator">
335
 
        <xsl:call-template name="gettext">
 
353
        <xsl:call-template name="l10n.gettext">
336
354
          <xsl:with-param name="msgid" select="'Translator'"/>
337
355
          <xsl:with-param name="number" select="count($translators)"/>
338
356
        </xsl:call-template>
373
391
  <xsl:if test="$publishers">
374
392
    <div>
375
393
      <h2 class="publisher">
376
 
        <xsl:call-template name="gettext">
 
394
        <xsl:call-template name="l10n.gettext">
377
395
          <xsl:with-param name="msgid" select="'Publisher'"/>
378
396
          <xsl:with-param name="number" select="count($publishers)"/>
379
397
        </xsl:call-template>
419
437
  <xsl:if test="$othercredits">
420
438
    <div>
421
439
      <h2 class="othercredit">
422
 
        <xsl:call-template name="gettext">
 
440
        <xsl:call-template name="l10n.gettext">
423
441
          <xsl:with-param name="msgid" select="'Other Contributor'"/>
424
442
          <xsl:with-param name="number" select="count($othercredits)"/>
425
443
        </xsl:call-template>
460
478
  <xsl:if test="$copyrights">
461
479
    <div>
462
480
      <h2 class="copyright">
463
 
        <xsl:call-template name="gettext">
 
481
        <xsl:call-template name="l10n.gettext">
464
482
          <xsl:with-param name="msgid" select="'Copyright'"/>
465
483
          <xsl:with-param name="number" select="count($copyrights)"/>
466
484
        </xsl:call-template>
496
514
<xsl:template mode="db2html.info.mode" match="affiliation">
497
515
  <dd class="affiliation">
498
516
    <i>
499
 
      <xsl:call-template name="gettext">
 
517
      <xsl:call-template name="l10n.gettext">
500
518
        <xsl:with-param name="msgid" select="'Affiliation'"/>
501
519
      </xsl:call-template>
502
520
      <xsl:text>: </xsl:text>
578
596
<!-- = db2html.info.mode == copyright = -->
579
597
<xsl:template mode="db2html.info.mode" match="copyright">
580
598
  <dt class="copyright">
581
 
    <xsl:call-template name="gettext">
 
599
    <xsl:call-template name="l10n.gettext">
582
600
      <xsl:with-param name="msgid" select="'Copyright'"/>
583
601
    </xsl:call-template>
584
602
    <xsl:text>&#x00A0;©&#x00A0;</xsl:text>
623
641
<xsl:template mode="db2html.info.mode" match="email">
624
642
  <dd class="affiliation">
625
643
    <i>
626
 
      <xsl:call-template name="gettext">
 
644
      <xsl:call-template name="l10n.gettext">
627
645
        <xsl:with-param name="msgid" select="'Email'"/>
628
646
      </xsl:call-template>
629
647
      <xsl:text>: </xsl:text>
646
664
    <xsl:call-template name="db2html.anchor"/>
647
665
    <xsl:if test="not(title)">
648
666
      <h2>
649
 
        <xsl:call-template name="gettext">
 
667
        <xsl:call-template name="l10n.gettext">
650
668
          <xsl:with-param name="msgid" select="'Legal Notice'"/>
651
669
        </xsl:call-template>
652
670
      </h2>
718
736
  <div class="revhistory">
719
737
    <xsl:call-template name="db2html.anchor"/>
720
738
    <h2>
721
 
      <xsl:call-template name="gettext">
 
739
      <xsl:call-template name="l10n.gettext">
722
740
        <xsl:with-param name="msgid" select="'Revision History'"/>
723
741
      </xsl:call-template>
724
742
    </h2>