From fec2720a774e7246847585ff7238c02b9b8c042c Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Fri, 13 Feb 2009 14:33:14 -0500 Subject: Fix Sources listing in package details. Signed-off-by: Loui Chang --- web/template/pkg_details.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 77be0670..f60fe353 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -145,23 +145,22 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
$src[0]
\n"; + echo "{$src[0]}
\n"; } - else - { + else { + $src = $src[0]; # It is presumably an internal source if ($row["LocationID"] == 2) { echo "".$src."
\n"; + echo "/$src'>$src
\n"; } elseif ($row["LocationID"] == 3) { echo ""; - echo $src."
\n"; + echo "$src
\n"; } } } -- cgit v1.2.3-24-g4f1b