?? old-charts.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1154627644', 'name' => 'reports/old-charts.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 23 "template\en\default\reports\old-charts.html.tmpl" $output .= $context->process('global/field-descs.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\reports\old-charts.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bug', 0]) . " Charts"), 'h1' => ("Welcome to the " . $stash->get(['terms', 0, 'Bugzilla', 0]) . " Charting Kitchen") }); $output .= "\n\n<div align=\"center\">"; #line 66 "template\en\default\reports\old-charts.html.tmpl" if ($stash->get('url_image')) { $output .= "\n <img src=\""; #line 30 "template\en\default\reports\old-charts.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('url_image'); &$_tt_filter($output); }; $output .= "\">\n <br clear=\"both\">"; } else { $output .= "\n <form id=\"choose_product\" method=\"get\" action=\"reports.cgi\">\n <table border=\"1\" cellpadding=\"5\" cellspacing=\"2\">\n <tr>\n <th>Product:</th>\n <td align=\"center\">\n <select id=\"product\" name=\"product\">"; #line 41 "template\en\default\reports\old-charts.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('products'); 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->{'product'} = $_tt_value; $output .= "\n <option value=\""; #line 40 "template\en\default\reports\old-charts.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('product'); &$_tt_filter($output); }; $output .= "\">"; #line 40 "template\en\default\reports\old-charts.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('product'); &$_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>\n </td>\n </tr>\n <tr>\n <th>Chart datasets:</th>\n <td align=\"center\">\n <select id=\"datasets\" name=\"datasets\" multiple=\"multiple\" size=\"5\">\n "; #line 55 "template\en\default\reports\old-charts.html.tmpl" # FOREACH do { my ($_tt_value, $_tt_error, $_tt_oldloop); my $_tt_list = $stash->get('datasets'); 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->{'dataset'} = $_tt_value; $output .= "\n <option value=\""; #line 52 "template\en\default\reports\old-charts.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['dataset', 0, 'value', 0]); &$_tt_filter($output); }; $output .= ":\""; #line 53 "template\en\default\reports\old-charts.html.tmpl" if ($stash->get(['dataset', 0, 'selected', 0])) { $output .= ('' . " selected=\"selected\""); } $output .= ">"; #line 54 "template\en\default\reports\old-charts.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['dataset', 0, 'value', 0]); &$_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>\n </td>\n </tr>\n <tr>\n <th colspan=\"2\">\n <input type=\"submit\" id=\"submit\" value=\"Continue\">\n </th>\n </tr>\n </table>\n </form>"; } $output .= "\n</div>\n"; #line 69 "template\en\default\reports\old-charts.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 + -