⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 create-guided.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
[%# 1.0@mozilla.org %][%# The contents of this file are subject to the Mozilla Public  # License Version 1.1 (the "License"); you may not use this file  # except in compliance with the License. You may obtain a copy of  # the License at http://www.mozilla.org/MPL/  #  # Software distributed under the License is distributed on an "AS  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or  # implied. See the License for the specific language governing  # rights and limitations under the License.  #  # The Original Code is the Bugzilla Bug Tracking System.  #  # The Initial Developer of the Original Code is Netscape Communications  # Corporation. Portions created by Netscape are  # Copyright (C) 1998 Netscape Communications Corporation. All  # Rights Reserved.  #  # Contributor(s): Gervase Markham <gerv@gerv.net>  #                 Christine Begle <cbegle@mozilla.org>  #%][%# INTERFACE:  # This template has the same interface as create.html.tmpl  #%][% PROCESS global/variables.none.tmpl %][% USE Bugzilla %][% cgi = Bugzilla.cgi %][% PROCESS global/header.html.tmpl   title = "Enter $terms.ABug"   onload = "PutDescription()" %]<p>  <font color="red">    This is a template used on mozilla.org - it, along with the    comment-guided.txt.tmpl template, are included as a demo of what it's    possible to do with custom templates in general, and custom [% terms.bug %]    entry templates in particular. You will need to alter the text of this    template if you want to use it on your [% terms.Bugzilla %] installation.  </font></p>[% tablecolour = "#FFFFCC" %][%# This script displays the descriptions for selected components. %]<script type="text/javascript">var descriptions = [[% FOREACH c = component_ %]  '[% c.description FILTER js %]',[% END %]];function PutDescription() {    if ((document.getElementById) && (document.body.innerHTML)) {        var componentIndex = document.getElementById('component').selectedIndex;        if (componentIndex != -1) {            var description = document.getElementById('description');            description.innerHTML = descriptions[componentIndex];        }    }}</script>[%# Browser sniff to try and reduce the incidence of 4.x and NS 6/7 bugs %][% IF cgi.user_agent("Mozilla/4") AND NOT cgi.user_agent("compatible") %]   <div style="background-color: lightgrey;               border: 1px solid black;               padding: 2px">    <font color="#990000">      <b>        Note: This is a tool for reporting [% terms.bugs %] in software from        mozilla.org. Use Netscape's        <a href="http://help.netscape.com/forms/bug-client.html">[% terms.bug %]        reporting form</a> to report [% terms.bugs %] with Netscape products        like Navigator 4.x. Netscape products have a blue and black N in the         top right hand corner.      </b>    </font>  </div>[% END %][% IF cgi.user_agent('Netscape(\d)') %]  [% matches = cgi.user_agent().match('Netscape(\d)') %]  <div style="background-color: lightgrey;              border: 1px solid black;              padding: 2px">    <font color="#990000">      <b>        You are using Netscape [% matches.0 %].        Report [% terms.bugs %] with this browser to the        <a href="http://home.netscape.com/browsers/[% matches.0 %]/feedback/index.html">         Netscape [% matches.0 %] Feedback Center.</a>      </b>    </font>    This form is only for reporting [% terms.bugs %] in the Mozilla web browser    and other products from mozilla.org. To report [% terms.abug %] you find     in Netscape [% matches.0 %] with this form, you must reproduce it first in     a recent build of    <a href="http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest/">Mozilla</a>,    <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">Firefox</a> or    <a href="http://ftp.mozilla.org/pub/mozilla.org/camino/nightly/latest/">Camino</a>    to make sure the problem hasn't been fixed already.  </div>[% END %]<p>  This form prompts you for the information required to  file a good [% terms.bug %] report (or enhancement request.)  It may seem lengthy, but developers need all this information  to understand and reproduce the [% terms.bug %], which is the first step towards  fixing it. Please note that <strong>we do not accept [% terms.bug %] reports by  email</strong> - please do not email developers or mozilla.org staff  with [% terms.bug %] reports. <font color="red">Also, please do not  file [% terms.bugs %] on browser/email software older than two weeks - first,  download a newer build of  <a href="http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest/">Mozilla</a>,  <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">Firefox</a>,  <a href="http://ftp.mozilla.org/pub/mozilla.org/camino/nightly/latest/">Camino</a>  or    <a href="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/">Thunderbird</a>  and check that the problem is still present.  </font></p><a name="step1"></a><h3>Step 1 - search for your [% terms.bug %]</h3><p>  Please see if your [% terms.bug %] has already been reported.  <font color="red">Please don't skip this step.</font>  50% of the [% terms.bugs %] filed in  [%+ terms.Bugzilla %] are duplicates, and this wastes a lot of our QA engineers' time.</p>[%# Stop NS 4.x and all v.3 browsers from getting <iframe> code %][% IF (cgi.user_agent("Mozilla/4")         AND NOT cgi.user_agent("compatible"))       OR (cgi.user_agent("Mozilla/[123]")) %]  <p>    Visit the <a href="duplicates.cgi">most-frequently-reported [% terms.bugs %] page</a>    and see if your [% terms.bug %] is there. If not, go to the    <a href="query.cgi?format=modern">search page</a>    and search [% terms.Bugzilla %] by entering two or    three of the main words having to do with your [% terms.bug %] in the top box.    For example: <tt><b>pop3 mail</b></tt> or <tt><b>copy paste</b></tt>.  </p>[% ELSE %]  <p>    Check the list of most-frequently-reported [% terms.bugs %] below.    If your [% terms.bug %] isn't there, search [% terms.Bugzilla %] by entering two or    three of the main words having to do with your [% terms.bug %] in this box.    For example: <tt><b>pop3 mail</b></tt> or <tt><b>copy paste</b></tt>.  </p>  <form action="buglist.cgi" method="get" target="somebugs">    <input type="hidden" name="format" value="simple">    <input type="hidden" name="order" value="relevance desc">    <input type="hidden" name="bug_status" value="__open__">    <input type="hidden" name="product" value="[% product FILTER html %]">    <input type="text" name="content" size="40">    <input type="submit" value="Search">  </form>  <iframe name="somebugs" width="100%" height="80%"    style="border: 2px black solid"    src="duplicates.cgi?product=[% product FILTER uri %]&format=simple">  </iframe>[% END %]<p>  Look through the search results. If you get the  <tt><b>[% terms.zeroSearchResults %]</b></tt> message, [% terms.Bugzilla %]   found no [% terms.bugs %] that match. Check for typos, or add fewer or   different keywords.</p><p>  If you find [% terms.abug %] that looks the same as yours, you can add  useful comments to that [% terms.bug %], but please don't open a new one.  Please don't add comments like "please fix this [% terms.bug %]" - this  tends to annoy engineers and slow, rather than speed, the fixing of it.</p><p>  If you find [% terms.bugs %] similar to yours, read them and note which component  they are in. You should file your [% terms.bug %] in that same component.</p><a name="step2"></a><h3>Step 2 - give information</h3><p>  If you're pretty certain that your [% terms.bug %] isn't in there already, then  please try to complete this form as accurately as you  can. The more you can tell us, the better our chance of being able  to understand and reproduce your [% terms.bug %].</p><form method="post" action="post_bug.cgi">  <input type="hidden" name="format" value="guided">  <input type="hidden" name="assigned_to" value="">  <input type="hidden" name="priority"         value="[% default.priority FILTER html %]">  <input type="hidden" name="version"         value="[% default.version FILTER html %]"><table valign="top" cellpadding="5" cellspacing="5" border="0">  <tr bgcolor="[% tablecolour %]">    <td align="right" valign="middle">      <b>Product</b>    </td>    <td valign="top">      <input type="hidden" name="product" value="[% product FILTER html %]">      [% product FILTER html %]    </td>  </tr>  <tr>    <td align="right" valign="middle">      <b>Component</b>    </td>    <td valign="top">      <p>        The area where the problem occurs.        To pick the right component, you could use the same one as        similar [% terms.bugs %] you found in your search, or read the full list of        <a href="describecomponents.cgi?product=            [% product FILTER url_quote %]">component        descriptions</a> if you need more help.      </p>      <table border="0" cellpadding="0" cellspacing="0">        <tr>          <td valign="top">            <select name="component" id="component"                    size="5" onchange="PutDescription()">              [% FOREACH c = component_ %]                <option value="[% c.name FILTER html %]"                  [% " selected=\"selected\"" IF c == default.component_ %]>                  [% c.name FILTER html %]                </option>              [% END %]            </select>          </td>          <td valign="top" width="100%">              <div id="description" style="color: green; margin-left: 10px;                                           height: 5em; overflow: auto;">                <script type="text/javascript" language="JavaScript">                  if ((document.getElementById) && (document.body.innerHTML)) {                    document.write("\                    Select a component to see its description here.");                  }                </script>              </div>          </td>        </tr>      </table>    </td>  </tr>  [%# 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 = [ "PC", "Macintosh", "All", "Other" ] %]  <tr bgcolor="[% tablecolour %]">    <td align="right" valign="middle">      <b>Hardware Platform</b>    </td>    <td valign="top">      [% PROCESS select sel = 'rep_platform' %]    </td>  </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -