Beispiel #1
0
        if ($params->get('item_created_display', 1) == 1) {
            ?>
					<div class="created-date ">
						<?php 
            echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC3'));
            ?>
					</div>
				<?php 
        }
        ?>
				<?php 
        if ($params->get('item_description_display', 1) == 1) {
            ?>
					<div class="introtext">
						<?php 
            echo SjListingTabsHelper::truncate($item->introtext, $params->get('item_des_maxlength', 200));
            ?>
					</div>
				<?php 
        }
        $tags = '';
        if ($params->get('item_tags_display') == 1 && $item->tags != '' && !empty($item->tags->itemTags)) {
            $item->tagLayout = new JLayoutFile('joomla.content.tags');
            $tags = $item->tagLayout->render($item->tags->itemTags);
        }
        if ($tags != '') {
            ?>
				<div class="item-tags">
					<?php 
            echo $tags;
            ?>
Beispiel #2
0
		<?php 
    } else {
        ?>
				<li class="ltabs-tab <?php 
        echo isset($tab->sel) ? '  tab-sel tab-loaded' : '';
        ?>
 <?php 
        echo $tab->id == '*' ? ' tab-all' : '';
        ?>
"
					data-category-id="<?php 
        echo $tab->id;
        ?>
"
					data-active-content=".items-category-<?php 
        echo $tab->id;
        ?>
">
					<span
						class="ltabs-tab-label"><?php 
        echo SjListingTabsHelper::truncate($tab->title, $params->get('tab_max_characters'));
        ?>
			</span>
				</li>
			<?php 
    }
}
?>
	</ul>
</div>