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

📄 verify-new-product.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1185458448',        'name' => 'bug/process/verify-new-product.html.tmpl',    },    BLOCK => sub {        my $context = shift || die "template sub called without context\n";        my $stash   = $context->stash;        my $output  = '';        my $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n\n";    #line 40 "template\en\default\bug\process\verify-new-product.html.tmpl"    # USE    $stash->set('Bugzilla',                $context->plugin('Bugzilla'));    #line 41 "template\en\default\bug\process\verify-new-product.html.tmpl"    $stash->set('cgi', $stash->get(['Bugzilla', 0, 'cgi', 0]));        $output .=  "\n";    #line 43 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 45 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Verify New Product Details...' });    $output .=  "\n\n<form action=\"process_bug.cgi\" method=\"post\">\n";    #line 50 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/hidden-fields.html.tmpl', { 'exclude' => ($stash->get('verify_fields') ? ('' . "^version|component|target_milestone") : '') });    $output .=  "\n\n<input type=\"hidden\" name=\"confirm_product_change\" value=\"1\">\n";    #line 103 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('verify_fields')) {    $output .=  "\n  <h3>Verify Version, Component";    #line 56 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('use_target_milestone')) {    $output .=  ', Target Milestone';    }        $output .=  "</h3>\n\n  <p>";    #line 69 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('use_target_milestone')) {    $output .=  "\n    You are moving the ";    #line 60 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "(s) to the product \n    <b>";    #line 61 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['cgi', 0, 'param', [ 'product' ]]);                &$_tt_filter($output);    };        $output .=  "</b>,\n    and the version, component, and/or target milestone fields are no longer\n    correct.  Please set the correct version, component, and target milestone now:";    }    else {    $output .=  "\n    You are moving the ";    #line 65 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "(s) to the product \n    <b>";    #line 66 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['cgi', 0, 'param', [ 'product' ]]);                &$_tt_filter($output);    };        $output .=  "</b>,\n    and the version and component fields are no longer correct.\n    Please set the correct version and component now:";    }        $output .=  "\n  </p>\n\n  <table>\n    <tr>\n      <td>\n        <b>Version:</b><br>";    #line 76 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/select-menu.html.tmpl', { 'name' => 'version', 'options' => $stash->get('versions'), 'default' => $stash->get(['defaults', 0, 'version', 0]), 'size' => 10 });    $output .=  "\n      </td>\n      <td>\n        <b>Component:</b><br>";    #line 84 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/select-menu.html.tmpl', { 'name' => 'component', 'options' => $stash->get('components'), 'default' => $stash->get(['defaults', 0, 'component', 0]), 'size' => 10 });    $output .=  "\n      </td>";    #line 99 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('use_target_milestone')) {    $output .=  "\n        <td>\n          <b>Target Milestone:</b><br>";    #line 93 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/select-menu.html.tmpl', { 'name' => 'target_milestone', 'options' => $stash->get('milestones'), 'default' => $stash->get(['defaults', 0, 'target_milestone', 0]), 'size' => 10 });    $output .=  "\n        </td>";    }        $output .=  "\n    </tr>\n  </table>\n";    }        $output .=  "\n";    #line 131 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('verify_bug_group') || $stash->get(['old_groups', 0, 'size', 0])) {    $output .=  "\n  <h3>Verify ";    #line 106 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  " Group</h3>\n";    #line 118 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get(['old_groups', 0, 'size', 0])) {    $output .=  "\n    <p>The following groups are not legal for the <b>";    #line 109 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['cgi', 0, 'param', [ 'product' ]]);                &$_tt_filter($output);    };        $output .=  "</b>\n    product or you are not allowed to restrict ";    #line 110 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bugs', 0]);    $output .=  " to these groups:</p>\n    <ul>";    #line 114 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('old_groups');                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->{'group'} = $_tt_value;    $output .=  "\n        <li>";    #line 113 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['group', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  ": ";    #line 113 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['group', 0, 'description', 0]);                &$_tt_filter($output);    };        $output .=  "</li>";;                ($_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    </ul>\n    <p><b>";    #line 116 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  " will no longer be restricted to these groups and may become\n    public if no other group applies.</b></p>";    }        $output .=  "\n";    #line 130 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('verify_bug_group')) {    $output .=  "\n    <p>\n      This new product has default groups associated to it. Do you want to add the\n      ";    #line 123 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " to them?<br>\n      <input type=\"radio\" id=\"add_no\" name=\"addtonewgroup\" value=\"no\"><label for=\"add_no\">no</label><br>\n      <input type=\"radio\" id=\"add_yes\" name=\"addtonewgroup\" value=\"yes\"><label for=\"add_yes\">yes</label><br>\n      <input type=\"radio\" id=\"add_yesifinold\" name=\"addtonewgroup\" value=\"yesifinold\" checked=\"checked\">\n        <label for=\"add_yesifinold\">yes, but only if the ";    #line 127 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " was in any of\n        its old product's default groups</label>\n    </p>";    }        }        $output .=  "\n\n<p>\n  <input type=\"submit\" id=\"change_product\" value=\"Commit\">\n</p>\n\n</form>\n<hr>\n\n";    $output .=  "\n";    #line 148 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get(['cgi', 0, 'param', [ 'id' ]]) && $stash->get(['cgi', 0, 'param', [ 'id' ], 'match', [ '^\d+$' ]])) {    #line 144 "template\en\default\bug\process\verify-new-product.html.tmpl"    $stash->set('id', $stash->get(['cgi', 0, 'param', [ 'id' ]]));        $output .=  "\n  Cancel and Return to ";    #line 0 "template\en\default\bug\process\verify-new-product.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('id') ])                  || $context->throw($context->error);        $output .=  ($stash->get(['terms', 0, 'bug', 0]) . " " . $stash->get('id'));                &$_tt_filter($output);    };                    &$_tt_filter($output);    };        }    else {    $output .=  "\n  Cancel and Return to <a href=\"buglist.cgi?regetlastlist=1\">the last search results</a>";    }        $output .=  "\n";    #line 150 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n";        } };        if ($@) {            $_tt_error = $context->catch($@, \$output);            die $_tt_error unless $_tt_error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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