/aamenu/code/trunk/administrator/modules/mod_aamenu/mod_aamenu.php
PHP | 28 lines | 12 code | 5 blank | 11 comment | 2 complexity | d8271d283823df0f67635b71ebb5468a MD5 | raw file
- <?php
- /**
- * @version $Id: mod_aamenu.php 255 2010-08-20 09:43:07Z eddieajau $
- * @package TAOJ.AAMenu
- * @subpackage mod_aamenu
- * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
- * @copyright Copyright (C) 2009 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
- * @link http://www.theartofjoomla.com
- */
- // no direct access
- defined('_JEXEC') or die;
- require_once(dirname(__FILE__).DS.'helper.php');
- // We need to add these support files in from the Khepri template
- JHtml::script('menu.js', 'administrator/templates/khepri/js/');
- JHtml::script('index.js', 'administrator/templates/khepri/js/');
- $hide = JRequest::getInt('hidemainmenu');
- if ($hide) {
- modAAMenuHelper::buildDisabledMenu();
- }
- else {
- modAAMenuHelper::buildMenu();
- }