From 7711c710d4e0a7a1717bb4a89165288a7025e689 Mon Sep 17 00:00:00 2001 From: ccauw Date: Mon, 15 Apr 2013 20:19:10 +0300 Subject: [PATCH] [*] BO : Add block "close_td" in list_content.tpl [*] BO : Add block "close_td" in list_content.tpl {block name="td_content"} ..... {/block} {block name="close_td"} {/block} So now we can override "td" and "/td" tags. So we can create "td" "a" ... content.... "/a" "/td" when overriding the block open-td and close-td and we can use "a" tag with "href" rather than "onclick" to create view links in the list. And the user can choose to open the link in another tab or window. --- admin-dev/themes/default/template/helpers/list/list_content.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin-dev/themes/default/template/helpers/list/list_content.tpl b/admin-dev/themes/default/template/helpers/list/list_content.tpl index 596c5ba3e..add0db76d 100644 --- a/admin-dev/themes/default/template/helpers/list/list_content.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_content.tpl @@ -116,6 +116,8 @@ {if isset($params.color) && isset($tr.color)} {/if} + {/block} + {block name="close_td"} {/block} {/foreach}