0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: mod_unite_hcarousel.tar
mod_unite_hcarousel.php 0000666 00000001713 15137201416 0011313 0 ustar 00 <?php /** * @package Unite Horizontal Carousel Module for Joomla 1.7-2.5 * @version 1.0 * @author UniteCMS.net * @copyright (C) 2012- Unite CMS * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html **/ // no direct access defined('_JEXEC') or die; //include item files $pathIncludes = JPATH_ADMINISTRATOR."/components/com_unitehcarousel/includes.php"; require_once $pathIncludes; //set active menu link $urlBase = JURI::base(); $sliderID = $params->get("sliderid"); $document = JFactory::getDocument(); $include_jquery = $params->get("include_jquery","true"); if($include_jquery == "true") $document->addScript("http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"); $loadType = $params->get("js_load_type","head"); $isJSInBody = ($loadType == "body")?true:false; $noConflictMode = ($params->get("no_conflict_mode") == "true")?true:false; HelperUniteHCar::outputSlider($sliderID,$isJSInBody,$noConflictMode); mod_unite_hcarousel.xml 0000666 00000006636 15137201416 0011335 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <extension type="module" version="1.6.0" method="upgrade" client="site" > <name>Unite Horizontal Carousel</name> <author>Unite CMS</author> <creationDate>May 2012</creationDate> <copyright>Copyright (C) 2012 UniteCMS.net, All rights reserved.</copyright> <license>GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html</license> <authorEmail>support@unitecms.net</authorEmail> <authorUrl>http://www.unitecms.net</authorUrl> <version>1.2</version> <description><![CDATA[ <div style="font-weight:normal;"> <p><strong>Unite Horizontal Carousel</strong> module. Put the carousel on any page. All the carousel configuration located in Component.</p> <p> For support please turn to <a href="http://unitecms.net/free-joomla-extensions/unite-horizontal-carousel/unite-horizontal-carousel-support" target="_blank">Unite Horizontal Carousel Support Page</a> </p> <small style="float:right">ver. 1.2</small> </div> ]]> </description> <files> <filename module="mod_unite_hcarousel">mod_unite_hcarousel.php</filename> <filename>index.html</filename> <filename>mod_unite_hcarousel.xml</filename> </files> <config> <fields name="params" addfieldpath="/administrator/components/com_unitehcarousel/models/fields"> <fieldset name="general" label="General Settings"> <field name="sliderid" type="slider" label="Slider" description="Choose a slider from the component" /> </fieldset> <fieldset name="advanced"> <field name="include_jquery" type="radio" default="true" label="Include jQuery 1.7 js" description="Add include of jquery js. If you have jquery include in other module, and you don't want to double include, choose 'No'"> <option value="true">Yes</option> <option value="false">No</option> </field> <field name="js_load_type" type="radio" default="head" label="Include item JS in" description="The right way is to include the js to the head section, but on some cases when you have double jquery loading, you can make it work by changing into body"> <option value="head">Head</option> <option value="body">Body</option> </field> <field name="no_conflict_mode" type="radio" default="false" label="No Conflict Mode" description="Run jQuery.noConflict() function. If you have some other js libraries that not working good, you can try this option."> <option value="true">Yes</option> <option value="false">No</option> </field> <field name="moduleclass_sfx" type="text" label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL" description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC" /> <field name="cache" type="list" default="1" label="COM_MODULES_FIELD_CACHING_LABEL" description="COM_MODULES_FIELD_CACHING_DESC"> <option value="1">JGLOBAL_USE_GLOBAL</option> <option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option> </field> <field name="cache_time" type="text" default="900" label="COM_MODULES_FIELD_CACHE_TIME_LABEL" description="COM_MODULES_FIELD_CACHE_TIME_DESC" /> <field name="cachemode" type="hidden" default="itemid"> <option value="itemid"></option> </field> </fieldset> </fields> </config> </extension> .htaccess 0000666 00000000177 15137201416 0006353 0 ustar 00 <FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch>