node.tpl.php in Drupal 5
1 theme call to node.tpl.php
- node_view in modules/node/node.module
- Generate a display of the given node.
File
themes/bluemarine/node.tpl.php
View source
<div class="node<?php
if ($sticky) {
print " sticky";
}
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>
<span class="taxonomy"><?php
print $terms;
?></span>
<div class="content"><?php
print $content;
?></div>
<?php
if ($links) {
?><div class="links">» <?php
print $links;
?></div><?php
}
?>
</div>