node-nodeblock-default.tpl.php in Nodeblock 6
node-nodeblock-default.tpl.php
Theme implementation to display a nodeblock enabled block. This template is provided as a default implementation that will be called if no other node template is provided. Any node-[type] templates defined by the theme will take priority over this template. Also, a theme can override this template file to provide its own default nodeblock theme.
Additional variables:
- $nodeblock: Flag for the nodeblock context.
File
node-nodeblock-default.tpl.phpView source
<?php
/**
* @file node-nodeblock-default.tpl.php
*
* Theme implementation to display a nodeblock enabled block. This template is
* provided as a default implementation that will be called if no other node
* template is provided. Any node-[type] templates defined by the theme will
* take priority over this template. Also, a theme can override this template
* file to provide its own default nodeblock theme.
*
* Additional variables:
* - $nodeblock: Flag for the nodeblock context.
*/
?>
<div id="node-<?php
print $node->nid;
?>" class="node<?php
if ($sticky) {
print ' sticky';
}
if (!$status) {
print ' node-unpublished';
}
?> clear-block">
<?php
print $picture;
?>
<?php
if (!$page && !$nodeblock) {
?>
<h2><a href="<?php
print $node_url;
?>" title="<?php
print $title;
?>"><?php
print $title;
?></a></h2>
<?php
}
?>
<div class="meta">
<?php
if ($submitted) {
?>
<span class="submitted"><?php
print $submitted;
?></span>
<?php
}
?>
<?php
if ($terms) {
?>
<div class="terms terms-inline"><?php
print $terms;
?></div>
<?php
}
?>
</div>
<div class="content">
<?php
print $content;
?>
</div>
<?php
print $links;
?>
</div>