CoreFiles by mySites.guru
default_links.php31 lines, 930 bytes, from Joomla_2.5.6-Stable-Full_Package.zip
Raw History Compare with 2.5.5
md5
81bef7bf0a91b046362203add19dc3e7
sha1
04ccd7a3a86b9c0101d89fb05d78537d845f88a2
sha256
6563ff9066d8dc470b9d5de3cb6181cceddf709cb6a5d0efc32cf12f30544d55
<?php
/**
 * @package		Joomla.Site
 * @subpackage	Templates.beez5
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$templateparams =$app->getTemplate(true)->params;
if ($templateparams->get('html5')!=1)
{
	require JPATH_BASE.'/components/com_content/views/featured/tmpl/default_links.php';
	//evtl. ersetzen durch JPATH_COMPONENT.'/views/...'
} else {
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
?>

<h3><?php echo JText::_('COM_CONTENT_MORE_ARTICLES'); ?></h3>

<ol class="links">
<?php foreach ($this->link_items as &$item) : ?>
	<li>
		<a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug)); ?>">
			<?php echo $item->title; ?></a>
	</li>
<?php endforeach; ?>
</ol>
<?php } ?>

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