diff options
author | Erich Eckner <git@eckner.net> | 2019-02-19 10:12:43 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-19 10:12:43 +0100 |
commit | 7768b0b120580073e471c00076d63807a991175d (patch) | |
tree | 3adf0ef31b32e9378149d57b3be65400a7e1ae9a /lib/style.php | |
parent | a9a7913736a77313a730d21de67118ac5bf656bc (diff) | |
download | archweb32-7768b0b120580073e471c00076d63807a991175d.tar.xz |
lib/style.php: print_listing(): make links to package details also work for sites on other paths
Diffstat (limited to 'lib/style.php')
-rw-r--r-- | lib/style.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/style.php b/lib/style.php index 6a59462..0a2b62c 100644 --- a/lib/style.php +++ b/lib/style.php @@ -269,7 +269,7 @@ function print_listing($list, $print_order_links, $list_content_type) { print " " . $row["repo"] . "\n"; print " </td>\n"; print " <td>\n"; - print " <a href=\"" . $row["repo"] . "/" . $row["pkgname"] ."/\" "; + print " <a href=\"/packages/" . $row["repo"] . "/" . $row["pkgname"] ."/\" "; print "title=\"View package details for " . $row["pkgname"] . "\">" . $row["pkgname"] . "</a>\n"; print " </td>\n"; print " <td>\n"; |