summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-18 21:19:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-06-18 21:19:02 +0000
commit4d202669af4d2cc64244d70fe064aef6c50c1b23 (patch)
tree4918e7f5c8c3c1ee8246131ae9eb413ab33d7aef /modules/node/node.module
parent19d10a4e908810a53db4a08ed386c4cf1be935f1 (diff)
downloadbrdo-4d202669af4d2cc64244d70fe064aef6c50c1b23.tar.gz
brdo-4d202669af4d2cc64244d70fe064aef6c50c1b23.tar.bz2
#455844 by yched, JohnAlbin, moshe weitzman, Frando, et al: Allow more granular theming of drupal_render()ed elements.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 85bcceb36..ad7bedbe5 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1247,18 +1247,6 @@ function template_preprocess_node(&$variables) {
unset($node->content['links']);
}
- // Render taxonomy links separately.
- $variables['terms'] = !empty($node->content['links']['terms']) ? drupal_render($node->content['links']['terms']) : '';
-
- // Render all remaining node links.
- $variables['links'] = !empty($node->content['links']) ? drupal_render($node->content['links']) : '';
-
- // Render any comments.
- $variables['comments'] = !empty($node->content['comments']) ? drupal_render($node->content['comments']) : '';
-
- // Render the rest of the node into $content.
- $variables['content'] = drupal_render($node->content);
-
// Flatten the node object's member fields.
$variables = array_merge((array)$node, $variables);