📄 del.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1168213914', 'name' => 'admin/classifications/del.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"; #line 22 "template\en\default\admin\classifications\del.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => 'Delete classification' }); $output .= "\n\n<table border=1 cellpadding=4 cellspacing=0>\n<tr bgcolor=\"#6666ff\">\n <th valign=\"top\" align=\"left\">Part</th>\n <th valign=\"top\" align=\"left\">Value</th>\n\n</tr><tr>\n <td valign=\"top\">Classification:</td>\n <td valign=\"top\">"; #line 33 "template\en\default\admin\classifications\del.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "</td>\n\n</tr><tr>\n <td valign=\"top\">Description:</td>\n <td valign=\"top\">"; #line 42 "template\en\default\admin\classifications\del.html.tmpl" if ($stash->get(['classification', 0, 'description', 0])) { #line 39 "template\en\default\admin\classifications\del.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html_light') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'description', 0]); &$_tt_filter($output); }; } else { $output .= "\n <font color=\"red\">description missing</font>"; } $output .= "\n </td>\n\n</tr><tr>\n <td valign=\"top\">Sortkey:</td>\n <td valign=\"top\">"; #line 47 "template\en\default\admin\classifications\del.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'sortkey', 0]); &$_tt_filter($output); }; $output .= "</td>\n\n</tr>\n</table>\n\n<h2>Confirmation</h2>\n\n<p>Do you really want to delete this classification?</p>\n<form method=post action=\"editclassifications.cgi\">\n <input type=submit value=\"Yes, delete\">\n <input type=hidden name=\"action\" value=\"delete\">\n <input type=hidden name=\"classification\" value=\""; #line 58 "template\en\default\admin\classifications\del.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['classification', 0, 'name', 0]); &$_tt_filter($output); }; $output .= "\">\n <input type=\"hidden\" name=\"token\" value=\""; #line 59 "template\en\default\admin\classifications\del.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('token'); &$_tt_filter($output); }; $output .= "\">\n</form>\n\n<p>Back to the <a href=\"./\">main "; #line 62 "template\en\default\admin\classifications\del.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " page</a>\nor <a href=\"editclassifications.cgi\"> edit</a> more classifications.</p>\n"; #line 65 "template\en\default\admin\classifications\del.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 + -