summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create/create-guided.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-11-11 07:48:55 +0100
committergerv%gerv.net <>2002-11-11 07:48:55 +0100
commitfe878abb83b99e1be508e69a7a3fe98c970f678f (patch)
tree9c719405ea9d4968332a577accacb28a79635b63 /template/en/default/bug/create/create-guided.html.tmpl
parent44264182f60b8ab23ec84feac0b487ff922f2e94 (diff)
downloadbugzilla-fe878abb83b99e1be508e69a7a3fe98c970f678f.tar.gz
bugzilla-fe878abb83b99e1be508e69a7a3fe98c970f678f.tar.xz
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.
Diffstat (limited to 'template/en/default/bug/create/create-guided.html.tmpl')
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl18
1 files changed, 11 insertions, 7 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index 6150a620e..364f8d472 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -259,7 +259,7 @@ function PutDescription() {
[%# 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 %]
- [% rep_platform = [ "All", "PC", "Macintosh", "Sun", "Other" ] %]
+ [% rep_platform = [ "PC", "Macintosh", "All", "Other" ] %]
<tr bgcolor="[% tablecolour %]">
<td align="right" valign="middle">
@@ -270,10 +270,9 @@ function PutDescription() {
</td>
</tr>
- [% op_sys = [ "All", "Windows 95", "Windows 98", "Windows NT", "Windows ME",
- "Windows 2000", "Windows XP", "Mac System 8.6",
- "Mac System 9.x", "MacOS X", "Linux", "Solaris",
- "FreeBSD", "other" ] %]
+ [% op_sys = [ "Windows 98", "Windows NT", "Windows 2000", "Windows XP",
+ "Mac System 9.x", "MacOS X",
+ "Linux", "All", "other" ] %]
<tr>
<td align="right" valign="middle">
@@ -532,9 +531,14 @@ function PutDescription() {
[% BLOCK select %]
<select name="[% sel %]">
+ [%- IF default.$sel %]
+ <option value="[% default.$sel FILTER html %]" selected="selected">
+ [% default.$sel FILTER html -%]
+ </option>
+ [% END %]
[%- FOREACH x = $sel %]
- <option value="[% x FILTER html %]"
- [% " selected=\"selected\"" IF x == default.$sel %]>
+ [% NEXT IF x == default.$sel %]
+ <option value="[% x FILTER html %]">
[% x FILTER html -%]
</option>
[%- END %]