From f1c83b410cd23c14e74a4a43f64632c050008dd7 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Mon, 13 Nov 2006 19:39:54 +0000 Subject: Bug 308950 - add build ID parameter to guided page for non-browser products. Patch by gerv; r=justdave. --- .../en/default/bug/create/create-guided.html.tmpl | 36 ++++++++++++---------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'template/en/default/bug/create/create-guided.html.tmpl') diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 5b27aa173..1d0683157 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -269,24 +269,29 @@ function PutDescription() { - [% matches = cgi.user_agent('Gecko/(\d+)') %] - [% buildid = cgi.user_agent() IF matches %] + [% IF product.match("Firefox|Camino|Mozilla Application Suite") %] + [% matches = cgi.user_agent('Gecko/(\d+)') %] + [% buildid = cgi.user_agent() IF matches %] + [% END %] + + [%# Accept URL parameter build ID for non-browser products %] + [% IF cgi.param("buildid") %] + [% buildid = cgi.param("buildid") %] + [% END %] - Build Identifier
(User Agent)
+ Build Identifier

- This identifies exactly the version of the product you were using. - If reporting [% terms.abug %] in Mozilla or Firefox, - this is the line beginning "Mozilla/5.0" in - Help | About. - If you are using the problematic software to file the bug, this - field will already be filled in correctly. - If the product won't start, just enter the complete URL you - downloaded it from. + This should identify the exact version of the product you were using. + If the above field is blank or you know it is incorrect, copy the + version text from the product's Help | + About menu (for browsers this will begin with "Mozilla/5.0..."). + If the product won't start, instead paste the complete URL you downloaded + it from.

@@ -298,11 +303,10 @@ function PutDescription() {

- URL that demonstrates the problem you are seeing (optional.) - + URL that demonstrates the problem you are seeing (optional).
+ IMPORTANT: if the problem is with a broken web page, you need + to report it + a different way.

-- cgit v1.2.3-24-g4f1b