3 defined('_JEXEC') or die;
5 // Note. It is important to remove spaces between elements.
6 $attributes = array('class' => array(),
7 'title' => $item->params->get('menu-anchor_title', ''));
9 $linktype = $item->menu_image
10 ? ('<img class="art-menu-image" src="' . $item->menu_image . '" alt="' . $item->title . '" />'
11 . ($item->params->get('menu_text', 1) ? $item->title : ''))
14 if ('default' == $menutype) {
15 echo '<span class="separator">' . $linktype . '</span>';
16 } else if ('horizontal' == $menutype || 'vertical' == $menutype) {
17 if (in_array($item->id, $path))
18 $attributes['class'][] = 'active';
19 $attributes['class'][] = $item->deeper ? 'separator' : 'separator-without-submenu';
20 if ($params->get('startLevel') == $item->level)
21 $linktype = '<span class="l"></span><span class="r"></span><span class="t">' . $linktype . '</span>';
22 echo artxTagBuilder('a', $attributes, $linktype);