diff options
author | bboldi <bboldi@gmail.com> | 2011-09-13 12:08:50 +0200 |
---|---|---|
committer | bboldi <bboldi@gmail.com> | 2011-09-13 12:08:50 +0200 |
commit | 9438279fd24e0309abd1f78a9442b149f7bd6bef (patch) | |
tree | 77d5495a6e2d94f625f9d23c5e2dcd26af2d1819 /node-og-group-post.tpl.php | |
download | nuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.gz nuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.bz2 |
Initial commit.
Diffstat (limited to 'node-og-group-post.tpl.php')
-rw-r--r-- | node-og-group-post.tpl.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/node-og-group-post.tpl.php b/node-og-group-post.tpl.php new file mode 100644 index 0000000..be40e4c --- /dev/null +++ b/node-og-group-post.tpl.php @@ -0,0 +1,40 @@ +<div class="b2-post"> + <div class="b2-post-body"> +<div class="b2-post-inner b2-article"> +<h2 class="b2-postheader"<?php print $title_attributes; ?>><?php print render($title_prefix); ?> +<?php echo art_node_title_output($title, $node_url, $page); ?> +<?php print render($title_suffix); ?> +</h2> +<?php if ($display_submitted): ?> +<div class="b2-postheadericons b2-metadata-icons"> +<?php echo art_submitted_worker($date, $name); ?> + +</div> +<?php endif; ?> +<div class="b2-postcontent"> +<?php + // We hide the comments and links now so that we can render them later. + hide($content['comments']); + hide($content['links']); + $terms = get_terms_D7($content); + hide($content[$terms['#field_name']]); + print render($content); + ?> + +</div> +<div class="cleared"></div> +<?php print $user_picture; ?> +<?php if (isset($content['links']) || isset($content['comments'])): +$output = art_links_woker_D7($content); +if (!empty($output)): ?> +<div class="b2-postfootericons b2-metadata-icons"> +<?php echo $output; ?> + +</div> +<?php endif; endif; ?> + +</div> + + <div class="cleared"></div> + </div> +</div> |