slitaz-dev-tools view slitaz-mercurial-style/templates/slitaz/footer.tmpl @ rev 231

may resize qrcode
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 26 09:27:03 2014 +0200 (2014-06-26)
parents 31695e9c1c85
children 35f40719ec56
line source
2 <!-- Footer -->
4 <script type="text/javascript">
5 function QRCodePNG(str, obj) \{
6 try \{
7 obj.height = obj.width += 300;
8 return QRCode.generatePNG(str, \{ecclevel: 'H'});
9 }
10 catch (any) \{
11 var element = document.createElement("script");
12 element.src = "{staticurl}qrcode.js";
13 element.type ="text/javascript";
14 element.onload = function() \{
15 obj.src = QRCode.generatePNG(str, \{ecclevel: 'H'});
16 };
17 document.body.appendChild(element);
18 }
19 }
20 </script>
22 <div id="footer">
23 Copyright &copy; <span class="year"></span>
24 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
25 <a href="http://scn.slitaz.org/">Community</a>
26 <a href="http://doc.slitaz.org/">Doc</a>
27 <a href="http://forum.slitaz.org/">Forum</a>
28 <a href="http://pkgs.slitaz.org/">Packages</a>
29 <a href="http://bugs.slitaz.org">Bugs</a>
30 <a href="http://hg.slitaz.org/">Hg</a>
31 <p>
32 <img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
33 onclick="this.src = QRCodePNG(location.href, this)" />
34 <a href="http://twitter.com/slitaz">Twitter</a>
35 <a href="http://www.facebook.com/slitaz">Facebook</a>
36 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
37 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
38 <a href="http://flattr.com/profile/slitaz">Flattr</a>
39 </p>
40 </div>
42 </body>
43 </html>