CoreFiles by mySites.guru
default_articles.php25 lines, 724 bytes, from Joomla_2.5.8-Stable-Full_Package.zip
Raw History Compare with 2.5.7
md5
957fb91ea6caf31ccc54366d38c5ee0b
sha1
d58bbe7cfcc86c2b494f376bf2db29326835277e
sha256
f2e085fa85a524a4a87fb1f7f640f41c6ee8aa0b5eabdf269080704a9e8768e3
<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_contact
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

require_once JPATH_SITE . '/components/com_content/helpers/route.php';

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

	<ol>
		<?php foreach ($this->item->articles as $article) :	?>
			<li>
				<?php echo JHtml::_('link', JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catslug)), htmlspecialchars($article->title, ENT_COMPAT, 'UTF-8')); ?>
			</li>
		<?php endforeach; ?>
	</ol>
</div>
<?php endif; ?>

The same content is in 9 releases, Joomla 2.5.0 to 2.5.8. See them all, or every version of this file.