Same filename in this branch
- 4.7.x themes/pushbutton/node.tpl.php
- 4.7.x themes/engines/phptemplate/node.tpl.php
- 4.7.x themes/bluemarine/node.tpl.php
Same filename and directory in other branches
- 5.x themes/engines/phptemplate/node.tpl.php
2 theme calls to node.tpl.php
- fileupload_view in developer/examples/fileupload.module
- Implementation of hook_view.
- node_view in modules/node.module
- Generate a display of the given node.
File
themes/engines/phptemplate/node.tpl.php
View source
<div class="node<?php
if ($sticky) {
print " sticky";
}
if (!$status) {
print " node-unpublished";
}
?>">
<?php
if ($page == 0) {
?>
<h2><a href="<?php
print $node_url;
?>" title="<?php
print $title;
?>"><?php
print $title;
?></a></h2>
<?php
}
?>
<?php
print $picture;
?>
<div class="info"><?php
print $submitted;
?><span class="terms"><?php
print $terms;
?></span></div>
<div class="content">
<?php
print $content;
?>
</div>
<?php
if ($links) {
?>
<?php
if ($picture) {
?>
<br class='clear' />
<?php
}
?>
<div class="links"><?php
print $links;
?></div>
<?php
}
?>
</div>