summaryrefslogtreecommitdiff
path: root/modules/node/node.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-08 18:26:42 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-08 18:26:42 +0000
commit9e236ef13f0722f1140c9f5f6cf6346bcfc24b1a (patch)
tree845acddf81ada2a8e51fce9b85a6e0cfa1896d09 /modules/node/node.tpl.php
parentc6c572a151211926c7edb3078e52ccb14e691af8 (diff)
downloadbrdo-9e236ef13f0722f1140c9f5f6cf6346bcfc24b1a.tar.gz
brdo-9e236ef13f0722f1140c9f5f6cf6346bcfc24b1a.tar.bz2
- Patch #764606 by JohnAlbin: node.tpl no longer needs taxonomy variables.
Diffstat (limited to 'modules/node/node.tpl.php')
-rw-r--r--modules/node/node.tpl.php21
1 files changed, 6 insertions, 15 deletions
diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php
index 8867472ec..952f20a9d 100644
--- a/modules/node/node.tpl.php
+++ b/modules/node/node.tpl.php
@@ -16,7 +16,6 @@
* calling format_date() with the desired parameters on the $created variable.
* - $name: Themed username of node author output from theme_username().
* - $node_url: Direct url of the current node.
- * - $terms: the themed list of taxonomy term links output from theme_links().
* - $display_submitted: whether submission information should be displayed.
* - $classes: String of classes that can be used to style contextually through
* CSS. It can be manipulated through the variable $classes_array from
@@ -88,20 +87,12 @@
<?php endif; ?>
<?php print render($title_suffix); ?>
- <?php if ($display_submitted || !empty($content['links']['terms'])): ?>
- <div class="meta">
- <?php if ($display_submitted): ?>
- <span class="submitted">
- <?php
- print t('Submitted by !username on !datetime',
- array('!username' => $name, '!datetime' => $date));
- ?>
- </span>
- <?php endif; ?>
-
- <?php if (!empty($content['links']['terms'])): ?>
- <div class="terms terms-inline"><?php print render($content['links']['terms']); ?></div>
- <?php endif; ?>
+ <?php if ($display_submitted): ?>
+ <div class="submitted">
+ <?php
+ print t('Submitted by !username on !datetime',
+ array('!username' => $name, '!datetime' => $date));
+ ?>
</div>
<?php endif; ?>