diff options
Diffstat (limited to 'modules/page')
-rw-r--r-- | modules/page/page.module | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/page/page.module b/modules/page/page.module index e83cf33c3..842f90e14 100644 --- a/modules/page/page.module +++ b/modules/page/page.module @@ -102,7 +102,7 @@ function page_link($type) { return $links; } -function page_view($node, $main = 0) { +function page_content($node) { /* ** Extract the page body. If body is dynamic (using PHP code), the body ** will be generated. @@ -123,6 +123,13 @@ function page_view($node, $main = 0) { return $node; } +function page_view($node, $main) { + // prepair the node content + $node = page_content($node); + // print the node + theme("node", $node, $main); +} + function page_form(&$node, &$help, &$error) { if (function_exists("taxonomy_node_form")) { $output .= implode("", taxonomy_node_form("page", $node)); |