?? search-report-select.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1110388674', '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 $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n\n"; $output .= "\n"; #line 27 "template\en\default\search\search-report-select.html.tmpl" $output .= $context->process('global/field-descs.none.tmpl'); $output .= "\n"; $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_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 $_tt_error; eval { BLOCK: { #line 30 "template\en\default\search\search-report-select.html.tmpl" $stash->set('rep_fields', [ 'classification', '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 35 "template\en\default\search\search-report-select.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= "\">\n <option value=\"\"><none></option>\n "; #line 46 "template\en\default\search\search-report-select.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('rep_fields'); 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->{'field'} = $_tt_value; #line 39 "template\en\default\search\search-report-select.html.tmpl" if ($stash->get('field') eq 'classification' && ! $stash->get(['Param', [ 'useclassification' ]])) { ($_tt_value, $_tt_error) = $_tt_list->get_next(); next LOOP; } #line 40 "template\en\default\search\search-report-select.html.tmpl" if ($stash->get('field') eq 'target_milestone' && ! $stash->get(['Param', [ 'usetargetmilestone' ]])) { ($_tt_value, $_tt_error) = $_tt_list->get_next(); next LOOP; } #line 41 "template\en\default\search\search-report-select.html.tmpl" if ($stash->get('field') eq 'qa_contact' && ! $stash->get(['Param', [ 'useqacontact' ]])) { ($_tt_value, $_tt_error) = $_tt_list->get_next(); next LOOP; } #line 42 "template\en\default\search\search-report-select.html.tmpl" if ($stash->get('field') eq 'votes' && ! $stash->get(['Param', [ 'usevotes' ]])) { ($_tt_value, $_tt_error) = $_tt_list->get_next(); next LOOP; } $output .= " \n <option value=\""; #line 43 "template\en\default\search\search-report-select.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('field'); &$_tt_filter($output); }; $output .= "\" "; #line 44 "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 $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['field_descs', 0, $stash->get('field'), 0]) || $stash->get('field'); &$_tt_filter($output); }; $output .= "</option>";; ($_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 </select>"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -