Fixes validation in Display.template.php

Signed-off-by: Bryan Deakin <runic@simplemachines.org>