slitaz-forge view doc/lib/tpl/slitaz-grey/main.php @ rev 662

tank: include sup-demo package on up-scn
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 24 08:53:29 2017 +0100 (2017-02-24)
parents ba908ef4f9ff
children
line source
1 <?php
2 /**
3 * DokuWiki SliTaz Template - With code from the default theme by
4 * Andreas Gohr <andi@splitbrain.org>
5 *
6 */
8 // must be run from within DokuWiki
9 if (!defined('DOKU_INC')) die();
11 ?>
12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
13 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
15 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
16 <head>
17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18 <title>
19 <?php tpl_pagetitle()?>
20 [<?php echo strip_tags($conf['title'])?>]
21 </title>
22 <?php tpl_metaheaders()?>
23 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
24 </head>
25 <body>
27 <div class="dokuwiki">
29 <!-- Header -->
30 <div id="header">
31 <div id="logo"></div>
32 <!-- SliTaz Network -->
33 <div id="network">
34 <a href="http://www.slitaz.org/">Home</a>
35 <a href="http://scn.slitaz.org/">Community</a>
36 <a href="http://doc.slitaz.org/">Doc</a>
37 <a href="http://forum.slitaz.org/">Forum</a>
38 <a href="http://irc.slitaz.org/">IRC</a>
39 <a href="http://pro.slitaz.org/">Pro</a>
40 <a href="http://shop.slitaz.org/">Shop</a>
41 <a href="http://bugs.slitaz.org">Bugs</a>
42 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
43 </div>
44 <h1><a href="./">SliTaz Doc</a></h1>
45 <!-- <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?> -->
46 </div>
48 <!-- SliTaz Block -->
49 <div id="block">
50 <?php html_msgarea()?>
51 <div style="text-align: justify; width: 60%; padding: 0 10px 0 0;">
52 SliTaz GNU/Linux official and community documentation wiki.
53 </div>
54 <div class="tools">
55 <img src="<?php echo DOKU_TPL?>images/tools.png" alt=".png" />
57 <div style="float: right; text-align: right;">
58 <?php tpl_button('edit')?>
59 <?php tpl_searchform()?>
60 </div>
61 <?php tpl_button('recent')?>
62 <?php tpl_button('subscription')?>
63 <?php tpl_button('admin')?>
64 <?php tpl_button('profile')?>
65 <?php tpl_button('login')?>
66 </div>
67 </div>
69 <!-- Languages -->
70 <div id="lang">
71 <?php
72 $translation = &plugin_load('helper','translation');
73 echo $translation->showTranslations();
74 ?>
75 </div>
77 <!-- Content -->
78 <div id="content">
80 <?php flush()?>
82 <!-- wikipage start -->
83 <?php tpl_content()?>
84 <!-- wikipage stop -->
86 <div class="clearer">&nbsp;</div>
87 <?php flush()?>
89 <div class="meta">
90 <div class="user">
91 <?php tpl_userinfo()?>
92 </div>
93 <div class="doc">
94 <?php tpl_pageinfo()?>
95 </div>
96 </div>
98 <div style="border-top: 1px solid #eaeaea;">
99 <div style="float: right; text-align: right;">
100 <?php tpl_button('edit')?>
101 <?php tpl_button('history')?>
102 </div>
103 <?php tpl_button('recent')?>
104 <?php tpl_button('index')?>
105 </div>
107 <!-- End of content -->
108 </div>
110 <!-- End of: class="dokuwiki" -->
111 </div>
113 <!-- Footer -->
115 <script type="text/javascript">
116 function QRCodePNG(str, obj) {
117 try {
118 obj.height = obj.width += 300;
119 return QRCode.generatePNG(str, {ecclevel: 'H'});
120 }
121 catch (any) {
122 var element = document.createElement("script");
123 element.src = "<?php echo DOKU_TPL?>qrcode.js";
124 element.type ="text/javascript";
125 element.onload = function() {
126 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
127 };
128 document.body.appendChild(element);
129 }
130 }
131 </script>
133 <div id="footer">
134 Copyright &copy; <?php echo date('Y'); ?>
135 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
136 <a href="http://scn.slitaz.org/">Community</a>
137 <a href="http://doc.slitaz.org/">Doc</a>
138 <a href="http://forum.slitaz.org/">Forum</a>
139 <a href="http://pkgs.slitaz.org/">Packages</a>
140 <a href="http://bugs.slitaz.org">Bugs</a>
141 <a href="http://hg.slitaz.org/">Hg</a>
142 <p>
143 <img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
144 onclick="this.src = QRCodePNG(location.href, this)" />
145 <a href="http://twitter.com/slitaz">Twitter</a>
146 <a href="http://www.facebook.com/slitaz">Facebook</a>
147 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
148 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
149 <a href="http://flattr.com/profile/slitaz">Flattr</a>
150 </p>
151 </div>
153 <div class="no">
154 <?php /* provide DokuWiki housekeeping, required in all templates */
155 tpl_indexerWebBug() ?>
156 </div>
158 </body>
159 </html>