Updated coding style in template.php