slitaz-forge annotate usbkey/tail.php @ rev 348

mirror: add QR code
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 18:32:44 2013 +0100 (2013-03-20)
parents cce1cb7393b6
children 41bfd0397973
rev   line source
pascal@204 1 <!-- Start of footer and copy notice -->
pascal@204 2 <div id="copy">
pascal@204 3 <p>
pascal@204 4 Copyright &copy; <span class="year"></span> <a href="http://www.slitaz.org/">SliTaz</a> -
pascal@204 5 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>
pascal@204 6 </p>
pascal@204 7 <!-- End of copy -->
pascal@204 8 </div>
pascal@204 9
pascal@204 10 <!-- Bottom and logo's -->
pascal@204 11 <div id="bottom">
pascal@204 12 <p>
pascal@204 13 <a href="http://validator.w3.org/check?uri=referer"><img src="/static/xhtml10.png" alt="Valid XHTML 1.0" title="Code validé XHTML 1.0" style="width: 80px; height: 15px;" /></a>
pascal@204 14 </p>
pascal@348 15 <p>
pascal@348 16 <img src="#" id="qrcodeimg" alt="#" width="60" height="60"
pascal@348 17 onclick= "this.width = this.height = 300;" />
pascal@348 18 <script type="text/javascript" src="/static/qrcode.js"></script>
pascal@348 19 <script type="text/javascript">
pascal@348 20 document.getElementById('qrcodeimg').src =
pascal@348 21 QRCode.generatePNG(location.href, {ecclevel: 'H'});
pascal@348 22 </script>
pascal@348 23 </p>
pascal@204 24 </div>
pascal@204 25
pascal@204 26 </body>
pascal@204 27 </html>