From bf0a551fc3ff716b540dc221ab58f80cc2b3d820 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 14 Jul 2005 07:09:08 +0000 Subject: Bug 300699: Remove dead code from editproducts.cgi and messages.html.tmpl - Patch by Marc Schumann r=LpSolit a=myk --- editproducts.cgi | 178 ------------------------------------------------------- 1 file changed, 178 deletions(-) (limited to 'editproducts.cgi') diff --git a/editproducts.cgi b/editproducts.cgi index 768e96a34..5e48b958e 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -1441,184 +1441,6 @@ if ($action eq 'editgroupcontrols') { $template->process("admin/products/groupcontrol/edit.html.tmpl", $vars) || ThrowTemplateError($template->error()); exit; - - print "\n"; - print "\n"; - print "
\n"; - print "\n"; - print " \n"; - print " \n"; - print " \n"; - print " \n"; - print " \n"; - while (MoreSQLData()) { - print "\n"; - my ($groupid, $groupname, $entry, $membercontrol, $othercontrol, - $canedit) = FetchSQLData(); - print "\n"; - print " \n"; - print "
GroupEntryMemberControlOtherControlCanedit
\n"; - print " $groupname\n"; - print " \n"; - $entry |= 0; - print " \n"; - print " \n"; - $membercontrol |= 0; - $othercontrol |= 0; - print " \n"; - print " \n"; - print " \n"; - print " \n"; - $canedit |= 0; - print " \n"; - - } - - print "

"; - print "Add controls to the panel above:
\n"; - print "

\n"; - - print "\n"; - print "\n"; - print "\n"; - print "\n"; - print "
\n"; - print "

note: Any group controls Set to NA/NA with no other checkboxes "; - print "will automatically be removed from the panel the next time "; - print "update is clicked.\n"; - print "

These settings control the relationship of the groups to this "; - print "product.\n"; - print "

If any group has Entry selected, then this product will "; - print "restrict bug entry to only those users who are members of all the "; - print "groups with entry selected.\n"; - print "

If any group has Canedit selected, then this product "; - print "will be read-only for any users who are not members of all of "; - print "the groups with Canedit selected. ONLY users who are members of "; - print "all the canedit groups will be able to edit. This is an additional "; - print "restriction that further restricts what can be edited by a user.\n"; - print "

The MemberControl and OtherControl fields "; - print "indicate which bugs will be placed in "; - print "this group according to the following definitions.\n"; - print "
"; - print ""; - print ""; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print ""; - print "\n"; - print "\n"; - print "\n"; - print "
MemberControlOtherControlInterpretation
NANABugs in this product are never associated with this group.
ShownNABugs in this product are permitted to be restricted to this "; - print "group. Users who are members of this group will be able "; - print "to place bugs in this group.
ShownShownBugs in this product can be placed in this group by anyone "; - print "with permission to edit the bug even if they are not a member "; - print "of this group.
ShownDefaultBugs in this product can be placed in this group by anyone "; - print "with permission to edit the bug even if they are not a member "; - print "of this group. Non-members place bugs in this group by default."; - print "
ShownMandatoryBugs in this product are permitted to be restricted to this "; - print "group. Users who are members of this group will be able "; - print "to place bugs in this group."; - print "Non-members will be forced to restrict bugs to this group "; - print "when they initially enter a bug in this product."; - print "
DefaultNABugs in this product are permitted to be restricted to this "; - print "group and are placed in this group by default."; - print "Users who are members of this group will be able "; - print "to place bugs in this group.
DefaultDefaultBugs in this product are permitted to be restricted to this "; - print "group and are placed in this group by default."; - print "Users who are members of this group will be able "; - print "to place bugs in this group. Non-members will be able to "; - print "restrict bugs to this group on entry and will do so by default "; - print "
DefaultMandatoryBugs in this product are permitted to be restricted to this "; - print "group and are placed in this group by default."; - print "Users who are members of this group will be able "; - print "to place bugs in this group. Non-members will be forced "; - print "to place bugs in this group on entry."; - print "
MandatoryMandatoryBugs in this product are required to be restricted to this "; - print "group. Users are not given any option.
"; - - - PutTrailer($localtrailer); - exit; } -- cgit v1.2.1