/
home
/
assocoweys
/
comite
/
modules
/
mod_jumpmenu
/
Upload File
HOME
<?php /** # ------------------------------------------------------------------------ # Extensions for Joomla 2.5.x - Joomla 3.x # ------------------------------------------------------------------------ * @package Jumpmenu Module for Joomla! * @version $Id: 1.5 * @author JoomlaTema * @Copyright (C) 2012- JoomlaTema * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html # ------------------------------------------------------------------------ **/ defined( '_JEXEC' ) or die( 'Restricted access' ); require_once( dirname(__FILE__) .DIRECTORY_SEPARATOR . 'helper.php' ); $destination = $params->get( 'destination'); $heading= $params->get( 'heading', "" ); $headpos = $params->get( 'headpos', "" ); $textalign = $params->get( 'textalign', "" ); $textdir = $params->get( 'textdirection', "" ); $url[] = "!"; $urltext[]= $params->get( 'urltext0', "" ); for ($jtn=1; $jtn<=40; $jtn++) { $urltext[]= $params->get( 'urltext'.$jtn , "" ); $url[] = $params->get( 'url'.$jtn , "" ); } $list = modTriggerMenuHelper::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')); $loadJQuery = $params->get('loadJQuery'); $bgtrigger = $params->get('bgtrigger'); $fontcolor = $params->get('fontcolor'); modTriggerMenuHelper::SetScript($loadJQuery); modTriggerMenuHelper::SetCSS(); if(count($list)) { require( JModuleHelper::getLayoutPath( 'mod_jumpmenu' , $params->get('layout', 'default')) ); } ?>