slitaz-forge rev 363

Add QR code static image
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 00:32:14 2013 +0000 (2013-04-24)
parents 4eb396728baa
children 60059c7485c2
files forum/my-templates/slitaz/footer.php forum/my-templates/slitaz/images/qr.png mirror/root/dir-generator.php mirror/root/static/qr.png pro/images/qr.png pro/lib/html/footer.html pro/lib/html/footer.ru.html scn/themes/slitaz/footer.php scn/themes/slitaz/qr.png tank/web/images/qr.png tank/web/lib/html/footer.html
line diff
     1.1 --- a/forum/my-templates/slitaz/footer.php	Sun Apr 21 11:34:07 2013 +0000
     1.2 +++ b/forum/my-templates/slitaz/footer.php	Wed Apr 24 00:32:14 2013 +0000
     1.3 @@ -14,7 +14,8 @@
     1.4  		<a href="http://bugs.slitaz.org">Bugs</a>
     1.5  		<a href="http://hg.slitaz.org/">Hg</a>
     1.6  		<p>
     1.7 -			<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
     1.8 +			<img src="/my-templates/slitaz/images/qr.png" alt="SliTaz @"
     1.9 +			 onmouseover="this.title = location.href"
    1.10  			 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
    1.11  			<a href="http://twitter.com/slitaz">Twitter</a>
    1.12  			<a href="http://www.facebook.com/slitaz">Facebook</a>
     2.1 Binary file forum/my-templates/slitaz/images/qr.png has changed
     3.1 --- a/mirror/root/dir-generator.php	Sun Apr 21 11:34:07 2013 +0000
     3.2 +++ b/mirror/root/dir-generator.php	Wed Apr 24 00:32:14 2013 +0000
     3.3 @@ -438,7 +438,7 @@
     3.4  foreach($filelist as $file) {
     3.5  	print "<tr><td class='n'><a href='" . addslashes($file['name']). "'>" .htmlentities($file['name']). "</a></td>";
     3.6  	print "<td class='m'>" . $file['modtimeasc'] . "</td>";
     3.7 -	print "<td class='s'><u><img src=\"#\" alt=\"" .
     3.8 +	print "<td class='s'><u><img src=\"/static/qr.png\" alt=\"" .
     3.9  		format_bytes($file['size']) . "\" onmouseover=" .
    3.10  		"\"this.title = location.href+'$url'\" onclick=" .
    3.11  		"\"this.src = QRCode.generatePNG(location.href+'$url', " .
    3.12 @@ -470,7 +470,7 @@
    3.13  	<a href="http://bugs.slitaz.org">Bugs</a>
    3.14  	<a href="http://hg.slitaz.org/">Hg</a>
    3.15  	<p>
    3.16 -		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
    3.17 +		<img src="/static/qr.png" alt="SliTaz @" onmouseover="this.title = location.href"
    3.18  		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
    3.19  		<a href="http://twitter.com/slitaz">Twitter</a>
    3.20  		<a href="http://www.facebook.com/slitaz">Facebook</a>
     4.1 Binary file mirror/root/static/qr.png has changed
     5.1 Binary file pro/images/qr.png has changed
     6.1 --- a/pro/lib/html/footer.html	Sun Apr 21 11:34:07 2013 +0000
     6.2 +++ b/pro/lib/html/footer.html	Wed Apr 24 00:32:14 2013 +0000
     6.3 @@ -12,7 +12,7 @@
     6.4  	<a href="http://bugs.slitaz.org">Bugs</a>
     6.5  	<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
     6.6  	<p>
     6.7 -		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
     6.8 +		<img src="/images/qr.png" alt="SliTaz @" onmouseover="this.title = location.href"
     6.9  		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
    6.10  		<a href="http://twitter.com/slitaz">Twitter</a>
    6.11  		<a href="http://www.facebook.com/slitaz">Facebook</a>
     7.1 --- a/pro/lib/html/footer.ru.html	Sun Apr 21 11:34:07 2013 +0000
     7.2 +++ b/pro/lib/html/footer.ru.html	Wed Apr 24 00:32:14 2013 +0000
     7.3 @@ -12,7 +12,7 @@
     7.4  	<a href="http://bugs.slitaz.org">Bugs</a>
     7.5  	<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
     7.6  	<p>
     7.7 -		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
     7.8 +		<img src="/images/qr.png" alt="SliTaz @" onmouseover="this.title = location.href"
     7.9  		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
    7.10  		<a href="http://twitter.com/slitaz">Twitter</a>
    7.11  		<a href="http://www.facebook.com/slitaz">Facebook</a>
     8.1 --- a/scn/themes/slitaz/footer.php	Sun Apr 21 11:34:07 2013 +0000
     8.2 +++ b/scn/themes/slitaz/footer.php	Wed Apr 24 00:32:14 2013 +0000
     8.3 @@ -12,7 +12,8 @@
     8.4  				and <a href="http://buddypress.org">BuddyPress</a>
     8.5  			</p>
     8.6  			<p>
     8.7 -				<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
     8.8 +				<img src="/wp-content/themes/custom-community/qr.png"
     8.9 +				 alt="SliTaz @" onmouseover="this.title = location.href"
    8.10  				 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
    8.11  				<a href="http://twitter.com/slitaz">Twitter</a>
    8.12  				<a href="http://www.facebook.com/slitaz">Facebook</a>
     9.1 Binary file scn/themes/slitaz/qr.png has changed
    10.1 Binary file tank/web/images/qr.png has changed
    11.1 --- a/tank/web/lib/html/footer.html	Sun Apr 21 11:34:07 2013 +0000
    11.2 +++ b/tank/web/lib/html/footer.html	Wed Apr 24 00:32:14 2013 +0000
    11.3 @@ -12,7 +12,7 @@
    11.4  	<a href="http://bugs.slitaz.org">Bugs</a>
    11.5  	<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
    11.6  	<p>
    11.7 -		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
    11.8 +		<img src="/images/qr.png" alt="SliTaz @" onmouseover="this.title = location.href"
    11.9  		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />
   11.10  		<a href="http://twitter.com/slitaz">Twitter</a>
   11.11  		<a href="http://www.facebook.com/slitaz">Facebook</a>