Revert template.php