| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| '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 $error; |
| |
| eval { BLOCK: { |
| $output .= "\n"; |
| $output .= "\n"; |
| #line 22 "template/en/custom/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/custom/admin/classifications/del.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('classification'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "</td>\n\n</tr><tr>\n <td valign=\"top\">Description:</td>\n <td valign=\"top\">"; |
| #line 42 "template/en/custom/admin/classifications/del.html.tmpl" |
| if ($stash->get('description')) { |
| #line 39 "template/en/custom/admin/classifications/del.html.tmpl" |
| $output .= $stash->get('description'); |
| } |
| else { |
| $output .= "\n <font color=\"red\">description missing</font>"; |
| } |
| |
| $output .= "\n </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 54 "template/en/custom/admin/classifications/del.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('classification'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">\n</form>\n\n<p>Back to the <a href=\"./\">main "; |
| #line 57 "template/en/custom/admin/classifications/del.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'bugs', 0]); |
| $output .= " page</a>\nor <a href=\"editclassifications.cgi\"> edit</a> more classifications.\n"; |
| #line 60 "template/en/custom/admin/classifications/del.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 => { |
| |
| }, |
| }); |