From 1dbfda32b21098f4e56223211aa94326063ecb3b Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Thu, 13 Jan 2011 13:49:24 +0000 Subject: reformatting code, use full php tags --- index.php | 78 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 41 insertions(+), 37 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 4e5d7df..ba7806f 100644 --- a/index.php +++ b/index.php @@ -65,46 +65,42 @@ foreach ($matches as $val) { // sort by key in reverse order to have more recent pkgs first krsort($pkgs); ?> - - + -<? echo $title ?> +<?php echo $title ?> - -

+

- -$nb_rpm_mga src.rpm rebuilt for Mageia out of $nb_rpm. List of Mandriva packages still present.
\n"; +echo sprintf( + '

%d src.rpm rebuilt for Mageia out of %d + (List of Mandriva packages still present).

', + + 'data/src.mga.txt', $nb_rpm_mga, + 'data/src.txt', $nb_rpm, + 'data/src.mdv.txt' +); + ######################################### +echo '
', + ''; -echo "\n"; foreach ($pkgs as $key => $p) { - $p["type"] = pkg_gettype(&$p); + $p["type"] = pkg_gettype($p); echo "\n"; echo "\n"; echo "\n"; @@ -179,5 +184,4 @@ foreach ($pkgs as $key => $p) {
SubmittedUserPackageTargetMediaStatus
SubmittedUserPackageTargetMediaStatus
" . key2date($key) . "" . $p["user"] . "
- -- cgit v1.2.1