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

📄 create.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 4 页
字号:
    if ($stash->get(['user', 0, 'in_group', [ 'editbugs', $stash->get(['product', 0, 'id', 0]) ]])) {    #line 503 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get('use_keywords')) {    $output .=  "\n      <tr>\n        <td align=\"right\" valign=\"top\">\n          <strong>\n            <a href=\"describekeywords.cgi\">Keywords</a>:\n          </strong>\n        </td>\n        <td colspan=\"3\">\n          <input name=\"keywords\" size=\"60\" value=\"";    #line 500 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('keywords');                &$_tt_filter($output);    };        $output .=  "\"> (optional)\n        </td>\n      </tr>";    }        $output .=  "\n    <tr>\n      <td align=\"right\">\n        <strong>Depends on:</strong>\n      </td>\n      <td>\n        <input name=\"dependson\" accesskey=\"d\" value=\"";    #line 509 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('dependson');                &$_tt_filter($output);    };        $output .=  "\">\n      </td>\n    </tr>\n    <tr>\n      <td align=\"right\">\n        <strong>Blocks:</strong>\n      </td>\n      <td>\n        <input name=\"blocked\" accesskey=\"b\" value=\"";    #line 517 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('blocked');                &$_tt_filter($output);    };        $output .=  "\">\n      </td>\n    </tr>";    }        $output .=  "\n\n  <tr>\n    <td></td>\n    <td colspan=\"3\">";    #line 546 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get(['group', 0, 'size', 0])) {    $output .=  "\n      <br>\n        <strong>\n          Only users in all of the selected groups can view this ";    #line 528 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ":\n        </strong>\n      <br>\n      <font size=\"-1\">\n        (Leave all boxes unchecked to make this a public ";    #line 532 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".)\n      </font>\n      <br>\n      <br>\n\n      <!-- Checkboxes -->";    #line 544 "template\en\default\bug\create\create.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('group');                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->{'g'} = $_tt_value;    $output .=  "\n        &nbsp;&nbsp;&nbsp;&nbsp;\n        <input type=\"checkbox\" id=\"bit-";    #line 540 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['g', 0, 'bit', 0]);    $output .=  "\"\n          name=\"bit-";    #line 541 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['g', 0, 'bit', 0]);    $output .=  "\" value=\"1\"";    #line 542 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get(['g', 0, 'checked', 0])) {    $output .=  ('' . " checked=\"checked\"");    }        $output .=  ">\n          <label for=\"bit-";    #line 543 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['g', 0, 'bit', 0]);    $output .=  "\">";    #line 543 "template\en\default\bug\create\create.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html_light')                  || $context->throw($context->error);        $output .=  $stash->get(['g', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  "</label><br>";;                ($_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      <br>";    }        $output .=  "\n    </td>\n  </tr>\n\n  ";    #line 551 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['Hook', 0, 'process', [ 'form' ]]);    $output .=  "\n\n  <tr>\n    <td></td>\n    <td colspan=\"3\">\n      <input type=\"submit\" id=\"commit\" value=\"    Commit    \"\n             onclick=\"if (this.form.short_desc.value == '')\n             { alert('Please enter a summary sentence for this ";    #line 558 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  ".');\n               return false; } return true;\">\n      &nbsp;&nbsp;&nbsp;&nbsp;\n      <input type=\"submit\" name=\"maketemplate\" id=\"maketemplate\"\n             value=\"Remember values as bookmarkable template\">\n    </td>\n  </tr>\n";    #line 583 "template\en\default\bug\create\create.html.tmpl"    if (!(($stash->get(['Param', [ 'defaultplatform' ]]) && $stash->get(['Param', [ 'defaultopsys' ]])))) {    $output .=  "\n  <tr>\n    <td></td>\n    <td colspan=\"3\">\n      <br>\n      We've made a guess at your";    #line 578 "template\en\default\bug\create\create.html.tmpl"    if ($stash->get(['Param', [ 'defaultplatform' ]])) {    $output .=  "\n      operating system. Please check it";    }    elsif ($stash->get(['Param', [ 'defaultopsys' ]])) {    $output .=  "\n      platform. Please check it";    }    else {    $output .=  "\n      operating system and platform. Please check them";    }        $output .=  "\n      and, if we got it wrong, email\n      ";    #line 580 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['Param', [ 'maintainer' ]]);    $output .=  ".\n    </td>\n  </tr>";    }        $output .=  "\n\n  </table>\n  <input type=\"hidden\" name=\"form_name\" value=\"enter_bug\">\n</form>\n\n";    #line 590 "template\en\default\bug\create\create.html.tmpl"    $output .=  $stash->get(['Hook', 0, 'process', [ 'end' ]]);    $output .=  "\n";    #line 592 "template\en\default\bug\create\create.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n";    $output .=  "\n";    $output .=  "\n";    $output .=  "\n";        $output .=  "\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_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 $_tt_error;                        eval { BLOCK: {        #line 606 "template\en\default\bug\create\create.html.tmpl"        if ($stash->get(['sel', 0, 'description', 0])) {        $output .=  "\n  <td align=\"right\">\n    <strong>\n      <a href=\"page.cgi?id=fields.html#";        #line 602 "template\en\default\bug\create\create.html.tmpl"        $output .=  $stash->get(['sel', 0, 'name', 0]);        $output .=  "\">";        #line 603 "template\en\default\bug\create\create.html.tmpl"        $output .=  $stash->get(['sel', 0, 'description', 0]);        $output .=  "</a>:\n    </strong>\n  </td>";        }                $output .=  "\n\n  <td>\n    <select name=\"";        #line 609 "template\en\default\bug\create\create.html.tmpl"        $output .=  $stash->get(['sel', 0, 'name', 0]);        $output .=  "\">";        #line 618 "template\en\default\bug\create\create.html.tmpl"                # FOREACH         do {            my ($_tt_value, $_tt_error, $_tt_oldloop);            my $_tt_list = $stash->get($stash->get(['sel', 0, 'name', 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->{'x'} = $_tt_value;        $output .=  "\n      <option value=\"";        #line 611 "template\en\default\bug\create\create.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('x');                        &$_tt_filter($output);        };                $output .=  "\"";        #line 612 "template\en\default\bug\create\create.html.tmpl"        if ($stash->get('x') eq $stash->get(['default', 0, $stash->get(['sel', 0, 'name', 0]), 0])) {        $output .=  ('' . " selected=\"selected\"");        }                $output .=  ">";        #line 617 "template\en\default\bug\create\create.html.tmpl"        if ($stash->get(['sel', 0, 'name', 0]) eq 'bug_status') {        #line 614 "template\en\default\bug\create\create.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('x'), 0]);                        &$_tt_filter($output);        };                }        else {        #line 616 "template\en\default\bug\create\create.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $_tt_filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('x');                        &$_tt_filter($output);        };                }                $output .=  "</option>";;                    ($_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    </select>\n  </td>";            } };            if ($@) {                $_tt_error = $context->catch($@, \$output);                die $_tt_error unless $_tt_error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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