| #------------------------------------------------------------------------ |
| # Compiled template generated by the Template Toolkit version 2.15 |
| #------------------------------------------------------------------------ |
| |
| Template::Document->new({ |
| METADATA => { |
| 'modtime' => '1138010588', |
| 'name' => 'admin/fieldvalues/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<p>\n\n<hr>\n"; |
| #line 38 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| if (!($stash->get('no_add_link'))) { |
| $output .= "\n <a title=\"Add a value for the '"; |
| #line 35 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "' field.\"\n href=\"editvalues.cgi?action=add&field="; |
| #line 37 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">Add</a> a value."; |
| } |
| |
| $output .= "\n"; |
| #line 47 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| if ($stash->get('value') && ! $stash->get('no_edit_link')) { |
| $output .= "\n Edit value <a \n title=\"Edit value '"; |
| #line 42 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('value'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "' for the '"; |
| #line 43 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "' field\"\n href=\"editvalues.cgi?action=edit&field="; |
| #line 45 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "&value="; |
| #line 45 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('value'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">\n '"; |
| #line 46 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('value'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'</a>."; |
| } |
| |
| $output .= "\n"; |
| #line 54 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| if (!($stash->get('no_edit_other_link'))) { |
| $output .= "\n Edit other values for the <a \n href=\"editvalues.cgi?field="; |
| #line 52 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('url_quote') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "\">'"; |
| #line 52 "template/en/custom/admin/fieldvalues/footer.html.tmpl" |
| |
| # FILTER |
| $output .= do { |
| my $output = ''; |
| my $filter = $context->filter('html') |
| || $context->throw($context->error); |
| |
| $output .= $stash->get('field'); |
| |
| &$filter($output); |
| }; |
| |
| $output .= "'</a> field.\n "; |
| } |
| |
| $output .= "\n\n</p>\n"; |
| } }; |
| if ($@) { |
| $error = $context->catch($@, \$output); |
| die $error unless $error->type eq 'return'; |
| } |
| |
| return $output; |
| }, |
| DEFBLOCKS => { |
| |
| }, |
| }); |