diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-19 01:30:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-19 01:30:07 +0000 |
commit | 079dca8e17b47cfee0a80f4a683bb511c8fe5505 (patch) | |
tree | 8006b60dc5719ed42ff6be0f8645bb8da637a037 /modules/field/theme | |
parent | 29a574e08252d3fe7e1e805abbb6373a2cddba54 (diff) | |
download | brdo-079dca8e17b47cfee0a80f4a683bb511c8fe5505.tar.gz brdo-079dca8e17b47cfee0a80f4a683bb511c8fe5505.tar.bz2 |
- Patch #608036 by effulgentsia: add content_attributes() variable for tpl files, so RDF can be implemented better.
Diffstat (limited to 'modules/field/theme')
-rw-r--r-- | modules/field/theme/field.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/theme/field.tpl.php b/modules/field/theme/field.tpl.php index 312c4b844..a35fd7615 100644 --- a/modules/field/theme/field.tpl.php +++ b/modules/field/theme/field.tpl.php @@ -43,7 +43,7 @@ <?php if (!$label_hidden) : ?> <div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div> <?php endif; ?> - <div class="field-items"> + <div class="field-items"<?php print $content_attributes; ?>> <?php foreach ($items as $delta => $item) : ?> <div class="field-item <?php print $delta % 2 ? 'odd' : 'even'; ?>"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div> <?php endforeach; ?> |