When I put that in the template editor, I got the error:
Code:
EXCEPTION: Formatter: Missing 'fi' in if statement near 'drm-locked.png'
You need "fi;" after that line. Adding that gets rid of that error, but, I get one about missing columns so can't test it easily.