#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1022141639', 'name' => 'account/prefs/footer.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 \n\n \n \n \n \n \n get(['queries', 0, 'size', 0]); $output .= "\">"; if ($stash->get(['queries', 0, 'size', 0])) { # FOREACH do { my ($value, $error, $oldloop); my $list = $stash->get('queries'); 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->{'query'} = $value; $output .= "\n \n \n \n \n\n get(['loop', 0, 'index', 0]); $output .= "\" \n value=\""; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['query', 0, 'name', 0]); &$filter($output); }; $output .= "\">";; ($value, $error) = $list->get_next(); } }; $stash->set('loop', $oldloop); die $@ if $@; $error = 0 if $error && $error eq Template::Constants::STATUS_DONE; die $error if $error; }; $output .= "\n"; } else { $output .= "\n \n \n "; } $output .= "\n \n
The 'My bugs' link:\n \n
Your query named '"; # FILTER $output .= do { my $output = ''; my $filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['query', 0, 'name', 0]); &$filter($output); }; $output .= "':\n \n
\n
\n If you create remembered queries using the \n query page,\n you can then come to this page and choose to have some of them \n appear in the footer of each Bugzilla page.\n
\n
\n
\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { }, });