-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod_j51imagehover.php
38 lines (33 loc) · 1.75 KB
/
mod_j51imagehover.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
31
32
33
34
35
36
37
38
<?php
/**
* @package J51_ImageHover
* @copyright Copyright (C) 2009 - 2017 Joomla51. All rights reserved.
* @license GPL v3.0 or later http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
// Include the syndicate functions only once
require_once dirname(__FILE__) . '/helper.php';
$helper = new modJ51ImageHover();
// Define variables
$imagehover_images = $params->get('imagehover_images');
$j51_imghvr = $params->get('j51_imghvr', 'imghvr-fade-in-up');
$j51_image_width = $params->get('j51_image_width', '25%');
$j51_image_width_tabl = $params->get('j51_image_width_tabl', '33.333%');
$j51_image_width_tabp = $params->get('j51_image_width_tabp', '33.333%');
$j51_image_width_mobl = $params->get('j51_image_width_mobl', '50%');
$j51_image_width_mobp = $params->get('j51_image_width_mobp', '100%');
$j51_image_margin_x = $params->get('j51_image_margin_x', '10');
$j51_image_margin_y = $params->get('j51_image_margin_y', '10');
$j51_image_padding_x = $params->get('j51_image_padding_x', '20');
$j51_image_padding_y = $params->get('j51_image_padding_y', '20');
$j51_overlay_color = $params->get('j51_overlay_color', '#135796');
$j51_title_color = $params->get('j51_title_color', '#ffffff');
$j51_text_color = $params->get('j51_text_color', '#ffffff');
$j51_text_align = $params->get('j51_text_align', 'center');
$j51_text_vert_align = $params->get('j51_text_vert_align', 'center');
$j51_moduleid = $module->id;
$j51_title = $params->get('j51_title');
$j51_image = $params->get('j51_image');
$j51_image_alt = $params->get('j51_image_alt');
$j51_target_url = $params->get('j51_target_url');
require(JModuleHelper::getLayoutPath('mod_j51imagehover'));