CoreFiles by mySites.guru
default_articles.php26 lines, 788 bytes, from Joomla_1.7.5-Stable-Full_Package.zip
Raw History Compare with 1.7.4
md5
0caa4878cda6076e45362e365bf3f9ed
sha1
eb7884a12de57328b247a91797aa1c06496d296c
sha256
067aa0ec6ffa91cfe2a3f09b0a767c1d3955a74f8bf665429bf2e195a1a567e8
<?php
/**
 * @version		$Id: default_articles.php 22338 2011-11-04 17:24:53Z github_bot $
 * @package		Joomla.Site
 * @subpackage	com_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 3 releases, Joomla 1.7.3 to 1.7.5. See them all, or every version of this file.