41 lines
1.5 KiB
PHP
41 lines
1.5 KiB
PHP
<?php
|
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
|
Vast Development Method
|
|
/-------------------------------------------------------------------------------------------------------/
|
|
|
|
@package getBible.net
|
|
|
|
@created 3rd December, 2015
|
|
@author Llewellyn van der Merwe <https://getbible.net>
|
|
@git Get Bible <https://git.vdm.dev/getBible>
|
|
@github Get Bible <https://github.com/getBible>
|
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
|
@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');
|
|
|
|
?>
|
|
<div>
|
|
<ul class="uk-list uk-list-collapse">
|
|
<?php foreach ($this->chapter->html_verses as $verse): ?>
|
|
<li><?php
|
|
echo JLayoutHelper::render('getbibleverse', [
|
|
'verse' => $verse,
|
|
'active' => $this->active,
|
|
'tag' => $this->taggedVerse((int) $verse->verse),
|
|
'selected' => $this->selectedVerse((int) $verse->verse)
|
|
]);
|
|
// add note if found
|
|
if (($note = $this->getVerseNote((int) $verse->verse)) !== null)
|
|
{
|
|
echo '<br />' . JLayoutHelper::render('getbibleappnote', ['number' => $verse->verse, 'note' => $note]);
|
|
}
|
|
?></li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|