From: Nishi Date: Wed, 11 Sep 2024 10:27:37 +0000 (+0000) Subject: add footer X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f7f6c89f914e81332b4c6e6d43118aa4b4cda10e;p=keine.git add footer git-svn-id: file:///raid/svn-personal/keine/trunk@5 a3977ea8-0dc0-2842-9144-a1a46b47fd40 --- diff --git a/CGI/cgi.c b/CGI/cgi.c index 36e72c0..0788d9c 100644 --- a/CGI/cgi.c +++ b/CGI/cgi.c @@ -145,6 +145,10 @@ void kn_cgi(void) { printf("\n"); } printf("
\n"); +#ifdef FOOTER_HTML + printf("%s\n", FOOTER_HTML); + printf("
\n"); +#endif printf(" Generated by Keine %s\n", kn_get_version()); printf(" \n"); printf("\n"); diff --git a/config.h.tmpl b/config.h.tmpl index 9624415..6653292 100644 --- a/config.h.tmpl +++ b/config.h.tmpl @@ -9,6 +9,9 @@ /* Manual page root */ #define MANPAGE_DIR "/usr/share/man" +/* Footer, comment it for no footer */ +#define FOOTER_HTML "some footer" + #endif /*