tabs.html.tmpl

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

TMPL
45 行
字号
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({    METADATA => {        'modtime' => '1161115120',        'name' => 'search/tabs.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 37 "template\en\default\search\tabs.html.tmpl"        # WRAPPER    $output .=  do {        my $output = '';    $output .=  "\n";    #line 35 "template\en\default\search\tabs.html.tmpl"    $output .=  $stash->get('content');    $output .=  "\n";        $context->include('global/tabs.html.tmpl', { 'tabs' => [ { 'name' => 'specific', 'label' => ("Find a Specific " . $stash->get(['terms', 0, 'Bug', 0])), 'link' => 'query.cgi?format=specific'  }, { 'name' => 'advanced', 'label' => 'Advanced Search', 'link' => 'query.cgi?format=advanced'  } ], 'current_tab_name' => $stash->get('query_format') || $stash->get('format') || 'advanced', 'content', $output });     };        $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 + -
显示快捷键?