header.html.tmpl

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

TMPL
91 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1170601902',        'name' => 'bug/process/header.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 26 "template\en\default\bug\process\header.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n";    #line 28 "template\en\default\bug\process\header.html.tmpl"    # USE    $stash->set('Bugzilla',                $context->plugin('Bugzilla'));    $output .=  "\n";    #line 43 "template\en\default\bug\process\header.html.tmpl"    if ($stash->get('title_tag') eq 'bug_processed') {    #line 38 "template\en\default\bug\process\header.html.tmpl"        # CAPTURE    $stash->set('title', do {        my $output = '';    #line 36 "template\en\default\bug\process\header.html.tmpl"    if ($stash->get(['Bugzilla', 0, 'cgi', 0, 'param', [ 'id' ]])) {    #line 33 "template\en\default\bug\process\header.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bug', 0]);    $output .=  " ";    #line 33 "template\en\default\bug\process\header.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $_tt_filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('id');                &$_tt_filter($output);    };        }    else {    #line 35 "template\en\default\bug\process\header.html.tmpl"    $output .=  $stash->get(['terms', 0, 'Bugs', 0]);    }        $output .=  "\n    processed";        $output;    });        }    elsif ($stash->get('title_tag') eq 'mid_air') {    #line 40 "template\en\default\bug\process\header.html.tmpl"    $stash->set('title', 'Mid-air collision!');        }    elsif ($stash->get('title_tag') eq 'change_votes') {    #line 42 "template\en\default\bug\process\header.html.tmpl"    $stash->set('title', 'Change Votes');        }        $output .=  "\n";    #line 45 "template\en\default\bug\process\header.html.tmpl"    $output .=  $context->process('global/header.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 + -
显示快捷键?