2015-11-30 21:30:54 +00:00
|
|
|
<?php
|
|
|
|
/*----------------------------------------------------------------------------------| www.vdm.io |----/
|
|
|
|
Vast Development Method
|
|
|
|
/-------------------------------------------------------------------------------------------------------/
|
|
|
|
|
|
|
|
@version 1.2.9
|
2015-12-01 00:19:11 +00:00
|
|
|
@build 1st December, 2015
|
2015-11-30 21:30:54 +00:00
|
|
|
@created 22nd October, 2015
|
|
|
|
@package Sermon Distributor
|
|
|
|
@subpackage default_series-list.php
|
|
|
|
@author Llewellyn van der Merwe <https://www.vdm.io/>
|
|
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
|
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____
|
|
|
|
(_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _)
|
|
|
|
.-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )(
|
|
|
|
\____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__)
|
|
|
|
|
|
|
|
/------------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
// build the list class
|
|
|
|
$style = $this->params->get('list_series_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;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|
|
|
|
<ul class="uk-list<?php echo $listClass; ?>">
|
|
|
|
<?php foreach ($this->items as $item): ?>
|
|
|
|
<li><?php $item->params = $this->params; $item->desc = $this->escape($item->description, true, 140); echo JLayoutHelper::render('serieslistitem', $item); ?></li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|