From dffff7a2f6fad652c63813707412c85c843a1fcb Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 20 Mar 2004 05:26:00 +0000 Subject: Patch for bug 238025: generate HTML table header in editkeywords.cgi even when there are no keywords defined; patch by Rudolf Ramler ; r=vlad, a=justdave. --- template/en/default/admin/keywords/list.html.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/en/default/admin/keywords/list.html.tmpl b/template/en/default/admin/keywords/list.html.tmpl index 367990fd0..d73e529e3 100755 --- a/template/en/default/admin/keywords/list.html.tmpl +++ b/template/en/default/admin/keywords/list.html.tmpl @@ -52,8 +52,10 @@ [% END %] +[% PROCESS table_header %] + [% FOREACH keyword = keywords %] - [% IF loop.count() % max_table_size == 1 %] + [% IF !loop.first() && loop.count() % max_table_size == 1 %] [% PROCESS table_header %] [% END %] -- cgit v1.2.3-24-g4f1b