[aur-dev] [PATCH 2/5] pkg_details.php: Add link to category search
Lukas Fleischer
archlinux at cryptocrack.de
Fri Nov 4 09:42:54 EDT 2011
This can be used as a shortcut to search for other packages in the same
category.
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
web/template/pkg_details.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index c8e703c..f5ed32a 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -24,7 +24,7 @@ if ($uid == $row["MaintainerUID"] or
}
else {
- $edit_cat = $row['Category'];
+ $edit_cat = '<a href="packages.php?C=' .$row["CategoryID"] . '">' . $row['Category'] . '</a>';
}
if ($row["SubmitterUID"]) {
--
1.7.7.2
More information about the aur-dev
mailing list