CoreFiles by mySites.guru
mod_menu.php27 lines, 898 bytes, from Joomla_1.7.0-Stable-Full_Package.zip
Raw History Compare with 1.6.6
md5
298df513f69ed63a2c10c80da81370ae
sha1
b567832ea32bd2bbd07ebc072d52b1ffbb364af3
sha256
259d7a8952857acb6f61009eafbafc10ca555fff5c8c7d8655c311e652c01f3d
<?php
/**
 * @version		$Id: mod_menu.php 20806 2011-02-21 19:44:59Z 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;

// Include the syndicate functions only once
require_once dirname(__FILE__).'/helper.php';

$list	= modMenuHelper::getList($params);
$app	= JFactory::getApplication();
$menu	= $app->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'));
}

The same content is in 9 releases, Joomla 1.6.1 to 1.7.2. See them all, or every version of this file.