CoreFiles by mySites.guru
default_articles.php26 lines, 776 bytes, from Joomla_1.6.0-Stable-Full_Package.zip
Raw History Compare with 1.5.26
md5
8368981a09150210684ae34ebaeb7f85
sha1
2127cea3662115a0a9c5564ccf59e37e53157758
sha256
3826d9bf05622310cde27bb773fe000e43345fa722a63d080a153763a166cd81
<?php
/**
 * @version		$Id: default_articles.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Site
 * @subpackage	Contact
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;
?>
<?php if ($this->params->get('show_articles')) : ?>
<div class="contact-articles">

	<ol>
		<?php foreach ($this->item->articles as $article) :	?>
			<li>
			<?php $link = JRoute::_('index.php?option=com_content&view=article&id='.$article->id); ?>
			<?php echo '<a href="'.$link.'">' ?>
				<?php echo $article->text = htmlspecialchars($article->title, ENT_COMPAT, 'UTF-8'); ?>
				</a>
			</li>
		<?php endforeach; ?>
	</ol>
</div>
<?php endif; ?>

The same content is in 2 releases, Joomla 1.6.0 to 1.6.1. See them all, or every version of this file.