From 63fe7babb2d7e25e82968fe084391b56d4ec2c75 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 20 Sep 2004 21:59:27 +0000 Subject: added upload comments/history, still need to finish the actual db calls --- web/lib/pkgfuncs.inc | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'web/lib/pkgfuncs.inc') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 658dfbaa..bfdaa58c 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -558,10 +558,11 @@ function pkg_search_page($SID="") { print " bottom'>".__("Description")."\n"; print " ".__("Maintainer")."\n"; - if ($SID) { - print " ".__("Manage")."\n"; - } +# REMOVED LINK TO 'pkgmgmnt.php' +# if ($SID) { +# print " ".__("Manage")."\n"; +# } print "\n"; for ($i=0; $row = mysql_fetch_assoc($result); $i++) { @@ -633,17 +634,18 @@ function pkg_search_page($SID="") { } print "\n"; - # print the managed link if applicable - # - if (canManagePackage($myuid, $row["AURMaintainerUID"], - $row["MaintainerUID"], $row["SubmitterUID"], $managed)) { - $manage_url = "Manage"; - print " "; - print $manage_url."\n"; - } else { - print " \n"; - } +# REMOVED LINK TO 'pkgmgmnt.php' +# # print the managed link if applicable +# # +# if (canManagePackage($myuid, $row["AURMaintainerUID"], +# $row["MaintainerUID"], $row["SubmitterUID"], $managed)) { +# $manage_url = "Manage"; +# print " "; +# print $manage_url."\n"; +# } else { +# print " \n"; +# } print "\n"; -- cgit v1.2.3-24-g4f1b