Skip to content
Snippets Groups Projects
Commit 28c72cd8 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Some fixes and some redundant code removed.

parent 7c61046a
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment