PageRenderTime 28ms CodeModel.GetById 27ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/mod_related_items/tmpl/default.php

https://bitbucket.org/eternaware/joomus
PHP | 20 lines | 12 code | 1 blank | 7 comment | 1 complexity | f75eeeebdd6cc76c36a5b706771cb3b8 MD5 | raw file
Possible License(s): LGPL-2.1
 1<?php
 2/**
 3 * @package     Joomla.Site
 4 * @subpackage  mod_related_items
 5 *
 6 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 7 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 8 */
 9
10defined('_JEXEC') or die;
11?>
12<ul class="relateditems<?php echo $moduleclass_sfx; ?>">
13<?php foreach ($list as $item) :	?>
14<li>
15	<a href="<?php echo $item->route; ?>">
16		<?php if ($showDate) echo JHTML::_('date', $item->created, JText::_('DATE_FORMAT_LC4')). " - "; ?>
17		<?php echo $item->title; ?></a>
18</li>
19<?php endforeach; ?>
20</ul>