source: projects/Vine-manual/trunk/web.xsl @ 1371

Revision 1371, 6.9 KB checked in by daisuke, 14 years ago (diff)

add google analytics code

Line 
1<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
2
3        <xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl"/>
4        <xsl:param name="html.stylesheet">web.css</xsl:param>
5
6        <xsl:param name="toc.section.depth">1</xsl:param>
7        <xsl:param name="section.autolabel">1</xsl:param>
8        <xsl:param name="section.label.includes.component.label">1</xsl:param>
9        <xsl:param name="use.id.as.filename">1</xsl:param>
10        <xsl:param name="css.decoration">0</xsl:param>
11        <xsl:param name="root.filename" />
12        <xsl:param name="admon.style" />
13
14        <xsl:template match="question" mode="label.markup">
15                <xsl:text>Q</xsl:text>
16                <xsl:number level="multiple" count="qandaentry" format="1"/>
17        </xsl:template>
18        <xsl:template match="answer" mode="label.markup">
19                <xsl:text>A</xsl:text>
20                <xsl:number level="multiple" count="qandaentry" format="1"/>
21        </xsl:template>
22
23
24        <xsl:template name="chunk-element-content">
25                <xsl:param name="prev"/>
26                <xsl:param name="next"/>
27                <xsl:param name="nav.context"/>
28                <xsl:param name="content">
29                        <xsl:apply-imports/>
30                </xsl:param>
31
32                <xsl:call-template name="user.preroot"/>
33
34                <html>
35                        <xsl:call-template name="html.head">
36                                <xsl:with-param name="prev" select="$prev"/>
37                                <xsl:with-param name="next" select="$next"/>
38                        </xsl:call-template>
39
40<script type="text/javascript">
41  var _gaq = _gaq || [];
42  _gaq.push(['_setAccount', 'UA-156959-1']);
43  _gaq.push(['_trackPageview']);
44  (function() {
45    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
46    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
47    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
48  })();
49</script>
50
51                        <body>
52<!-- HEADER -->
53<div id="toplogo">
54  <img src="/images/logo-vinelinux-nostring.png" alt="Vine Linux" />
55  <div id="toplogo-title">
56  <h1><strong>V</strong>ine<strong>L</strong>inux</h1>
57  <p>- コンパクトで軽量な日本語ディストリビューション -</p>
58  </div>
59
60  <!-- ADs/HEADER -->
61  <div id="ads">
62<script type="text/javascript"><xsl:comment>
63google_ad_client = "pub-0334540465096658";
64/* 468x60, trac header */
65google_ad_slot = "4820888114";
66google_ad_width = 468;
67google_ad_height = 60;
68//</xsl:comment>
69</script>
70<script type="text/javascript"
71src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
72</script>
73  </div>
74</div>
75<!-- End HEADER -->
76
77<div id="menu">
78  <ul id="main">
79    <li><a class="left" href="/">ホーム</a></li>
80    <li><a href="/aboutvinelinux.html">Vine Linux について</a></li>
81    <li><a href="/download.html">ダウンロード</a></li>
82    <li><a href="/documentation.html">ドキュメント</a></li>
83    <li><a href="/errata.html">更新情報</a></li>
84    <li><a href="http://bts.vinelinux.org/">バグ情報</a></li>
85    <li><a href="/projects.html">プロジェクト</a></li>
86    <li><a href="http://planet.vinelinux.org/">開発者ブログ</a></li>
87    <li><a href="http://trac.vinelinux.org/">Wiki</a></li>
88  </ul>
89</div>
90<!-- End Menu -->
91                                <div id="wrapper">
92                                <!-- start page -->
93                                <div id="page">
94                                <div id="headbar" style="float:right;width:220px;text-align:right;">
95<!-- SiteSearch Google -->
96<form action="http://www.google.co.jp/cse" id="cse-search-box">
97  <div>
98    <input type="hidden" name="cx" value="partner-pub-0334540465096658:bgcvwkeq43j" />
99    <input type="hidden" name="ie" value="ISO-2022-JP" />
100    <input type="text" name="q" size="25" />
101    <input type="submit" name="sa" value="&#x691c;&#x7d22;" />
102  </div>
103</form>
104<script type="text/javascript" src="http://www.google.co.jp/cse/brand?form=cse-search-box&amp;lang=ja"></script>
105<!-- SiteSearch Google -->
106                                     </div>
107                                     <div align="left" width="728">
108<script type="text/javascript"><xsl:comment>
109google_ad_client = "pub-0334540465096658";
110/* vinelinux bottom wide */
111google_ad_slot = "6992354029";
112google_ad_width = 728;
113google_ad_height = 90;
114//</xsl:comment>
115</script>
116<script type="text/javascript"
117src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
118</script>
119                                     </div>
120<p class="byline"></p>
121                               
122                                     <!-- start content -->
123                                     <div id="content-full">
124                                                <xsl:call-template name="header.navigation">
125                                                        <xsl:with-param name="prev" select="$prev"/>
126                                                        <xsl:with-param name="next" select="$next"/>
127                                                        <xsl:with-param name="nav.context" select="$nav.context"/>
128                                                </xsl:call-template>
129
130<div id="ads-footer">
131<script type="text/javascript"><xsl:comment>
132google_ad_client = "pub-0334540465096658";
133/* vinelinux link-unit */
134google_ad_slot = "4566651758";
135google_ad_width = 728;
136google_ad_height = 15;
137//</xsl:comment>
138</script>
139<script type="text/javascript"
140src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
141</script>
142<p class="byline"></p>
143</div>
144
145                                                <xsl:copy-of select="$content"/>
146
147<div id="ads-footer">
148<p class="byline"></p>
149<script type="text/javascript"><xsl:comment>
150google_ad_client = "pub-0334540465096658";
151/* vinelinux link-unit */
152google_ad_slot = "4566651758";
153google_ad_width = 728;
154google_ad_height = 15;
155//</xsl:comment>
156</script>
157<script type="text/javascript"
158src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
159</script>
160<script type="text/javascript"><xsl:comment>
161google_ad_client = "pub-0334540465096658";
162/* vinelinux bottom wide */
163google_ad_slot = "6992354029";
164google_ad_width = 728;
165google_ad_height = 90;
166//</xsl:comment>
167</script>
168<script type="text/javascript"
169src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
170</script>
171</div>
172
173                                                <xsl:call-template name="footer.navigation">
174                                                        <xsl:with-param name="prev" select="$prev"/>
175                                                        <xsl:with-param name="next" select="$next"/>
176                                                        <xsl:with-param name="nav.context" select="$nav.context"/>
177                                                </xsl:call-template>
178
179                                                <xsl:call-template name="user.footer.navigation"/>
180                                     </div><!-- end content-wide -->
181
182<div style="clear: both;"> </div>
183
184<div id="footlinks">
185  <p class="byline"></p>
186  <a href="http://apt-rpm.org/">
187    <img src="/images/apt-rpm.png" alt="apt-rpm" /></a>
188  <a href="http://vinecaves.com/">
189    <img src="/images/vinecaves.png" alt="vinecaves" /></a>
190  <a href="http://www.n-brain.co.jp/vine">
191    <img src="/images/n-brain-logo.png" alt="brain" /></a>
192  <a href="http://distrowatch.com/vine">
193    <img src="/images/distrowatch.png" alt="distrowatch" /></a>
194</div>
195<!-- end footlinks -->
196
197</div>
198<!-- end page -->
199</div>
200<div id="footer">
201    <div id="footmenu">
202        <a href="/projectvine.html">Project Vine について</a> |
203        <a href="/copyright.html">このサイトについて</a> |
204        <a href="/privacypolicy.html">プライバシーポリシー</a> |
205        <a href="/donation.html">ご協力・ご寄付について</a> |
206        <a href="http://trac.vinelinux.org/wiki/Vine6/Roadmap">ロードマップ</a>
207    </div>
208    <p><a href="/copyright.html">
209       Copyright (c) 1998-2010 Project Vine, All Rights Reserved.</a></p>
210</div>
211</body>
212</html>
213
214
215        </xsl:template>
216
217</xsl:stylesheet>
218
Note: See TracBrowser for help on using the repository browser.