📄 confirm-delete.html.tmpl
字号:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.13#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1074451154', 'name' => 'admin/flag-type/confirm-delete.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"; #line 23 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n\n"; #line 25 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" # CAPTURE $stash->set('name', do { my $output = ''; #line 25 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['flag_type', 0, 'name', 0]); &$filter($output); }; $output; }); $output .= "\n"; #line 0 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $context->process('global/header.html.tmpl', { 'title' => ("Confirm Deletion of Flag Type '" . $stash->get('name') . "'") }); $output .= "\n\n<p>\n There are "; #line 33 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $stash->get('flag_count'); $output .= " flags of type "; #line 33 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$filter($output); }; $output .= ".\n If you delete this type, those flags will also be deleted. Note that\n instead of deleting the type you can\n <a href=\"editflagtypes.cgi?action=deactivate&id="; #line 36 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $stash->get(['flag_type', 0, 'id', 0]); $output .= "\">deactivate it</a>,\n in which case the type and its flags will remain in the database\n but will not appear in the "; #line 38 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " UI.\n</p>\n\n<table>\n <tr>\n <td colspan=\"2\">\n Do you really want to delete this type?\n </td>\n </tr>\n <tr>\n <td>\n <a href=\"editflagtypes.cgi?action=delete&id="; #line 49 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $stash->get(['flag_type', 0, 'id', 0]); $output .= "\">\n Yes, delete\n </a>\n </td>\n <td align=\"right\">\n <a href=\"editflagtypes.cgi\">\n No, don't delete\n </a>\n </td>\n </tr>\n</table>\n"; #line 62 "template\en\default\admin\flag-type\confirm-delete.html.tmpl" $output .= $context->process('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -