コード例 #1
0
						<div class="more-content">
								<?php 
            $description = '';
            $introtext = K2ResponsiveListing::_cleanText($item->introtext);
            $fulltext = K2ResponsiveListing::_cleanText($item->fulltext);
            if (strip_tags($introtext) != '') {
                $description = $introtext;
            } else {
                if (strip_tags($fulltext) != '') {
                    $description = $fulltext;
                } else {
                    $description = '';
                }
            }
            if ($description != '') {
                echo K2ResponsiveListing::truncate($description, (int) $params->get('item_des_maxlength_layout_grid'));
            }
            ?>
					 	</div>
					 	<?php 
        }
        ?>
					 	<?php 
        if ($params->get('item_created_display', 1) == 1) {
            ?>
					 	<div class="more-post" data-value="<?php 
            echo JText::_('POST_LABEL');
            ?>
"><?php 
            echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC3'));
            ?>
コード例 #2
0
ファイル: default.php プロジェクト: educakanchay/kanchay
">
								<a href="#<?php 
    echo $tag_id;
    ?>
" data-rl_value="<?php 
    echo $items->id == '*' ? '*' : '.category-' . $items->id;
    ?>
" class="<?php 
    echo $params->get('count_items_display', 0) == 0 ? 'respl-count' : '';
    ?>
" data-count="<?php 
    echo $items->count;
    ?>
">
									<?php 
    echo $items->title == JText::_('ALL_LABEL') ? JText::_('ALL_LABEL') : K2ResponsiveListing::truncate($items->name, $params->get('tal_max_characters'));
    ?>
								</a>
							</li>
						<?php 
}
?>
					</ul>
					<div class="clear"></div>
				</div>
			</div>
			<div class="respl-sort-view" >
			<?php 
if ($params->get('sort_byform_display', 1) == 1) {
    $value_curr = '';
    $data_curr = '';
コード例 #3
0
						<?php 
            if ($params->get('item_title_display', 1) == 1) {
                ?>
						<div class="more-title2">
							<a href="<?php 
                echo $item->link;
                ?>
" <?php 
                echo K2ResponsiveListing::parseTarget($params->get('link_target', '_self'));
                ?>
 title="<?php 
                echo $item->title;
                ?>
" >
								<?php 
                echo K2ResponsiveListing::truncate($item->title, $params->get('item_title_max_characters', 25));
                ?>
							 </a>
						</div>
						<?php 
            }
            ?>
						<?php 
            if ($params->get('item_cat_display', 1) == 1) {
                ?>
						<div class="more-public" >
							<a href="<?php 
                echo $item->categoryLink;
                ?>
" <?php 
                echo K2ResponsiveListing::parseTarget($params->get('link_target', '_self'));