..F....... [ZBX-8375] re-factored code in tr_logform.php