onion_connection_status base_html_template(onion_dict *context, onion_request *req, onion_response *res){ if (context) onion_dict_add(context, "LANG", onion_request_get_language_code(req), OD_FREE_VALUE); base_html(context, res); if (context) onion_dict_free(context); return OCS_PROCESSED; }
void extended_html(onion_dict *context, onion_response *res){ #line 1 #line 1 int has_context=(context!=NULL); #line 1 if (!has_context) #line 1 context=onion_dict_new(); #line 1 #line 1 extended_html_blocks_init(context); #line 1 base_html(context, res); #line 20 if (!has_context) #line 20 onion_dict_free(context); #line 1 }
onion_connection_status base_html_handler_page(onion_dict *context, onion_request *req, onion_response *res){ base_html(context, res); return OCS_PROCESSED; }