From 7a9d867fd1ef8a0af8cb2ded9be80600b0224d3c Mon Sep 17 00:00:00 2001 From: onli Date: Sun, 19 Jan 2014 01:22:02 +0100 Subject: [PATCH] react to filter when finding no comments/trackbacks --- templates/2k11/admin/comments.inc.tpl | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/2k11/admin/comments.inc.tpl b/templates/2k11/admin/comments.inc.tpl index c78f0899..d98ca4fc 100644 --- a/templates/2k11/admin/comments.inc.tpl +++ b/templates/2k11/admin/comments.inc.tpl @@ -79,7 +79,7 @@ - + {* l18n *} @@ -90,7 +90,16 @@ {if !is_array($sql)} - {$CONST.NO_COMMENTS} + + + {if $c_type == 'TRACKBACK'} + {$CONST.NO_TRACKBACKS} + {else if $c_type == 'PINGBACK'} + {$CONST.NO_PINGBACKS} {* l18n *} + {else} + {$CONST.NO_COMMENTS} + {/if} + Return to default comment list {* l18n *} {else}