tazwok rev 375
web/index.php: one more link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 13:22:51 2011 +0100 (2011-02-27) |
parents | 46bd3d58013d |
children | 7caaa05ff525 |
files | web/index.php |
line diff
1.1 --- a/web/index.php Sun Feb 27 00:43:22 2011 +0100 1.2 +++ b/web/index.php Sun Feb 27 13:22:51 2011 +0100 1.3 @@ -16,7 +16,7 @@ 1.4 while (($pkg = fgets($fp)) !== false) { 1.5 $pkg = chop($pkg); 1.6 if (file_exists("$log_dir/$pkg.html")) 1.7 - echo "<a href=\"log.php?version=$version&package=$pkg\">$pkg</a>\n"; 1.8 + echo "<a href=\"log.php?version=$version&package=$pkg\" target=\"_blank\">$pkg</a>\n"; 1.9 else echo "$pkg\n"; 1.10 } 1.11 fclose($fp); 1.12 @@ -132,7 +132,9 @@ 1.13 <a name="Summary"></a> 1.14 <h2>Summary</h2> 1.15 <?php if (strpos($_SERVER["SERVER_NAME"],"slitaz.org") !== FALSE) { ?> 1.16 -<img src="http://tank.slitaz.org/pics/rrd/cpu-day.png" title="cpu dailey" alt="cpu daily" /> 1.17 + <a href="http://tank.slitaz.org/" target="_blank"> 1.18 + <img src="http://tank.slitaz.org/pics/rrd/cpu-day.png" title="cpu daily" alt="cpu daily" /> 1.19 + </a> 1.20 <?php } ?> 1.21 <ul> 1.22 <?php 1.23 @@ -154,7 +156,7 @@ 1.24 $pkg = file_get_contents("$log_dir/package"); 1.25 $pkg = chop($pkg); 1.26 if (file_exists("$log_dir/$pkg.html")) 1.27 - $status .= " <a href=\"log.php?version=$version&package=$pkg\">$pkg</a>"; 1.28 + $status .= " <a href=\"log.php?version=$version&package=$pkg\" target=\"_blank\">$pkg</a>"; 1.29 else $status .= " $pkg"; 1.30 } 1.31 } 1.32 @@ -168,7 +170,7 @@ 1.33 ?> 1.34 <li><a href="http://hg.slitaz.org/wok<?php 1.35 if ($version != "cooking") echo "-$version"; 1.36 - echo "\">Packages in the wok</a>: "; 1.37 + echo "\" target=\"_blank\">Packages in the wok</a>: "; 1.38 system("cd $wok && ls -1 | wc -l"); ?></li> 1.39 <li>Packages in the main repository: <?php 1.40 system("cd $packages && ls -1t *.tazpkg | wc -l"); ?></li>