CoreFiles by mySites.guru
default_separator.php28 lines, 736 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
740df6e1a929ac6fb320ed3e971f1b1b
sha1
88d20e7d4f1c3a3be7188aea0f788e4f806617e2
sha256
360b943bbe99681d2304b156a169a10d361f80b4e7351f5ed6ac37a22a32bc59
<?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="separator <?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.