arteleku_skin/templates/node.tpl.php

34 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2017-12-15 01:06:00 +01:00
<?php if (!empty($pre_object)) print render($pre_object) ?>
<div class='<?php print $classes ?> clearfix' <?php print ($attributes) ?>>
<?php if (!empty($title_prefix)) print render($title_prefix); ?>
<?php if (!$page && !empty($title)): ?>
<h2 <?php if (!empty($title_attributes)) print $title_attributes ?>>
<?php if (!empty($new)): ?><span class='new'><?php print $new ?></span><?php endif; ?>
<a href="<?php print $node_url ?>"><?php print $title ?></a>
</h2>
<?php endif; ?>
<?php if (!empty($title_suffix)) print render($title_suffix); ?>
<?php if (!empty($submitted)): ?>
<div class='<?php //print $hook ?>-submitted clearfix'><?php print $submitted ?></div>
<?php endif; ?>
<?php if (!empty($content)): ?>
<div class='<?php //print $hook ?>-content clearfix <?php if (!empty($is_prose)) print 'prose' ?>'>
<?php //print render($content) ?>
<?php if(isset($variables["body"])) : print $variables["body"][0]["value"]; endif; ?>
</div>
<?php endif; ?>
<?php //dpm($variables); ?>
<?php if (!empty($links)): ?>
<div class='<?php //print $hook ?>-links clearfix'>
<?php //print render($links) ?>
</div>
<?php endif; ?>
</div>
<?php if (!empty($post_object)) print render($post_object) ?>