Updated template.php.