blob: def28a01b84cdc27655e33f350a4cc2554aed65e [file] [log] [blame]
#------------------------------------------------------------------------
# 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&amp;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&amp;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 .= "&amp;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 => {
},
});