Révision 0939d55c
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/themes/bootstrap/templates/node/node.tpl.php | ||
---|---|---|
102 | 102 |
hide($content['field_tags']); |
103 | 103 |
print render($content); |
104 | 104 |
?> |
105 |
<?php if (!empty($content['field_tags']) || !empty($content['links'])): ?> |
|
106 |
<footer> |
|
107 |
<?php print render($content['field_tags']); ?> |
|
108 |
<?php print render($content['links']); ?> |
|
105 |
<?php |
|
106 |
// Only display the wrapper div if there are tags or links. |
|
107 |
$field_tags = render($content['field_tags']); |
|
108 |
$links = render($content['links']); |
|
109 |
if ($field_tags || $links): |
|
110 |
?> |
|
111 |
<footer> |
|
112 |
<?php print $field_tags; ?> |
|
113 |
<?php print $links; ?> |
|
109 | 114 |
</footer> |
110 | 115 |
<?php endif; ?> |
111 | 116 |
<?php print render($content['comments']); ?> |
Formats disponibles : Unified diff
Weekly update of contrib modules