| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| 'name' => 'admin/keywords/rebuild-cache.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\n"; |
| $output .= "\n "; |
| #line 34 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| if ($stash->get('action') eq 'update') { |
| #line 29 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $stash->set('title', 'Update keyword'); |
| #line 30 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $stash->set('status', 'updated'); |
| } |
| elsif ($stash->get('action') eq 'delete') { |
| #line 32 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $stash->set('title', 'Delete keyword'); |
| #line 33 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $stash->set('status', 'deleted'); |
| } |
| |
| $output .= "\n"; |
| #line 36 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $output .= $context->process('global/header.html.tmpl'); |
| $output .= "\n\nKeyword "; |
| #line 38 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('name'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= " "; |
| #line 38 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('status'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= ".\n\n<p>\n <b>After you have finished deleting or modifying keywords,\n you need to rebuild the keyword cache.</b><br>\n \n Warning: on a very large installation of "; |
| #line 44 "template/en/custom/admin/keywords/rebuild-cache.html.tmpl" |
| $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); |
| $output .= ",\n this can take several minutes.\n</p>\n\n<p>\n <b><a href=\"sanitycheck.cgi?rebuildkeywordcache=1\">Rebuild\n keyword cache</a></b>\n</p>\n\n<p><a href=\"editkeywords.cgi\">Edit more keywords</a>.</p>\n"; |
| #line 55 "template/en/custom/admin/keywords/rebuild-cache.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 => { |
| |
| }, |
| }); |