Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-19 10:12:43 +0100
committerErich Eckner <git@eckner.net>2019-02-19 10:12:43 +0100
commit7768b0b120580073e471c00076d63807a991175d (patch)
tree3adf0ef31b32e9378149d57b3be65400a7e1ae9a /lib
parenta9a7913736a77313a730d21de67118ac5bf656bc (diff)
lib/style.php: print_listing(): make links to package details also work for sites on other paths
Diffstat (limited to 'lib')
-rw-r--r--lib/style.php2
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";