CoreFiles by mySites.guru
default_heading.php28 lines, 749 bytes, from Joomla_3.5.0-Stable-Full_Package.zip
Raw History Compare with 3.4.8
md5
6a2bdd6714a2d8c3d0b50a95c6216843
sha1
c7e2071bb1f836cdd97cbe0755044a0995f22f13
sha256
5b68559ac2a1998069730f673895ceeec05e829a17adebe25670eae06e7c736c
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_menu
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$title = $item->anchor_title ? ' title="' . $item->anchor_title . '"' : '';
$anchor_css = $item->anchor_css ? $item->anchor_css : '';

$linktype = $item->title;

if ($item->menu_image)
{
	$linktype = JHtml::_('image', $item->menu_image, $item->title);

	if ($item->params->get('menu_text', 1))
	{
		$linktype .= '<span class="image-title">' . $item->title . '</span>';
	}
}

?>
<span class="nav-header <?php echo $anchor_css; ?>"<?php echo $title; ?>><?php echo $linktype; ?></span>

The same content is in 12 releases, Joomla 3.5.0-beta3 to 3.6.0-alpha. See them all, or every version of this file.