Revision d2a09415
Added by Andreas Kohlbecker over 8 years ago
themes/garland_EDIT/field.tpl.php | ||
---|---|---|
1 |
<?php if (!$field_empty) : ?> |
|
2 |
<div class="field field-type-<?php print $field_type_css ?> field-<?php print $field_name_css ?>"> |
|
3 |
<?php if ($label_display == 'above') : ?> |
|
4 |
<div class="field-label"><?php print $label ?>: </div> |
|
5 |
<?php endif;?> |
|
6 |
<div class="field-items"> |
|
7 |
<?php foreach ($items as $delta => $item) : |
|
8 |
if (!empty($item['view']) || $item['view'] === "0") : ?> |
|
9 |
<div class="field-item"> |
|
10 |
<?php if ($label_display == 'inline') { ?> |
|
11 |
<div class="field-label-inline<?php print($delta ? '' : '-first')?>"> |
|
12 |
<?php print $label ?>: </div> |
|
13 |
<?php } ?> |
|
14 |
<?php print $item['view'] ?> |
|
15 |
</div> |
|
16 |
<?php endif; |
|
17 |
endforeach;?> |
|
18 |
</div> |
|
19 |
</div> |
|
20 |
<?php endif; ?> |
|
1 |
<?php if (!$field_empty) : ?> |
|
2 |
<div class="field field-type-<?php print $field_type_css ?> field-<?php print $field_name_css ?>"> |
|
3 |
<?php if ($label_display == 'above') : ?> |
|
4 |
<div class="field-label"><?php print $label ?>: </div> |
|
5 |
<?php endif;?> |
|
6 |
<div class="field-items"> |
|
7 |
<?php foreach ($items as $delta => $item) : |
|
8 |
if (!empty($item['view']) || $item['view'] === "0") : ?> |
|
9 |
<div class="field-item"> |
|
10 |
<?php if ($label_display == 'inline') { ?> |
|
11 |
<div class="field-label-inline<?php print($delta ? '' : '-first')?>"> |
|
12 |
<?php print $label ?>: </div> |
|
13 |
<?php } ?> |
|
14 |
<?php print $item['view'] ?> |
|
15 |
</div> |
|
16 |
<?php endif; |
|
17 |
endforeach;?> |
|
18 |
</div> |
|
19 |
</div> |
|
20 |
<?php endif; ?> |
Also available in: Unified diff
CRLF will be replaced by LF issues