CoreFiles by mySites.guru
default.php37 lines, 896 bytes, from Joomla_3.0.0-Stable-Full_Package.zip
Raw History Compare with 2.5.28
md5
41aa0aed3123316de5ec747bade505b8
sha1
ee3d1b130394284ddf58e7da0e86dbe9e44eec28
sha256
d03c2bac916cb126b42d14180612333a4ae9e08dbee79b6f46a0703e64b41c0d
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_submenu
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$hide = JFactory::getApplication()->input->getBool('hidemainmenu');
?>
<ul id="submenu" class="nav nav-list">
	<?php foreach ($list as $item) : ?>
	<?php if (isset ($item[2]) && $item[2] == 1) :
		?><li class="active"><?php
	else :
		?><li><?php
	endif;
	?>
	<?php
	if ($hide) :
		if (isset ($item[2]) && $item[2] == 1) :
			?><a class="nolink"><?php echo $item[0]; ?></a><?php
		endif;
	else :
		if(strlen($item[1])) :
			?><a href="<?php echo JFilterOutput::ampReplace($item[1]); ?>"><?php echo $item[0]; ?></a><?php
		else :
			?><?php echo $item[0]; ?><?php
		endif;
	endif;
	?>
	</li>
	<?php endforeach; ?>
</ul>

The same content is in 2 releases, Joomla 3.0.0 to 3.0.1. See them all, or every version of this file.