Update on v3.0.4 (beta for next version)
Here's an update on the current version, which includes changes towards the next release still in beta.
This commit is contained in:
parent
04cc3bfaa9
commit
976f3ffc97
@ -18,7 +18,7 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Get Bible](https://getbible.net)
|
+ *Name*: [Get Bible](https://getbible.net)
|
||||||
+ *First Build*: 3rd December, 2015
|
+ *First Build*: 3rd December, 2015
|
||||||
+ *Last Build*: 18th February, 2024
|
+ *Last Build*: 28th February, 2024
|
||||||
+ *Version*: 3.0.4
|
+ *Version*: 3.0.4
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
@ -18,7 +18,7 @@ In essence, The Bible for Joomla is designed to transform how the Word of God is
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Get Bible](https://getbible.net)
|
+ *Name*: [Get Bible](https://getbible.net)
|
||||||
+ *First Build*: 3rd December, 2015
|
+ *First Build*: 3rd December, 2015
|
||||||
+ *Last Build*: 18th February, 2024
|
+ *Last Build*: 28th February, 2024
|
||||||
+ *Version*: 3.0.4
|
+ *Version*: 3.0.4
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
@ -52,7 +52,7 @@ class GetbibleControllerBook extends FormController
|
|||||||
{
|
{
|
||||||
$this->view_list = 'Books'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Books'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
|
@ -52,7 +52,7 @@ class GetbibleControllerChapter extends FormController
|
|||||||
{
|
{
|
||||||
$this->view_list = 'Chapters'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Chapters'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
|
@ -52,7 +52,7 @@ class GetbibleControllerTranslation extends FormController
|
|||||||
{
|
{
|
||||||
$this->view_list = 'Translations'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Translations'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
|
@ -52,7 +52,7 @@ class GetbibleControllerVerse extends FormController
|
|||||||
{
|
{
|
||||||
$this->view_list = 'Verses'; // safeguard for setting the return view listing to the main view.
|
$this->view_list = 'Verses'; // safeguard for setting the return view listing to the main view.
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
|
@ -230,46 +230,46 @@ abstract class GetbibleHelper
|
|||||||
// load user for access menus
|
// load user for access menus
|
||||||
$user = Factory::getUser();
|
$user = Factory::getUser();
|
||||||
// load the submenus to sidebar
|
// load the submenus to sidebar
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_DASHBOARD'), 'index.php?option=com_getbible&view=getbible', $submenu === 'getbible');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_DASHBOARD'), 'index.php?option=com_getbible&view=getbible', $submenu === 'getbible');
|
||||||
if ($user->authorise('linker.access', 'com_getbible') && $user->authorise('linker.submenu', 'com_getbible'))
|
if ($user->authorise('linker.access', 'com_getbible') && $user->authorise('linker.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_LINKERS'), 'index.php?option=com_getbible&view=linkers', $submenu === 'linkers');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_LINKERS'), 'index.php?option=com_getbible&view=linkers', $submenu === 'linkers');
|
||||||
}
|
}
|
||||||
if ($user->authorise('note.access', 'com_getbible') && $user->authorise('note.submenu', 'com_getbible'))
|
if ($user->authorise('note.access', 'com_getbible') && $user->authorise('note.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_NOTES'), 'index.php?option=com_getbible&view=notes', $submenu === 'notes');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_NOTES'), 'index.php?option=com_getbible&view=notes', $submenu === 'notes');
|
||||||
}
|
}
|
||||||
if ($user->authorise('tagged_verse.access', 'com_getbible') && $user->authorise('tagged_verse.submenu', 'com_getbible'))
|
if ($user->authorise('tagged_verse.access', 'com_getbible') && $user->authorise('tagged_verse.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TAGGED_VERSES'), 'index.php?option=com_getbible&view=tagged_verses', $submenu === 'tagged_verses');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TAGGED_VERSES'), 'index.php?option=com_getbible&view=tagged_verses', $submenu === 'tagged_verses');
|
||||||
}
|
}
|
||||||
if ($user->authorise('prompt.access', 'com_getbible') && $user->authorise('prompt.submenu', 'com_getbible'))
|
if ($user->authorise('prompt.access', 'com_getbible') && $user->authorise('prompt.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_PROMPTS'), 'index.php?option=com_getbible&view=prompts', $submenu === 'prompts');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_PROMPTS'), 'index.php?option=com_getbible&view=prompts', $submenu === 'prompts');
|
||||||
}
|
}
|
||||||
if ($user->authorise('open_ai_response.access', 'com_getbible') && $user->authorise('open_ai_response.submenu', 'com_getbible'))
|
if ($user->authorise('open_ai_response.access', 'com_getbible') && $user->authorise('open_ai_response.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_OPEN_AI_RESPONSES'), 'index.php?option=com_getbible&view=open_ai_responses', $submenu === 'open_ai_responses');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_OPEN_AI_RESPONSES'), 'index.php?option=com_getbible&view=open_ai_responses', $submenu === 'open_ai_responses');
|
||||||
}
|
}
|
||||||
if ($user->authorise('tag.access', 'com_getbible') && $user->authorise('tag.submenu', 'com_getbible'))
|
if ($user->authorise('tag.access', 'com_getbible') && $user->authorise('tag.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TAGS'), 'index.php?option=com_getbible&view=tags', $submenu === 'tags');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TAGS'), 'index.php?option=com_getbible&view=tags', $submenu === 'tags');
|
||||||
}
|
}
|
||||||
if ($user->authorise('translation.access', 'com_getbible') && $user->authorise('translation.submenu', 'com_getbible'))
|
if ($user->authorise('translation.access', 'com_getbible') && $user->authorise('translation.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TRANSLATIONS'), 'index.php?option=com_getbible&view=translations', $submenu === 'translations');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_TRANSLATIONS'), 'index.php?option=com_getbible&view=translations', $submenu === 'translations');
|
||||||
}
|
}
|
||||||
if ($user->authorise('book.access', 'com_getbible') && $user->authorise('book.submenu', 'com_getbible'))
|
if ($user->authorise('book.access', 'com_getbible') && $user->authorise('book.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_BOOKS'), 'index.php?option=com_getbible&view=books', $submenu === 'books');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_BOOKS'), 'index.php?option=com_getbible&view=books', $submenu === 'books');
|
||||||
}
|
}
|
||||||
if ($user->authorise('chapter.access', 'com_getbible') && $user->authorise('chapter.submenu', 'com_getbible'))
|
if ($user->authorise('chapter.access', 'com_getbible') && $user->authorise('chapter.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_CHAPTERS'), 'index.php?option=com_getbible&view=chapters', $submenu === 'chapters');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_CHAPTERS'), 'index.php?option=com_getbible&view=chapters', $submenu === 'chapters');
|
||||||
}
|
}
|
||||||
if ($user->authorise('verse.access', 'com_getbible') && $user->authorise('verse.submenu', 'com_getbible'))
|
if ($user->authorise('verse.access', 'com_getbible') && $user->authorise('verse.submenu', 'com_getbible'))
|
||||||
{
|
{
|
||||||
JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_VERSES'), 'index.php?option=com_getbible&view=verses', $submenu === 'verses');
|
\JHtmlSidebar::addEntry(Text::_('COM_GETBIBLE_SUBMENU_VERSES'), 'index.php?option=com_getbible&view=verses', $submenu === 'verses');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ class GetbibleModelBook extends AdminModel
|
|||||||
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
||||||
// get instance of the table
|
// get instance of the table
|
||||||
return Table::getInstance($type, $prefix, $config);
|
return Table::getInstance($type, $prefix, $config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_METHOD###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a single record.
|
* Method to get a single record.
|
||||||
|
@ -90,7 +90,7 @@ class GetbibleModelChapter extends AdminModel
|
|||||||
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
||||||
// get instance of the table
|
// get instance of the table
|
||||||
return Table::getInstance($type, $prefix, $config);
|
return Table::getInstance($type, $prefix, $config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_METHOD###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a single record.
|
* Method to get a single record.
|
||||||
|
@ -104,7 +104,7 @@ class GetbibleModelTranslation extends AdminModel
|
|||||||
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
||||||
// get instance of the table
|
// get instance of the table
|
||||||
return Table::getInstance($type, $prefix, $config);
|
return Table::getInstance($type, $prefix, $config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_METHOD###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a single record.
|
* Method to get a single record.
|
||||||
|
@ -93,7 +93,7 @@ class GetbibleModelVerse extends AdminModel
|
|||||||
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_getbible/tables');
|
||||||
// get instance of the table
|
// get instance of the table
|
||||||
return Table::getInstance($type, $prefix, $config);
|
return Table::getInstance($type, $prefix, $config);
|
||||||
}###ADMIN_CUSTOM_BUTTONS_METHOD###
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to get a single record.
|
* Method to get a single record.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="3.10" method="upgrade">
|
<extension type="component" version="3.10" method="upgrade">
|
||||||
<name>COM_GETBIBLE</name>
|
<name>COM_GETBIBLE</name>
|
||||||
<creationDate>18th February, 2024</creationDate>
|
<creationDate>28th February, 2024</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>joomla@vdm.io</authorEmail>
|
<authorEmail>joomla@vdm.io</authorEmail>
|
||||||
<authorUrl>https://getbible.net</authorUrl>
|
<authorUrl>https://getbible.net</authorUrl>
|
||||||
|
Loading…
Reference in New Issue
Block a user