diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-07-17 19:59:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-07-17 19:59:00 +0000 |
commit | 28c72cd89d66ad4d8c2a5d19a620a8d3914e356d (patch) | |
tree | 098e1c8a8daf82f9d0b9a4ca5748b066b7c042f1 /themes | |
parent | 7c61046a94c71db11770845575d0cba93a646128 (diff) | |
download | brdo-28c72cd89d66ad4d8c2a5d19a620a8d3914e356d.tar.gz brdo-28c72cd89d66ad4d8c2a5d19a620a8d3914e356d.tar.bz2 |
- Some fixes and some redundant code removed.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/engines/phptemplate/phptemplate.engine | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 5578ecce6..d38d0351b 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -198,11 +198,10 @@ function phptemplate_node($node, $main = 0, $page = 0) { 'date' => format_date($node->created), 'content' => ($main && $node->teaser) ? $node->teaser : $node->body, 'links' => $node->links ? theme('links', $node->links) : '', - 'mission' => $mission, - 'page' => $page, 'taxonomy' => $taxonomy, 'main' => $main, - 'page' => $page + 'page' => $page, + 'node' => $node // we pass the actual node to allow more customization ); // Flatten the node object's member fields. |