-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_respmultilevelmenu.php
30 lines (25 loc) · 1.02 KB
/
mod_respmultilevelmenu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Responsive Multi Level Menu
* Joomla 3.2.x module based on the work of Mary Lou (Manoela Ilic), http://tympanus.net/codrops/2013/04/19/responsive-multi-level-menu/
* Code based on the original Joomla Menu Module
*
* Copyright (C) 4 ReneKreijveld.nl, http://about.me/renekreijveld
* GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the syndicate functions only once
require_once __DIR__ . '/helper.php';
$list = ModRespMultiLevelMenuHelper::getList($params);
$base = ModRespMultiLevelMenuHelper::getBase($params);
$active = ModRespMultiLevelMenuHelper::getActive($params);
$active_id = $active->id;
$path = $base->tree;
$showAll = $params->get('showAllChildren');
$class_sfx = htmlspecialchars($params->get('class_sfx'));
$script = ModRespMultiLevelMenuHelper::getScript($params);
$animation = htmlspecialchars($params->get('Animation'));
if (count($list))
{
require JModuleHelper::getLayoutPath('mod_respmultilevelmenu', $params->get('layout', 'default'));
}