Commit fe878abb authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 170464 - OS/2 disappeared from 'Operating System' list. This allows…

Bug 170464 - OS/2 disappeared from 'Operating System' list. This allows selection of any OS, if the submitter is running it, on this form. Patch by gerv; r,a=justdave.
parent 44264182
...@@ -259,7 +259,7 @@ function PutDescription() { ...@@ -259,7 +259,7 @@ function PutDescription() {
[%# We override rep_platform and op_sys for simplicity. The values chosen [%# We override rep_platform and op_sys for simplicity. The values chosen
are based on which are most common in the b.m.o database %] are based on which are most common in the b.m.o database %]
[% rep_platform = [ "All", "PC", "Macintosh", "Sun", "Other" ] %] [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]
<tr bgcolor="[% tablecolour %]"> <tr bgcolor="[% tablecolour %]">
<td align="right" valign="middle"> <td align="right" valign="middle">
...@@ -270,10 +270,9 @@ function PutDescription() { ...@@ -270,10 +270,9 @@ function PutDescription() {
</td> </td>
</tr> </tr>
[% op_sys = [ "All", "Windows 95", "Windows 98", "Windows NT", "Windows ME", [% op_sys = [ "Windows 98", "Windows NT", "Windows 2000", "Windows XP",
"Windows 2000", "Windows XP", "Mac System 8.6", "Mac System 9.x", "MacOS X",
"Mac System 9.x", "MacOS X", "Linux", "Solaris", "Linux", "All", "other" ] %]
"FreeBSD", "other" ] %]
<tr> <tr>
<td align="right" valign="middle"> <td align="right" valign="middle">
...@@ -532,9 +531,14 @@ function PutDescription() { ...@@ -532,9 +531,14 @@ function PutDescription() {
[% BLOCK select %] [% BLOCK select %]
<select name="[% sel %]"> <select name="[% sel %]">
[%- IF default.$sel %]
<option value="[% default.$sel FILTER html %]" selected="selected">
[% default.$sel FILTER html -%]
</option>
[% END %]
[%- FOREACH x = $sel %] [%- FOREACH x = $sel %]
<option value="[% x FILTER html %]" [% NEXT IF x == default.$sel %]
[% " selected=\"selected\"" IF x == default.$sel %]> <option value="[% x FILTER html %]">
[% x FILTER html -%] [% x FILTER html -%]
</option> </option>
[%- END %] [%- END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment