From de365c6e0c853c60f1a713b39a6b190a3bd40900 Mon Sep 17 00:00:00 2001 From: tardo Date: Tue, 25 Sep 2007 21:30:33 -0400 Subject: Links to official packages now point back to AL site. Previously if the package was not in community or unsupported, the link didn't point anywhere. Now it uses http://archlinux.org/packages/search/$pkgname. If there's a better way, someone needs to let me know. As far as I know, there's no sure way to link directly to a package without knowing the pkgid. Signed-off-by: tardo --- web/lib/pkgfuncs.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 1afc9082..91df5b7e 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -388,7 +388,7 @@ function package_details($id=0, $SID="") { // $darr[3] is the DepCondition if ($darr[2] == 0) echo $url."'>".$darr[1].$darr[3]."
\n"; - else echo "".$darr[1].$darr[3]."
\n"; + else echo "".$darr[1].$darr[3]."
\n"; } echo "\n"; echo ""; @@ -414,7 +414,7 @@ function package_details($id=0, $SID="") { // $darr[3] is the DepCondition if ($darr[2] == 0) print $url."'>".$darr[1].$darr[3]."
\n"; - else print "".$darr[1].$darr[3]."
\n"; + else print "".$darr[1].$darr[3]."
\n"; } echo "\n"; echo " \n"; -- cgit v1.2.3-24-g4f1b