📄 list.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1178795652', 'name' => 'admin/keywords/list.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 32 "template\en\default\admin\keywords\list.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 34 "template\en\default\admin\keywords\list.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Select keyword' }); $output .= "\n"; #line 0 "template\en\default\admin\keywords\list.html.tmpl" $stash->set('columns', [ { 'name' => 'name', 'heading' => 'Edit keyword...', 'contentlink' => 'editkeywords.cgi?action=edit&id=%%id%%' }, { 'name' => 'description', 'heading' => 'Description', 'allow_html_content' => 1 }, { 'name' => 'bug_count', 'heading' => ('' . $stash->get(['terms', 0, 'Bugs', 0])), 'align' => 'right', 'contentlink' => 'buglist.cgi?keywords=%%name%%' }, { 'heading' => 'Action', 'content' => 'Delete', 'contentlink' => 'editkeywords.cgi?action=delete&id=%%id%%' } ]); $output .= "\n"; #line 63 "template\en\default\admin\keywords\list.html.tmpl" $output .= $context->process('admin/table.html.tmpl', { 'columns' => $stash->get('columns'), 'data' => $stash->get('keywords'), 'footer' => $stash->get('footer_row') }); $output .= "\n\n<p><a href=\"editkeywords.cgi?action=add\">Add a new keyword</a></p>\n"; #line 71 "template\en\default\admin\keywords\list.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -