Your IP : 216.73.216.134


Current Path : /home/bijouxly/www/templates/bijouxlyv39mars2015/html/mod_menu/
Upload File :
Current File : /home/bijouxly/www/templates/bijouxlyv39mars2015/html/mod_menu/default_separator.php

<?php
defined('_JEXEC') or die;

// Note: it is important to remove spaces between elements.
$attributes = array('class' => array(),
    'title' => $item->params->get('menu-anchor_title', ''));

$linktype = $item->menu_image
    ? ('<img class="art-menu-image" src="' . $item->menu_image . '" alt="' . $item->title . '" />'
        . ($item->params->get('menu_text', 1) ? $item->title : ''))
    : $item->title;

if ('default' == $menutype) {
    echo '<span class="separator">' . $linktype . '</span>';
} else if ('horizontal' == $menutype || 'vertical' == $menutype) {
    if ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path))
        $attributes['class'][] = 'active';
    $attributes['class'][] = $item->deeper ? 'separator' : 'separator-without-submenu';
    echo artxTagBuilder('a', $attributes, $linktype);
}