📄 show.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1099436052', 'name' => 'bug/show.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"; #line 25 "template\en\default\bug\show.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n\n"; #line 27 "template\en\default\bug\show.html.tmpl" $stash->set('bug', $stash->get(['bugs', 0, 0, 0])); $output .= "\n"; #line 30 "template\en\default\bug\show.html.tmpl" # CAPTURE $stash->set('filtered_desc', do { my $output = ''; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['bug', 0, 'short_desc', 0]); &$filter($output); }; $output; }); #line 30 "template\en\default\bug\show.html.tmpl" # CAPTURE $stash->set('filtered_timestamp', do { my $output = ''; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('time') || $context->throw($context->error); $output .= $stash->get(['bug', 0, 'delta_ts', 0]); &$filter($output); }; $output; }); #line 0 "template\en\default\bug\show.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bug', 0]) . " " . $stash->get(['bug', 0, 'bug_id', 0]) . " - " . $stash->get(['bug', 0, 'short_desc', 0])), 'h1' => ($stash->get(['terms', 0, 'Bugzilla', 0]) . " " . $stash->get(['terms', 0, 'Bug', 0]) . " " . $stash->get(['bug', 0, 'bug_id', 0])), 'h2' => $stash->get('filtered_desc'), 'h3' => ("Last modified: " . $stash->get('filtered_timestamp')), 'bodyclasses' => [ 'bz_bug', ("bz_status_" . $stash->get(['bug', 0, 'bug_status', 0])), ("bz_component_" . $stash->get(['bug', 0, 'component', 0])), ("bz_bug_" . $stash->get(['bug', 0, 'bug_id', 0])) ] }); $output .= "\n"; #line 43 "template\en\default\bug\show.html.tmpl" $output .= $context->process('bug/navigate.html.tmpl'); $output .= "\n\n<hr>\n"; #line 48 "template\en\default\bug\show.html.tmpl" $output .= $context->process('bug/edit.html.tmpl'); $output .= "\n\n<hr>\n"; #line 53 "template\en\default\bug\show.html.tmpl" $output .= $context->process('bug/navigate.html.tmpl'); $output .= "\n\n<br>\n"; #line 58 "template\en\default\bug\show.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\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 + -