summaryrefslogtreecommitdiff
path: root/themes
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 /themes
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 'themes')
-rw-r--r--themes/garland/block.tpl.php4
-rw-r--r--themes/garland/comment.tpl.php4
-rw-r--r--themes/garland/node.tpl.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/garland/block.tpl.php b/themes/garland/block.tpl.php
index 50a79d363..4d9e443e2 100644
--- a/themes/garland/block.tpl.php
+++ b/themes/garland/block.tpl.php
@@ -1,10 +1,10 @@
<?php
// $Id$
?>
-<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?> clearfix">
+<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php if (!empty($block->subject)): ?>
- <h2 class="title"><?php print $block->subject ?></h2>
+ <h2 class="title"<?php print $title_attributes; ?>><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content"><?php print $content ?></div>
diff --git a/themes/garland/comment.tpl.php b/themes/garland/comment.tpl.php
index d664d2360..9a8959cc5 100644
--- a/themes/garland/comment.tpl.php
+++ b/themes/garland/comment.tpl.php
@@ -1,7 +1,7 @@
<?php
// $Id$
?>
-<div class="<?php print $classes . ' ' . $zebra; ?>">
+<div class="<?php print $classes . ' ' . $zebra; ?>"<?php print $attributes; ?>>
<div class="clearfix">
@@ -13,7 +13,7 @@
<?php print $picture ?>
- <h3><?php print $title ?></h3>
+ <h3<?php print $title_attributes; ?>><?php print $title ?></h3>
<div class="content">
<?php hide($content['links']); print render($content); ?>
diff --git a/themes/garland/node.tpl.php b/themes/garland/node.tpl.php
index 9895917d1..01038e21b 100644
--- a/themes/garland/node.tpl.php
+++ b/themes/garland/node.tpl.php
@@ -1,12 +1,12 @@
<?php
// $Id$
?>
-<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>">
+<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?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): ?>