Skip to content

Instantly share code, notes, and snippets.

@iamkristian
Created July 1, 2009 08:15
Show Gist options
  • Save iamkristian/138665 to your computer and use it in GitHub Desktop.
Save iamkristian/138665 to your computer and use it in GitHub Desktop.
<?php
// $Id: node.tpl.php,v 1.7 2007/08/07 08:39:36 goba Exp $
?>
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
<?php if ($picture) {
print $picture;
}?>
<?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
<span class="submitted"><?php print $submitted?></span>
<div class="taxonomy"><?php print $terms?></div>
<div class="content">hal: <?php print content_format('field_hal', $field_hal[0]) ?></pre></div>
<div class="content">tid: <?php print $node->field_tid ?></pre></div>
<div class="content">udehold: <?php print $node->field_udehold ?></pre></div>
<div class="content">hjemmehold: <?php print $node->field_hjemmehold ?></div>
<?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment