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

📄 edit.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 5 页
字号:
        $output .=  "</label>:\n  </th>\n  <td>";        #line 786 "template\en\default\bug\edit.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get(['bug', 0, $stash->get(['dep', 0, 'fieldname', 0]), 0]);                        unless (UNIVERSAL::isa($_tt_list, 'Template::Iterator')) {                $_tt_list = Template::Config->iterator($_tt_list)                    || die $Template::Config::ERROR, "\n";             }                    ($_tt_value, $_tt_error) = $_tt_list->get_first();            eval { $_tt_oldloop = $stash->get('loop') };            $stash->set('loop', $_tt_list);            eval {        LOOP:   while (! $_tt_error) {                    $stash->{'depbug'} = $_tt_value;        #line 785 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('none')                      || $context->throw($context->error);                        # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('bug_link', [ $stash->get('depbug') ])                      || $context->throw($context->error);                $output .=  $stash->get('depbug');                        &$_tt_filter($output);        };                                &$_tt_filter($output);        };                #line 785 "template\en\default\bug\edit.html.tmpl"        $output .=  ' ';;                    ($_tt_value, $_tt_error) = $_tt_list->get_next();                }            };            $stash->set('loop', $_tt_oldloop);            die $@ if $@;            $_tt_error = 0 if $_tt_error && $_tt_error eq Template::Constants::STATUS_DONE;            die $_tt_error if $_tt_error;        };                $output .=  "\n  </td>\n  <td>";        #line 795 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'check_can_change_field', [ $stash->get(['dep', 0, 'fieldname', 0]), 0, 1 ]])) {        $output .=  "\n      <input name=\"";        #line 790 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'fieldname', 0]);        $output .=  "\" id=\"";        #line 790 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'fieldname', 0]);        $output .=  "\"\n             value=\"";        #line 791 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['bug', 0, $stash->get(['dep', 0, 'fieldname', 0]), 0, 'join', [ ', ' ]]);        $output .=  "\">";        }        else {        $output .=  "\n      <input type=\"hidden\" id=\"";        #line 793 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'fieldname', 0]);        $output .=  "\" name=\"";        #line 793 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['dep', 0, 'fieldname', 0]);        $output .=  "\"\n             value=\"";        #line 794 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['bug', 0, $stash->get(['dep', 0, 'fieldname', 0]), 0, 'join', [ ', ' ]]);        $output .=  "\">";        }                $output .=  "\n  </td>";        #line 797 "template\en\default\bug\edit.html.tmpl"        $stash->set('accesskey', $stash->get('undef'));                    } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'section_details1' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <table cellspacing=\"1\" cellpadding=\"1\">\n    <tr>\n      <td align=\"right\">";        #line 565 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['Param', [ 'useclassification' ]]) && $stash->get(['bug', 0, 'classification_id', 0]) ne 1) {        $output .=  "\n          <b>[";        #line 564 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'classification', 0]);                        &$_tt_filter($output);        };                $output .=  "]</b>";        }                $output .=  "\n        <b>";        #line 566 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['terms', 0, 'Bug', 0]);        $output .=  "#</b>:\n      </td>\n      <td>\n        <a href=\"";        #line 569 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['Param', [ 'urlbase' ]]);        $output .=  "show_bug.cgi?id=";        #line 569 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['bug', 0, 'bug_id', 0]);        $output .=  "\">";        #line 570 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['bug', 0, 'bug_id', 0]);        $output .=  "</a>\n      </td>\n    </tr>\n";        #line 581 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['Param', [ 'usebugaliases' ]])) {        $output .=  "\n      <tr>\n        <td align=\"right\">\n          <label for=\"alias\" title=\"a name for the ";        #line 577 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  " that can be used in place of its ID number, f.e. when adding it to a list of dependencies\"><b>Alias</b></label>:\n        </td>";        #line 579 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('input', { 'inputname' => 'alias', 'size' => '20', 'maxlength' => '20' });        $output .=  "\n      </tr>";        }                $output .=  "\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"product\" accesskey=\"p\"><b><u>P</u>roduct</b></label>:\n      </td>";        #line 587 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'product' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"component\" accesskey=\"m\"><b><a href=\"describecomponents.cgi?product=";        #line 592 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('url_quote')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'product', 0]);                        &$_tt_filter($output);        };                $output .=  "\">Co<u>m</u>ponent</a></b></label>:\n      </td>";        #line 594 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'component' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <b><a href=\"page.cgi?id=fields.html#status\">Status</a></b>:\n      </td>\n      <td>";        #line 601 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['status_descs', 0, $stash->get(['bug', 0, 'bug_status', 0]), 0]);                        &$_tt_filter($output);        };                $output .=  "</td>\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <b><a href=\"page.cgi?id=fields.html#resolution\">Resolution</a></b>:\n      </td>\n      <td>";        #line 609 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['get_resolution', [ $stash->get(['bug', 0, 'resolution', 0]) ]]);                        &$_tt_filter($output);        };                #line 612 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'resolution', 0]) eq 'DUPLICATE') {        $output .=  "\n          of ";        #line 611 "template\en\default\bug\edit.html.tmpl"        $output .=  $stash->get(['terms', 0, 'bug', 0]);        $output .=  " ";        #line 0 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('none')                      || $context->throw($context->error);                        # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('bug_link', [ $stash->get(['bug', 0, 'dup_id', 0]) ])                      || $context->throw($context->error);                $output .=  ('' . $stash->get(['bug', 0, 'dup_id', 0]));                        &$_tt_filter($output);        };                                &$_tt_filter($output);        };                }                $output .=  "\n      </td>\n    </tr>\n  </table>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },        'section_details2' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $_tt_error;                        eval { BLOCK: {        $output .=  "\n  <table cellspacing=\"1\" cellpadding=\"1\">\n    <tr>\n      <td align=\"right\">\n        <label for=\"rep_platform\" accesskey=\"h\"><b><u>H</u>ardware</b></label>:\n      </td>";        #line 628 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'rep_platform' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"op_sys\" accesskey=\"o\"><b><u>O</u>S</b></label>:\n      </td>";        #line 635 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'op_sys' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"version\"><b>Version</b></label>:\n      </td>";        #line 642 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'version' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"priority\" accesskey=\"i\"><b><a href=\"page.cgi?id=fields.html#priority\">Pr<u>i</u>ority</a></b></label>:\n      </td>";        #line 649 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'priority' });        $output .=  "\n    </tr>\n\n    <tr>\n      <td align=\"right\">\n        <label for=\"bug_severity\"><b><a href=\"page.cgi?id=fields.html#bug_severity\">Severity</a></b></label>:\n      </td>";        #line 656 "template\en\default\bug\edit.html.tmpl"        $output .=  $context->process('select', { 'selname' => 'bug_severity' });        $output .=  "\n    </tr>\n";        #line 671 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['Param', [ 'usetargetmilestone' ]]) && $stash->get(['bug', 0, 'target_milestone', 0])) {        $output .=  "\n      <tr>\n        <td align=\"right\">\n          <label for=\"target_milestone\"><b>";        #line 665 "template\en\default\bug\edit.html.tmpl"        if ($stash->get(['bug', 0, 'milestoneurl', 0])) {        $output .=  "\n              <a href=\"";        #line 664 "template\en\default\bug\edit.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['bug', 0, 'milestoneurl', 0]);                        &$_tt_filter($output);        };                $output .=  "\">";        }                $output .=  "\n            Target Milestone

⌨️ 快捷键说明

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