X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_cgi.c;h=96b1b82e7a8a9f93684ab0bfd5970f51fbd87701;hb=15279357255dbcccab890a29c7ceecc144ba3e63;hp=b96e15aeb53340c14918184cbfe1bdfd26d0ea5d;hpb=a4e9deec494b308387b3f29b8ee8fc2aa934d4c2;p=collection4.git diff --git a/src/utils_cgi.c b/src/utils_cgi.c index b96e15a..96b1b82 100644 --- a/src/utils_cgi.c +++ b/src/utils_cgi.c @@ -344,7 +344,7 @@ int param_set (param_list_t *pl, const char *name, /* {{{ */ return (0); } /* }}} int param_set */ -const char *param_as_string (param_list_t *pl) /* {{{ */ +char *param_as_string (param_list_t *pl) /* {{{ */ { char buffer[4096]; char key[2048]; @@ -573,6 +573,8 @@ int html_print_page (const char *title, /* {{{ */ " "); if (cb->top_left != NULL) (*cb->top_left) (user_data); + else + html_print_logo (NULL); printf ("\n" " "); if (cb->top_center != NULL) @@ -621,6 +623,16 @@ int html_print_page (const char *title, /* {{{ */ return (0); } /* }}} int html_print_page */ +int html_print_logo (__attribute__((unused)) void *user_data) /* {{{ */ +{ + printf ("\n" + "

c4

\n" + "
collection 4
\n" + "
\n"); + + return (0); +} /* }}} int html_print_search_box */ + int html_print_search_box (__attribute__((unused)) void *user_data) /* {{{ */ { char *term_html;