Add support for application wide maintainers, super maintainers, that are

maintainers for all versions of a particular application.
This commit is contained in:
Chris Morgan
2004-12-10 00:18:01 +00:00
committed by WineHQ
parent 06a0ea4812
commit 3fa8a3bd7a
10 changed files with 393 additions and 148 deletions

View File

@@ -37,6 +37,8 @@ function forum_lookup_user ($userid)
*/
function view_app_comment($ob)
{
global $apidb_root;
echo html_frame_start('','98%');
echo '<table width="100%" border=0 cellpadding=2 cellspacing=1">',"\n";
@@ -69,10 +71,11 @@ function view_app_comment($ob)
if(havepriv("admin") || isMaintainer($ob->appId, $ob->versionId))
{
echo "<tr>";
echo '<td><form method=post name=message action="deletecomment.php"><input type=submit value="Delete" class=button> ',"\n";
echo "<td><form method=post name=message action=$apidb_root/deletecomment.php><input type=submit value='Delete' class=button>\n";
echo "<input type=hidden name='commentId' value=$ob->commentId>";
echo "<input type=hidden name='appId' value=$ob->appId>";
echo "<input type=hidden name='versionId' value=$ob->versionId></form></td>","\n";
echo "blahblahblah $apidb_root";
echo "</td></tr>";
}