% #include "html.h" %> <% void print_header(page_t *page) { %> <% if (page->error) %><%% "Status: %s\n", page->error %> Content-Type: text/html;charset=UTF-8 <% } %> <% void print_menu_start(void) { %>
<% } %> <% void print_link(char *path, char *name, int cur, int dir) { %> class="cur"<% } %>><%= name %><% if (dir > 1) { %>/<% } %> <% } %> <% void print_page(page_t *page, menu_t *menu) { %>