From: Wilfried Goesgens Date: Tue, 17 Nov 2015 23:18:14 +0000 (+0100) Subject: remove wrong output of tail item X-Git-Tag: Release_902~131 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=6367af34d0a9c2895dce6a1397a3cd510059b4db remove wrong output of tail item --- diff --git a/webcit/static/t/vcard/list/item.html b/webcit/static/t/vcard/list/item.html index 07d9f3304..864dbe294 100644 --- a/webcit/static/t/vcard/list/item.html +++ b/webcit/static/t/vcard/list/item.html @@ -1,5 +1,10 @@ - + - ;; + ;; + + + + + diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index 0807f4862..636992f22 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -1028,22 +1028,9 @@ void do_addrbook_view(vcardview_struct* VS) { DoTemplate(HKEY("vcard_list"), WCC->WBuf, &SubTP); UnStackContext(&SubTP); - /* Placeholders for empty columns at end */ - if ((num_ab % 4) != 0) { - for (i=0; i<(4-(num_ab % 4)); ++i) { - do_template("vcard_list_cell_end"); - } - } - - do_template("vcard_list_section_end"); - end_tab((num_pages-1), num_pages); - - begin_tab(num_pages, num_pages); - /* FIXME there ought to be something here */ - end_tab(num_pages, num_pages); - DeleteHash(&headlines); free(tablabels); + StrBufAppendBufPlain(WCC->WBuf, HKEY(""), 0);/* closes: id=global */ wDumpContent(1); }