/modules/mod_articles_latest/tmpl/default.php
PHP | 20 lines | 11 code | 1 blank | 8 comment | 0 complexity | 0ec398432dc4d68e679cfef1dedbb907 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- <?php
- /**
- * @version $Id$
- * @package Joomla.Site
- * @subpackage mod_articles_latest
- * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
- // no direct access
- defined('_JEXEC') or die;
- ?>
- <ul class="latestnews<?php echo $params->get('moduleclass_sfx'); ?>">
- <?php foreach ($list as $item) : ?>
- <li>
- <a href="<?php echo $item->link; ?>">
- <?php echo $item->title; ?></a>
- </li>
- <?php endforeach; ?>
- </ul>