From f7f6c89f914e81332b4c6e6d43118aa4b4cda10e Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 11 Sep 2024 10:27:37 +0000 Subject: [PATCH] add footer git-svn-id: file:///raid/svn-personal/keine/trunk@5 a3977ea8-0dc0-2842-9144-a1a46b47fd40 --- CGI/cgi.c | 4 ++++ config.h.tmpl | 3 +++ 2 files changed, 7 insertions(+) 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 /* -- 2.43.0