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

Bug 308950 - add build ID parameter to guided page for non-browser products.…

Bug 308950 - add build ID parameter to guided page for non-browser products. Patch by gerv; r=justdave.
parent 27c88f31
...@@ -269,24 +269,29 @@ function PutDescription() { ...@@ -269,24 +269,29 @@ function PutDescription() {
</td> </td>
</tr> </tr>
[% IF product.match("Firefox|Camino|Mozilla Application Suite") %]
[% matches = cgi.user_agent('Gecko/(\d+)') %] [% matches = cgi.user_agent('Gecko/(\d+)') %]
[% buildid = cgi.user_agent() IF matches %] [% 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 %]
<tr bgcolor="[% tablecolour %]"> <tr bgcolor="[% tablecolour %]">
<td align="right" valign="top"> <td align="right" valign="top">
<b>Build Identifier<br>(User Agent)</b> <b>Build Identifier</b>
</td> </td>
<td valign="top"> <td valign="top">
<input type="text" size="80" name="buildid" value="[% buildid %]"> <input type="text" size="80" name="buildid" value="[% buildid %]">
<p> <p>
This identifies exactly the version of the product you were using. This should identify the exact version of the product you were using.
If reporting [% terms.abug %] in Mozilla or Firefox, If the above field is blank or you know it is incorrect, copy the
this is the line beginning <tt>"Mozilla/5.0"</tt> in version text from the product's Help |
<tt>Help | About</tt>. About menu (for browsers this will begin with "Mozilla/5.0...").
If you are using the problematic software to file the bug, this If the product won't start, instead paste the complete URL you downloaded
field will already be filled in correctly. it from.
If the product won't start, just enter the complete URL you
downloaded it from.
</p> </p>
</td> </td>
</tr> </tr>
...@@ -298,11 +303,10 @@ function PutDescription() { ...@@ -298,11 +303,10 @@ function PutDescription() {
<td valign="top"> <td valign="top">
<input type="text" size="80" name="bug_file_loc" value="http://"> <input type="text" size="80" name="bug_file_loc" value="http://">
<p> <p>
URL that demonstrates the problem you are seeing (optional.) URL that demonstrates the problem you are seeing (optional).<br>
<!-- <b>IMPORTANT</b>: if the problem is with a broken web page, you need
<b>IMPORTANT</b>: problems with broken web pages go to report it
<a href="http://write-this-webtool/">in this form instead</a>. <a href="https://bugzilla.mozilla.org/page.cgi?id=broken-website.html">a different way</a>.
-->
</p> </p>
</td> </td>
</tr> </tr>
......
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