Current Path :
/
home
/
develito
/
public_html
/
modules
/
mod_bm_articles_tab
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/public_html/modules/mod_bm_articles_tab/defines.php
<?php /** * @package mod_bm_defines * @author brainymore.com * @email brainymore@gmail.com * @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; $show_readmore = $params->get('show_readmore', 1); $readmore_label = $params->get('readmore_label', 'More detail'); $show_desc = $params->get('show_desc', 1); $effect = $params->get('effect', 'fade'); $tab_color = $params->get('tab_color', '#5ba4a4'); $show_image = $params->get('show_image', 1); $addLinkToImage = $params->get('addLinkToImage', 1); $show_title = $params->get('show_title', 1); $document = JFactory::getDocument(); $class_module_id = '#bm-tabs-'.$module->id; $style = $class_module_id.' label{ background:' .$tab_color. ';background-color:' .$tab_color. '}'; $style .= $class_module_id.' input:checked + label{ background:#FFFFFF;background-color:#FFFFFF}'; $document->addStyleDeclaration($style); if(!defined('BM_ARTICLES_TAB_LOAD_SCRIPT')) { JHtml::stylesheet(Juri::base() . 'modules/'.$module->module.'/assets/css/styles.css'); define('BM_ARTICLES_TAB_LOAD_SCRIPT', TRUE); } ?>