#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1023231398', 'name' => 'attachment/create.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"; # CAPTURE $stash->set('title', do { my $output = ''; $output .= "Create New Attachment for Bug #"; $output .= $stash->get('bugid'); $output; }); # CAPTURE $stash->set('h1', do { my $output = ''; $output .= "Create New Attachment for get('bugid'); $output .= "\">Bug #"; $output .= $stash->get('bugid'); $output .= ""; $output; }); # CAPTURE $stash->set('h2', do { my $output = ''; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('bugsummary'); &$filter($output); }; $output; }); $output .= "\n"; $output .= $context->process('global/header.html.tmpl', { 'title' => $stash->get('title'), 'h1' => $stash->get('h1'), 'h2' => $stash->get('h2'), 'style' => ' th { text-align: right; vertical-align: baseline; white-space: nowrap; } td { text-align: left; vertical-align: baseline; padding-bottom: 5px; } ', 'onload' => 'setContentTypeDisabledState();' }); $output .= "\n\n
\n\n\n"; $output .= $context->process('global/footer.html.tmpl'); $output .= "\n\n\n\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { }, });