render_{html,image}: make_infoboard_lines need to know the backend

Some shorting rules only apply to DB
show error messages directly in HTML