show.html.tmpl

来自「buzilla软件」· TMPL 代码 · 共 115 行

TMPL
115 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1162685940',        'name' => 'bug/show.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";    #line 25 "template\en\default\bug\show.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n\n";    #line 28 "template\en\default\bug\show.html.tmpl"    $stash->set('bug', $stash->get(['bugs', 0, 0, 0]));        $output .=  "\n";    #line 44 "template\en\default\bug\show.html.tmpl"    if (! $stash->get('header_done')) {    #line 31 "template\en\default\bug\show.html.tmpl"        # CAPTURE    $stash->set('filtered_desc', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'short_desc', 0]);                &$_tt_filter($output);    };            $output;    });        #line 32 "template\en\default\bug\show.html.tmpl"        # CAPTURE    $stash->set('filtered_timestamp', do {        my $output = '';        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('time')                  || $context->throw($context->error);        $output .=  $stash->get(['bug', 0, 'delta_ts', 0]);                &$_tt_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]) . " &ndash; " . $stash->get('filtered_desc')), 'header' => ($stash->get(['terms', 0, 'Bug', 0]) . "&nbsp;" . $stash->get(['bug', 0, 'bug_id', 0])), 'subheader' => $stash->get('filtered_desc'), 'header_addl_info' => ("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 53 "template\en\default\bug\show.html.tmpl"    if ($stash->get('nextbug')) {    $output .=  "\n  <hr>\n  <p>\n    The next ";    #line 49 "template\en\default\bug\show.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  " in your list is ";    #line 49 "template\en\default\bug\show.html.tmpl"    $output .=  $stash->get(['terms', 0, 'bug', 0]);    $output .=  "\n    <a href=\"show_bug.cgi?id=";    #line 50 "template\en\default\bug\show.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "\">";    #line 50 "template\en\default\bug\show.html.tmpl"    $output .=  $stash->get(['bug', 0, 'bug_id', 0]);    $output .=  "</a>:\n  </p>\n  <hr>";    }        $output .=  "\n";    #line 55 "template\en\default\bug\show.html.tmpl"    $output .=  $context->process('bug/navigate.html.tmpl');    $output .=  "\n\n<hr>\n";    #line 59 "template\en\default\bug\show.html.tmpl"    $output .=  $context->process('bug/edit.html.tmpl');    $output .=  "\n\n<hr>\n";    #line 63 "template\en\default\bug\show.html.tmpl"    $output .=  $context->process('bug/navigate.html.tmpl');    $output .=  "\n\n<br>\n";    #line 67 "template\en\default\bug\show.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 + =
减小字号Ctrl + -
显示快捷键?