From 449959fe84ca08bcfcd5507d91114ec11c34120a Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Tue, 25 May 2010 08:24:17 +0200 Subject: Change all page layout and validate xhtml 1.0 strict --- all.php | 289 +++++++++++++++++++++++++-------------------------------- css/rpmphp.css | 4 + rpm.php | 1 - 3 files changed, 130 insertions(+), 164 deletions(-) diff --git a/all.php b/all.php index 2dfe2f4..08e6618 100644 --- a/all.php +++ b/all.php @@ -1,68 +1,33 @@ - - - - Packages in Fedora - - - - - - - + + + + Packages in Fedora + + + + + - -
- - -
- +
+ +
+
+

You are here:

+ +
+
- + query($sql); if ($res)while ($start = $res->fetchObject()) { - printf("", $start->init, ($what==$start->init ? "selected='1'" : ""), substr($start->init,1)); + printf("\t\t\t\t\t\t\t\t\t\n", $start->init, ($what==$start->init ? " selected=\"selected\"" : ""), substr($start->init,1)); } else { - echo ""; + echo "\t\t\t\t\t\t\t\t\t\n"; } ?> - - + + query($sql); if ($res)while ($owner = $res->fetchObject()) { - printf("", $owner->owner, ($what==$owner->owner ? "selected='1'" : ""), $owner->owner); + printf("\t\t\t\t\t\t\t\t\t\n", $owner->owner, ($what==$owner->owner ? " selected=\"selected\"" : ""), $owner->owner); } else { - echo ""; + echo "\t\t\t\t\t\t\t\t\t\n"; } ?> - - - -
- -
- -
- -
-   - Reports home -   - All packages - - - -
-
- - - - -
-
 
-
 
-
- - - - - + + + + + +
query($sql); if ($res && $row=$res->fetchObject()) { printf("

Repositories last updated %s.

", date("r", $row->stamp)); } - if ($what) Report($db); - else echo "

Choose a criteria from the search menu

"; +?> +

Packages in Fedora

+ + + + + + + + + + + + +"; //echo "
"; print_r($rpms); echo "
"; - -} -catch(PDOException $e) { +} catch(PDOException $e) { +?> + + + + -

 

- -
PackageOwner(s)Upstream

Choose a criteria from the filter menu

+getMessage()); +?> +
- - - - -
Legend: Repo: bold for latest release.
Lastest released (as in rawhide)
Lastest in testing
Lastest not available
- - -
-
 
-
 
-
- - - - - - +
- - diff --git a/css/rpmphp.css b/css/rpmphp.css index f312290..4aea4b7 100644 --- a/css/rpmphp.css +++ b/css/rpmphp.css @@ -155,6 +155,10 @@ p{ border-top:1px solid #DDDDDD; } +#list-packages h2{ + text-align:center; +} + #filter{ display:inline-block; position:absolute; diff --git a/rpm.php b/rpm.php index 54eeda8..edad029 100644 --- a/rpm.php +++ b/rpm.php @@ -218,7 +218,6 @@ foreach ( $repos_k as $r ) { - -- cgit