From 5eb4ae1264ddbbb277c13d04b0db56341e940908 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 26 Apr 2018 15:47:04 +0200 Subject: lib/style.php: new to reduce duplicate code --- packages/pkginfo.php | 61 ++++++---------------------------------------------- 1 file changed, 6 insertions(+), 55 deletions(-) (limited to 'packages/pkginfo.php') diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 06ca8dd..4c0e337 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -1,6 +1,7 @@ fetch_assoc()) $elsewhere[] = $row; + print_header($content["Name"] . " " . $content["Version"] . " (" . $content["Architecture"] . ")"); + ?> - - - - - Arch Linux 32 - <?php print $content["Name"] . " " . $content["Version"] . " (" . $content["Architecture"]; ?>) - - - - - - -
- - -
-
@@ -531,29 +505,6 @@ if (count($elsewhere)>0) {
- - - - - +