📄 footer.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1079646676', 'name' => 'account/prefs/footer.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 30 "template\en\default\account\prefs\footer.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n\n<table>\n <tr>\n <th align=\"right\">The 'My "; #line 34 "template\en\default\account\prefs\footer.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "' link:</th>\n <td>\n <select name=\"mybugslink\">\n <option value=\"1\">should appear on the footer of every page</option>\n <option value=\"0\""; #line 40 "template\en\default\account\prefs\footer.html.tmpl" if (! $stash->get('mybugslink')) { $output .= ' selected'; } $output .= ">should not be displayed\n </option>\n </select>\n </td>\n </tr>\n\n <input type=\"hidden\" name=\"numqueries\" value=\""; #line 46 "template\en\default\account\prefs\footer.html.tmpl" $output .= $stash->get(['queries', 0, 'size', 0]); $output .= "\">"; #line 82 "template\en\default\account\prefs\footer.html.tmpl" if ($stash->get(['queries', 0, 'size', 0])) { #line 66 "template\en\default\account\prefs\footer.html.tmpl" # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('queries'); 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->{'query'} = $value; $output .= "\n <tr>\n <th align=\"right\">Your search named '"; #line 50 "template\en\default\account\prefs\footer.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['query', 0, 'name', 0]); &$filter($output); }; $output .= "':</th>\n <td>\n <select name=\"query-"; #line 52 "template\en\default\account\prefs\footer.html.tmpl" $output .= $stash->get(['loop', 0, 'index', 0]); $output .= "\">\n <option value=\"0\">should only appear in the search page</option>\n <option value=\"1\""; #line 56 "template\en\default\account\prefs\footer.html.tmpl" if ($stash->get(['query', 0, 'footer', 0])) { $output .= ' selected'; } $output .= ">\n should appear on the footer of every page\n </option>\n </select>\n </td>\n </tr>\n\n <input type=\"hidden\" name=\"name-"; #line 63 "template\en\default\account\prefs\footer.html.tmpl" $output .= $stash->get(['loop', 0, 'index', 0]); $output .= "\"\n value=\""; #line 64 "template\en\default\account\prefs\footer.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['query', 0, 'name', 0]); &$filter($output); }; $output .= "\">";; ($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"; } else { $output .= "\n <tr>\n <td colspan=\"4\">\n <br>\n If you create remembered queries using the\n <a href=\"query.cgi\">search page</a>,\n you can then come to this page and choose to have some of them\n appear in the footer of each "; #line 76 "template\en\default\account\prefs\footer.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " page.\n <br>\n <br>\n </td>\n </tr>"; } $output .= "\n\n</table>\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -