joomla-component/site/tmpl/openai/default.php
Robot db9339b641
Stable release of v5.0.7
Fix missing token variable in ajax call.
2024-03-04 10:00:15 +02:00

44 lines
1.6 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
/------------------------------------------------------------------------------------------------------*/
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Getbible\Site\Helper\GetbibleHelper;
// No direct access to this file
defined('_JEXEC') or die;
?>
<?php if ($this->item): ?>
<?php echo $this->loadTemplate('getbibleai'); ?>
<?php if (count($this->item) > 1) : ?>
<?php echo $this->loadTemplate('getbibleaifilter'); ?>
<?php endif; ?>
<?php else: ?>
<div uk-alert>
<h3><?php echo Text::_('COM_GETBIBLE_THERE_HAS_BEEN_AN_ERROR'); ?></h3>
<p><?php echo Text::_('COM_GETBIBLE_FOR_SOME_REASON_YOUR_REQUEST_COULD_NOT_BE_PROCESSED_AT_THIS_TIME'); ?></p>
</div>
<?php endif; ?>
<?php if ($this->params->get('debug') == 1): ?>
<?php echo $this->loadTemplate('getbibleaidebug'); ?>
<?php endif; ?>