slitaz-forge annotate pro/lib/html/footer.ru.html @ rev 718

pangolin/web/index.php: add games.slitaz.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 25 17:27:46 2021 +0000 (2021-10-25)
parents a33dea8a7991
children
rev   line source
al@203 1 <!-- Footer -->
pascal@355 2
pascal@568 3 <script type="text/javascript">
pascal@568 4 function QRCodePNG(str, obj) {
pascal@568 5 try {
pascal@570 6 obj.height = obj.width += 300;
pascal@568 7 return QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@568 8 }
pascal@568 9 catch (any) {
pascal@568 10 var element = document.createElement("script");
pascal@568 11 element.src = "/lib/html/qrcode.js";
pascal@568 12 element.type ="text/javascript";
pascal@568 13 element.onload = function() {
pascal@568 14 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
pascal@568 15 };
pascal@568 16 document.body.appendChild(element);
pascal@568 17 }
pascal@568 18 }
pascal@568 19 </script>
pascal@355 20
al@203 21 <div id="footer">
al@203 22 Copyright © <span class="year"></span>
al@203 23 <a href="http://www.slitaz.org/">SliTaz</a> — Сеть:
al@203 24 <a href="http://scn.slitaz.org/">Сообщество</a>
al@203 25 <a href="http://doc.slitaz.org/">Документация</a>
al@203 26 <a href="http://forum.slitaz.org/">Форум</a>
al@203 27 <a href="http://pkgs.slitaz.org/">Пакеты</a>
al@203 28 <a href="http://bugs.slitaz.org">Bugs</a>
pascal@355 29 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
al@203 30 <p>
al@363 31 <img src="/images/qr.png" alt="SliTaz @" onmouseover="this.title = location.href"
pascal@568 32 onclick="this.src = QRCodePNG(location.href, this)" />
al@203 33 <a href="http://twitter.com/slitaz">Twitter</a>
al@203 34 <a href="http://www.facebook.com/slitaz">Facebook</a>
al@203 35 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
al@203 36 <a href="http://ru.wikipedia.org/wiki/SliTaz">Википедия</a>
al@203 37 <a href="http://flattr.com/profile/slitaz">Flattr</a>
al@203 38 </p>
al@203 39 </div>