PageRenderTime 38ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/mod_articles_latest/tmpl/default.php

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