CoreFiles by mySites.guru
default_separator.php23 lines, 874 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
f1cb0d0ab095f0be3f11f5d81ac26882
sha1
7117b1afc4433a9fc3eb1724be2afbd8a15a99e2
sha256
2d1221cd7cff7cd3061a36ef29a0bb2150610f75318bcd83a7d6d87e21377eca
<?php
/**
 * @version		$Id: default_separator.php 21322 2011-05-11 01:10:29Z dextercowley $
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2011 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 6 releases, Joomla 1.7.0 to 1.7.5. See them all, or every version of this file.