slitaz-forge diff mirror/info/graphs.php @ rev 564

Add pkgs/po/zh_TW.po (thanks lunglungyu)
author Paul Issott <paul@slitaz.org>
date Sat Jun 07 20:36:27 2014 +0100 (2014-06-07)
parents 739ec2d4677a
children a33dea8a7991
line diff
     1.1 --- a/mirror/info/graphs.php	Tue Mar 26 09:19:18 2013 +0100
     1.2 +++ b/mirror/info/graphs.php	Sat Jun 07 20:36:27 2014 +0100
     1.3 @@ -56,12 +56,13 @@
     1.4  	<h4>Codename: <?php echo $host; ?></h4>
     1.5  		<p>
     1.6  			This is the SliTaz GNU/Linux main mirror. The server runs naturally SliTaz 
     1.7 -			(stable) in an lguest virtual machine provided by 
     1.8 +			(stable) in an UML virtual machine provided by 
     1.9  			<a href="http://www.ads-lu.com/">Allied Data Sys. (ADS)</a>.
    1.10  		</p>
    1.11  		<p>
    1.12 -			Mirror CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .         
    1.13 -			"s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
    1.14 +			Mirror CPU is a <?php system("( sed '/cpuinfo=/!d;" .
    1.15 +			"s/.*cpuinfo=\\([^ ]*\).*/: \\1/;s/_/ /g' /proc/cmdline ; grep '^model name' /proc/cpuinfo) | sed -e 's/.*Intel(R) //;" .
    1.16 +			"s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //;q' |" .
    1.17  			" awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
    1.18  			"if (n == 4) printf \"quad \"; print s }' ")?> -
    1.19  			<?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
    1.20 @@ -132,7 +133,7 @@
    1.21  	<a href="http://pkgs.slitaz.org/">Packages</a>
    1.22  	<a href="http://boot.slitaz.org/">Boot</a>
    1.23  	<a href="http://bugs.slitaz.org">Bugs</a>
    1.24 -	<a href="http://hg.slitaz.org/">Hg</a>
    1.25 +	<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
    1.26  	<p>
    1.27  		<img src="#" alt="SliTaz @" onmouseover="this.title = location.href"
    1.28  		 onclick="this.src = QRCode.generatePNG(location.href, {ecclevel: 'H'})" />