Esempio n. 1
0
function art_node_worker($node)
{
    $links_output = art_links_woker($node->links);
    $terms_output = art_terms_worker($node->taxonomy);
    $output = $links_output;
    if (!empty($links_output) && !empty($terms_output)) {
        $output .= ' | ';
    }
    $output .= $terms_output;
    return $output;
}
Esempio n. 2
0
?>
</div>
</div>
<div class="cleared"></div>
<?php 
ob_start();
?>
<div class="art-PostFooterIcons art-metadata-icons">
<?php 
if (!empty($links)) {
    echo art_links_woker($node->links);
}
?>
      <?php 
if (!empty($terms)) {
    echo art_terms_worker($node);
}
?>

</div>
<?php 
$metadataContent = ob_get_clean();
if (trim($metadataContent) != '') {
    ?>
<div class="art-PostMetadataFooter">
<?php 
    echo $metadataContent;
    ?>

</div>
<?php