edit template.php