123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- <?php
- ?>
- <div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
- <?php print render($title_prefix); ?>
- <?php if (!$page): ?>
- <h2<?php print $title_attributes; ?>>
- <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
- </h2>
- <?php endif; ?>
- <?php print render($title_suffix); ?>
- <?php if ($display_submitted): ?>
- <div class="meta submitted">
- <?php print $user_picture; ?>
- <?php print $submitted; ?>
- </div>
- <?php endif; ?>
- <div class="content clearfix"<?php print $content_attributes; ?>>
- <?php
- // We hide the comments and links now so that we can render them later.
- hide($content['comments']);
- hide($content['links']);
- print render($content);
- ?>
- </div>
- <?php
- // Remove the "Add new comment" link on the teaser page or if the comment
- // form is being displayed on the same page.
- if ($teaser || !empty($content['comments']['comment_form'])) {
- unset($content['links']['comment']['#links']['comment-add']);
- }
-
- $links = render($content['links']);
- if ($links):
- ?>
- <div class="link-wrapper">
- <?php print $links; ?>
- </div>
- <?php endif; ?>
- <?php print render($content['comments']); ?>
- </div>
|