CoreFiles by mySites.guru
mod_menu.php26 lines, 826 bytes, from Joomla_2.5.3-Stable-Full_Package.zip
Raw History Compare with 2.5.2
md5
5bf95fd7a0f0439c52e86658dd5f9998
sha1
8535e01dff8fe968e80631e76b18b6aecdad450e
sha256
5a5ecf1518c0cca81b77064eb413ee43bfd1a5390db8e9bfcb5ba01791c84331
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2012 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 2.5.0 to 2.5.8. See them all, or every version of this file.