PHP MIRRORS 33 CVS PHP BUGS WEB REPORT PHP INCLUDE FUNCTIONS INC
Date: Tue, 01 Jul 2003 13:44:39 -0000

Subject: cvs: php-bugs-web / report.php /include functions.inc
From: alindeman@no-spam (Andrew Lindeman)

alindeman Tue Jul 1 09:44:39 2003 EDT
Modified files: /php-bugs-web report.php /php-bugs-web/include functions.inc Log:
revert. just add irrelevant as another 'real' option Index: php-bugs-web/report.php diff -u php-bugs-web/report.php:1.38 php-bugs-web/report.php:1.39
--- php-bugs-web/report.php:1.38 Tue Jul 1 09:10:40 2003
+++ php-bugs-web/report.php Tue Jul 1 09:44:39 2003
@@no-spam -227,24 +227,6 @@no-spam if ($errors) display_errors($errors);
?>
-<script language="javascript" type="text/javascript">
-var irrelevantOn = false;
-
-function handleVersionChange (obj) {
- if (obj.value == "Website problem") {
- irrelevantOn = true;
-
- document.forms[1].elements[2].options[document.forms[1].elements[2].options.length] = new Option("Irrelevant", "Irrelevant", true, true);

- } else {
- if (irrelevantOn) {
- document.forms[1].elements[2].options[document.forms[1].elements[2].options.length - 1] = null;

- document.forms[1].elements[2].options[0].selected = true;
- irrelevantOn = false;
- }
- }
-}
-</script>
-
<form method="post" action="<?php echo $PHP_SELF;?>">
<input type="hidden" name="in[did_luser_search]" value="<?php echo $in['did_luser_search'] ? 1 : 0; ?>" />

<table>
@@no-spam -261,7 +243,7 @@no-spam </tr><tr>
<th align="right">Type of bug:</th>
<td colspan="2">
- <select name="in[bug_type]" onChange="javascript: handleVersionChange(this)"><?php show_types($in['bug_type'],0);?></select>

+ <select name="in[bug_type]"><?php show_types($in['bug_type'],0);?></select>

</td>
</tr><tr>
<th align="right">Operating system:</th>
Index: php-bugs-web/include/functions.inc diff -u php-bugs-web/include/functions.inc:1.84 php-bugs-web/include/functions.inc:1.85

--- php-bugs-web/include/functions.inc:1.84 Tue Jul 1 08:57:20 2003
+++ php-bugs-web/include/functions.inc Tue Jul 1 09:44:39 2003
@@no-spam -119,7 +119,7 @@no-spam function show_version_options($current,$default="") {
- $versions = array("4.3.3RC1", "4.3.2", "4.3.1", "4CVS-".date("Y-m-d")." (stable)", "5.0.0b1 (beta1)", "5CVS-".date("Y-m-d")." (dev)");

+ $versions = array("4.3.3RC1", "4.3.2", "4.3.1", "4CVS-".date("Y-m-d")." (stable)", "5.0.0b1 (beta1)", "5CVS-".date("Y-m-d")." (dev)", "Irrelevant");

echo "<option value=\"\">--Please Select--</option>\n";
while (list(,$v) = each($versions)) {
echo "<option", ($current == $v ? " selected" : ""), ">$v</option>\n";