2015-11-30 21:30:54 +00:00
|
|
|
<?php
|
2018-03-19 22:24:44 +00:00
|
|
|
/*-------------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
|
|
____ ____ __ __ __
|
|
|
|
/\ _`\ /\ _`\ __ /\ \__ __/\ \ /\ \__
|
|
|
|
\ \,\L\_\ __ _ __ ___ ___ ___ ___ \ \ \/\ \/\_\ ____\ \ ,_\ _ __ /\_\ \ \____ __ __\ \ ,_\ ___ _ __
|
|
|
|
\/_\__ \ /'__`\/\`'__\/' __` __`\ / __`\ /' _ `\ \ \ \ \ \/\ \ /',__\\ \ \/ /\`'__\/\ \ \ '__`\/\ \/\ \\ \ \/ / __`\/\`'__\
|
|
|
|
/\ \L\ \/\ __/\ \ \/ /\ \/\ \/\ \/\ \L\ \/\ \/\ \ \ \ \_\ \ \ \/\__, `\\ \ \_\ \ \/ \ \ \ \ \L\ \ \ \_\ \\ \ \_/\ \L\ \ \ \/
|
|
|
|
\ `\____\ \____\\ \_\ \ \_\ \_\ \_\ \____/\ \_\ \_\ \ \____/\ \_\/\____/ \ \__\\ \_\ \ \_\ \_,__/\ \____/ \ \__\ \____/\ \_\
|
|
|
|
\/_____/\/____/ \/_/ \/_/\/_/\/_/\/___/ \/_/\/_/ \/___/ \/_/\/___/ \/__/ \/_/ \/_/\/___/ \/___/ \/__/\/___/ \/_/
|
|
|
|
|
|
|
|
/------------------------------------------------------------------------------------------------------------------------------------/
|
2015-11-30 21:30:54 +00:00
|
|
|
|
2018-03-03 16:43:27 +00:00
|
|
|
@version 2.0.x
|
|
|
|
@created 22nd October, 2015
|
2015-11-30 21:30:54 +00:00
|
|
|
@package Sermon Distributor
|
|
|
|
@subpackage default_preachers-grid.php
|
|
|
|
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
|
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
2015-12-23 12:44:56 +00:00
|
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
2020-11-30 16:57:29 +00:00
|
|
|
|
2015-12-23 12:44:56 +00:00
|
|
|
A sermon distributor that links to Dropbox.
|
2020-11-30 16:57:29 +00:00
|
|
|
|
2018-03-19 22:24:44 +00:00
|
|
|
/----------------------------------------------------------------------------------------------------------------------------------*/
|
2015-11-30 21:30:54 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
2019-04-04 11:52:38 +00:00
|
|
|
defined('_JEXEC') or die('Restricted access');
|
2015-11-30 21:30:54 +00:00
|
|
|
|
|
|
|
?>
|
|
|
|
<ul id="preachers-sort-menu" class="uk-subnav">
|
|
|
|
<li data-uk-sort="preacher"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_NAME_ASC'); ?></a></li>
|
|
|
|
<li data-uk-sort="preacher:desc"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_NAME_DESC'); ?></a></li>
|
|
|
|
<?php if ($this->params->get('preachers_hits')): ?>
|
|
|
|
<li data-uk-sort="hits"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_HITS_ASC'); ?></a></li>
|
|
|
|
<li data-uk-sort="hits:desc"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_HITS_DESC'); ?></a></li>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($this->params->get('preachers_sermon_count')): ?>
|
|
|
|
<li data-uk-sort="sermons"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_SERMONS_COUNT_ASC'); ?></a></li>
|
|
|
|
<li data-uk-sort="sermons:desc"><a href=""><?php echo JText::_('COM_SERMONDISTRIBUTOR_SERMONS_COUNT_DESC'); ?></a></li>
|
|
|
|
<?php endif; ?>
|
|
|
|
</ul>
|
|
|
|
<div data-uk-check-display class="uk-grid-width-small-1-2 uk-grid-width-medium-1-3 uk-grid-width-large-1-4" data-uk-grid="{controls: '#preachers-sort-menu',gutter: 15}">
|
|
|
|
<?php foreach ($this->items as $item): ?>
|
|
|
|
<div data-preacher="<?php echo $this->escape($item->name); ?>" data-hits="<?php echo (int) $item->hits; ?>" data-sermons="<?php echo count($item->idPreacherSermonB); ?>"><?php $item->params = $this->params; $item->desc = $this->escape($item->description, true, 65); echo JLayoutHelper::render('preacherspanel', $item); ?></div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|