Update template.php

fixing copy/paste error.