Index: phptemplate.engine
===================================================================
RCS file: /cvs/drupal-contrib/contributions/theme-engines/phptemplate/phptemplate.engine,v
retrieving revision 1.26
diff -U3 -r1.26 phptemplate.engine
--- phptemplate.engine	11 Apr 2005 00:07:54 -0000	1.26
+++ phptemplate.engine	30 Apr 2005 21:28:51 -0000
@@ -341,9 +341,14 @@
  * Default callback for PHPTemplate.
  */
 function _phptemplate_default($hook, $vars, $file = null) {
+  $node = $vars['node'];
+
   if ($file && file_exists(path_to_theme() . "/$file.tpl.php")) {
     $file = path_to_theme() . "/$file.tpl.php";
   }
+  elseif($hook == 'node' && file_exists(path_to_theme() . "/$hook.$node->type.tpl.php")) {
+    $file = path_to_theme() . "/$hook.$node->type.tpl.php";
+  }
   else {
     if (file_exists(path_to_theme() . "/$hook.tpl.php")) {
       $file = path_to_theme() . "/$hook.tpl.php";
