static void print_sort_header(const char *title, const char *sort)
{
html("<th class='left'><a href='");
static void print_sort_header(const char *title, const char *sort)
{
html("<th class='left'><a href='");
class = (ctx.qry.ofs == ofs) ? "current" : NULL;
html("<li>");
cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1),
class = (ctx.qry.ofs == ofs) ? "current" : NULL;
html("<li>");
cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1),
- class, search, sort, ofs);
+ class, search, sort, ofs, 0);