summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/products/list-classifications.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/products/list-classifications.html.tmpl')
-rw-r--r--template/en/default/admin/products/list-classifications.html.tmpl13
1 files changed, 4 insertions, 9 deletions
diff --git a/template/en/default/admin/products/list-classifications.html.tmpl b/template/en/default/admin/products/list-classifications.html.tmpl
index 4eddad3..161cc4b 100644
--- a/template/en/default/admin/products/list-classifications.html.tmpl
+++ b/template/en/default/admin/products/list-classifications.html.tmpl
@@ -27,18 +27,11 @@
title = "Select Classification"
%]
-[% edit_contentlink = BLOCK %]
- editproducts.cgi?classification=%%name%%
-[% END %]
-[% add_contentlink = BLOCK %]
- editproducts.cgi?action=add&classification=%%name%%
-[% END %]
-
[% columns = [
{
name => "name"
heading => "Edit products of..."
- contentlink => edit_contentlink
+ contentlink => 'editproducts.cgi?classification=%%name%%'
},
{
name => "description"
@@ -57,10 +50,12 @@
[% columns.push({
heading => "Action..."
content => "Add product"
- contentlink => add_contentlink })
+ contentlink => 'editproducts.cgi?action=add&classification=%%name%%' })
%]
[% END %]
+[% Hook.process('before_table') %]
+
[% PROCESS admin/table.html.tmpl
columns = columns
data = classifications