[EXT-283] Added if statment to footer.phtml stuff