string $template to lowercase

hi dude
as wished - with the new version

cheers, reto