?? keywords.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1160857614', 'name' => 'reports/keywords.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 32 "template\en\default\reports\keywords.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\reports\keywords.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bugzilla', 0]) . " Keyword Descriptions") }); $output .= "\n"; #line 76 "template\en\default\reports\keywords.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('keywords'); 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->{'keyword'} = $_tt_value; #line 51 "template\en\default\reports\keywords.html.tmpl" if ($stash->get(['loop', 0, 'index', 0]) % 50 eq 0) { #line 42 "template\en\default\reports\keywords.html.tmpl" if ($stash->get(['loop', 0, 'index', 0]) ne 0) { $output .= "\n </table>"; } $output .= "\n\n <table border=\"1\" cellpadding=\"4\" cellspacing=\"0\">\n <tr bgcolor=\"#6666FF\">\n <th align=\"left\">Name</th>\n <th align=\"left\">Description</th>\n <th align=\"left\">Open "; #line 48 "template\en\default\reports\keywords.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= "</th>\n <th align=\"left\">Total "; #line 49 "template\en\default\reports\keywords.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugs', 0]); $output .= "</th>\n </tr>"; } $output .= "\n\n <tr>\n <th>\n <a name=\""; #line 55 "template\en\default\reports\keywords.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['keyword', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 56 "template\en\default\reports\keywords.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['keyword', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</a>\n </th>\n <td>"; #line 58 "template\en\default\reports\keywords.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get(['keyword', 0, 'description', 0]); &$_tt_filter($output); }; $output .= "</td>\n <td align=\"center\">"; #line 65 "template\en\default\reports\keywords.html.tmpl" if ($stash->get(['keyword', 0, 'bug_count', 0]) > 0) { $output .= "\n <a href=\"buglist.cgi?keywords="; #line 61 "template\en\default\reports\keywords.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['keyword', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "&resolution=---\">\n Search</a>"; } else { $output .= "\n none"; } $output .= "\n </td>\n <td align=\"right\">"; #line 73 "template\en\default\reports\keywords.html.tmpl" if ($stash->get(['keyword', 0, 'bug_count', 0]) > 0) { $output .= "\n <a href=\"buglist.cgi?keywords="; #line 69 "template\en\default\reports\keywords.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('url_quote') || $context->throw($context->error); $output .= $stash->get(['keyword', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">"; #line 70 "template\en\default\reports\keywords.html.tmpl" $output .= $stash->get(['keyword', 0, 'bug_count', 0]); $output .= "</a>"; } else { $output .= "\n none"; } $output .= "\n </td>\n </tr>";; ($_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"; #line 80 "template\en\default\reports\keywords.html.tmpl" if ($stash->get(['keywords', 0, 'size', 0]) > 0) { $output .= "\n </table>"; } $output .= "\n"; #line 86 "template\en\default\reports\keywords.html.tmpl" if ($stash->get('caneditkeywords')) { $output .= "\n <p>\n <a href=\"editkeywords.cgi\">Edit keywords</a>.\n </p>"; } $output .= "\n"; #line 88 "template\en\default\reports\keywords.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\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 + -