duplicates-simple.html.tmpl

来自「bugzilla的安装文件」· TMPL 代码 · 共 65 行

TMPL
65
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1074451170',        'name' => 'reports/duplicates-simple.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 27 "template\en\default\reports\duplicates-simple.html.tmpl"    $output .=  $context->process('global/variables.none.tmpl');    $output .=  "\n\n<html>\n";    #line 32 "template\en\default\reports\duplicates-simple.html.tmpl"    if ($stash->get('product')) {    #line 0 "template\en\default\reports\duplicates-simple.html.tmpl"    $stash->set('title', ("Most Frequently Reported " . $stash->get(['terms', 0, 'Bugs', 0]) . " for " . $stash->get('product')));        }    else {    #line 0 "template\en\default\reports\duplicates-simple.html.tmpl"    $stash->set('title', ("Most Frequently Reported " . $stash->get(['terms', 0, 'Bugs', 0])));        }        $output .=  "\n\n  <head>\n    <title>";    #line 35 "template\en\default\reports\duplicates-simple.html.tmpl"        # FILTER    $output .=  do {        my $output = '';        my $filter = $context->filter('html')                  || $context->throw($context->error);        $output .=  $stash->get('title');                &$filter($output);    };        $output .=  "</title>\n  </head>\n\n  <body>";    #line 40 "template\en\default\reports\duplicates-simple.html.tmpl"    $output .=  $context->process('reports/duplicates-table.html.tmpl');    $output .=  "\n  </body>\n\n</html>\n";        } };        if ($@) {            $error = $context->catch($@, \$output);            die $error unless $error->type eq 'return';        }            return $output;    },    DEFBLOCKS => {    },});

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?