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

📄 change-columns.html.tmpl

📁 buzilla软件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1152706902',        'name' => 'list/change-columns.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\list\change-columns.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 24 "template\en\default\list\change-columns.html.tmpl"    $output .=  $context->process('global/header.html.tmpl', { 'title' => 'Change Columns' });    $output .=  "\n\n<p>\n  Select the columns you wish to appear in your ";    #line 29 "template\en\default\list\change-columns.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " lists. Note that\n  this feature requires cookies to work.\n</p>\n";    #line 33 "template\en\default\list\change-columns.html.tmpl"    $output .=  $context->process('global/field-descs.none.tmpl');    #line 34 "template\en\default\list\change-columns.html.tmpl"    $stash->set(['field_descs', 0, 'short_short_desc', 0], 'Summary (first 60 characters)');        #line 35 "template\en\default\list\change-columns.html.tmpl"    $stash->set(['field_descs', 0, 'short_desc', 0], 'Full Summary');        #line 36 "template\en\default\list\change-columns.html.tmpl"    $stash->set(['field_descs', 0, 'assigned_to_realname', 0], 'Assignee Realname');        #line 37 "template\en\default\list\change-columns.html.tmpl"    $stash->set(['field_descs', 0, 'reporter_realname', 0], 'Reporter Realname');        #line 38 "template\en\default\list\change-columns.html.tmpl"    $stash->set(['field_descs', 0, 'qa_contact_realname', 0], 'QA Contact Realname');        $output .=  "\n\n<form action=\"colchange.cgi\">\n  <input type=\"hidden\" name=\"rememberedquery\" value=\"";    #line 41 "template\en\default\list\change-columns.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('buffer');                &$_tt_filter($output);    };        $output .=  "\">";    #line 49 "template\en\default\list\change-columns.html.tmpl"        # FOREACH     do {        my ($_tt_value, $_tt_error, $_tt_oldloop);        my $_tt_list = $stash->get('masterlist');                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->{'column'} = $_tt_value;    $output .=  "\n    <input type=\"checkbox\" id=\"";    #line 43 "template\en\default\list\change-columns.html.tmpl"    $output .=  $stash->get('column');    $output .=  "\" name=\"column_";    #line 43 "template\en\default\list\change-columns.html.tmpl"    $output .=  $stash->get('column');    $output .=  "\"";    #line 44 "template\en\default\list\change-columns.html.tmpl"    if ($stash->get(['lsearch', [ $stash->get('collist'), $stash->get('column') ]]) ne -1) {    $output .=  'checked=\'checked\'';    }        $output .=  ">\n    <label for=\"";    #line 45 "template\en\default\list\change-columns.html.tmpl"    $output .=  $stash->get('column');    $output .=  "\">";    #line 46 "template\en\default\list\change-columns.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  ($stash->get(['field_descs', 0, $stash->get('column'), 0]) || $stash->get('column'));                &$_tt_filter($output);    };        $output .=  "\n    </label>\n    <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\n  <p>\n    <input id=\"nosplitheader\" type=\"radio\" name=\"splitheader\" value=\"0\"";    #line 53 "template\en\default\list\change-columns.html.tmpl"    if (! $stash->get('splitheader')) {    $output .=  'checked=\'checked\'';    }        $output .=  ">\n    <label for=\"nosplitheader\">\n      Normal headers (prettier)\n    </label>\n    <br>\n\n    <input id=\"splitheader\" type=\"radio\" name=\"splitheader\" value=\"1\"";    #line 60 "template\en\default\list\change-columns.html.tmpl"    if ($stash->get('splitheader')) {    $output .=  'checked=\'checked\'';    }        $output .=  ">\n    <label for=\"splitheader\">\n      Stagger headers (often makes list more compact)\n    </label>\n  </p>\n\n  <p>\n    <input type=\"submit\" id=\"change\" value=\"Change Columns\">\n  </p>\n</form>\n\n<form action=\"colchange.cgi\">\n  <input type=\"hidden\" name=\"rememberedquery\" value=\"";    #line 72 "template\en\default\list\change-columns.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('buffer');                &$_tt_filter($output);    };        $output .=  "\">\n  <input type=\"hidden\" name=\"resetit\" value=\"1\">\n  <input type=\"submit\" id=\"reset\" \n         value=\"Reset to ";    #line 75 "template\en\default\list\change-columns.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugzilla', 0]);    $output .=  " default\">\n</form>\n";    #line 78 "template\en\default\list\change-columns.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 + -