Beispiel #1
0
    } else {
        echo $this->content;
    }
} else {
    echo $this->content;
}
?>
        </div>
        <?php 
if (!empty($this->categories)) {
    ?>
        <div class="wordbridge_categories">
        <?php 
    $categoryLinkList = array();
    foreach ($this->categories as $category) {
        $slug = WordbridgeHelper::nameToSlug($category);
        $categoryLinkList[] = sprintf('<a href="%s" class="wordbridge_category">%s</a>', $this->blogLink . '&c=' . $slug . '&view=category' . '&name=' . urlencode($category), $this->escape($category));
    }
    echo JText::_('COM_WORDBRIDGE_POSTED_IN') . ': <span class="wordbridge_categories">' . implode(', ', $categoryLinkList) . '</span>';
    ?>
        </div>
        <?php 
}
?>
    </div>
    <?php 
if ($this->jcomments != false) {
    echo sprintf('<div class="wordbridge_jcomments">%s</div>', $this->jcomments);
}
?>
</div>