}
if ( (WC->logged_in) && (!unset_cookies) ) {
- DoTemplate(HKEY("iconbar"), NULL, &NoCtx);
+ //DoTemplate(HKEY("iconbar"), NULL, &NoCtx);
page_popup();
}
* A template has been requested
*/
void url_do_template(void) {
+ const StrBuf *MimeType;
const StrBuf *Tmpl = sbstr("template");
begin_burst();
- output_headers(1, 0, 0, 0, 1, 0);
- DoTemplate(SKEY(Tmpl), NULL, &NoCtx);
- end_burst();
+ output_headers(0, 0, 0, 0, 1, 0);
+ MimeType = DoTemplate(SKEY(Tmpl), NULL, &NoCtx);
+ http_transmit_thing(ChrPtr(MimeType), 0);
}
WCC->upload = NULL;
WCC->is_mobile = 0;
WCC->trailing_javascript = NewStrBuf();
+ WCC->nWildfireHeaders = 0;
/** Figure out the action */
index[0] = action;
WCC->upload_length = 0;
}
FreeStrBuf(&WCC->trailing_javascript);
+ WCC->http_host = NULL;
}