Enable access to inside the template
authorJoao Ventura
Wed, 21 May 2008 09:02:09 +0000 (09:02 +0000)
committerJoao Ventura
Wed, 21 May 2008 09:02:09 +0000 (09:02 +0000)
print.pages.inc

index 1e8f536..37d4477 100644 (file)
@@ -224,6 +224,7 @@ function _print_var_generator($node, $cid = NULL) {
   }
 
   $print["content"] = $node->body;
+  $print["node"] = $node;
   $print["footer_message"] = filter_xss_admin(variable_get('site_footer', FALSE)) ."\n". theme('blocks', 'footer') ;
 
   return $print;