コード例 #1
0
ファイル: mod_bt_apb.php プロジェクト: Tommar/vino
        } else {
            $video = '<video width="320" height="240" controls loop  autoplay><source src="' . $params->get('html5_video') . '"></source>Your browser does not support the video tag.</video>';
        }
    }
}
//prepare parameters
$headingText = $params->get('heading_text');
$subText = $params->get('sub_text');
$buttonText = $params->get('button_text');
$thumbnailHeight = $params->get('thumbnail_height', 200);
$thumbnailWidth = $params->get('thumbnail_width', 200);
$backgroundOverlay = '';
if ($params->get('textured_color', '')) {
    $backgroundOverlay .= $params->get('textured_color');
}
if ($params->get('background_textured', '')) {
    $relative_path = '/modules/mod_bt_apb/assets/images/pattern/';
    $backgroundOverlay .= ' url(' . JURI::root() . $relative_path . $params->get('background_textured') . ') ';
}
if ($params->get('textured_opacity', '')) {
    $backgroundOverlayOpacity = $params->get('textured_opacity');
} else {
    $backgroundOverlayOpacity = '';
}
$speedFactor = $params->get('speed_factor', 0.5);
$contentWidth = $params->get('content_width', '');
$contentEffect = $params->get('content_effect', 'fade');
$contentEffectCustom = $params->get('content_custom_effect', '');
$rows = $params->get('number_rows', 2);
BtApbHelper::fetchHead($params);
require JModuleHelper::getLayoutPath('mod_bt_apb', $params->get('layout', 'default'));