Differences From Artifact [e069c8fa48]:
- File src/printf.c — part of check-in [3ad620df00] at 2020-11-21 14:34:43 on branch trunk — Further performance improvements to the internal printf() implementation. (user: drh size: 40470) [more...]
To Artifact [95a597e29a]:
- File src/printf.c — part of check-in [8ac0830bfc] at 2020-12-22 11:58:34 on branch body-feature-class — Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. (user: wyoung size: 40510)
| ︙ | ︙ | |||
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 |
}
else
#endif
if( g.cgiOutput==1 && g.db ){
g.cgiOutput = 2;
cgi_reset_content();
cgi_set_content_type("text/html");
style_header("Bad Request");
etag_cancel();
@ <p class="generalError">%h(z)</p>
cgi_set_status(400, "Bad Request");
style_finish_page("error");
cgi_reply();
}else if( !g.fQuiet ){
| > | 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 |
}
else
#endif
if( g.cgiOutput==1 && g.db ){
g.cgiOutput = 2;
cgi_reset_content();
cgi_set_content_type("text/html");
style_set_current_feature("error");
style_header("Bad Request");
etag_cancel();
@ <p class="generalError">%h(z)</p>
cgi_set_status(400, "Bad Request");
style_finish_page("error");
cgi_reply();
}else if( !g.fQuiet ){
|
| ︙ | ︙ |