$pageName = 'Bugs';
$focused = "none"; // Dock icon name to get a border
require "../parts/preamble.php"; // Load most of document
?>
function do_list ($title, $name, $list, $def)
{
$list = explode (',', $list);
$count = count ($list);
echo '
' . $title . ' ';
printf ("", $name);
for ($i = 0; $i < $count; $i++) {
printf ("%s ", $def == $list[$i] ? " selected" : "", $list[$i]);
}
echo " ";
}
function do_inputline ($title, $name, $len, $def)
{
echo '' . $title . ' ';
printf (' ', $name, $len, $def);
echo ' ';
}
function do_inputtext ($title, $name, $width, $height, $def)
{
echo '' . $title . ' ';
printf ('', $name, $width, $height, $def);
echo ' ';
}
function do_submit ()
{
echo '';
echo ' ';
echo ' ';
}
if ($pkg && $version && $severity && $os && $details && $subj) {
$mail = "";
switch ($pkg) {
case "QuakeForge":
$address = "quakeforge-bugs@lists.quakeforge.net";
break;
case "QuakeIIForge":
$address = "quake2-bugs@lists.quakeforge.net";
break;
case "Newtree":
$address = "newtree-bugs@lists.quakeforge.net";
break;
case "QFCC":
$address = "qfcc-bugs@lists.quakeforge.net";
break;
case "Forge":
$address = "forge-bugs@lists.quakeforge.net";
break;
default:
}
$mail .= "Package: $pkg\n";
$mail .= 'Version: ' . StripSlashes ($version) . "\n";
$mail .= "Severity: $severity\n\n";
$mail .= "Operating System: $os\n\n";
$mail .= "Detailed Description:\n";
$mail .= $details . "\n";
echo "To: $address \n";
echo 'Subject: ' . StripSlashes($subj) . ' ';
echo '' . StripSlashes ($mail) . ' ';
mail ('quakeforge-devel@lists.quakeforge.net', $subject, $text, "From: websit ");
} else {
?>Note: All fields must be filled in.
}
?>
require "../parts/postamble.php"; // Finish this sucker up
?>