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

📄 verify-new-product.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1079646678',        '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 $error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n\n";    $output .=  "\n";    #line 39 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 42 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/header.html.tmpl');    $output .=  "\n\n<form action=\"process_bug.cgi\" method=\"post\">\n";    #line 47 "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";    #line 95 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('verify_fields')) {    $output .=  "\n  <h3>Verify Version, Component";    #line 51 "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 67 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('use_target_milestone')) {    $output .=  "\n    You are moving the ";    #line 56 "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 57 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['form', 0, 'product', 0]);                &$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 62 "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 63 "template\en\default\bug\process\verify-new-product.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['form', 0, 'product', 0]);                &$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 75 "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]) });    $output .=  "\n      </td>\n      <td>\n        <b>Component:</b><br>";    #line 80 "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]) });    $output .=  "\n      </td>";    #line 90 "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 87 "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]) });    $output .=  "\n        </td>";    }        $output .=  "\n    </tr>\n  </table>\n";    }        $output .=  "\n";    #line 112 "template\en\default\bug\process\verify-new-product.html.tmpl"    if ($stash->get('verify_bug_group')) {    $output .=  "\n  <h3>Verify ";    #line 99 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  " Group</h3>\n\n  <p>\n    Do you want to add the ";    #line 102 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " to its new product's default groups (if any)?\n  </p>\n\n  <p>\n    <input type=\"radio\" name=\"addtonewgroup\" value=\"no\"><b>no</b><br>\n    <input type=\"radio\" name=\"addtonewgroup\" value=\"yes\"><b>yes</b><br>\n    <input type=\"radio\" name=\"addtonewgroup\" value=\"yesifinold\" checked=\"checked\">\n      <b>yes, but only if the ";    #line 109 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " was in any of its old product's default groups</b><br>\n  </p>";    }        $output .=  "\n\n<input type=\"submit\" value=\"Commit\">\n\n</form>\n<hr>\n<a href=\"query.cgi\">Cancel and Return to the Search Page</a>\n";    #line 121 "template\en\default\bug\process\verify-new-product.html.tmpl"    $output .=  $context->process('global/footer.html.tmpl');    $output .=  "\n\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

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