#------------------------------------------------------------------------ # Compiled template generated by the Template Toolkit version 2.09 #------------------------------------------------------------------------ Template::Document->new({ METADATA => { 'modtime' => '1024790160', 'name' => 'search/knob.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"; $stash->set('ordersdesc', { 'Reuse same sort as last time' => 'Reuse same sort as last time', 'Bug Number' => 'Bug Number', 'Importance' => 'Importance', 'Assignee' => 'Assignee', 'Last Changed' => 'Last Changed' }); $output .= "\n\n
"; if (! $stash->get('userid')) { $output .= "\n "; } else { $output .= "\n \n Run this query\n
"; if ($stash->get(['namedqueries', 0, 'size', 0]) > 0) { $output .= "\n
\n \n \n \n \n \n \n \n \n \n \n \n
\n \n Load my remembered query:\n \n   \n
\n \n Run my remembered query:\n
\n \n Forget my remembered query:\n
\n
"; } $output .= "\n \n Remember this as my default query\n
\n \n Remember this query, and name it: \n \n
     \n \n and put it in my page footer"; } $output .= "\n\n

\n Sort results by:\n \n\n get('button_name'); $output .= "\">"; if ($stash->get('userdefaultquery')) { $output .= "\n

\n \n Set my default query back to the system default\n

"; } $output .= "\n

\n"; } }; if ($@) { $error = $context->catch($@, \$output); die $error unless $error->type eq 'return'; } return $output; }, DEFBLOCKS => { }, });