joomla_test/administrator/modules/mod_submenu/mod_submenu.php

25 lines
668 B
PHP
Raw Normal View History

2020-01-02 22:20:31 +07:00
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_submenu
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$list = JSubMenuHelper::getEntries();
$filters = JSubMenuHelper::getFilters();
$action = JSubMenuHelper::getAction();
$displayMenu = count($list);
$displayFilters = count($filters);
$hide = JFactory::getApplication()->input->getBool('hidemainmenu');
if ($displayMenu || $displayFilters)
{
require JModuleHelper::getLayoutPath('mod_submenu', $params->get('layout', 'default'));
}