Modified templaterender for error with CF in phpldapadmin