#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1038342720', 'name' => 'list/quips.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 Quip System', 'h1' => 'Add your own clever headline' }); $output .= "\n"; if ($stash->get('added_quip')) { $output .= "\n

\n \n Your quip '"; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('added_quip'); &$filter($output); }; $output .= "' has been added.\n \n

"; } $output .= "\n\n

\n Bugzilla will pick a random quip for the headline on each bug list, and \n you can extend the quip list. Type in something clever or funny or boring \n (but not obscene or offensive, please) and bonk on the button.\n

\n\n
\n \n \n

\n \n

\n
\n"; if ($stash->get('show_quips')) { $output .= "\n

\n Existing quips:\n

\n "; } else { $output .= "\n

\n Those who like their wisdom in large doses can \n view the whole quip list.\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 => { }, });