Add 3 functions to display text (hlc, txt and par) to web/lib/view.php