CoreFiles by mySites.guru
mod_menu.php26 lines, 826 bytes, from Joomla_2.5.13-Stable-Full_Package.zip
Raw History Compare with 2.5.11
md5
586a83a98718d8c4d692aed9a1eee33d
sha1
0a99c974c563c50aa631d1b00bfd739302d20806
sha256
2c5f224e0b593fac58b5f0e6d22b159e6837d6700bcdf63293e6e1ea8df72155
<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_menu
 * @copyright	Copyright (C) 2005 - 2013 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 8 releases, Joomla 2.5.9 to 2.5.17. See them all, or every version of this file.