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

📄 edit.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1074451156',        'name' => 'admin/products/groupcontrol/edit.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";    #line 23 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 26 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # CAPTURE    $stash->set('filt_product', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('product');                &$filter($output);    };            $output;    });        #line 0 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => ("Edit Group Controls for '" . $stash->get('filt_product') . "'") });    $output .=  "\n\n<form method=\"post\" action=\"editproducts.cgi\">\n  <input type=\"hidden\" name=\"action\" value=\"updategroupcontrols\">\n  <input type=\"hidden\" name=\"product\" value=\"";    #line 32 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get('filt_product');    $output .=  "\">\n\n  <table id=\"form\" cellspacing=\"0\" cellpadding=\"4\" border=\"1\">\n    <tr bgcolor=\"#6666ff\">\n      <th>Group</th>\n      <th>Entry</th>\n      <th>MemberControl</th>\n      <th>OtherControl</th>\n      <th>Canedit</th>\n      <th>";    #line 41 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  "</th>\n    </tr>";    #line 117 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FOREACH     do {        my ($value, $error, $oldloop);        my $list = $stash->get('groups');                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->{'group'} = $value;    #line 117 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'isactive', 0]) eq 0 && $stash->get(['group', 0, 'bugcount', 0]) > 0) {    $output .=  "\n        <tr bgcolor=\"#bbbbbb\">\n          <td>";    #line 48 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['group', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\n          </td>\n          <td align=\"center\" colspan=4>\n            Disabled\n          </td>\n          <td>";    #line 55 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'bugcount', 0]);    $output .=  "\n          </td>\n        <tr>";    }    elsif ($stash->get(['group', 0, 'isactive', 0]) ne 0) {    $output .=  "\n        <tr>\n          <td>";    #line 63 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['group', 0, 'name', 0]);                &$filter($output);    };        $output .=  "\n          </td>\n          <td>\n            <input type=checkbox value=1 name=entry_";    #line 66 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'id', 0]);    #line 66 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'entry', 0])) {    $output .=  ('' . " checked=\"checked\"");    }        $output .=  ">\n          </td>\n          <td>\n            <select name=\"membercontrol_";    #line 69 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'id', 0]);    $output .=  "\">\n              <option value=";    #line 70 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPNA', 0]);    #line 70 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'membercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPNA', 0])) {    $output .=  ('' . " selected=\"selected\"");    }        $output .=  "\n                >NA\n              </option>\n              <option value=";    #line 74 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPSHOWN', 0]);    #line 74 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'membercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPSHOWN', 0])) {    $output .=  ('' . " selected=\"selected\"");    }        $output .=  "\n                >Shown\n              </option>\n              <option value=";    #line 78 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPDEFAULT', 0]);    #line 78 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'membercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPDEFAULT', 0])) {    $output .=  ('' . " selected=\"selected\"");    }        $output .=  "\n                >Default\n              </option>\n              <option value=";    #line 82 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0]);    #line 82 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    if ($stash->get(['group', 0, 'membercontrol', 0]) eq $stash->get(['const', 0, 'CONTROLMAPMANDATORY', 0])) {    $output .=  ('' . " selected=\"selected\"");    }

⌨️ 快捷键说明

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