slitaz-forge rev 349

mirror: add QR code (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 19:56:45 2013 +0100 (2013-03-20)
parents 3400ef04250b
children 58373ad94f44
files mirror/floppies/builder/index.php mirror/floppies/mkindex.sh mirror/info/graphs.php mirror/info/index.php mirror/root/dir-generator.php pkgs/lib/footer.sh usbkey/tail.php
line diff
     1.1 --- a/mirror/floppies/builder/index.php	Wed Mar 20 18:32:44 2013 +0100
     1.2 +++ b/mirror/floppies/builder/index.php	Wed Mar 20 19:56:45 2013 +0100
     1.3 @@ -494,7 +494,8 @@
     1.4  </p>
     1.5  <p>
     1.6  	<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     1.7 -	     onclick= "this.width = this.height = 300;" />
     1.8 +	     onmouseover= "this.title = location.href"
     1.9 +	     onclick= "this.width = this.height = 300" />
    1.10  	<script type="text/javascript" src="/static/qrcode.js"></script>
    1.11  	<script type="text/javascript">
    1.12  		document.getElementById('qrcodeimg').src =
     2.1 --- a/mirror/floppies/mkindex.sh	Wed Mar 20 18:32:44 2013 +0100
     2.2 +++ b/mirror/floppies/mkindex.sh	Wed Mar 20 19:56:45 2013 +0100
     2.3 @@ -218,7 +218,8 @@
     2.4  </p>
     2.5  <p>
     2.6  	<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     2.7 -	     onclick= "this.width = this.height = 300;" />
     2.8 +	     onmouseover= "this.title = location.href"
     2.9 +	     onclick= "this.width = this.height = 300" />
    2.10  	<script type="text/javascript" src="static/qrcode.js"></script>
    2.11  	<script type="text/javascript">
    2.12  		document.getElementById('qrcodeimg').src =
     3.1 --- a/mirror/info/graphs.php	Wed Mar 20 18:32:44 2013 +0100
     3.2 +++ b/mirror/info/graphs.php	Wed Mar 20 19:56:45 2013 +0100
     3.3 @@ -146,7 +146,8 @@
     3.4  	</p>
     3.5  	<p>
     3.6  		<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     3.7 -		     onclick= "this.width = this.height = 300;" />
     3.8 +		     onmouseover= "this.title = location.href"
     3.9 +		     onclick= "this.width = this.height = 300" />
    3.10  		<script type="text/javascript" src="/static/qrcode.js"></script>
    3.11  		<script type="text/javascript">
    3.12  			document.getElementById('qrcodeimg').src =
     4.1 --- a/mirror/info/index.php	Wed Mar 20 18:32:44 2013 +0100
     4.2 +++ b/mirror/info/index.php	Wed Mar 20 19:56:45 2013 +0100
     4.3 @@ -362,7 +362,8 @@
     4.4  	</p>
     4.5  	<p>
     4.6  		<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     4.7 -		     onclick= "this.width = this.height = 300;" />
     4.8 +		     onmouseover= "this.title = location.href"
     4.9 +		     onclick= "this.width = this.height = 300" />
    4.10  		<script type="text/javascript" src="/static/qrcode.js"></script>
    4.11  		<script type="text/javascript">
    4.12  			document.getElementById('qrcodeimg').src =
     5.1 --- a/mirror/root/dir-generator.php	Wed Mar 20 18:32:44 2013 +0100
     5.2 +++ b/mirror/root/dir-generator.php	Wed Mar 20 19:56:45 2013 +0100
     5.3 @@ -480,7 +480,8 @@
     5.4  	</p>
     5.5  	<p>
     5.6  		<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     5.7 -		     onclick= "this.width = this.height = 300;" />
     5.8 +		     onmouseover= "this.title = location.href"
     5.9 +		     onclick= "this.width = this.height = 300" />
    5.10  		<script type="text/javascript" src="/static/qrcode.js"></script>
    5.11  		<script type="text/javascript">
    5.12  			document.getElementById('qrcodeimg').src =
     6.1 --- a/pkgs/lib/footer.sh	Wed Mar 20 18:32:44 2013 +0100
     6.2 +++ b/pkgs/lib/footer.sh	Wed Mar 20 19:56:45 2013 +0100
     6.3 @@ -13,7 +13,8 @@
     6.4  $(gettext "SliTaz Packages")
     6.5  <p>
     6.6  	<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     6.7 -	     onclick= "this.width = this.height = 300;" />
     6.8 +	     onmouseover= "this.title = location.href"
     6.9 +	     onclick= "this.width = this.height = 300" />
    6.10  	<script type="text/javascript" src="http://mirror.slitaz.org/static/qrcode.js"></script>
    6.11  	<script type="text/javascript">
    6.12  		document.getElementById('qrcodeimg').src =
     7.1 --- a/usbkey/tail.php	Wed Mar 20 18:32:44 2013 +0100
     7.2 +++ b/usbkey/tail.php	Wed Mar 20 19:56:45 2013 +0100
     7.3 @@ -14,7 +14,8 @@
     7.4  </p>
     7.5  <p>
     7.6  	<img src="#" id="qrcodeimg" alt="#" width="60" height="60"
     7.7 -	     onclick= "this.width = this.height = 300;" />
     7.8 +	     onmouseover= "this.title = location.href"
     7.9 +	     onclick= "this.width = this.height = 300" />
    7.10  	<script type="text/javascript" src="/static/qrcode.js"></script>
    7.11  	<script type="text/javascript">
    7.12  		document.getElementById('qrcodeimg').src =