X-Git-Url: https://unix4lyfe.org/gitweb/darkstat/blobdiff_plain/7b658ab79bed1afaf02759846168e5fb3096bb32..0736c704e88399324e1a3c5d484cb116458c23b1:/html.h diff --git a/html.h b/html.h index 4311f05..b024cc5 100644 --- a/html.h +++ b/html.h @@ -1,40 +1,14 @@ /* darkstat 3 * - * html.h: HTML header/footer for web interface. + * html.h: HTML header/footer templating for web interface. * copyright (c) 2006 Ben Stewart. - * - * You may use, modify and redistribute this file under the terms of the - * GNU General Public License version 2. (see COPYING.GPL) + * copyright (c) 2010 Malte S. Stretz. */ -#ifndef __DARKSTAT_HTML_H -#define __DARKSTAT_HTML_H - -#include "config.h" /* for PACKAGE_STRING */ - -static const char html_header_1[] = -"\n" -"\n" -"\n" -" \n"; -static const char html_header_2[] = -"\n" -"\n" -"
\n" - "\n" -"
\n" -"
\n"; +struct str; -static const char html_footer[] = -"
\n" -"\n" -"\n"; +void html_open(struct str *buf, const char *title, + const unsigned int path_depth, const int want_graph_js); +void html_close(struct str *buf); -#endif /* vim:set ts=3 sw=3 tw=78 expandtab: */