@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
A sermon distributor that links to Dropbox.
/----------------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\CMS\Layout\LayoutHelper;
// build the list class
$style = $displayData->params->get($displayData->viewKey.'_sermons_list_style');
switch ($style)
{
case 1:
// Lines
$listClass = ' uk-list-line';
break;
case 2:
// Striped
$listClass = ' uk-list-striped';
break;
case 3:
// Spaced
$listClass = ' uk-list-space';
break;
default:
// Plain
$listClass = '';
break;
}
?>
params->get($displayData->viewKey.'_sermons_hits')): ?>
hits > 0) ? true:false;
$badge_class = ($hits_state) ? 'uk-badge-success':'uk-badge-warning';
$badge_icon = ($hits_state) ? 'check-circle':'minus-circle';
?>
: hits; ?>
params->get($displayData->viewKey.'_sermons_icon')): ?>
icon = ($displayData->icon) ? $displayData->icon : $displayData->params->get('sermon_default_icon'); ?>
icon): ?>
params->get($displayData->viewKey.'_sermons_desc') && ($displayData->desc || $displayData->short_description)): ?>
viewKey == 'series' && ((!$displayData->params->get($displayData->viewKey.'_sermons_preacher') || !$displayData->preacher_name) && (!$displayData->params->get($displayData->viewKey.'_sermons_category') || !$displayData->category))): ?>
viewKey == 'preacher' && ((!$displayData->params->get($displayData->viewKey.'_sermons_series') || !$displayData->series_name) && (!$displayData->params->get($displayData->viewKey.'_sermons_category') || !$displayData->category))): ?>
params->get($displayData->viewKey.'_sermons_desc') && $displayData->short_description): ?>
short_description; ?>
params->get($displayData->viewKey.'_sermons_desc') && $displayData->desc): ?>
desc; ?>
viewKey == 'preacher' && (($displayData->params->get($displayData->viewKey.'_sermons_series') && $displayData->series_name) || ($displayData->params->get($displayData->viewKey.'_sermons_category') && $displayData->category))): ?>
params->get($displayData->viewKey.'_sermons_series') && $displayData->series_name): ?>
- : series_name; ?>
params->get($displayData->viewKey.'_sermons_category') && $displayData->category): ?>
- : category; ?>
viewKey == 'series' && (($displayData->params->get($displayData->viewKey.'_sermons_preacher') && $displayData->preacher_name) || ($displayData->params->get($displayData->viewKey.'_sermons_category') && $displayData->category))): ?>
params->get($displayData->viewKey.'_sermons_preacher') && $displayData->preacher_name): ?>
- : preacher_name; ?>
params->get($displayData->viewKey.'_sermons_category') && $displayData->category): ?>
- : category; ?>
viewKey == 'category' && (($displayData->params->get($displayData->viewKey.'_sermons_series') && $displayData->series_name) || ($displayData->params->get($displayData->viewKey.'_sermons_preacher') && $displayData->preacher_name))): ?>
params->get($displayData->viewKey.'_sermons_preacher') && $displayData->preacher_name): ?>
- : preacher_name; ?>
params->get($displayData->viewKey.'_sermons_series') && $displayData->series_name): ?>
- : series_name; ?>
params->get($displayData->viewKey.'_sermons_desc') && ($displayData->desc || $displayData->short_description)) && (($displayData->params->get($displayData->viewKey.'_sermons_open') || ($displayData->params->get('add_to_button') && isset($displayData->dropbox_buttons))) || ($displayData->params->get($displayData->viewKey.'_sermons_downloads') && isset($displayData->download_links)))): ?>
params->get($displayData->viewKey.'_sermons_open') || ($displayData->params->get('add_to_button') && isset($displayData->dropbox_buttons))) && ($displayData->params->get($displayData->viewKey.'_sermons_downloads') && isset($displayData->download_links))): ?>
params->get($displayData->viewKey.'_sermons_open') || ($displayData->params->get('add_to_button') && isset($displayData->dropbox_buttons))): ?>