📄 list-classifications.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1190323516', 'name' => 'admin/products/list-classifications.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 25 "template\en\default\admin\products\list-classifications.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 27 "template\en\default\admin\products\list-classifications.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Select Classification' }); $output .= "\n"; #line 33 "template\en\default\admin\products\list-classifications.html.tmpl" # CAPTURE $stash->set('edit_contentlink', do { my $output = ''; $output .= "\n editproducts.cgi?classification=%%name%%"; $output; }); #line 36 "template\en\default\admin\products\list-classifications.html.tmpl" # CAPTURE $stash->set('add_contentlink', do { my $output = ''; $output .= "\n editproducts.cgi?action=add&classification=%%name%%"; $output; }); $output .= "\n"; #line 38 "template\en\default\admin\products\list-classifications.html.tmpl" $stash->set('columns', [ { 'name' => 'name', 'heading' => 'Edit products of...', 'contentlink' => $stash->get('edit_contentlink') }, { 'name' => 'description', 'heading' => 'Description', 'allow_html_content' => 1 }, { 'name' => 'product_count', 'align' => 'right', 'heading' => 'Product Count' } ]); $output .= "\n"; #line 63 "template\en\default\admin\products\list-classifications.html.tmpl" if ($stash->get(['user', 0, 'in_group', [ 'editcomponents' ]])) { #line 58 "template\en\default\admin\products\list-classifications.html.tmpl" $output .= $stash->get(['columns', 0, 'push', [ { 'heading' => 'Action...', 'content' => 'Add product', 'contentlink' => $stash->get('add_contentlink') } ]]); } $output .= "\n"; #line 65 "template\en\default\admin\products\list-classifications.html.tmpl" $output .= $context->process('admin/table.html.tmpl', { 'columns' => $stash->get('columns'), 'data' => $stash->get('classifications') }); $output .= "\n\n"; $output .= "\n"; #line 73 "template\en\default\admin\products\list-classifications.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 + -