AAAAdefault.php000066600000012767151371434120006723 0ustar00get('tag_id') != NULL) ? ' id="' . $params->get('tag_id') . '"' : ''; if (isset($attribs['name']) && $attribs['name'] == 'position-1') { $menutype = 'horizontal'; $start = $params->get('startLevel'); // render subitems or not. $subitems = $GLOBALS['artx_settings']['menu']['show_submenus'] && 1 == $params->get('showAllChildren'); // true - skip current node, false - render current node. $skip = false; echo '', $limit - $item->level + $item->level_diff); $skip = false; } } continue; } $class = 'item-' . $item->id; $class .= $item->id == $active_id ? ' current' : ''; $class .= ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path)) ? ' active' : ''; $class .= $item->deeper ? ' deeper' : ''; $class .= $item->parent ? ' parent' : ''; echo '
  • '; // Render the menu item. switch ($item->type) { case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_' . $item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; } if ($item->deeper) { if (!$subitems) { $limit = $item->level; $skip = true; continue; } echo '
  • ', $item->level_diff); else echo ''; } echo ''; } else if (0 === strpos($params->get('moduleclass_sfx'), 'awp-vmenu') || false !== strpos($params->get('moduleclass_sfx'), ' awp-vmenu')) { $menutype = 'vertical'; $start = $params->get('startLevel'); // render subitems or not. $subitems = $GLOBALS['artx_settings']['vmenu']['show_submenus'] && 1 == $params->get('showAllChildren'); // true - skip current node, false - render current node. $skip = false; // limit of rendering - skip items with level more then limit. $limit = $start; echo '', $limit - $item->level + $item->level_diff); $skip = false; } } continue; } $class = 'item-' . $item->id; $class .= $item->id == $active_id ? ' current' : ''; $class .= ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path)) ? ' active' : ''; $class .= $item->deeper ? ' deeper' : ''; $class .= $item->parent ? ' parent' : ''; echo '
  • '; // Render the menu item. switch ($item->type) { case 'separator': case 'url': case 'component': require JModuleHelper::getLayoutPath('mod_menu', 'default_' . $item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'default_url'); break; } if ($item->deeper) { if (!$subitems) { $limit = $item->level; $skip = true; continue; } echo 'id, $path) ? ' class="active"' : '') . '>'; } elseif ($item->shallower) echo '
  • ' . str_repeat('', $item->level_diff); else echo ''; } echo ''; } else { $menutype = 'default'; echo ''; } default_url.php000066600000002127151371434120007572 0ustar00 array($item->params->get('menu-anchor_css', '')), 'title' => $item->params->get('menu-anchor_title', ''), 'href' => $item->flink); switch ($item->browserNav) { case 1: // _blank $attributes['target'] = '_blank'; break; case 2: // window.open $attributes['onclick'] = 'window.open(this.href,\'targetWindow\',' . '\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes\');return false;'; break; } $linktype = $item->menu_image ? ('' . $item->title . '' . ($item->params->get('menu_text', 1) ? $item->title : '')) : $item->title; if (('horizontal' == $menutype || 'vertical' == $menutype) && ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path))) { $attributes['class'][] = 'active'; } echo artxTagBuilder('a', $attributes, $linktype); .htaccess000066600000000177151371434120006354 0ustar00 Order allow,deny Deny from all index.html000066600000000032151371434120006541 0ustar00default_separator.php000066600000001553151371434120010772 0ustar00 array(), 'title' => $item->params->get('menu-anchor_title', '')); $linktype = $item->menu_image ? ('' . $item->title . '' . ($item->params->get('menu_text', 1) ? $item->title : '')) : $item->title; if ('default' == $menutype) { echo '' . $linktype . ''; } 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); } default_component.php000066600000002346151371434120010775 0ustar00 array($item->params->get('menu-anchor_css', '')), 'title' => $item->params->get('menu-anchor_title', '')); switch ($item->browserNav) { default: case 0: $attributes['href'] = $item->flink; break; case 1: // _blank $attributes['href'] = $item->flink; $attributes['target'] = '_blank'; break; case 2: // window.open $attributes['href'] = $item->flink; $attributes['onclick'] = 'window.open(this.href,\'targetWindow\',' . '\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes\');return false;'; break; } $linktype = $item->menu_image ? ('' . $item->title . '' . ($item->params->get('menu_text', 1) ? $item->title : '')) : $item->title; if (('horizontal' == $menutype || 'vertical' == $menutype) && ('alias' == $item->type && in_array($item->params->get('aliasoptions'), $path) || in_array($item->id, $path))) { $attributes['class'][] = 'active'; } echo artxTagBuilder('a', $attributes, $linktype);