diff options
Diffstat (limited to 'modules/field')
-rw-r--r-- | modules/field/theme/field.tpl.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/theme/field.tpl.php b/modules/field/theme/field.tpl.php index e4cd85cd0..9e76e3b9c 100644 --- a/modules/field/theme/field.tpl.php +++ b/modules/field/theme/field.tpl.php @@ -49,11 +49,11 @@ After copying this file to your theme's folder and customizing it, remove this HTML comment. --> <div class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>> - <?php if (!$label_hidden) : ?> + <?php if (!$label_hidden): ?> <div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div> <?php endif; ?> <div class="field-items"<?php print $content_attributes; ?>> - <?php foreach ($items as $delta => $item) : ?> + <?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; ?> </div> |