comparison scid/pageutil.c @ 46:16f1c72d1635

scid: simplify theme code
author David Demelier <markand@malikania.fr>
date Mon, 15 Aug 2022 17:57:34 +0200
parents 576f4b1ec79f
children b474f0985e39
comparison
equal deleted inserted replaced
45:c03305b39b10 46:16f1c72d1635
66 66
67 /* 67 /*
68 * KHTTP_ are numbered like a standard enum, the Javascript code must 68 * KHTTP_ are numbered like a standard enum, the Javascript code must
69 * get the appropriate HTTP code instead. 69 * get the appropriate HTTP code instead.
70 */ 70 */
71 body = theme_page_status(statustab[status], statusmsg[status]); 71 body = theme_status(statustab[status], statusmsg[status]);
72 pageutil_render(req, status, KMIME_TEXT_HTML, body); 72 pageutil_render(req, status, KMIME_TEXT_HTML, body);
73 free(body); 73 free(body);
74 } 74 }
75 75
76 void 76 void