summaryrefslogtreecommitdiff
path: root/modules/node/node.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-11 06:48:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-11 06:48:03 +0000
commit2729f1c2f0ae6aa790edf1a8be70a74fae04934c (patch)
tree160fa3de22ec22c8b63d4c09e41769cd8902b98e /modules/node/node.tpl.php
parent4f3e5cd94085d9a83aa9e52c95bf0fd7aedfb753 (diff)
downloadbrdo-2729f1c2f0ae6aa790edf1a8be70a74fae04934c.tar.gz
brdo-2729f1c2f0ae6aa790edf1a8be70a74fae04934c.tar.bz2
- Patch #569362 by scor, effulgentsia, catch: add attributes and title_attributes() variables for tpl files so that RDFa and Microformats can be implemented.
Diffstat (limited to 'modules/node/node.tpl.php')
-rw-r--r--modules/node/node.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php
index c3aa23539..1bc4c2c6e 100644
--- a/modules/node/node.tpl.php
+++ b/modules/node/node.tpl.php
@@ -70,12 +70,12 @@
* @see template_process()
*/
?>
-<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix">
+<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php print $user_picture; ?>
<?php if (!$page): ?>
- <h2><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
+ <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php endif; ?>
<?php if ($display_submitted || !empty($content['links']['terms'])): ?>