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

📄 edit.html.tmpl

📁 buzilla软件
💻 TMPL
📖 第 1 页 / 共 2 页
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1168217440',        '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 $_tt_error;                eval { BLOCK: {    $output .=  "\n";    $output .=  "\n";    #line 22 "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('title', do {        my $output = '';    $output .=  "\n    Edit Group Controls for ";    #line 25 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };            $output;    });        #line 27 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => $stash->get('title') });    $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 33 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['product', 0, 'name', 0]);                &$_tt_filter($output);    };        $output .=  "\">\n  <input type=\"hidden\" name=\"token\" value=\"";    #line 34 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('token');                &$_tt_filter($output);    };        $output .=  "\">\n  <input type=\"hidden\" name=\"classification\" \n         value=\"";    #line 36 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['classification', 0, 'name', 0]);                &$_tt_filter($output);    };        $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>editcomponents</th>\n      <th>canconfirm</th>\n      <th>editbugs</th>\n      <th>";    #line 48 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    $output .=  "</th>\n    </tr>";    #line 141 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('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;    #line 140 "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 54 "template\en\default\admin\products\groupcontrol\edit.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 .=  "\n          </td>\n          <td align=\"center\" colspan=7>\n            Disabled\n          </td>\n          <td>";    #line 60 "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 66 "template\en\default\admin\products\groupcontrol\edit.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 .=  "\n          </td>\n          <td>\n            <input type=checkbox value=1 name=entry_";    #line 69 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'id', 0]);    #line 70 "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 73 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['group', 0, 'id', 0]);    $output .=  "\">\n              <option value=";    #line 74 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPNA', 0]);    #line 75 "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 79 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPSHOWN', 0]);    #line 80 "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 84 "template\en\default\admin\products\groupcontrol\edit.html.tmpl"    $output .=  $stash->get(['const', 0, 'CONTROLMAPDEFAULT', 0]);    #line 85 "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=";

⌨️ 快捷键说明

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