blob: 3a094cc480227fad5ae4f902b9916151b44fb13d [file] [log] [blame]
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.15
#------------------------------------------------------------------------
Template::Document->new({
METADATA => {
'modtime' => '1138010588',
'name' => 'admin/components/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>\nEdit \n";
#line 41 "template/en/custom/admin/components/footer.html.tmpl"
if ($stash->get('name') && ! $stash->get('no_edit_component_link')) {
$output .= "\n component <a \n title=\"Edit Component '";
#line 36 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('name');
&$filter($output);
};
$output .= "'\"\n href=\"editcomponents.cgi?action=edit&amp;product=";
#line 38 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "&amp;component=";
#line 38 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get('name');
&$filter($output);
};
$output .= "\">\n '";
#line 39 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('name');
&$filter($output);
};
$output .= "'</a> \n or edit";
}
$output .= "\n";
#line 49 "template/en/custom/admin/components/footer.html.tmpl"
if (! $stash->get('no_edit_other_components_link')) {
$output .= "\nother components of product <a \n title=\"Choose a component from product '";
#line 45 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "' to edit\"\n href=\"editcomponents.cgi?product=";
#line 47 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "\">'";
#line 47 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "'</a>, \n or edit ";
}
$output .= "\n\nproduct <a \n title=\"Edit Product '";
#line 52 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "'\"\n href=\"editproducts.cgi?action=edit&amp;product=";
#line 54 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('url_quote')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "\">'";
#line 54 "template/en/custom/admin/components/footer.html.tmpl"
# FILTER
$output .= do {
my $output = '';
my $filter = $context->filter('html')
|| $context->throw($context->error);
$output .= $stash->get('product');
&$filter($output);
};
$output .= "'</a>.\n\n</p>\n";
} };
if ($@) {
$error = $context->catch($@, \$output);
die $error unless $error->type eq 'return';
}
return $output;
},
DEFBLOCKS => {
},
});