joomla-component/site/layouts/getbiblefooter.php

47 lines
1.8 KiB
PHP
Raw Normal View History

2023-07-26 09:09:42 +00:00
<?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
/------------------------------------------------------------------------------------------------------*/
2023-07-26 09:09:42 +00:00
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\CMS\Layout\LayoutHelper;
use TrueChristianBible\Component\GetBible\Site\Helper\GetbibleHelper;
// No direct access to this file
defined('JPATH_BASE') or die;
2023-07-26 09:09:42 +00:00
?>
<?php if ($displayData['load'] == 1): ?>
<div class="uk-float-right">
<a class="uk-link-muted" href="https://getbible.net/<?php echo $displayData['path'] ?? ''; ?>" target="_blank" uk-tooltip="title: <?php echo Text::_('COM_GETBIBLE_THE_WORDS_OF_ETERNAL_LIFE'); ?>; pos: left">
2023-07-26 09:09:42 +00:00
<?php if ($displayData['logo'] == 1): ?>
<?php echo Html::_('image', 'media/com_getbible/images/icon.png', 'getBible.net Logo'); ?>
2023-07-26 09:09:42 +00:00
<?php else: ?>
getBible.net
<?php endif; ?>
</a>
</div>
<?php elseif ($displayData['logo'] == 1): ?>
<div class="uk-float-right uk-text-muted">
<?php echo Html::_('image', 'media/com_getbible/images/icon.png', 'getBible.net Logo', ['uk-tooltip' => 'title: ' . Text::_('COM_GETBIBLE_THE_WORDS_OF_ETERNAL_LIFE') . '; pos: left']); ?>
2023-07-26 09:09:42 +00:00
</div>
<?php endif; ?>