Index: themes/engines/phptemplate/phptemplate.engine =================================================================== RCS file: /cvs/drupal/drupal/themes/engines/phptemplate/phptemplate.engine,v retrieving revision 1.4 diff -u -F^f -r1.4 phptemplate.engine --- themes/engines/phptemplate/phptemplate.engine 25 May 2005 06:03:18 -0000 1.4 +++ themes/engines/phptemplate/phptemplate.engine 17 Jul 2005 19:49:14 -0000 @@ -196,12 +196,8 @@ function phptemplate_node($node, $main = 'terms' => theme('links',$taxonomy), 'name' => format_name($node), 'date' => format_date($node->created), - 'sticky' => $node->sticky, 'content' => ($main && $node->teaser) ? $node->teaser : $node->body, 'links' => $node->links ? theme('links', $node->links) : '', - 'mission' => $mission, - 'page' => $page, - 'taxonomy' => $taxonomy, /* Lastly , pass the actual node to allow more customization */ 'node' => $node, @@ -209,6 +205,8 @@ function phptemplate_node($node, $main = 'page' => $page ); + $variables = array_merge(object2array($node), $variables); + // Display info only on certain node types. if (theme_get_setting('toggle_node_info_' . $node->type)) { $variables['submitted'] = t('Submitted by %a on %b.', array('%a' => format_name($node), '%b' => format_date($node->created)));