1 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> |
---|
2 | |
---|
3 | <xsl:import href="/usr/share/xml/gnome/xslt/docbook/html/db2html.xsl"/> |
---|
4 | |
---|
5 | <xsl:param name="db.chunk.chunk_top">0</xsl:param> |
---|
6 | <xsl:param name="db.chunk.max_depth">2</xsl:param> |
---|
7 | |
---|
8 | <!-- Q&A のスタイル変更 --> |
---|
9 | <xsl:template match="question" mode="label.markup"> |
---|
10 | <xsl:text>Q</xsl:text> |
---|
11 | <xsl:number level="multiple" count="qandaentry" format="1"/> |
---|
12 | </xsl:template> |
---|
13 | <xsl:template match="answer" mode="label.markup"> |
---|
14 | <xsl:text>A</xsl:text> |
---|
15 | <xsl:number level="multiple" count="qandaentry" format="1"/> |
---|
16 | </xsl:template> |
---|
17 | |
---|
18 | <!--xsl:param name=""></xsl:param> |
---|
19 | <xsl:param name=""></xsl:param--> |
---|
20 | <!-- 上部のナビゲーションバーを変更 --> |
---|
21 | <xsl:template name="db2html.division.top"> |
---|
22 | <div id="toplogo"> |
---|
23 | <img src="@IMAGEDIR@/logo-vinelinux-nostring.png" alt="Vine Linux" /> |
---|
24 | <div id="toplogo-title"> |
---|
25 | <h1><strong>V</strong>ine<strong>L</strong>inux オンラインマニュアル</h1> |
---|
26 | |
---|
27 | <p>- コンパクトで軽量な日本語ディストリビューション -</p> |
---|
28 | </div> |
---|
29 | </div> |
---|
30 | <div id="menu"> |
---|
31 | <ul id="main"> |
---|
32 | <li><a class="left" href="/">ホーム</a></li> |
---|
33 | <li><a href="/aboutvinelinux.html">Vine Linux</a></li> |
---|
34 | <li><a href="/download.html">ダウンロード</a></li> |
---|
35 | <li><a href="/documentation.html">ドキュメント</a></li> |
---|
36 | <li><a href="/books.html">書籍</a></li> |
---|
37 | <li><a href="/ml.html">ML</a></li> |
---|
38 | <li><a href="/errata.html">エラッタ情報</a></li> |
---|
39 | <li><a href="/bts.html">バグ情報</a></li> |
---|
40 | <li><a href="/projects.html">プロジェクト</a></li> |
---|
41 | <li><a href="http://planet.vinelinux.org/">開発者ブログ</a></li> |
---|
42 | <li><a href="http://trac.vinelinux.org/">Wiki</a></li> |
---|
43 | </ul> |
---|
44 | </div> |
---|
45 | </xsl:template> |
---|
46 | |
---|
47 | <!-- 下部のナビゲーションバーの後にフッタを追加 --> |
---|
48 | <xsl:template name="db2html.division.bottom"> |
---|
49 | <xsl:param name="node"/> |
---|
50 | <xsl:param name="info" select="/false"/> |
---|
51 | <xsl:param name="template"/> |
---|
52 | <xsl:param name="depth_of_chunk"> |
---|
53 | <xsl:call-template name="db.chunk.depth-of-chunk"> |
---|
54 | <xsl:with-param name="node" select="$node"/> |
---|
55 | </xsl:call-template> |
---|
56 | </xsl:param> |
---|
57 | <xsl:param name="prev_id"> |
---|
58 | <xsl:choose> |
---|
59 | <xsl:when test="$depth_of_chunk = 0"> |
---|
60 | <xsl:if test="$info and $db.chunk.info_chunk"> |
---|
61 | <xsl:value-of select="$db.chunk.info_basename"/> |
---|
62 | </xsl:if> |
---|
63 | </xsl:when> |
---|
64 | <xsl:otherwise> |
---|
65 | <xsl:call-template name="db.chunk.chunk-id.axis"> |
---|
66 | <xsl:with-param name="node" select="$node"/> |
---|
67 | <xsl:with-param name="axis" select="'previous'"/> |
---|
68 | <xsl:with-param name="depth_in_chunk" select="0"/> |
---|
69 | <xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/> |
---|
70 | </xsl:call-template> |
---|
71 | </xsl:otherwise> |
---|
72 | </xsl:choose> |
---|
73 | </xsl:param> |
---|
74 | <xsl:param name="next_id"> |
---|
75 | <xsl:call-template name="db.chunk.chunk-id.axis"> |
---|
76 | <xsl:with-param name="node" select="$node"/> |
---|
77 | <xsl:with-param name="axis" select="'next'"/> |
---|
78 | <xsl:with-param name="depth_in_chunk" select="0"/> |
---|
79 | <xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/> |
---|
80 | </xsl:call-template> |
---|
81 | </xsl:param> |
---|
82 | <xsl:param name="prev_node" select="key('idkey', $prev_id)"/> |
---|
83 | <xsl:param name="next_node" select="key('idkey', $next_id)"/> |
---|
84 | <xsl:if test="$db2html.navbar.bottom"> |
---|
85 | <xsl:call-template name="db2html.navbar"> |
---|
86 | <xsl:with-param name="node" select="$node"/> |
---|
87 | <xsl:with-param name="prev_id" select="$prev_id"/> |
---|
88 | <xsl:with-param name="next_id" select="$next_id"/> |
---|
89 | <xsl:with-param name="prev_node" select="$prev_node"/> |
---|
90 | <xsl:with-param name="next_node" select="$next_node"/> |
---|
91 | <xsl:with-param name="position" select="'bottom'"/> |
---|
92 | </xsl:call-template> |
---|
93 | <div id="ads-footer"> |
---|
94 | <p class="byline"></p> |
---|
95 | <script type="text/javascript"><!-- |
---|
96 | google_ad_client = "pub-0334540465096658"; |
---|
97 | /* vinelinux bottom wide */ |
---|
98 | google_ad_slot = "6992354029"; |
---|
99 | google_ad_width = 728; |
---|
100 | google_ad_height = 90; |
---|
101 | //--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> |
---|
102 | </div> |
---|
103 | <div id="footer"> |
---|
104 | <div id="footmenu"> |
---|
105 | <a href="/projectvine.html">Project Vine について</a> | |
---|
106 | <a href="/copyright.html">このサイトについて</a> | |
---|
107 | <a href="/privacypolicy.html">プライバシーポリシー</a> | |
---|
108 | <a href="/donation.html">ご協力・ご寄付について</a> | |
---|
109 | <a href="http://trac.vinelinux.org/wiki/Vine6/Roadmap">ロードマップ</a> |
---|
110 | </div> |
---|
111 | <p><a href="/copyright.html"> |
---|
112 | Copyright (C)1998-2011 Project Vine, All Rights Reserved.</a></p> |
---|
113 | </div> |
---|
114 | </xsl:if> |
---|
115 | </xsl:template> |
---|
116 | |
---|
117 | <!-- スタイルシートを独自のものに変更 --> |
---|
118 | <xsl:template name="db2html.css"> |
---|
119 | <link rel="stylesheet" type="text/css" href="@CSSFILE@"/> |
---|
120 | </xsl:template> |
---|
121 | </xsl:stylesheet> |
---|
122 | |
---|