basic output for searching from lmdb2 added

This commit is contained in:
moneroexamples 2016-04-29 06:51:52 +08:00
parent fb66d89f2a
commit a2eeee7eb7
1 changed files with 3 additions and 3 deletions

View File

@ -1003,13 +1003,13 @@ namespace xmreg {
}
// read search_results.html
string search_results_html = xmreg::read(TMPL_SEARCH_RESULTS);
//string search_results_html = xmreg::read(TMPL_SEARCH_RESULTS);
// add header and footer
string full_page = get_full_page(search_results_html);
string full_page = get_full_page(out_tmp);
// render the page
return out_tmp;
return mstch::render(full_page, context);
}