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

📄 create-guided.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 3 页
字号:
    #line 312 "template\en\default\bug\create\create-guided.html.tmpl"        # CAPTURE    $stash->set('buildid', do {        my $output = '';    if ($stash->get('matches')) {    $output .=  $stash->get(['cgi', 0, 'user_agent', 0]);    }            $output;    });        $output .=  "\n\n  <tr bgcolor=\"";    #line 314 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('tablecolour');    $output .=  "\">\n    <td align=\"right\" valign=\"middle\">\n      <b>Build Identifier<br>(User Agent)</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        If reporting ";    #line 320 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " in Mozilla,\n        this is the line beginning <tt>\"Mozilla/5.0\"</tt> in\n        <tt>Help | About Mozilla</tt>.\n        It identifies exactly the version of Mozilla you were using.\n        If you are using the problem copy of Mozilla, this will be\n        filled in correctly for you already.\n        If Mozilla won't start, just enter the URL of the directory you\n        downloaded it from.\n      </p>\n      <input type=\"text\" size=\"80\" name=\"buildid\" value=\"";    #line 329 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('buildid');    $output .=  "\">\n    </td>\n  </tr>\n\n  <tr>\n    <td align=\"right\" valign=\"middle\">\n      <b>URL</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        URL that demonstrates the problem you are seeing (optional.)\n        <b>IMPORTANT</b>: If you are filing ";    #line 340 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " about a broken web page,\n        please read the\n        <a href=\"http://www.mozilla.org/docs/web-developer/faq.html\">Mozilla\n        Web Developer FAQ</a>, which explains how we handle old or\n        badly-coded web pages.\n      </p>\n      <input type=\"text\" size=\"80\" name=\"bug_file_loc\" value=\"http://\">\n   </td>\n  </tr>\n\n  <tr bgcolor=\"";    #line 350 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('tablecolour');    $output .=  "\">\n    <td align=\"right\" valign=\"middle\">\n      <b>Summary</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        A sentence which summarises the problem.\n        Please be descriptive and use lots of keywords.\n      </p>\n      <p>\n        <tt>\n          <font color=\"#990000\">Bad example</font>: mail crashed\n        </tt>\n        <br>\n        <tt>\n          <font color=\"#009900\">Good example</font>:\n          crash if I close the mail window while checking for new POP mail\n        </tt>\n      </p>\n      <input type=\"text\" size=\"80\" name=\"short_desc\" id=\"short_desc\">\n    </td>\n  </tr>\n\n  <tr>\n    <td align=\"right\" valign=\"middle\">\n      <b>Details</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        Expand on the Summary. Please be\n        as specific as possible about what is wrong.\n      </p>\n      <p>\n        <tt>\n          <font color=\"#990000\">Bad example</font>: This page looks wrong in\n          Mozilla. Other browsers display it correctly. You suck!\n        </tt>\n        <br>\n        <tt>\n          <font color=\"#009900\">Good example</font>: In the\n          page at http://www.foo.com/, text in the first column should be\n          fully justified -- text should be aligned with both the left and\n          right margins. In Mozilla, the text is only left-justified.\n        </tt>\n      </p>\n      <textarea rows=\"6\" cols=\"80\" name=\"comment\"\n                wrap=\"hard\"></textarea>\n    </td>\n  </tr>\n\n  <tr bgcolor=\"";    #line 400 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('tablecolour');    $output .=  "\">\n    <td align=\"right\" valign=\"middle\">\n      <b>Reproducibility</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        How often can you reproduce the problem?\n      </p>\n      <select name=\"reproducible\">\n        <option name=\"AlwaysReproducible\" value=\"Always\">\n          Every time.\n        </option>\n        <option name=\"Sometimes\" value=\"Sometimes\">\n          Sometimes, but not always.\n        </option>\n        <option name=\"DidntTry\" value=\"Didn't try\">\n          Haven't tried to reproduce it.\n        </option>\n        <option name=\"NotReproducible\" value=\"Couldn't Reproduce\">\n          Tried, but couldn't reproduce it.\n        </option>\n      </select>\n    </td>\n  </tr>\n\n  <tr>\n    <td align=\"right\" valign=\"middle\">\n      <b>Steps to Reproduce</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        Describe how to reproduce the problem, step by\n        step. Include any special setup steps.\n      </p>\n<textarea rows=\"4\" cols=\"80\" name=\"reproduce_steps\" wrap=\"hard\">\n1.\n2.\n3.\n</textarea>\n    </td>\n  </tr>\n\n  <tr bgcolor=\"";    #line 442 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('tablecolour');    $output .=  "\">\n    <td valign=\"middle\" align=\"right\">\n      <b>Actual Results</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        What happened after you performed the steps above?\n      </p>\n      <textarea rows=\"4\" cols=\"80\" name=\"actual_results\"\n                wrap=\"hard\"></textarea>\n    </td>\n  </tr>\n\n  <tr>\n    <td valign=\"middle\" align=\"right\">\n      <b>Expected Results</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        What should the software have done instead?\n      </p>\n      <textarea rows=\"4\" cols=\"80\" name=\"expected_results\"\n                wrap=\"hard\"></textarea>\n    </td>\n  </tr>\n\n  <tr bgcolor=\"";    #line 468 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get('tablecolour');    $output .=  "\">\n    <td valign=\"middle\" align=\"right\">\n      <b>Additional Information</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        Add any additional information you feel may be\n        relevant to this ";    #line 475 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ", such as the <b>theme</b> you were\n        using (does the ";    #line 476 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " still occur\n        with the default theme?), a <b>Talkback crash ID</b>, or special\n        information about <b>your computer's configuration</b>. Any information\n        longer than a few lines, such as a <b>stack trace</b> or <b>HTML\n        testcase</b>, should be added\n        using the \"Create a new Attachment\" link on the ";    #line 481 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ", after\n        it is filed. If you believe that it's relevant, please also include\n        your build configuration, obtained by typing <tt>about:buildconfig</tt>\n        into your URL bar.\n        <br>\n        <br>\n        If you are reporting a crash, note the module in\n        which the software crashed (e.g., <tt>Application Violation in\n        gkhtml.dll</tt>).\n      </p>\n      <textarea rows=\"8\" cols=\"80\" name=\"additional_info\"\n                wrap=\"hard\"></textarea>\n    </td>\n  </tr>\n\n  <tr>\n    <td valign=\"middle\" align=\"right\">\n      <b>Severity</b>\n    </td>\n    <td valign=\"top\">\n      <p>\n        How serious the problem is. Also, if your ";    #line 502 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " is a request for a new\n        feature or enhancement, say so here.\n      </p>\n      <select name=\"bug_severity\">\n        <option name=\"blocker\" value=\"blocker\">\n          Blocker: This ";    #line 507 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " prevents Mozilla developers from \n          testing or developing the software.\n        </option>\n        <option name=\"critical\" value=\"critical\">\n          Critical: The software crashes, hangs, or causes you to\n          lose data.\n        </option>\n        <option name=\"major\" value=\"major\">\n          Major: A major feature is broken.\n        </option>\n        <option name=\"normal\" value=\"normal\" selected=\"selected\">\n          Normal: It's ";    #line 518 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'abug', 0]);    $output .=  " that should be fixed.\n        </option>\n        <option name=\"minor\" value=\"minor\">\n          Minor: Minor loss of function, and there's an easy workaround.\n        </option>\n        <option name=\"trivial\" value=\"trivial\">\n          Trivial: A cosmetic problem, such as a misspelled word or\n          misaligned text.\n        </option>\n        <option name=\"enhancement\" value=\"enhancement\">\n          Enhancement: Request for new feature or enhancement.\n        </option>\n      </select>\n    </td>\n  </tr>\n</table>\n\n\n<a name=\"step3\"></a>\n<h3>Step 3 - submit the ";    #line 537 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "</h3>\n\n<p>\n  <input type=\"submit\" value=\"    Submit ";    #line 540 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  " Report    \"\n   onclick=\"if (this.form.comment.value == '')\n   { alert('Please enter some details about this ";    #line 542 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".');\n     this.form.comment.focus();\n     return false; } return true;\">\n</p>\n\n<p>\n  That's it! Thanks very much. You'll be notified by email about any\n  progress that is made on fixing your ";    #line 549 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".\n</p>\n\n    </form>\n";    #line 555 "template\en\default\bug\create\create-guided.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";        $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {        'select' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $error;                        eval { BLOCK: {        $output .=  "\n  <select name=\"";        #line 563 "template\en\default\bug\create\create-guided.html.tmpl"        $output .=  $stash->get('sel');        $output .=  "\">";        #line 571 "template\en\default\bug\create\create-guided.html.tmpl"        if ($stash->get(['default', 0, $stash->get('sel'), 0])) {        $output .=  "\n      <option value=\"";        #line 566 "template\en\default\bug\create\create-guided.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['default', 0, $stash->get('sel'), 0]);                        &$filter($output);        };                $output .=  "\" selected=\"selected\">";        #line 568 "template\en\default\bug\create\create-guided.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['default', 0, $stash->get('sel'), 0]);                        &$filter($output);        };                $output .=  "      </option>";        }                #line 577 "template\en\default\bug\create\create-guided.html.tmpl"                # FOREACH         do {            my ($value, $error, $oldloop);            my $list = $stash->get($stash->get('sel'));                        unless (UNIVERSAL::isa($list, 'Template::Iterator')) {                $list = Template::Config->iterator($list)                    || die $Template::Config::ERROR, "\n";             }                    ($value, $error) = $list->get_first();            eval { $oldloop = $stash->get('loop') };            $stash->set('loop', $list);            eval {        LOOP:   while (! $error) {                    $stash->{'x'} = $value;        #line 571 "template\en\default\bug\create\create-guided.html.tmpl"        if ($stash->get('x') eq $stash->get(['default', 0, $stash->get('sel'), 0])) {        ($value, $error) = $list->get_next();        next LOOP;                }                $output .=  "\n      <option value=\"";        #line 572 "template\en\default\bug\create\create-guided.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('x');                        &$filter($output);        };                $output .=  "\">";        #line 574 "template\en\default\bug\create\create-guided.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('x');                        &$filter($output);        };                $output .=  "      </option>";;                    ($value, $error) = $list->get_next();                }            };            $stash->set('loop', $oldloop);            die $@ if $@;            $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;            die $error if $error;        };                $output .=  "\n  </select>";            } };            if ($@) {                $error = $context->catch($@, \$output);                die $error unless $error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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