CoreFiles by mySites.guru
default_articles.php25 lines, 814 bytes, from Joomla_3.9.14-Stable-Full_Package.zip
Raw History Compare with 3.9.13
md5
6abe714ff6f6d284da21152c0d0c12ca
sha1
38fe50ae448f0d205a99bfa38345d742390ad3fc
sha256
572b85d5de7948f98567eb9392cad5e42517d31a3c8f6b018ca6375d06d3289f
<?php
/**
 * @package     Joomla.Site
 * @subpackage  com_contact
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JLoader::register('ContentHelperRoute', JPATH_SITE . '/components/com_content/helpers/route.php');

?>
<?php if ($this->params->get('show_articles')) : ?>
<div class="contact-articles">
	<ul class="nav nav-tabs nav-stacked">
		<?php foreach ($this->item->articles as $article) : ?>
			<li>
				<?php echo JHtml::_('link', JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid, $article->language)), htmlspecialchars($article->title, ENT_COMPAT, 'UTF-8')); ?>
			</li>
		<?php endforeach; ?>
	</ul>
</div>
<?php endif; ?>

The same content is in 26 releases, Joomla 3.9.2-rc to 3.9.14. See them all, or every version of this file.