index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-02 09:55:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-02 09:55:05 +0200 |
commit | 5a63a7e30c01a3343da96e222b59360a5aa37391 (patch) | |
tree | c738d46bf0e7632e8026a40a4256bdc618ea0142 /packages/pkginfo.php | |
parent | 873c8de694c2d057e2014f8efd3d59ed470171c4 (diff) |
-rw-r--r-- | packages/pkginfo.php | 22 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index a2a8d19..fb0a992 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -451,25 +451,25 @@ if (count($elsewhere)>0) { (count($dep["deps"]) > 1) || (array_values($dep["deps"])[0]["pkgname"] != $dep["install_target"]) ); + print " "; if ($virtual_dep) { - print " "; print $dep["install_target"]; - print " <span class=\"virtual-dep\">(\n"; + print " <span class=\"virtual-dep\">("; }; $first = true; foreach ($dep["deps"] as $d_p) { if (!$first) - print ",\n"; + print ", "; $first = false; - print " <a href=\"/".$d_p["repo"]."/".$d_p["arch"]."/".$d_p["pkgname"]."/\" "; + print "<a href=\"/".$d_p["repo"]."/".$d_p["arch"]."/".$d_p["pkgname"]."/\" "; print "title=\"View package details for ".$d_p["pkgname"]."\">".$d_p["pkgname"]."</a>"; } if ($virtual_dep) - print "\n )</span>"; + print ")</span>"; print "\n"; }; if ($dep["dependency_type"]!="run") - print " <span class=\"" . $dep["dependency_type"] . "-dep\"> (" . $dep["dependency_type"] . ")</span>\n"; + print " <span class=\"" . $dep["dependency_type"] . "-dep\">(" . $dep["dependency_type"] . ")</span>\n"; print " </li>\n"; } ?> @@ -483,9 +483,9 @@ if (count($elsewhere)>0) { <?php foreach ($dependent as $dep) { print " <li>\n"; - if ($dep["install_target"] != $content["Name"]) - print " ".$dep["install_target"] . " (\n"; print " "; + if ($dep["install_target"] != $content["Name"]) + print $dep["install_target"] . " ("; if ($dep["is_on_master_mirror"]=="1") { print "<a href=\"/".$dep["repo"]."/".$dep["arch"]."/".$dep["pkgname"]."/\" "; print "title=\"View package details for ".$dep["pkgname"]."\">"; @@ -495,11 +495,11 @@ if (count($elsewhere)>0) { print " [" . $dep["repo"] . "]"; if ($dep["is_on_master_mirror"]=="1") print "</a>"; - print "\n"; if ($dep["install_target"] != $content["Name"]) - print " )\n"; + print ")\n"; if ($dep["dependency_type"] != "run") - print " <span class=\"" . $dep["dependency_type"] . "-dep\"> (" . $dep["dependency_type"] . ")</span>\n"; + print " <span class=\"" . $dep["dependency_type"] . "-dep\">(" . $dep["dependency_type"] . ")</span>"; + print "\n"; print " </li>\n"; } ?> |