CoreFiles by mySites.guru
default_separator.php28 lines, 748 bytes, from Joomla_3.5.1-Stable-Full_Package.zip
Raw History Compare with 3.5.0
md5
fd97d02da30db53d57f3726af86482c3
sha1
1ead9cd9b53c4808ee57a1d80c9ef3d2761c16e2
sha256
f4a46b5ca99f51da0efe1ad9971252e45f6d4ee0c2c9ad0eb0601190968c91b9
<?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="separator <?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.