コード例 #1
0
ファイル: default_theme3.php プロジェクト: rodhoff/MNW
                ?>
					<?php 
            }
            ?>
				</div>
				 
            <?php 
        }
        ?>
			
			<?php 
        if ($options->item_desc_display == 1 && $item->displayIntrotext != '') {
            ?>
				<div class="item-description">
                <?php 
            echo $params->get('item_desc_max_characs') > 1 ? K2MegaNewsHelper::truncate($item->displayIntrotext, $params->get('item_desc_max_characs') - 1, '') : $item->displayIntrotext;
            ?>

				</div>
			<?php 
        }
        ?>

		

			<?php 
        if ($params->get('itemCommentsCounter') == 1) {
            ?>
				<div class="item-comment">
					<?php 
            if ($item->numOfComments == 1) {
コード例 #2
0
    if ($params->get('item_title_display') == 1) {
        ?>
				<div class="item-title">
					<a href="<?php 
        echo $item->link;
        ?>
"
					   title="<?php 
        echo $item->name;
        ?>
" <?php 
        echo K2MegaNewsHelper::parseTarget($params->get('link_target'));
        ?>
  >
						<?php 
        echo K2MegaNewsHelper::truncate($item->name, $params->get('item_title_max_characs'));
        ?>
					</a>
				</div>
			<?php 
    }
    $img = K2MegaNewsHelper::getK2Image($item, $params);
    if ($img) {
        ?>
				<div class="item-image">
					<a href="<?php 
        echo $item->link;
        ?>
"
					   title="<?php 
        echo $item->name;
コード例 #3
0
ファイル: default_theme1.php プロジェクト: rodhoff/MNW
            ?>
</span></div>
						<div class="item-date"><?php 
            echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_TEMPLATE'));
            ?>
</div>
					</div>
						<?php 
        }
        ?>
					<?php 
        if ($options->item_desc_display == 1) {
            ?>
						<div class="item-description">
							<?php 
            echo K2MegaNewsHelper::truncate($item->displayIntrotext, 40, '');
            ?>
						</div>
					<?php 
        }
        ?>
					</div>
					</div>
				</li>
			<?php 
    }
    ?>
		</ul>
		</div>
	</div>
<?php