AAAAPKDw>\êÈ&& default.phpnuW+A„¶ PKDw>\|´îÒWWdefault_url.phpnuW+A„¶ 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); PKDw>\®)ÕÐ .htaccessnuW+A„¶ Order allow,deny Deny from all PKDw>\¦V‰ index.htmlnuW+A„¶ PKDw>\›’ÓMkkdefault_separator.phpnuW+A„¶ 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); } PKDw>\ÅZ±kæædefault_component.phpnuW+A„¶ 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); PK‰˜>\®)ÕÐtmpl/.htaccessnuW+A„¶ Order allow,deny Deny from all PK‰˜>\.Åëytmpl/default_url.phpnuW+A„¶anchor_css ? 'class="'.$item->anchor_css.'" ' : ''; $title = $item->anchor_title ? 'title="'.$item->anchor_title.'" ' : ''; if ($item->menu_image) { $item->params->get('menu_text', 1 ) ? $linktype = ''.$item->title.''.$item->title.' ' : $linktype = ''.$item->title.''; } else { $linktype = $item->title; } $flink = $item->flink; $flink = JFilterOutput::ampReplace(htmlspecialchars($flink)); switch ($item->browserNav) : default: case 0: ?>href="" >href="" target="_blank" >get('window_open'); ?>href="" onclick="window.open(this.href,'targetWindow','');return false;" >\Œò¼ƒÂÂtmpl/default.phpnuW+A„¶ PK‰˜>\g¾&.ŠŠtmpl/default_component.phpnuW+A„¶anchor_css ? 'class="'.$item->anchor_css.'" ' : ''; $title = $item->anchor_title ? 'title="'.$item->anchor_title.'" ' : ''; if ($item->menu_image) { $item->params->get('menu_text', 1 ) ? $linktype = ''.$item->title.''.$item->title.' ' : $linktype = ''.$item->title.''; } else { $linktype = $item->title; } switch ($item->browserNav) : default: case 0: ?>href="flink; ?>" >href="flink; ?>" target="_blank" >href="flink; ?>" onclick="window.open(this.href,'targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes');return false;" > \û&xtmpl/default_separator.phpnuW+A„¶anchor_title ? 'title="'.$item->anchor_title.'" ' : ''; if ($item->menu_image) { $item->params->get('menu_text', 1 ) ? $linktype = ''.$item->title.''.$item->title.' ' : $linktype = ''.$item->title.''; } else { $linktype = $item->title; } ?> PK‰˜>\¦V‰tmpl/index.htmlnuW+A„¶ PK‰˜>\:"ŒŸ   helper.phpnuW+A„¶getMenu(); // If no active menu, use default $active = ($menu->getActive()) ? $menu->getActive() : $menu->getDefault(); $user = JFactory::getUser(); $levels = $user->getAuthorisedViewLevels(); asort($levels); $key = 'menu_items'.$params.implode(',', $levels).'.'.$active->id; $cache = JFactory::getCache('mod_menu', ''); if (!($items = $cache->get($key))) { // Initialise variables. $list = array(); $db = JFactory::getDbo(); $path = $active->tree; $start = (int) $params->get('startLevel'); $end = (int) $params->get('endLevel'); $showAll = $params->get('showAllChildren'); $items = $menu->getItems('menutype', $params->get('menutype')); $lastitem = 0; if ($items) { foreach($items as $i => $item) { if (($start && $start > $item->level) || ($end && $item->level > $end) || (!$showAll && $item->level > 1 && !in_array($item->parent_id, $path)) || ($start > 1 && !in_array($item->tree[$start-2], $path)) ) { unset($items[$i]); continue; } $item->deeper = false; $item->shallower = false; $item->level_diff = 0; if (isset($items[$lastitem])) { $items[$lastitem]->deeper = ($item->level > $items[$lastitem]->level); $items[$lastitem]->shallower = ($item->level < $items[$lastitem]->level); $items[$lastitem]->level_diff = ($items[$lastitem]->level - $item->level); } $item->parent = (boolean) $menu->getItems('parent_id', (int) $item->id, true); $lastitem = $i; $item->active = false; $item->flink = $item->link; // Reverted back for CMS version 2.5.6 switch ($item->type) { case 'separator': // No further action needed. continue; case 'url': if ((strpos($item->link, 'index.php?') === 0) && (strpos($item->link, 'Itemid=') === false)) { // If this is an internal Joomla link, ensure the Itemid is set. $item->flink = $item->link.'&Itemid='.$item->id; } break; case 'alias': // If this is an alias use the item id stored in the parameters to make the link. $item->flink = 'index.php?Itemid='.$item->params->get('aliasoptions'); break; default: $router = JSite::getRouter(); if ($router->getMode() == JROUTER_MODE_SEF) { $item->flink = 'index.php?Itemid='.$item->id; } else { $item->flink .= '&Itemid='.$item->id; } break; } if (strcasecmp(substr($item->flink, 0, 4), 'http') && (strpos($item->flink, 'index.php?') !== false)) { $item->flink = JRoute::_($item->flink, true, $item->params->get('secure')); } else { $item->flink = JRoute::_($item->flink); } $item->title = htmlspecialchars($item->title, ENT_COMPAT, 'UTF-8', false); $item->anchor_css = htmlspecialchars($item->params->get('menu-anchor_css', ''), ENT_COMPAT, 'UTF-8', false); $item->anchor_title = htmlspecialchars($item->params->get('menu-anchor_title', ''), ENT_COMPAT, 'UTF-8', false); $item->menu_image = $item->params->get('menu_image', '') ? htmlspecialchars($item->params->get('menu_image', ''), ENT_COMPAT, 'UTF-8', false) : ''; } if (isset($items[$lastitem])) { $items[$lastitem]->deeper = (($start?$start:1) > $items[$lastitem]->level); $items[$lastitem]->shallower = (($start?$start:1) < $items[$lastitem]->level); $items[$lastitem]->level_diff = ($items[$lastitem]->level - ($start?$start:1)); } } $cache->store($items, $key); } return $items; } } PK‰˜>\µÀ-xzz mod_menu.xmlnuW+A„¶ mod_menu Joomla! Project July 2004 Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 MOD_MENU_XML_DESCRIPTION mod_menu.php tmpl helper.php index.html mod_menu.xml en-GB.mod_menu.ini en-GB.mod_menu.sys.ini
PK‰˜>\Ý!:: mod_menu.phpnuW+A„¶getMenu(); $active = $menu->getActive(); $active_id = isset($active) ? $active->id : $menu->getDefault()->id; $path = isset($active) ? $active->tree : array(); $showAll = $params->get('showAllChildren'); $class_sfx = htmlspecialchars($params->get('class_sfx')); if(count($list)) { require JModuleHelper::getLayoutPath('mod_menu', $params->get('layout', 'default')); } PKDw>\êÈ&& default.phpnuW+A„¶PKDw>\|´îÒWWadefault_url.phpnuW+A„¶PKDw>\®)ÕÐ ÷ .htaccessnuW+A„¶PKDw>\¦V‰ ¯ index.htmlnuW+A„¶PKDw>\›’ÓMkk default_separator.phpnuW+A„¶PKDw>\ÅZ±kææ¸default_component.phpnuW+A„¶PK‰˜>\®)ÕÐãtmpl/.htaccessnuW+A„¶PK‰˜>\.Åëy tmpl/default_url.phpnuW+A„¶PK‰˜>\Œò¼ƒÂÂøtmpl/default.phpnuW+A„¶PK‰˜>\g¾&.ŠŠú"tmpl/default_component.phpnuW+A„¶PK‰˜>\û&xÎ(tmpl/default_separator.phpnuW+A„¶PK‰˜>\¦V‰0,tmpl/index.htmlnuW+A„¶PK‰˜>\:"ŒŸ   Ž,helper.phpnuW+A„¶PK‰˜>\µÀ-xzz è<mod_menu.xmlnuW+A„¶PK‰˜>\Ý!:: žLmod_menu.phpnuW+A„¶PK®P