CoreFiles by mySites.guru
default_separator.php22 lines, 792 bytes, from Joomla_2.5.9-Stable-Full_Package.zip
Raw History Compare with 2.5.8
md5
c458b9f9a4e63527efbe6c5cd20a1716
sha1
a361c35cbcddfb3d9c033bfbe4dbdb332e76fee2
sha256
868e06871d135fac3878468c97f440d1f8f4455b714aed0da867095092e0c22f
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
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 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.