CoreFiles by mySites.guru
default_heading.php28 lines, 737 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
183ecbedebdb1896bb0d9ad5406d5441
sha1
f1c8d8999826dbec2f589d3d9614decf18764006
sha256
393a59b0f8f2360c2d867b1e70fe8d9a2015157d2f3e2653fdb8f26d5f2f5383
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_menu
 *
 * @copyright   Copyright (C) 2005 - 2017 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 ?: '';

$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 22 releases, Joomla 3.7.0-alpha2 to 3.7.5. See them all, or every version of this file.