diff options
author | eric <eric> | 2004-09-20 23:59:27 +0200 |
---|---|---|
committer | eric <eric> | 2004-09-20 23:59:27 +0200 |
commit | 63fe7babb2d7e25e82968fe084391b56d4ec2c75 (patch) | |
tree | 4a53821c1bcf855437edad7a43b545f35082b901 /web/lib | |
parent | cb820450f89ea0c55c96a9a43e3a5a921bbdf765 (diff) | |
download | aur-63fe7babb2d7e25e82968fe084391b56d4ec2c75.tar.gz aur-63fe7babb2d7e25e82968fe084391b56d4ec2c75.tar.xz |
added upload comments/history, still need to finish the actual db calls
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 32 |
1 files changed, 17 insertions, 15 deletions
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'><span class='f2'>".__("Description")."</span></th>\n"; print " <th style='border-bottom: #666 1px solid; vertical-align:"; print " bottom'><span class='f2'>".__("Maintainer")."</span></th>\n"; - if ($SID) { - print " <th style='border-bottom: #666 1px solid; vertical-align:"; - print " bottom'><span class='f2'>".__("Manage")."</span></th>\n"; - } +# REMOVED LINK TO 'pkgmgmnt.php' +# if ($SID) { +# print " <th style='border-bottom: #666 1px solid; vertical-align:"; +# print " bottom'><span class='f2'>".__("Manage")."</span></th>\n"; +# } print "</tr>\n"; for ($i=0; $row = mysql_fetch_assoc($result); $i++) { @@ -633,17 +634,18 @@ function pkg_search_page($SID="") { } print "</span></span></td>\n"; - # print the managed link if applicable - # - if (canManagePackage($myuid, $row["AURMaintainerUID"], - $row["MaintainerUID"], $row["SubmitterUID"], $managed)) { - $manage_url = "<a href='/pkgmgmnt.php?ID="; - $manage_url.= $row["ID"]."'><span class='black'>Manage</span></a>"; - print " <td class='".$c."'><span class='f4'>"; - print $manage_url."</span></td>\n"; - } else { - print "<td class='".$c."'><span class='f4'> </span></td>\n"; - } +# REMOVED LINK TO 'pkgmgmnt.php' +# # print the managed link if applicable +# # +# if (canManagePackage($myuid, $row["AURMaintainerUID"], +# $row["MaintainerUID"], $row["SubmitterUID"], $managed)) { +# $manage_url = "<a href='/pkgmgmnt.php?ID="; +# $manage_url.= $row["ID"]."'><span class='black'>Manage</span></a>"; +# print " <td class='".$c."'><span class='f4'>"; +# print $manage_url."</span></td>\n"; +# } else { +# print "<td class='".$c."'><span class='f4'> </span></td>\n"; +# } print "</tr>\n"; |