node.tpl.php in Drupal for Facebook 6.2
File
themes/fb_fbml/node.tpl.php
View source
<?php
$class = "class=\"node node-{$type}";
if ($sticky) {
$class .= " sticky";
}
if (!$status) {
$class .= " node-unpublished";
}
$class .= "\"";
if (isset($extra_style)) {
$style = "style = \"{$extra_style}\"";
}
?>
<div <?php
print $class;
?> <?php
print isset($style) ? $style : '';
?>>
<?php
if ($picture || $page == 0 || $submitted || $terms) {
?>
<div class="node-header">
<?php
if ($picture && $submitted) {
print $picture;
}
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>
<?php
}
?>
<div class="content"><?php
print $content;
?></div>
<div class="footer">
<?php
if ($links) {
?>
<div class="links"><?php
print $links;
?></div>
<?php
}
?>
</div>
<?php
if ($node_bottom && !$teaser) {
?>
<div id="node-bottom">
<?php
print $node_bottom;
?>
</div>
<?php
}
?>
<?php
if (isset($children)) {
?>
<div class="children" id="children_<?php
print $node->nid;
?>">
<?php
print $children;
?>
</div>
<?php
}
?>
</div>