CoreFiles by mySites.guru
default_separator.php29 lines, 892 bytes, from Joomla_3.5.0-beta-Beta-Full_Package.zip
Raw History Compare with 3.4.0-beta3
md5
3ab5f20ca885bc5a1fcfee8ba5941473
sha1
d516452980c35c6c1606b2324707f89a2192af9d
sha256
4506dac7232fe2d4aa07691382608b0549ec2829e2178dca17fbf6dfa2d7b480
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_menu
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Note. It is important to remove spaces between elements.
$class = $item->anchor_css ? ' ' . $item->anchor_css : '';
$title = $item->anchor_title ? ' title="' . $item->anchor_title . '" ' : '';
if ($item->menu_image)
	{
		$item->params->get('menu_text', 1) ?
		$linktype = '<img src="' . $item->menu_image . '" alt="' . $item->title . '" /><span class="image-title">' . $item->title . '</span> ' :
		$linktype = '<img src="' . $item->menu_image . '" alt="' . $item->title . '" />';
}
else
{
	$linktype = $item->title;
}

?>
<span class="separator<?php echo $class;?>"<?php echo $title; ?>>
	<?php echo $linktype; ?>
</span>

No other release has this exact content. See every version of this file.