Current Path :
/
home
/
develito
/
httpdocs
/
modules
/
mod_jptabs
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/httpdocs/modules/mod_jptabs/mod_jptabs.php
<?php /** * @package JP Extensions * @subpackage mod_jptabs * * @copyright Copyright (C) 2005 - 2015 JoomPortal.Com. All rights reserved. * @license GNU General Public License version 2 or later. */ // no direct access defined('_JEXEC') or die ('Restricteted access'); if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); require_once (dirname(__FILE__). DS .'helper.php'); $listabs = modJpTabsHelper::getTabsSelection($params); $doc = JFactory::getDocument(); $modpath = JURI::root(true).'/modules/' . $module->module . '/assets/'; $doc->addStyleSheet($modpath.'css/mod_jptabs_style.css'); if ($params->get('load_bootstrap', 1)) { $doc->addScript($modpath . "bootstrap/js/bootstrap.min.js"); $doc->addStyleSheet($modpath . "bootstrap/css/bootstrap.min.css"); $doc->addStyleSheet($modpath . "bootstrap/css/bootstrap-theme.min.css"); } require JModuleHelper::getLayoutPath('mod_jptabs', $params->get('layout', 'default')); ?>