CoreFiles by mySites.guru
default_separator.php28 lines, 813 bytes, from Joomla_3.4.8-Stable-Full_Package.zip
Raw History Compare with 3.4.7
md5
b252d924c46386ab72bf0c2dff6b4f0e
sha1
5a1df32a5c365f889d0db2a94520be6c94a7f2f3
sha256
b36b6c33128bd406b0887875fd1b469a2ad48f757ec75ac3ff37b537e3cc5ce5
<?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.
$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 $title; ?>>
	<?php echo $linktype; ?>
</span>

The same content is in 19 releases, Joomla 3.4.0-beta1 to 3.4.8. See them all, or every version of this file.