[aur-dev] [PATCH 2/5] pkg_details.php: Add link to category search
Dan McGee
dpmcgee at gmail.com
Fri Nov 4 11:26:30 EDT 2011
On Fri, Nov 4, 2011 at 8:42 AM, Lukas Fleischer
<archlinux at cryptocrack.de> wrote:
> 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>
Signed-off-by: Dan McGee <dan at archlinux.org>
> ---
> 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