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

📄 search-report-select.html.tmpl

📁 bugzilla的安装文件
💻 TMPL
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1074451180',        'name' => 'search/search-report-select.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 28 "template\en\default\search\search-report-select.html.tmpl"    $output .=  $context->process('global/field-descs.none.tmpl');    $output .=  "\n";        $output .=  "\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {        'select' => sub {            my $context = shift || die "template sub called without context\n";            my $stash   = $context->stash;            my $output  = '';            my $error;                        eval { BLOCK: {        #line 31 "template\en\default\search\search-report-select.html.tmpl"        $stash->set('rep_fields', [ 'product', 'component', 'version', 'rep_platform', 'op_sys', 'bug_status', 'resolution', 'bug_severity', 'priority', 'target_milestone', 'assigned_to', 'reporter', 'qa_contact', 'votes' ]);                $output .=  "\n\n  <select name=\"";        #line 36 "template\en\default\search\search-report-select.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('name');                        &$filter($output);        };                $output .=  "\">\n    <option value=\"\">&lt;none&gt;</option>\n    ";        #line 47 "template\en\default\search\search-report-select.html.tmpl"                # FOREACH         do {            my ($value, $error, $oldloop);            my $list = $stash->get('rep_fields');                        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->{'field'} = $value;        #line 40 "template\en\default\search\search-report-select.html.tmpl"        if ($stash->get('field') eq 'target_milestone' && ! $stash->get(['Param', [ 'usetargetmilestone' ]])) {        ($value, $error) = $list->get_next();        next LOOP;                }                #line 40 "template\en\default\search\search-report-select.html.tmpl"        if ($stash->get('field') eq 'qa_contact' && ! $stash->get(['Param', [ 'useqacontact' ]])) {        ($value, $error) = $list->get_next();        next LOOP;                }                #line 40 "template\en\default\search\search-report-select.html.tmpl"        if ($stash->get('field') eq 'votes' && ! $stash->get(['Param', [ 'usevotes' ]])) {        ($value, $error) = $list->get_next();        next LOOP;                }                $output .=  "      \n      <option value=\"";        #line 41 "template\en\default\search\search-report-select.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get('field');                        &$filter($output);        };                $output .=  "\" ";        #line 43 "template\en\default\search\search-report-select.html.tmpl"        if ($stash->get(['default', 0, $stash->get('name'), 0, 0, 0]) eq $stash->get('field')) {        $output .=  ' selected';        }                $output .=  ">";        #line 45 "template\en\default\search\search-report-select.html.tmpl"                # FILTER        $output .=  do {            my $output = '';            my $filter = $context->filter('html')                      || $context->throw($context->error);                $output .=  $stash->get(['field_descs', 0, $stash->get('field'), 0]) || $stash->get('field');                        &$filter($output);        };                $output .=  "</option>";;                    ($value, $error) = $list->get_next();                }            };            $stash->set('loop', $oldloop);            die $@ if $@;            $error = 0 if $error && $error eq Template::Constants::STATUS_DONE;            die $error if $error;        };                $output .=  "\n  </select>";            } };            if ($@) {                $error = $context->catch($@, \$output);                die $error unless $error->type eq 'return';            }                    return $output;        },    },});

⌨️ 快捷键说明

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