#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1019672863', 'name' => 'reports/keywords.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"; $output .= $context->process('global/header.html.tmpl', { 'title' => 'Bugzilla Keyword Descriptions' }); $output .= "\n"; # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('keywords'); unless (UNIVERSAL::isa($list, 'Template::Iterator')) { $list = Template::Config->iterator($list) || die $Template::Config::ERROR, "\n"; } ($value, $error) = $list->get_first(); eval { $oldloop = $stash->get('loop') }; $stash->set('loop', $list); eval { LOOP: while (! $error) { $stash->{'keyword'} = $value; if ($stash->get(['loop', 0, 'index', 0]) % 50 eq 0) { if ($stash->get(['loop', 0, 'index', 0]) ne 0) { $output .= "\n "; } $output .= "\n \n
\n Edit keywords.\n
"; } $output .= "\n"; $output .= $context->process('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { }, });