Stable release of v5.0.0

Moved to Joomla 4 and 5.
This commit is contained in:
Robot 2024-01-23 19:16:25 +02:00
parent 8d583feb3f
commit 415b8a2e46
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
643 changed files with 10753 additions and 12458 deletions

View File

@ -1,172 +1,3 @@
# v2.1.0 # v5.0.0
- Move all JText to use the namespaced class Text directly. - Moved to Joomla 4 and 5
- Move all JHtml to use the namespaced class Html directly.
- Move all JFactory to use the namespaced class Factory directly.
- Move all JRoute to use the namespaced class Route directly.
- Move all JFormHelper to use the namespaced class FormHelper directly.
- Move all JLayout to use the namespaced class FileLayout directly.
- Move all JLanguageMultilang to use the namespaced class Multilanguage directly.
- Move all JComponentHelper to use the namespaced class ComponentHelper directly.
- Move all JCategoryNode to use the namespaced class CategoryNode directly.
- Move all JComponentHelper to use the namespaced class ComponentHelper directly.
- Move all JToolbar to use the namespaced class Toolbar directly.
- Move all JToolbarHelper to use the namespaced class ToolbarHelper directly.
- Convert all addStyleSheet to make use of Html class instead.
- Convert all addScript to make use of Html class instead.
# v2.0.32
- Fixed other search related issues.
# v2.0.31
- Fixed #10 so that exact search results now work correctly.
- Update scripture loader to version 3.0.3
# v2.0.30
- Update scripture loader to version 3.0.2
# v2.0.29
- Update scripture loader to version 3.0.1
# v2.0.28
- Small xml fix
# v2.0.27
- Improved the load scripture plugin.
# v2.0.26
- Adds few try catch blocks in the API.
- Adds local link to daily scripture module.
# v2.0.25
- Adds getBible Loader Plugin
# v2.0.23
- Refactored all core helper functions to make use of New classes
- Adds open ai meta data to page
- Other JCB fixes
# v2.0.22
- Fixed search redirect bug
# v2.0.21
- Adds Tags meta data to tag pages
- Adds option to share a tag
- Improve the URL creation, and return URL feature for search and tag pages
# v2.0.20
- First step to resolve getBible/support#8 so that the selection works on mobile browsers.
- Fixed the scrolling for mobiles.
# v2.0.19
- Adds metadata to each Bible page to resolve getBible/support#6
- Adds option to force chapter hash checking.
# v2.0.18
- Adds bottom module position on tag, search, ai and app pages.
- Fixed JavaScript Database Manager some more.
# v2.0.17
- Adds brut-force protection
# v2.0.16
- Fixed JavaScript Database Manager
# v2.0.15
- Adds new session option
- Adds make public switches to back-end
# v2.0.14
- Adds install mysql commands for faster queries on large systems.
- Fixes mobile layout on settings active session tab.
- Making correction to tag descriptions.
# v2.0.13
- Fix tag issues
- Adds Footable to back-end
- Fix chapter issue of app page
- Moves translations tab
# v2.0.12
- Fixes Links to Translations (to use their own book names)
# v2.0.11
- Adds better translation selection by Language
# v2.0.9
- Adds create tags on front-end.
- Adds update tags on front-end.
- Adds delete of tags on front-end.
- Improves verse view in note, and tag modal.
- Other bug fixes.
# v2.0.8
- Adds easy option to update book names in the back-end.
- Adds easy option to sync translations details in the back-end.
# v2.0.7
- Adds force update option
- Improves the book name display on Bible page
# v2.0.6
- Adds updating watchers for book names, and translation details.
- Adds edit option to owned tags
- Better session management that allows sharing sessions.
- Few bug fixes
# v2.0.5
- Adds list of default system tags
- Adds linker session manager
- Adds option to share sessions
# v2.0.4
- Added the option to set the default Translation.
- Fixed sharing of a verse, so its auto selected when verse number is clicked.
# v2.0.3
- Fixed getBible/support#2 so that the view value does not result into Undefined.
- Fixed getBible/support#3 so that empty translations and translations without the selected books better manage the mismatching query.
# v2.0.2
- Adds missing Marked JS file
# v2.0.1
- New System Architecture as to how Scripture is added
- New Application Page (Bible Page)
- New Linker (anonymous users) system
- SEO for each chapter of the Bible
- New Easy Sharing System
- New Tagging system
- New Notes system
- New Search system
- Integration with OpenAI

1820
GetbibleInstallerScript.php Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
# Get Bible (2.1.0) # Get Bible (5.0.0)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/admin/assets/images/vdm-component.jpg "GetBible") ![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
Welcome to the next level of scripture engagement - The Bible for Joomla! Our purpose is to bring the Word of God to every person, in their native language, entirely free. This isn't just a typical extension; it's a groundbreaking tool developed to span language divides and deliver a rich, customizable Bible study experience to users worldwide. Welcome to the next level of scripture engagement - The Bible for Joomla! Our purpose is to bring the Word of God to every person, in their native language, entirely free. This isn't just a typical extension; it's a groundbreaking tool developed to span language divides and deliver a rich, customizable Bible study experience to users worldwide.
@ -18,38 +18,38 @@ 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*: 23rd December, 2023 + *Last Build*: 23rd January, 2024
+ *Version*: 2.1.0 + *Version*: 5.0.0
+ *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
## Build Time ## Build Time
**566 Hours** or **71 Eight Hour Days** (actual time the author saved - **558 Hours** or **70 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.) > never making one mistake or taking any coffee break.)
+ *Line count*: **202968** + *Line count*: **199899**
+ *File count*: **1745** + *File count*: **1710**
+ *Folder count*: **167** + *Folder count*: **176**
**374 Hours** or **47 Eight Hour Days** (the actual time the author spent) **368 Hours** or **46 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @142hours** = codingtime / 4; > **debugging @139hours** = codingtime / 4;
> **planning @81hours** = codingtime / 7; > **planning @80hours** = codingtime / 7;
> **mapping @57hours** = codingtime / 10; > **mapping @56hours** = codingtime / 10;
> **office @94hours** = codingtime / 6;) > **office @93hours** = codingtime / 6;)
**940 Hours** or **118 Eight Hour Days** **926 Hours** or **116 Eight Hour Days**
(a total of the realistic time frame for this project) (a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.) > with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **23.6 weeks** or **4.9 months** Project duration: **23.2 weeks** or **4.8 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -1,6 +1,6 @@
# Get Bible (2.1.0) # Get Bible (5.0.0)
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/admin/assets/images/vdm-component.jpg "GetBible") ![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/5.0/admin/assets/images/vdm-component.jpg "GetBible")
Welcome to the next level of scripture engagement - The Bible for Joomla! Our purpose is to bring the Word of God to every person, in their native language, entirely free. This isn't just a typical extension; it's a groundbreaking tool developed to span language divides and deliver a rich, customizable Bible study experience to users worldwide. Welcome to the next level of scripture engagement - The Bible for Joomla! Our purpose is to bring the Word of God to every person, in their native language, entirely free. This isn't just a typical extension; it's a groundbreaking tool developed to span language divides and deliver a rich, customizable Bible study experience to users worldwide.
@ -18,38 +18,38 @@ 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*: 23rd December, 2023 + *Last Build*: 23rd January, 2024
+ *Version*: 2.1.0 + *Version*: 5.0.0
+ *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
## Build Time ## Build Time
**566 Hours** or **71 Eight Hour Days** (actual time the author saved - **558 Hours** or **70 Eight Hour Days** (actual time the author saved -
due to [Automated Component Builder](https://www.joomlacomponentbuilder.com)) due to [Automated Component Builder](https://www.joomlacomponentbuilder.com))
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> never making one mistake or taking any coffee break.) > never making one mistake or taking any coffee break.)
+ *Line count*: **202968** + *Line count*: **199899**
+ *File count*: **1745** + *File count*: **1710**
+ *Folder count*: **167** + *Folder count*: **176**
**374 Hours** or **47 Eight Hour Days** (the actual time the author spent) **368 Hours** or **46 Eight Hour Days** (the actual time the author spent)
> (with the following break down: > (with the following break down:
> **debugging @142hours** = codingtime / 4; > **debugging @139hours** = codingtime / 4;
> **planning @81hours** = codingtime / 7; > **planning @80hours** = codingtime / 7;
> **mapping @57hours** = codingtime / 10; > **mapping @56hours** = codingtime / 10;
> **office @94hours** = codingtime / 6;) > **office @93hours** = codingtime / 6;)
**940 Hours** or **118 Eight Hour Days** **926 Hours** or **116 Eight Hour Days**
(a total of the realistic time frame for this project) (a total of the realistic time frame for this project)
> (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**,
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.) > with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
Project duration: **23.6 weeks** or **4.9 months** Project duration: **23.2 weeks** or **4.8 months**
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com). > This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io) > Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)

View File

@ -17,153 +17,153 @@
/* CSS Document */ /* CSS Document */
.dashboard-container { .dashboard-container {
margin-left: 10px; margin-left: 10px;
margin-top: 10px; margin-top: 10px;
width: 100%; width: 100%;
} }
.dashboard-container [class*="span"] { .dashboard-container [class*="span"] {
display: block; display: block;
float: none; float: none;
margin-left: 0; margin-left: 0;
width: auto; width: auto;
} }
.dashboard-container:before, .dashboard-container:after { .dashboard-container:before, .dashboard-container:after {
content: ""; content: "";
display: table; display: table;
} }
.dashboard-container:after { .dashboard-container:after {
clear: both; clear: both;
} }
.dashboard-container [class*="span"] { .dashboard-container [class*="span"] {
box-sizing: border-box; box-sizing: border-box;
display: block; display: block;
float: left; float: left;
min-height: 145px; min-height: 145px;
min-width: 96px; min-width: 96px;
width: 100%; width: 100%;
} }
.dashboard-container [class*="span"]:first-child { .dashboard-container [class*="span"]:first-child {
margin-left: 0; margin-left: 0;
} }
.dashboard-wraper { .dashboard-wraper {
background: none repeat scroll 0 0 hsl(0, 0%, 93%); background: none repeat scroll 0 0 hsl(0, 0%, 93%);
border-radius: 5px; border-radius: 5px;
float: left; float: left;
margin: 1%; margin: 1%;
padding: 3px; padding: 3px;
width: 17%; width: 17%;
min-height: 194px; min-height: 194px;
min-width: 96px; min-width: 96px;
} }
.dashboard-content a { .dashboard-content a {
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
border: 1px solid hsl(0, 0%, 85%); border: 1px solid hsl(0, 0%, 85%);
border-radius: 4px; border-radius: 4px;
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
color: hsl(0, 0%, 20%); color: hsl(0, 0%, 20%);
display: block; display: block;
min-height: 89px; min-height: 89px;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
} }
.dashboard-content a:hover { .dashboard-content a:hover {
background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); background: linear-gradient(to bottom, hsl(0, 0%, 90%) 0%, hsl(0, 0%, 100%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
color: hsl(200, 100%, 30%); color: hsl(200, 100%, 30%);
text-decoration: none; text-decoration: none;
} }
.dashboard-title { .dashboard-title {
display: block; display: block;
padding-top: 5px; padding-top: 5px;
} }
.dashboard-info { .dashboard-info {
background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); background: linear-gradient(to bottom, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 96%) 47%, hsl(0, 0%, 93%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
border: 1px solid hsl(0, 0%, 85%); border: 1px solid hsl(0, 0%, 85%);
border-radius: 4px; border-radius: 4px;
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset; box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
color: hsl(0, 0%, 20%); color: hsl(0, 0%, 20%);
display: block; display: block;
font-size: 12px; font-size: 12px;
padding: 10px; padding: 10px;
text-align: center; text-align: center;
} }
.dashboard-info span { .dashboard-info span {
display: block; display: block;
text-align: center; text-align: center;
} }
.dashboard-info img { .dashboard-info img {
margin: 0 auto; margin: 0 auto;
} }
.dashboard-table { .dashboard-table {
border-top: 1px solid hsl(0, 0%, 87%); border-top: 1px solid hsl(0, 0%, 87%);
margin-top: 5px; margin-top: 5px;
width: 100%; width: 100%;
} }
.dashboard-info h5 { .dashboard-info h5 {
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
} }
.dashboard-block { .dashboard-block {
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
border: 1px solid hsl(0, 0%, 76%); border: 1px solid hsl(0, 0%, 76%);
border-radius: 3px; border-radius: 3px;
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset; box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset;
margin-bottom: 20px; margin-bottom: 20px;
} }
.dashboard-block .dashboard-block-head { .dashboard-block .dashboard-block-head {
background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0); background: linear-gradient(to bottom, hsl(0, 0%, 95%) 0%, hsl(0, 0%, 86%) 100%) repeat scroll 0 0 hsla(0, 0%, 0%, 0);
border-bottom: 1px solid hsl(0, 0%, 76%); border-bottom: 1px solid hsl(0, 0%, 76%);
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%); box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%);
height: 40px; height: 40px;
position: relative; position: relative;
} }
.dashboard-block .dashboard-block-head h5 { .dashboard-block .dashboard-block-head h5 {
font-size: 12px; font-size: 12px;
margin: 0; margin: 0;
padding-left: 10px; padding-left: 10px;
padding-top: 11px; padding-top: 11px;
text-transform: uppercase; text-transform: uppercase;
} }
.dashboard-block .dashboard-block-content { .dashboard-block .dashboard-block-content {
background: none repeat scroll 0 0 hsl(0, 0%, 93%); background: none repeat scroll 0 0 hsl(0, 0%, 93%);
border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
} }
.dashboard-block .dashboard-block-box { .dashboard-block .dashboard-block-box {
background: none repeat scroll 0 0 hsl(0, 0%, 100%); background: none repeat scroll 0 0 hsl(0, 0%, 100%);
border-top: 1px solid hsl(0, 0%, 82%); border-top: 1px solid hsl(0, 0%, 82%);
box-shadow: 0 0 5px hsl(0, 0%, 87%) inset; box-shadow: 0 0 5px hsl(0, 0%, 87%) inset;
} }
.dashboard-block .dashboard-block-content .dashboard-block-box { .dashboard-block .dashboard-block-content .dashboard-block-box {
margin-top: 0 !important; margin-top: 0 !important;
} }
.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table { .dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
.dashboard-block-table { .dashboard-block-table {
background-color: hsla(0, 0%, 0%, 0); background-color: hsla(0, 0%, 0%, 0);
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
margin-bottom: 20px; margin-bottom: 20px;
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
} }
.dashboard-block-table th, .dashboard-block-table td { .dashboard-block-table th, .dashboard-block-table td {
border-top: 1px solid hsl(0, 0%, 87%); border-top: 1px solid hsl(0, 0%, 87%);
line-height: 20px; line-height: 20px;
padding: 5px; padding: 5px;
text-align: left; text-align: left;
vertical-align: middle; vertical-align: middle;
} }
.dashboard-badge { .dashboard-badge {
background-color: hsl(0, 0%, 60%); background-color: hsl(0, 0%, 60%);
border-radius: 9px; border-radius: 9px;
color: hsl(0, 0%, 100%); color: hsl(0, 0%, 100%);
font-size: 11.844px; font-size: 11.844px;
font-weight: bold; font-weight: bold;
line-height: 14px; line-height: 14px;
padding: 1px 9px 2px; padding: 1px 9px 2px;
text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25); text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25);
vertical-align: baseline; vertical-align: baseline;
white-space: nowrap; white-space: nowrap;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<config> <config>
<fieldset <fieldset
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
name="global_config" name="global_config"
label="COM_GETBIBLE_CONFIG_GLOBAL_LABEL" label="COM_GETBIBLE_CONFIG_GLOBAL_LABEL"
description="COM_GETBIBLE_CONFIG_GLOBAL_DESC"> description="COM_GETBIBLE_CONFIG_GLOBAL_DESC">
@ -174,59 +174,6 @@
readonly="true" readonly="true"
class="readonly" class="readonly"
/> />
<field type="spacer" name="spacerContributor1" hr="true" />
<field name="contributor1"
type="spacer"
class="text"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_ONE"
/>
<field name="titleContributor1"
type="text"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_TITLE_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_TITLE_DESC"
size="60"
default="Modules"
/>
<field name="nameContributor1"
type="text"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_NAME_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_NAME_DESC"
size="60"
default="CrossWire"
/>
<field name="emailContributor1"
type="email"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_EMAIL_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_EMAIL_DESC"
size="60"
default="sword-support@crosswire.org"
/>
<field name="linkContributor1"
type="url"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_LINK_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_LINK_DESC"
size="60"
default="https://wiki.crosswire.org/"
/>
<field name="useContributor1"
type="list"
default="2"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_DESC">
<option value="0">COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_NONE</option>
<option value="1">COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_EMAIL</option>
<option value="2">COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_WWW</option>
</field>
<field name="showContributor1"
type="list"
default="3"
label="COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_LABEL"
description="COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_DESC">
<option value="0">COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_NONE</option>
<option value="1">COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_BACK</option>
<option value="2">COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_FRONT</option>
<option value="3">COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_ALL</option>
</field>
</fieldset> </fieldset>
<fieldset <fieldset
name="uikit_config" name="uikit_config"

View File

@ -1,134 +0,0 @@
<?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');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
use VDM\Joomla\Utilities\StringHelper;
/**
* General Controller of Getbible component
*/
class GetbibleController extends BaseController
{
/**
* Constructor.
*
* @param array $config An optional associative array of configuration settings.
* Recognized key values include 'name', 'default_task', 'model_path', and
* 'view_path' (this list is not meant to be comprehensive).
*
* @since 3.0
*/
public function __construct($config = [])
{
// set the default view
$config['default_view'] = 'getbible';
parent::__construct($config);
}
/**
* display task
*
* @return void
*/
function display($cachable = false, $urlparams = false)
{
// set default view if not set
$view = $this->input->getCmd('view', 'getbible');
$data = $this->getViewRelation($view);
$layout = $this->input->get('layout', null, 'WORD');
$id = $this->input->getInt('id');
// Check for edit form.
if(UtilitiesArrayHelper::check($data))
{
if ($data['edit'] && $layout == 'edit' && !$this->checkEditId('com_getbible.edit.'.$data['view'], $id))
{
// Somehow the person just went to the form - we don't allow that.
$this->setError(Text::sprintf('JLIB_APPLICATION_ERROR_UNHELD_ID', $id));
$this->setMessage($this->getError(), 'error');
// check if item was opend from other then its own list view
$ref = $this->input->getCmd('ref', 0);
$refid = $this->input->getInt('refid', 0);
// set redirect
if ($refid > 0 && StringHelper::check($ref))
{
// redirect to item of ref
$this->setRedirect(Route::_('index.php?option=com_getbible&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
}
elseif (StringHelper::check($ref))
{
// redirect to ref
$this->setRedirect(Route::_('index.php?option=com_getbible&view='.(string)$ref, false));
}
else
{
// normal redirect back to the list view
$this->setRedirect(Route::_('index.php?option=com_getbible&view='.$data['views'], false));
}
return false;
}
}
return parent::display($cachable, $urlparams);
}
protected function getViewRelation($view)
{
// check the we have a value
if (StringHelper::check($view))
{
// the view relationships
$views = array(
'linker' => 'linkers',
'note' => 'notes',
'tagged_verse' => 'tagged_verses',
'prompt' => 'prompts',
'open_ai_response' => 'open_ai_responses',
'open_ai_message' => 'open_ai_messages',
'password' => 'passwords',
'tag' => 'tags',
'translation' => 'translations',
'book' => 'books',
'chapter' => 'chapters',
'verse' => 'verses'
);
// check if this is a list view
if (in_array($view, $views))
{
// this is a list view
return array('edit' => false, 'view' => array_search($view,$views), 'views' => $view);
}
// check if it is an edit view
elseif (array_key_exists($view, $views))
{
// this is a edit view
return array('edit' => true, 'view' => $view, 'views' => $views[$view]);
}
}
return false;
}
}

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -159,7 +162,7 @@
message="COM_GETBIBLE_BOOK_SHA_MESSAGE" message="COM_GETBIBLE_BOOK_SHA_MESSAGE"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -171,7 +174,7 @@
message="COM_GETBIBLE_CHAPTER_SHA_MESSAGE" message="COM_GETBIBLE_CHAPTER_SHA_MESSAGE"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,39 +17,41 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_BOOKS" description="COM_GETBIBLE_FILTER_PUBLISHED_BOOKS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="booksfiltername" type="booksfiltername"
name="name" name="name"
label="COM_GETBIBLE_BOOK_NAME_LABEL" label="COM_GETBIBLE_BOOK_NAME_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="translations" type="translations"
name="abbreviation" name="abbreviation"
label="COM_GETBIBLE_BOOK_ABBREVIATION_LABEL" label="COM_GETBIBLE_BOOK_ABBREVIATION_LABEL"
multiple="false" layout="joomla.form.field.list-fancy-select"
onchange="this.form.submit();" multiple="true"
hint="COM_GETBIBLE_FILTER_SELECT_TRANSLATION"
class="js-select-submit-on-change"
/> />
<field <field
type="booksfilternr" type="booksfilternr"
name="nr" name="nr"
label="COM_GETBIBLE_BOOK_NR_LABEL" label="COM_GETBIBLE_BOOK_NR_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -58,9 +60,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="g.translation asc" default="g.translation asc"
validate="options" validate="options"
> >
@ -82,11 +83,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,41 +17,43 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_CHAPTERS" description="COM_GETBIBLE_FILTER_PUBLISHED_CHAPTERS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="chaptersfilterchapter" type="chaptersfilterchapter"
name="chapter" name="chapter"
label="COM_GETBIBLE_CHAPTER_CHAPTER_LABEL" label="COM_GETBIBLE_CHAPTER_CHAPTER_LABEL"
class="multipleChaptersfilterchapter" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_CHAPTER"
class="js-select-submit-on-change"
/> />
<field <field
type="chaptersfilterbooknr" type="chaptersfilterbooknr"
name="book_nr" name="book_nr"
label="COM_GETBIBLE_CHAPTER_BOOK_NR_LABEL" label="COM_GETBIBLE_CHAPTER_BOOK_NR_LABEL"
class="multipleChaptersfilterbooknr" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_BOOK_NUMBER"
class="js-select-submit-on-change"
/> />
<field <field
type="translations" type="translations"
name="abbreviation" name="abbreviation"
label="COM_GETBIBLE_CHAPTER_ABBREVIATION_LABEL" label="COM_GETBIBLE_CHAPTER_ABBREVIATION_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -60,9 +62,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="g.translation asc" default="g.translation asc"
validate="options" validate="options"
> >
@ -86,11 +87,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,39 +17,39 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_LINKERS" description="COM_GETBIBLE_FILTER_PUBLISHED_LINKERS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="linkersfiltername" type="linkersfiltername"
name="name" name="name"
label="COM_GETBIBLE_LINKER_NAME_LABEL" label="COM_GETBIBLE_LINKER_NAME_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="linkersfilterpublictaggedverses" type="linkersfilterpublictaggedverses"
name="public_tagged_verses" name="public_tagged_verses"
label="COM_GETBIBLE_LINKER_PUBLIC_TAGGED_VERSES_LABEL" label="COM_GETBIBLE_LINKER_PUBLIC_TAGGED_VERSES_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="linkersfilterpublicnotes" type="linkersfilterpublicnotes"
name="public_notes" name="public_notes"
label="COM_GETBIBLE_LINKER_PUBLIC_NOTES_LABEL" label="COM_GETBIBLE_LINKER_PUBLIC_NOTES_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -58,9 +58,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id DESC" default="a.id DESC"
validate="options" validate="options"
> >
@ -82,11 +81,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,7 +17,7 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_NOTES" description="COM_GETBIBLE_FILTER_PUBLISHED_NOTES"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
@ -26,35 +26,35 @@
name="book_nr" name="book_nr"
label="COM_GETBIBLE_NOTE_BOOK_NR_LABEL" label="COM_GETBIBLE_NOTE_BOOK_NR_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="linkers" type="linkers"
name="linker" name="linker"
label="COM_GETBIBLE_NOTE_LINKER_LABEL" label="COM_GETBIBLE_NOTE_LINKER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="notesfilteraccess" type="notesfilteraccess"
name="access" name="access"
label="COM_GETBIBLE_NOTE_ACCESS_LABEL" label="COM_GETBIBLE_NOTE_ACCESS_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="notesfilterverse" type="notesfilterverse"
name="verse" name="verse"
label="COM_GETBIBLE_NOTE_VERSE_LABEL" label="COM_GETBIBLE_NOTE_VERSE_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="notesfilterchapter" type="notesfilterchapter"
name="chapter" name="chapter"
label="COM_GETBIBLE_NOTE_CHAPTER_LABEL" label="COM_GETBIBLE_NOTE_CHAPTER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -63,9 +63,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id DESC" default="a.id DESC"
validate="options" validate="options"
> >
@ -87,11 +86,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,46 +17,46 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_OPEN_AI_MESSAGES" description="COM_GETBIBLE_FILTER_PUBLISHED_OPEN_AI_MESSAGES"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="openaimessagesfilterrole" type="openaimessagesfilterrole"
name="role" name="role"
label="COM_GETBIBLE_OPEN_AI_MESSAGE_ROLE_LABEL" label="COM_GETBIBLE_OPEN_AI_MESSAGE_ROLE_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="openairesponses" type="openairesponses"
name="open_ai_response" name="open_ai_response"
label="COM_GETBIBLE_OPEN_AI_MESSAGE_OPEN_AI_RESPONSE_LABEL" label="COM_GETBIBLE_OPEN_AI_MESSAGE_OPEN_AI_RESPONSE_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="prompts" type="prompts"
name="prompt" name="prompt"
label="COM_GETBIBLE_OPEN_AI_MESSAGE_PROMPT_LABEL" label="COM_GETBIBLE_OPEN_AI_MESSAGE_PROMPT_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="openaimessagesfiltersource" type="openaimessagesfiltersource"
name="source" name="source"
label="COM_GETBIBLE_OPEN_AI_MESSAGE_SOURCE_LABEL" label="COM_GETBIBLE_OPEN_AI_MESSAGE_SOURCE_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -65,9 +65,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id desc" default="a.id desc"
validate="options" validate="options"
> >
@ -91,11 +90,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,39 +17,39 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_OPEN_AI_RESPONSES" description="COM_GETBIBLE_FILTER_PUBLISHED_OPEN_AI_RESPONSES"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="openairesponsesfilterresponseid" type="openairesponsesfilterresponseid"
name="response_id" name="response_id"
label="COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_ID_LABEL" label="COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_ID_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="prompts" type="prompts"
name="prompt" name="prompt"
label="COM_GETBIBLE_OPEN_AI_RESPONSE_PROMPT_LABEL" label="COM_GETBIBLE_OPEN_AI_RESPONSE_PROMPT_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="openairesponsesfilterresponsemodel" type="openairesponsesfilterresponsemodel"
name="response_model" name="response_model"
label="COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_MODEL_LABEL" label="COM_GETBIBLE_OPEN_AI_RESPONSE_RESPONSE_MODEL_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -58,9 +58,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id desc" default="a.id desc"
validate="options" validate="options"
> >
@ -86,11 +85,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,32 +17,32 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_PASSWORDS" description="COM_GETBIBLE_FILTER_PUBLISHED_PASSWORDS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="passwordsfiltername" type="passwordsfiltername"
name="name" name="name"
label="COM_GETBIBLE_PASSWORD_NAME_LABEL" label="COM_GETBIBLE_PASSWORD_NAME_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="linkers" type="linkers"
name="linker" name="linker"
label="COM_GETBIBLE_PASSWORD_LINKER_LABEL" label="COM_GETBIBLE_PASSWORD_LINKER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -51,9 +51,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id DESC" default="a.id DESC"
validate="options" validate="options"
> >
@ -73,11 +72,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,46 +17,46 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_PROMPTS" description="COM_GETBIBLE_FILTER_PUBLISHED_PROMPTS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="promptsfiltername" type="promptsfiltername"
name="name" name="name"
label="COM_GETBIBLE_PROMPT_NAME_LABEL" label="COM_GETBIBLE_PROMPT_NAME_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="promptsfiltercachebehaviour" type="promptsfiltercachebehaviour"
name="cache_behaviour" name="cache_behaviour"
label="COM_GETBIBLE_PROMPT_CACHE_BEHAVIOUR_LABEL" label="COM_GETBIBLE_PROMPT_CACHE_BEHAVIOUR_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="targettranslations" type="targettranslations"
name="abbreviation" name="abbreviation"
label="COM_GETBIBLE_PROMPT_ABBREVIATION_LABEL" label="COM_GETBIBLE_PROMPT_ABBREVIATION_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="promptsfiltermodel" type="promptsfiltermodel"
name="model" name="model"
label="COM_GETBIBLE_PROMPT_MODEL_LABEL" label="COM_GETBIBLE_PROMPT_MODEL_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -65,9 +65,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id desc" default="a.id desc"
validate="options" validate="options"
> >
@ -91,11 +90,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,7 +17,7 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_TAGGED_VERSES" description="COM_GETBIBLE_FILTER_PUBLISHED_TAGGED_VERSES"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
@ -25,54 +25,58 @@
type="taggedversesfilterbooknr" type="taggedversesfilterbooknr"
name="book_nr" name="book_nr"
label="COM_GETBIBLE_TAGGED_VERSE_BOOK_NR_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_BOOK_NR_LABEL"
class="multipleTaggedversesfilterbooknr" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_BOOK_NUMBER"
class="js-select-submit-on-change"
/> />
<field <field
type="translations" type="translations"
name="abbreviation" name="abbreviation"
label="COM_GETBIBLE_TAGGED_VERSE_ABBREVIATION_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_ABBREVIATION_LABEL"
class="multipleTranslations" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_TRANSLATION"
class="js-select-submit-on-change"
/> />
<field <field
type="taggedversesfilteraccess" type="taggedversesfilteraccess"
name="access" name="access"
label="COM_GETBIBLE_TAGGED_VERSE_ACCESS_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_ACCESS_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="linkers" type="linkers"
name="linker" name="linker"
label="COM_GETBIBLE_TAGGED_VERSE_LINKER_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_LINKER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="tagers" type="tagers"
name="tag" name="tag"
label="COM_GETBIBLE_TAGGED_VERSE_TAG_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_TAG_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="taggedversesfilterverse" type="taggedversesfilterverse"
name="verse" name="verse"
label="COM_GETBIBLE_TAGGED_VERSE_VERSE_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_VERSE_LABEL"
class="multipleTaggedversesfilterverse" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_VERSE"
class="js-select-submit-on-change"
/> />
<field <field
type="taggedversesfilterchapter" type="taggedversesfilterchapter"
name="chapter" name="chapter"
label="COM_GETBIBLE_TAGGED_VERSE_CHAPTER_LABEL" label="COM_GETBIBLE_TAGGED_VERSE_CHAPTER_LABEL"
class="multipleTaggedversesfilterchapter" layout="joomla.form.field.list-fancy-select"
multiple="true" multiple="true"
onchange="this.form.submit();" hint="COM_GETBIBLE_FILTER_SELECT_CHAPTER"
class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -81,9 +85,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id DESC" default="a.id DESC"
validate="options" validate="options"
> >
@ -109,11 +112,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,7 +17,7 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_TAGS" description="COM_GETBIBLE_FILTER_PUBLISHED_TAGS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
@ -26,14 +26,14 @@
name="linker" name="linker"
label="COM_GETBIBLE_TAG_LINKER_LABEL" label="COM_GETBIBLE_TAG_LINKER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="tagsfilteraccess" type="tagsfilteraccess"
name="access" name="access"
label="COM_GETBIBLE_TAG_ACCESS_LABEL" label="COM_GETBIBLE_TAG_ACCESS_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -42,9 +42,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.id DESC" default="a.id DESC"
validate="options" validate="options"
> >
@ -66,11 +65,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,25 +17,25 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_TRANSLATIONS" description="COM_GETBIBLE_FILTER_PUBLISHED_TRANSLATIONS"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="translationsfilterdirection" type="translationsfilterdirection"
name="direction" name="direction"
label="COM_GETBIBLE_TRANSLATION_DIRECTION_LABEL" label="COM_GETBIBLE_TRANSLATION_DIRECTION_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -44,9 +44,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="a.language asc" default="a.language asc"
validate="options" validate="options"
> >
@ -70,11 +69,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<fields name="filter"> <fields name="filter">
<field <field
@ -17,46 +17,46 @@
name="published" name="published"
label="COM_GETBIBLE_FILTER_PUBLISHED" label="COM_GETBIBLE_FILTER_PUBLISHED"
description="COM_GETBIBLE_FILTER_PUBLISHED_VERSES" description="COM_GETBIBLE_FILTER_PUBLISHED_VERSES"
onchange="this.form.submit();" class="js-select-submit-on-change"
> >
<option value="">JOPTION_SELECT_PUBLISHED</option> <option value="">JOPTION_SELECT_PUBLISHED</option>
</field> </field>
<field <field
type="accesslevel" type="accesslevel"
name="access" name="access"
label="JFIELD_ACCESS_LABEL" label="JGRID_HEADING_ACCESS"
description="JFIELD_ACCESS_DESC" hint="JOPTION_SELECT_ACCESS"
multiple="true" multiple="true"
class="multipleAccessLevels" class="js-select-submit-on-change"
onchange="this.form.submit();" layout="joomla.form.field.list-fancy-select"
/> />
<field <field
type="versesfilterbooknr" type="versesfilterbooknr"
name="book_nr" name="book_nr"
label="COM_GETBIBLE_VERSE_BOOK_NR_LABEL" label="COM_GETBIBLE_VERSE_BOOK_NR_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="versesfilterchapter" type="versesfilterchapter"
name="chapter" name="chapter"
label="COM_GETBIBLE_VERSE_CHAPTER_LABEL" label="COM_GETBIBLE_VERSE_CHAPTER_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="versesfilterverse" type="versesfilterverse"
name="verse" name="verse"
label="COM_GETBIBLE_VERSE_VERSE_LABEL" label="COM_GETBIBLE_VERSE_VERSE_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<field <field
type="translations" type="translations"
name="abbreviation" name="abbreviation"
label="COM_GETBIBLE_VERSE_ABBREVIATION_LABEL" label="COM_GETBIBLE_VERSE_ABBREVIATION_LABEL"
multiple="false" multiple="false"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
<input type="hidden" name="form_submited" value="1"/> <input type="hidden" name="form_submited" value="1"/>
</fields> </fields>
@ -65,9 +65,8 @@
<field <field
name="fullordering" name="fullordering"
type="list" type="list"
label="COM_CONTENT_LIST_FULL_ORDERING" label="JGLOBAL_SORT_BY"
description="COM_CONTENT_LIST_FULL_ORDERING_DESC" class="js-select-submit-on-change"
onchange="this.form.submit();"
default="g.translation asc" default="g.translation asc"
validate="options" validate="options"
> >
@ -91,11 +90,9 @@
<field <field
name="limit" name="limit"
type="limitbox" type="limitbox"
label="COM_CONTENT_LIST_LIMIT" label="JGLOBAL_LIST_LIMIT"
description="COM_CONTENT_LIST_LIMIT_DESC"
class="input-mini"
default="25" default="25"
onchange="this.form.submit();" class="js-select-submit-on-change"
/> />
</fields> </fields>
</form> </form>

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -151,7 +154,7 @@
COM_GETBIBLE_LINKER_NO</option> COM_GETBIBLE_LINKER_NO</option>
</field> </field>
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -175,7 +178,7 @@
step="1" step="1"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -187,7 +190,7 @@
step="1" step="1"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -394,7 +397,7 @@
COM_GETBIBLE_OPEN_AI_RESPONSE_GPT35TURBO16K0613</option> COM_GETBIBLE_OPEN_AI_RESPONSE_GPT35TURBO16K0613</option>
</field> </field>
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -149,7 +152,7 @@
autocomplete="off" autocomplete="off"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -546,7 +549,7 @@
<!-- Cache_advance_note Field. Type: Note. A None Database Field. (joomla) --> <!-- Cache_advance_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="cache_advance_note" label="COM_GETBIBLE_PROMPT_CACHE_ADVANCE_NOTE_LABEL" description="COM_GETBIBLE_PROMPT_CACHE_ADVANCE_NOTE_DESCRIPTION" heading="h5" class="alert alert-success cache_advance_note" showon="cache_behaviour:2" /> <field type="note" name="cache_advance_note" label="COM_GETBIBLE_PROMPT_CACHE_ADVANCE_NOTE_LABEL" description="COM_GETBIBLE_PROMPT_CACHE_ADVANCE_NOTE_DESCRIPTION" heading="h5" class="alert alert-success cache_advance_note" showon="cache_behaviour:2" />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -153,7 +156,7 @@
hint="COM_GETBIBLE_TAG_DESCRIPTION_HINT" hint="COM_GETBIBLE_TAG_DESCRIPTION_HINT"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -184,7 +187,7 @@
step="1" step="1"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -390,7 +393,7 @@
hint="COM_GETBIBLE_TRANSLATION_DISTRIBUTION_ABBREVIATION_HINT" hint="COM_GETBIBLE_TRANSLATION_DISTRIBUTION_ABBREVIATION_HINT"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<form <form
addrulepath="/administrator/components/com_getbible/models/rules" addruleprefix="TrueChristianChurch\Component\Getbible\Administrator\Rule"
addfieldpath="/administrator/components/com_getbible/models/fields" addfieldprefix="TrueChristianChurch\Component\Getbible\Administrator\Field"
> >
<config>
<inlinehelp button="show"/>
</config>
<fieldset name="details"> <fieldset name="details">
<!-- Default Fields. --> <!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) --> <!-- Id Field. Type: Text (joomla) -->
@ -184,7 +187,7 @@
hint="COM_GETBIBLE_VERSE_NAME_HINT" hint="COM_GETBIBLE_VERSE_NAME_HINT"
/> />
</fieldset> </fieldset>
<!-- Access Control Fields. --> <!-- Access Control Fields. -->
<fieldset name="accesscontrol"> <fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) --> <!-- Asset Id Field. Type: Hidden (joomla) -->

View File

@ -1,94 +0,0 @@
<?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');
// register this component namespace
spl_autoload_register(function ($class) {
// project-specific base directories and namespace prefix
$search = [
'libraries/jcb_powers/VDM.Joomla.GetBible' => 'VDM\\Joomla\\GetBible',
'libraries/jcb_powers/VDM.Joomla.Openai' => 'VDM\\Joomla\\Openai',
'libraries/jcb_powers/VDM.Joomla.Gitea' => 'VDM\\Joomla\\Gitea',
'libraries/jcb_powers/VDM.Joomla' => 'VDM\\Joomla'
];
// Start the search and load if found
$found = false;
$found_base_dir = "";
$found_len = 0;
foreach ($search as $base_dir => $prefix)
{
// does the class use the namespace prefix?
$len = strlen($prefix);
if (strncmp($prefix, $class, $len) === 0)
{
// we have a match so load the values
$found = true;
$found_base_dir = $base_dir;
$found_len = $len;
// done here
break;
}
}
// check if we found a match
if (!$found)
{
// not found so move to the next registered autoloader
return;
}
// get the relative class name
$relative_class = substr($class, $found_len);
// replace the namespace prefix with the base directory, replace namespace
// separators with directory separators in the relative class name, append
// with .php
$file = JPATH_ROOT . '/' . $found_base_dir . '/src' . str_replace('\\', '/', $relative_class) . '.php';
// if the file exists, require it
if (file_exists($file))
{
require $file;
}
});
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Access\Exception\NotAllowed;
use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\CMS\MVC\Controller\BaseController;
// Access check.
if (!Factory::getUser()->authorise('core.manage', 'com_getbible'))
{
throw new NotAllowed(Text::_('JERROR_ALERTNOAUTHOR'), 403);
}
// Add CSS file for all pages
Html::_('stylesheet', 'components/com_getbible/assets/css/admin.css', ['version' => 'auto']);
Html::_('script', 'components/com_getbible/assets/js/admin.js', ['version' => 'auto']);
// require helper files
JLoader::register('GetbibleHelper', __DIR__ . '/helpers/getbible.php');
JLoader::register('JHtmlBatch_', __DIR__ . '/helpers/html/batch_.php');
// Get an instance of the controller prefixed by Getbible
$controller = BaseController::getInstance('Getbible');
// Perform the Request task
$controller->execute(Factory::getApplication()->input->get('task'));
// Redirect if set by the controller
$controller->redirect();

View File

@ -1,95 +0,0 @@
<?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');
use Joomla\CMS\Factory;
class getbibleHeaderCheck
{
protected $document = null;
protected $app = null;
function js_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
if (!$this->app)
{
$this->app = Factory::getApplication();
}
$getTemplateName = $this->app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
if (!$this->document)
{
$this->document = Factory::getDocument();
}
$head_data = $this->document->getHeadData();
foreach (array_keys($head_data['scripts']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
function css_loaded($script_name)
{
// UIkit check point
if (strpos($script_name,'uikit') !== false)
{
if (!$this->app)
{
$this->app = Factory::getApplication();
}
$getTemplateName = $this->app->getTemplate('template')->template;
if (strpos($getTemplateName,'yoo') !== false)
{
return true;
}
}
if (!$this->document)
{
$this->document = Factory::getDocument();
}
$head_data = $this->document->getHeadData();
foreach (array_keys($head_data['styleSheets']) as $script)
{
if (stristr($script, $script_name))
{
return true;
}
}
return false;
}
}

View File

@ -1,84 +0,0 @@
<?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('JPATH_PLATFORM') or die;
/**
* Utility class to render a list view batch selection options
*
* @since 3.0
*/
abstract class JHtmlBatch_
{
/**
* ListSelection
*
* @var array
* @since 3.0
*/
protected static $ListSelection = [];
/**
* Render the batch selection options.
*
* @return string The necessary HTML to display the batch selection options
*
* @since 3.0
*/
public static function render()
{
// Collect display data
$data = new stdClass;
$data->ListSelection = static::getListSelection();
// Create a layout object and ask it to render the batch selection options
$layout = new JLayoutFile('batchselection');
$batchHtml = $layout->render($data);
return $batchHtml;
}
/**
* Method to add a list selection to the batch modal
*
* @param string $label Label for the menu item.
* @param string $name Name for the filter. Also used as id.
* @param string $options Options for the select field.
* @param bool $noDefault Don't the label as the empty option
*
* @return void
*
* @since 3.0
*/
public static function addListSelection($label, $name, $options, $noDefault = false)
{
array_push(static::$ListSelection, array('label' => $label, 'name' => $name, 'options' => $options, 'noDefault' => $noDefault));
}
/**
* Returns an array of all ListSelection
*
* @return array
*
* @since 3.0
*/
public static function getListSelection()
{
return static::$ListSelection;
}
}

View File

@ -1,7 +1,7 @@
COM_GETBIBLE="Get Bible" COM_GETBIBLE="Get Bible"
COM_GETBIBLE_ACCESS_ALREADY_EXIST_BUT_COULD_NOT_BE_REACTIVATED="Access already exist, but could not be reactivated." COM_GETBIBLE_ACCESS_ALREADY_EXIST_BUT_COULD_NOT_BE_REACTIVATED="Access already exist, but could not be reactivated."
COM_GETBIBLE_ACCESS_REVOKED="Access revoked." COM_GETBIBLE_ACCESS_REVOKED="Access revoked."
COM_GETBIBLE_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER="All is good, please check again latter." COM_GETBIBLE_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATER="All is good, please check again later"
COM_GETBIBLE_ALL_TRANSLATIONS="All Translations" COM_GETBIBLE_ALL_TRANSLATIONS="All Translations"
COM_GETBIBLE_ALL_TRANSLATIONS_WERE_SUCCESSFULLY_UPDATED_AND_THEY_ARE_NOW_IN_SYNC_WITH_THE_GETBIBLE_API="All translations were successfully updated, and they are now in sync with the getBible API." COM_GETBIBLE_ALL_TRANSLATIONS_WERE_SUCCESSFULLY_UPDATED_AND_THEY_ARE_NOW_IN_SYNC_WITH_THE_GETBIBLE_API="All translations were successfully updated, and they are now in sync with the getBible API."
COM_GETBIBLE_ARCHIVED="Archived" COM_GETBIBLE_ARCHIVED="Archived"
@ -41,6 +41,9 @@ COM_GETBIBLE_BOOKS_EDIT_SHA="Books Edit Sha"
COM_GETBIBLE_BOOKS_EDIT_SHA_DESC="Allows the users in this group to edit sha of book" COM_GETBIBLE_BOOKS_EDIT_SHA_DESC="Allows the users in this group to edit sha of book"
COM_GETBIBLE_BOOKS_EDIT_STATE="Books Edit State" COM_GETBIBLE_BOOKS_EDIT_STATE="Books Edit State"
COM_GETBIBLE_BOOKS_EDIT_STATE_DESC="Allows the users in this group to update the state of the book" COM_GETBIBLE_BOOKS_EDIT_STATE_DESC="Allows the users in this group to update the state of the book"
COM_GETBIBLE_BOOKS_EMPTYSTATE_BUTTON_ADD="Add your first book"
COM_GETBIBLE_BOOKS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_BOOKS_EMPTYSTATE_TITLE="No books have been created yet."
COM_GETBIBLE_BOOKS_N_ITEMS_ARCHIVED="%s Books archived." COM_GETBIBLE_BOOKS_N_ITEMS_ARCHIVED="%s Books archived."
COM_GETBIBLE_BOOKS_N_ITEMS_ARCHIVED_1="%s Book archived." COM_GETBIBLE_BOOKS_N_ITEMS_ARCHIVED_1="%s Book archived."
COM_GETBIBLE_BOOKS_N_ITEMS_CHECKED_IN_0="No Book successfully checked in." COM_GETBIBLE_BOOKS_N_ITEMS_CHECKED_IN_0="No Book successfully checked in."
@ -70,6 +73,7 @@ COM_GETBIBLE_BOOK_CREATED_DATE_DESC="The date this Book was created."
COM_GETBIBLE_BOOK_CREATED_DATE_LABEL="Created Date" COM_GETBIBLE_BOOK_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_BOOK_DETAILS="Details" COM_GETBIBLE_BOOK_DETAILS="Details"
COM_GETBIBLE_BOOK_ERROR_UNIQUE_ALIAS="Another Book has the same alias." COM_GETBIBLE_BOOK_ERROR_UNIQUE_ALIAS="Another Book has the same alias."
COM_GETBIBLE_BOOK_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Book has the same alias ."
COM_GETBIBLE_BOOK_FORCE_HASH_CHECK_BUTTON_ACCESS="Book Force Hash Check Button Access" COM_GETBIBLE_BOOK_FORCE_HASH_CHECK_BUTTON_ACCESS="Book Force Hash Check Button Access"
COM_GETBIBLE_BOOK_FORCE_HASH_CHECK_BUTTON_ACCESS_DESC="Allows the users in this group to access the force hash check button." COM_GETBIBLE_BOOK_FORCE_HASH_CHECK_BUTTON_ACCESS_DESC="Allows the users in this group to access the force hash check button."
COM_GETBIBLE_BOOK_ID="Id" COM_GETBIBLE_BOOK_ID="Id"
@ -130,6 +134,9 @@ COM_GETBIBLE_CHAPTERS_EDIT_SHA="Chapters Edit Sha"
COM_GETBIBLE_CHAPTERS_EDIT_SHA_DESC="Allows the users in this group to edit sha of chapter" COM_GETBIBLE_CHAPTERS_EDIT_SHA_DESC="Allows the users in this group to edit sha of chapter"
COM_GETBIBLE_CHAPTERS_EDIT_STATE="Chapters Edit State" COM_GETBIBLE_CHAPTERS_EDIT_STATE="Chapters Edit State"
COM_GETBIBLE_CHAPTERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the chapter" COM_GETBIBLE_CHAPTERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the chapter"
COM_GETBIBLE_CHAPTERS_EMPTYSTATE_BUTTON_ADD="Add your first chapter"
COM_GETBIBLE_CHAPTERS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_CHAPTERS_EMPTYSTATE_TITLE="No chapters have been created yet."
COM_GETBIBLE_CHAPTERS_N_ITEMS_ARCHIVED="%s Chapters archived." COM_GETBIBLE_CHAPTERS_N_ITEMS_ARCHIVED="%s Chapters archived."
COM_GETBIBLE_CHAPTERS_N_ITEMS_ARCHIVED_1="%s Chapter archived." COM_GETBIBLE_CHAPTERS_N_ITEMS_ARCHIVED_1="%s Chapter archived."
COM_GETBIBLE_CHAPTERS_N_ITEMS_CHECKED_IN_0="No Chapter successfully checked in." COM_GETBIBLE_CHAPTERS_N_ITEMS_CHECKED_IN_0="No Chapter successfully checked in."
@ -163,6 +170,7 @@ COM_GETBIBLE_CHAPTER_CREATED_DATE_DESC="The date this Chapter was created."
COM_GETBIBLE_CHAPTER_CREATED_DATE_LABEL="Created Date" COM_GETBIBLE_CHAPTER_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_CHAPTER_DETAILS="Details" COM_GETBIBLE_CHAPTER_DETAILS="Details"
COM_GETBIBLE_CHAPTER_ERROR_UNIQUE_ALIAS="Another Chapter has the same alias." COM_GETBIBLE_CHAPTER_ERROR_UNIQUE_ALIAS="Another Chapter has the same alias."
COM_GETBIBLE_CHAPTER_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Chapter has the same alias ."
COM_GETBIBLE_CHAPTER_ID="Id" COM_GETBIBLE_CHAPTER_ID="Id"
COM_GETBIBLE_CHAPTER_MODIFIED_BY_DESC="The last user that modified this Chapter." COM_GETBIBLE_CHAPTER_MODIFIED_BY_DESC="The last user that modified this Chapter."
COM_GETBIBLE_CHAPTER_MODIFIED_BY_LABEL="Modified By" COM_GETBIBLE_CHAPTER_MODIFIED_BY_LABEL="Modified By"
@ -252,26 +260,6 @@ COM_GETBIBLE_CONFIG_CHECK_TIMER_OPTION_TWO="Every twelve hours"
COM_GETBIBLE_CONFIG_CLASS_HINT="Blank for none" COM_GETBIBLE_CONFIG_CLASS_HINT="Blank for none"
COM_GETBIBLE_CONFIG_CLASS_LABEL="Class" COM_GETBIBLE_CONFIG_CLASS_LABEL="Class"
COM_GETBIBLE_CONFIG_CLASS_MESSAGE="Error! Please add some Class here." COM_GETBIBLE_CONFIG_CLASS_MESSAGE="Error! Please add some Class here."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_EMAIL_DESC="The email of this contributor."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_EMAIL_LABEL="Contributor Email"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_LINK_DESC="The link to this contributor's website."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_LINK_LABEL="Contributor Website"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_NAME_DESC="The name of this contributor."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_NAME_LABEL="Contributor Name"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_ONE="Contributor One"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_ALL="Both Front & Back-end"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_BACK="Back-end"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_DESC="Select where you want this contributor's details to show in the component."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_FRONT="Front-end"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_LABEL="Show"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_SHOW_NONE="Hide"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_TITLE_DESC="The job title that best describes the contributor's relationship to this component."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_TITLE_LABEL="Contributor Job Title"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_DESC="How should we link to this contributor."
COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_EMAIL="Email"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_LABEL="Use"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_NONE="None"
COM_GETBIBLE_CONFIG_CONTRIBUTOR_USE_WWW="Website"
COM_GETBIBLE_CONFIG_CUSTOM_ICONS_DESCRIPTION="Use this option to set custom icons found at https://getuikit.com/docs/icon" COM_GETBIBLE_CONFIG_CUSTOM_ICONS_DESCRIPTION="Use this option to set custom icons found at https://getuikit.com/docs/icon"
COM_GETBIBLE_CONFIG_CUSTOM_ICONS_LABEL="Set Custom Icons" COM_GETBIBLE_CONFIG_CUSTOM_ICONS_LABEL="Set Custom Icons"
COM_GETBIBLE_CONFIG_CUSTOM_TABS_LABEL="Custom Tabs" COM_GETBIBLE_CONFIG_CUSTOM_TABS_LABEL="Custom Tabs"
@ -656,6 +644,9 @@ COM_GETBIBLE_LINKERS_EDIT_PUBLIC_TAGGED_VERSES="Linkers Edit Public Tagged Verse
COM_GETBIBLE_LINKERS_EDIT_PUBLIC_TAGGED_VERSES_DESC="Allows the users in this group to edit public tagged verses of linker" COM_GETBIBLE_LINKERS_EDIT_PUBLIC_TAGGED_VERSES_DESC="Allows the users in this group to edit public tagged verses of linker"
COM_GETBIBLE_LINKERS_EDIT_STATE="Linkers Edit State" COM_GETBIBLE_LINKERS_EDIT_STATE="Linkers Edit State"
COM_GETBIBLE_LINKERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the linker" COM_GETBIBLE_LINKERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the linker"
COM_GETBIBLE_LINKERS_EMPTYSTATE_BUTTON_ADD="Add your first linker"
COM_GETBIBLE_LINKERS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_LINKERS_EMPTYSTATE_TITLE="No linkers have been created yet."
COM_GETBIBLE_LINKERS_N_ITEMS_ARCHIVED="%s Linkers archived." COM_GETBIBLE_LINKERS_N_ITEMS_ARCHIVED="%s Linkers archived."
COM_GETBIBLE_LINKERS_N_ITEMS_ARCHIVED_1="%s Linker archived." COM_GETBIBLE_LINKERS_N_ITEMS_ARCHIVED_1="%s Linker archived."
COM_GETBIBLE_LINKERS_N_ITEMS_CHECKED_IN_0="No Linker successfully checked in." COM_GETBIBLE_LINKERS_N_ITEMS_CHECKED_IN_0="No Linker successfully checked in."
@ -684,6 +675,7 @@ COM_GETBIBLE_LINKER_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_LINKER_DETAILS="Details" COM_GETBIBLE_LINKER_DETAILS="Details"
COM_GETBIBLE_LINKER_EDIT="Editing the Linker" COM_GETBIBLE_LINKER_EDIT="Editing the Linker"
COM_GETBIBLE_LINKER_ERROR_UNIQUE_ALIAS="Another Linker has the same alias." COM_GETBIBLE_LINKER_ERROR_UNIQUE_ALIAS="Another Linker has the same alias."
COM_GETBIBLE_LINKER_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Linker has the same alias ."
COM_GETBIBLE_LINKER_GUID_DESCRIPTION="Globally Unique Identifier" COM_GETBIBLE_LINKER_GUID_DESCRIPTION="Globally Unique Identifier"
COM_GETBIBLE_LINKER_GUID_HINT="Auto Generated" COM_GETBIBLE_LINKER_GUID_HINT="Auto Generated"
COM_GETBIBLE_LINKER_GUID_LABEL="GUID" COM_GETBIBLE_LINKER_GUID_LABEL="GUID"
@ -753,6 +745,9 @@ COM_GETBIBLE_NOTES_EDIT_VERSE="Notes Edit Verse"
COM_GETBIBLE_NOTES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of note" COM_GETBIBLE_NOTES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of note"
COM_GETBIBLE_NOTES_EDIT_VERSION="Notes Edit Version" COM_GETBIBLE_NOTES_EDIT_VERSION="Notes Edit Version"
COM_GETBIBLE_NOTES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version notes" COM_GETBIBLE_NOTES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version notes"
COM_GETBIBLE_NOTES_EMPTYSTATE_BUTTON_ADD="Add your first note"
COM_GETBIBLE_NOTES_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_NOTES_EMPTYSTATE_TITLE="No notes have been created yet."
COM_GETBIBLE_NOTES_N_ITEMS_ARCHIVED="%s Notes archived." COM_GETBIBLE_NOTES_N_ITEMS_ARCHIVED="%s Notes archived."
COM_GETBIBLE_NOTES_N_ITEMS_ARCHIVED_1="%s Note archived." COM_GETBIBLE_NOTES_N_ITEMS_ARCHIVED_1="%s Note archived."
COM_GETBIBLE_NOTES_N_ITEMS_CHECKED_IN_0="No Note successfully checked in." COM_GETBIBLE_NOTES_N_ITEMS_CHECKED_IN_0="No Note successfully checked in."
@ -788,6 +783,7 @@ COM_GETBIBLE_NOTE_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_NOTE_DETAILS="Details" COM_GETBIBLE_NOTE_DETAILS="Details"
COM_GETBIBLE_NOTE_EDIT="Editing the Note" COM_GETBIBLE_NOTE_EDIT="Editing the Note"
COM_GETBIBLE_NOTE_ERROR_UNIQUE_ALIAS="Another Note has the same alias." COM_GETBIBLE_NOTE_ERROR_UNIQUE_ALIAS="Another Note has the same alias."
COM_GETBIBLE_NOTE_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Note has the same alias ."
COM_GETBIBLE_NOTE_GUID_DESCRIPTION="Globally Unique Identifier" COM_GETBIBLE_NOTE_GUID_DESCRIPTION="Globally Unique Identifier"
COM_GETBIBLE_NOTE_GUID_HINT="Auto Generated" COM_GETBIBLE_NOTE_GUID_HINT="Auto Generated"
COM_GETBIBLE_NOTE_GUID_LABEL="GUID" COM_GETBIBLE_NOTE_GUID_LABEL="GUID"
@ -856,6 +852,9 @@ COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE="Open Ai Messages Edit State"
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE_DESC="Allows the users in this group to update the state of the open ai message" COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE_DESC="Allows the users in this group to update the state of the open ai message"
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION="Open Ai Messages Edit Version" COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION="Open Ai Messages Edit Version"
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version open ai messages" COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version open ai messages"
COM_GETBIBLE_OPEN_AI_MESSAGES_EMPTYSTATE_BUTTON_ADD="Add your first open ai message"
COM_GETBIBLE_OPEN_AI_MESSAGES_EMPTYSTATE_CONTENT="Open AI Messages Received"
COM_GETBIBLE_OPEN_AI_MESSAGES_EMPTYSTATE_TITLE="No open ai messages have been created yet."
COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_ARCHIVED="%s Open AI Messages archived." COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_ARCHIVED="%s Open AI Messages archived."
COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_ARCHIVED_1="%s Open AI Message archived." COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_ARCHIVED_1="%s Open AI Message archived."
COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_CHECKED_IN_0="No Open AI Message successfully checked in." COM_GETBIBLE_OPEN_AI_MESSAGES_N_ITEMS_CHECKED_IN_0="No Open AI Message successfully checked in."
@ -884,6 +883,7 @@ COM_GETBIBLE_OPEN_AI_MESSAGE_CREATED_DATE_DESC="The date this Open AI Message wa
COM_GETBIBLE_OPEN_AI_MESSAGE_CREATED_DATE_LABEL="Created Date" COM_GETBIBLE_OPEN_AI_MESSAGE_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_OPEN_AI_MESSAGE_EDIT="Editing the Open AI Message" COM_GETBIBLE_OPEN_AI_MESSAGE_EDIT="Editing the Open AI Message"
COM_GETBIBLE_OPEN_AI_MESSAGE_ERROR_UNIQUE_ALIAS="Another Open AI Message has the same alias." COM_GETBIBLE_OPEN_AI_MESSAGE_ERROR_UNIQUE_ALIAS="Another Open AI Message has the same alias."
COM_GETBIBLE_OPEN_AI_MESSAGE_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Open AI Message has the same alias ."
COM_GETBIBLE_OPEN_AI_MESSAGE_FUNCTION="function" COM_GETBIBLE_OPEN_AI_MESSAGE_FUNCTION="function"
COM_GETBIBLE_OPEN_AI_MESSAGE_ID="Id" COM_GETBIBLE_OPEN_AI_MESSAGE_ID="Id"
COM_GETBIBLE_OPEN_AI_MESSAGE_INDEX_DESCRIPTION="Message index" COM_GETBIBLE_OPEN_AI_MESSAGE_INDEX_DESCRIPTION="Message index"
@ -986,6 +986,9 @@ COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION="Open Ai Responses Edit Version"
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version open ai responses" COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version open ai responses"
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD="Open Ai Responses Edit Word" COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD="Open Ai Responses Edit Word"
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD_DESC="Allows the users in this group to edit word of open ai response" COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD_DESC="Allows the users in this group to edit word of open ai response"
COM_GETBIBLE_OPEN_AI_RESPONSES_EMPTYSTATE_BUTTON_ADD="Add your first open ai response"
COM_GETBIBLE_OPEN_AI_RESPONSES_EMPTYSTATE_CONTENT="Open AI Response Received"
COM_GETBIBLE_OPEN_AI_RESPONSES_EMPTYSTATE_TITLE="No open ai responses have been created yet."
COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_ARCHIVED="%s Open AI Responses archived." COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_ARCHIVED="%s Open AI Responses archived."
COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_ARCHIVED_1="%s Open AI Response archived." COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_ARCHIVED_1="%s Open AI Response archived."
COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_CHECKED_IN_0="No Open AI Response successfully checked in." COM_GETBIBLE_OPEN_AI_RESPONSES_N_ITEMS_CHECKED_IN_0="No Open AI Response successfully checked in."
@ -1025,6 +1028,7 @@ COM_GETBIBLE_OPEN_AI_RESPONSE_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_OPEN_AI_RESPONSE_DETAILS="Details" COM_GETBIBLE_OPEN_AI_RESPONSE_DETAILS="Details"
COM_GETBIBLE_OPEN_AI_RESPONSE_EDIT="Editing the Open AI Response" COM_GETBIBLE_OPEN_AI_RESPONSE_EDIT="Editing the Open AI Response"
COM_GETBIBLE_OPEN_AI_RESPONSE_ERROR_UNIQUE_ALIAS="Another Open AI Response has the same alias." COM_GETBIBLE_OPEN_AI_RESPONSE_ERROR_UNIQUE_ALIAS="Another Open AI Response has the same alias."
COM_GETBIBLE_OPEN_AI_RESPONSE_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Open AI Response has the same alias ."
COM_GETBIBLE_OPEN_AI_RESPONSE_FREQUENCY_PENALTY_DESCRIPTION="Penalty for new tokens based on their frequency in the text" COM_GETBIBLE_OPEN_AI_RESPONSE_FREQUENCY_PENALTY_DESCRIPTION="Penalty for new tokens based on their frequency in the text"
COM_GETBIBLE_OPEN_AI_RESPONSE_FREQUENCY_PENALTY_LABEL="Frequency Penalty" COM_GETBIBLE_OPEN_AI_RESPONSE_FREQUENCY_PENALTY_LABEL="Frequency Penalty"
COM_GETBIBLE_OPEN_AI_RESPONSE_GPT35TURBO="gpt-3.5-turbo" COM_GETBIBLE_OPEN_AI_RESPONSE_GPT35TURBO="gpt-3.5-turbo"
@ -1129,6 +1133,9 @@ COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD="Passwords Edit Password"
COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD_DESC="Allows the users in this group to edit password of password" COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD_DESC="Allows the users in this group to edit password of password"
COM_GETBIBLE_PASSWORDS_EDIT_STATE="Passwords Edit State" COM_GETBIBLE_PASSWORDS_EDIT_STATE="Passwords Edit State"
COM_GETBIBLE_PASSWORDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the password" COM_GETBIBLE_PASSWORDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the password"
COM_GETBIBLE_PASSWORDS_EMPTYSTATE_BUTTON_ADD="Add your first password"
COM_GETBIBLE_PASSWORDS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_PASSWORDS_EMPTYSTATE_TITLE="No passwords have been created yet."
COM_GETBIBLE_PASSWORDS_N_ITEMS_ARCHIVED="%s Passwords archived." COM_GETBIBLE_PASSWORDS_N_ITEMS_ARCHIVED="%s Passwords archived."
COM_GETBIBLE_PASSWORDS_N_ITEMS_ARCHIVED_1="%s Password archived." COM_GETBIBLE_PASSWORDS_N_ITEMS_ARCHIVED_1="%s Password archived."
COM_GETBIBLE_PASSWORDS_N_ITEMS_CHECKED_IN_0="No Password successfully checked in." COM_GETBIBLE_PASSWORDS_N_ITEMS_CHECKED_IN_0="No Password successfully checked in."
@ -1157,6 +1164,7 @@ COM_GETBIBLE_PASSWORD_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_PASSWORD_DETAILS="Details" COM_GETBIBLE_PASSWORD_DETAILS="Details"
COM_GETBIBLE_PASSWORD_EDIT="Editing the Password" COM_GETBIBLE_PASSWORD_EDIT="Editing the Password"
COM_GETBIBLE_PASSWORD_ERROR_UNIQUE_ALIAS="Another Password has the same alias." COM_GETBIBLE_PASSWORD_ERROR_UNIQUE_ALIAS="Another Password has the same alias."
COM_GETBIBLE_PASSWORD_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Password has the same alias ."
COM_GETBIBLE_PASSWORD_GUID_DESCRIPTION="Globally Unique Identifier" COM_GETBIBLE_PASSWORD_GUID_DESCRIPTION="Globally Unique Identifier"
COM_GETBIBLE_PASSWORD_GUID_HINT="Auto Generated" COM_GETBIBLE_PASSWORD_GUID_HINT="Auto Generated"
COM_GETBIBLE_PASSWORD_GUID_LABEL="GUID" COM_GETBIBLE_PASSWORD_GUID_LABEL="GUID"
@ -1182,7 +1190,7 @@ COM_GETBIBLE_PASSWORD_STATUS="Status"
COM_GETBIBLE_PASSWORD_TO_SHORT_USE_A_LONGER_PASSWORD="Password to short, use a longer password." COM_GETBIBLE_PASSWORD_TO_SHORT_USE_A_LONGER_PASSWORD="Password to short, use a longer password."
COM_GETBIBLE_PASSWORD_VERSION_DESC="A count of the number of times this Password has been revised." COM_GETBIBLE_PASSWORD_VERSION_DESC="A count of the number of times this Password has been revised."
COM_GETBIBLE_PASSWORD_VERSION_LABEL="Version" COM_GETBIBLE_PASSWORD_VERSION_LABEL="Version"
COM_GETBIBLE_PLEASE_CHECK_AGAIN_LATTER="Please check again latter." COM_GETBIBLE_PLEASE_CHECK_AGAIN_LATER="Please check again later"
COM_GETBIBLE_PROMPT="Prompt" COM_GETBIBLE_PROMPT="Prompt"
COM_GETBIBLE_PROMPTS="Prompts" COM_GETBIBLE_PROMPTS="Prompts"
COM_GETBIBLE_PROMPTS_ACCESS="Prompts Access" COM_GETBIBLE_PROMPTS_ACCESS="Prompts Access"
@ -1257,6 +1265,9 @@ COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE="Prompts Edit Top P Override"
COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE_DESC="Allows the users in this group to edit top p override of prompt" COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE_DESC="Allows the users in this group to edit top p override of prompt"
COM_GETBIBLE_PROMPTS_EDIT_VERSION="Prompts Edit Version" COM_GETBIBLE_PROMPTS_EDIT_VERSION="Prompts Edit Version"
COM_GETBIBLE_PROMPTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version prompts" COM_GETBIBLE_PROMPTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version prompts"
COM_GETBIBLE_PROMPTS_EMPTYSTATE_BUTTON_ADD="Add your first prompt"
COM_GETBIBLE_PROMPTS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_PROMPTS_EMPTYSTATE_TITLE="No prompts have been created yet."
COM_GETBIBLE_PROMPTS_N_ITEMS_ARCHIVED="%s Prompts archived." COM_GETBIBLE_PROMPTS_N_ITEMS_ARCHIVED="%s Prompts archived."
COM_GETBIBLE_PROMPTS_N_ITEMS_ARCHIVED_1="%s Prompt archived." COM_GETBIBLE_PROMPTS_N_ITEMS_ARCHIVED_1="%s Prompt archived."
COM_GETBIBLE_PROMPTS_N_ITEMS_CHECKED_IN_0="No Prompt successfully checked in." COM_GETBIBLE_PROMPTS_N_ITEMS_CHECKED_IN_0="No Prompt successfully checked in."
@ -1306,6 +1317,7 @@ COM_GETBIBLE_PROMPT_CREATED_DATE_DESC="The date this Prompt was created."
COM_GETBIBLE_PROMPT_CREATED_DATE_LABEL="Created Date" COM_GETBIBLE_PROMPT_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_PROMPT_EDIT="Editing the Prompt" COM_GETBIBLE_PROMPT_EDIT="Editing the Prompt"
COM_GETBIBLE_PROMPT_ERROR_UNIQUE_ALIAS="Another Prompt has the same alias." COM_GETBIBLE_PROMPT_ERROR_UNIQUE_ALIAS="Another Prompt has the same alias."
COM_GETBIBLE_PROMPT_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Prompt has the same alias ."
COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_DESCRIPTION="Penalty for new tokens based on their frequency in the text" COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_DESCRIPTION="Penalty for new tokens based on their frequency in the text"
COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_LABEL="Frequency Penalty" COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_LABEL="Frequency Penalty"
COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_NOTE_DESCRIPTION="<p>The &quot;frequency_penalty&quot; is another optional parameter that defaults to 0. This is also a value between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.</p><ul> <li>For example, a high frequency penalty discourages the model from excessively repeating the same words or phrases, encouraging it to produce more diverse and creative text.</li></ul>" COM_GETBIBLE_PROMPT_FREQUENCY_PENALTY_NOTE_DESCRIPTION="<p>The &quot;frequency_penalty&quot; is another optional parameter that defaults to 0. This is also a value between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.</p><ul> <li>For example, a high frequency penalty discourages the model from excessively repeating the same words or phrases, encouraging it to produce more diverse and creative text.</li></ul>"
@ -1474,6 +1486,9 @@ COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE="Tagged Verses Edit Verse"
COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of tagged verse" COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of tagged verse"
COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION="Tagged Verses Edit Version" COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION="Tagged Verses Edit Version"
COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version tagged verses" COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version tagged verses"
COM_GETBIBLE_TAGGED_VERSES_EMPTYSTATE_BUTTON_ADD="Add your first tagged verse"
COM_GETBIBLE_TAGGED_VERSES_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_TAGGED_VERSES_EMPTYSTATE_TITLE="No tagged verses have been created yet."
COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_ARCHIVED="%s Tagged Verses archived." COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_ARCHIVED="%s Tagged Verses archived."
COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_ARCHIVED_1="%s Tagged Verse archived." COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_ARCHIVED_1="%s Tagged Verse archived."
COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_CHECKED_IN_0="No Tagged Verse successfully checked in." COM_GETBIBLE_TAGGED_VERSES_N_ITEMS_CHECKED_IN_0="No Tagged Verse successfully checked in."
@ -1511,6 +1526,7 @@ COM_GETBIBLE_TAGGED_VERSE_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_TAGGED_VERSE_DETAILS="Details" COM_GETBIBLE_TAGGED_VERSE_DETAILS="Details"
COM_GETBIBLE_TAGGED_VERSE_EDIT="Editing the Tagged Verse" COM_GETBIBLE_TAGGED_VERSE_EDIT="Editing the Tagged Verse"
COM_GETBIBLE_TAGGED_VERSE_ERROR_UNIQUE_ALIAS="Another Tagged Verse has the same alias." COM_GETBIBLE_TAGGED_VERSE_ERROR_UNIQUE_ALIAS="Another Tagged Verse has the same alias."
COM_GETBIBLE_TAGGED_VERSE_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Tagged Verse has the same alias ."
COM_GETBIBLE_TAGGED_VERSE_GUID_DESCRIPTION="Globally Unique Identifier" COM_GETBIBLE_TAGGED_VERSE_GUID_DESCRIPTION="Globally Unique Identifier"
COM_GETBIBLE_TAGGED_VERSE_GUID_HINT="Auto Generated" COM_GETBIBLE_TAGGED_VERSE_GUID_HINT="Auto Generated"
COM_GETBIBLE_TAGGED_VERSE_GUID_LABEL="GUID" COM_GETBIBLE_TAGGED_VERSE_GUID_LABEL="GUID"
@ -1569,6 +1585,9 @@ COM_GETBIBLE_TAGS_EDIT_STATE="Tags Edit State"
COM_GETBIBLE_TAGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the tag" COM_GETBIBLE_TAGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the tag"
COM_GETBIBLE_TAGS_EDIT_VERSION="Tags Edit Version" COM_GETBIBLE_TAGS_EDIT_VERSION="Tags Edit Version"
COM_GETBIBLE_TAGS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version tags" COM_GETBIBLE_TAGS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version tags"
COM_GETBIBLE_TAGS_EMPTYSTATE_BUTTON_ADD="Add your first tag"
COM_GETBIBLE_TAGS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_TAGS_EMPTYSTATE_TITLE="No tags have been created yet."
COM_GETBIBLE_TAGS_N_ITEMS_ARCHIVED="%s Tags archived." COM_GETBIBLE_TAGS_N_ITEMS_ARCHIVED="%s Tags archived."
COM_GETBIBLE_TAGS_N_ITEMS_ARCHIVED_1="%s Tag archived." COM_GETBIBLE_TAGS_N_ITEMS_ARCHIVED_1="%s Tag archived."
COM_GETBIBLE_TAGS_N_ITEMS_CHECKED_IN_0="No Tag successfully checked in." COM_GETBIBLE_TAGS_N_ITEMS_CHECKED_IN_0="No Tag successfully checked in."
@ -1602,6 +1621,7 @@ COM_GETBIBLE_TAG_DESCRIPTION_LABEL="Description"
COM_GETBIBLE_TAG_DETAILS="Details" COM_GETBIBLE_TAG_DETAILS="Details"
COM_GETBIBLE_TAG_EDIT="Editing the Tag" COM_GETBIBLE_TAG_EDIT="Editing the Tag"
COM_GETBIBLE_TAG_ERROR_UNIQUE_ALIAS="Another Tag has the same alias." COM_GETBIBLE_TAG_ERROR_UNIQUE_ALIAS="Another Tag has the same alias."
COM_GETBIBLE_TAG_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Tag has the same alias ."
COM_GETBIBLE_TAG_FOUND_BUT_COULD_NOT_BE_REACTIVATED="Tag found, but could not be reactivated." COM_GETBIBLE_TAG_FOUND_BUT_COULD_NOT_BE_REACTIVATED="Tag found, but could not be reactivated."
COM_GETBIBLE_TAG_GUID_DESCRIPTION="Globally Unique Identifier" COM_GETBIBLE_TAG_GUID_DESCRIPTION="Globally Unique Identifier"
COM_GETBIBLE_TAG_GUID_HINT="Auto Generated" COM_GETBIBLE_TAG_GUID_HINT="Auto Generated"
@ -1709,6 +1729,9 @@ COM_GETBIBLE_TRANSLATIONS_EDIT_STATE="Translations Edit State"
COM_GETBIBLE_TRANSLATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the translation" COM_GETBIBLE_TRANSLATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the translation"
COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION="Translations Edit Translation" COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION="Translations Edit Translation"
COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION_DESC="Allows the users in this group to edit translation of translation" COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION_DESC="Allows the users in this group to edit translation of translation"
COM_GETBIBLE_TRANSLATIONS_EMPTYSTATE_BUTTON_ADD="Add your first translation"
COM_GETBIBLE_TRANSLATIONS_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_TRANSLATIONS_EMPTYSTATE_TITLE="No translations have been created yet."
COM_GETBIBLE_TRANSLATIONS_N_ITEMS_ARCHIVED="%s Translations archived." COM_GETBIBLE_TRANSLATIONS_N_ITEMS_ARCHIVED="%s Translations archived."
COM_GETBIBLE_TRANSLATIONS_N_ITEMS_ARCHIVED_1="%s Translation archived." COM_GETBIBLE_TRANSLATIONS_N_ITEMS_ARCHIVED_1="%s Translation archived."
COM_GETBIBLE_TRANSLATIONS_N_ITEMS_CHECKED_IN_0="No Translation successfully checked in." COM_GETBIBLE_TRANSLATIONS_N_ITEMS_CHECKED_IN_0="No Translation successfully checked in."
@ -1782,6 +1805,7 @@ COM_GETBIBLE_TRANSLATION_ENCODING_DESCRIPTION="Enter some encoding"
COM_GETBIBLE_TRANSLATION_ENCODING_LABEL="Encoding" COM_GETBIBLE_TRANSLATION_ENCODING_LABEL="Encoding"
COM_GETBIBLE_TRANSLATION_ENCODING_MESSAGE="Error! Please add some encoding here." COM_GETBIBLE_TRANSLATION_ENCODING_MESSAGE="Error! Please add some encoding here."
COM_GETBIBLE_TRANSLATION_ERROR_UNIQUE_ALIAS="Another Translation has the same alias." COM_GETBIBLE_TRANSLATION_ERROR_UNIQUE_ALIAS="Another Translation has the same alias."
COM_GETBIBLE_TRANSLATION_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Translation has the same alias ."
COM_GETBIBLE_TRANSLATION_ID="Id" COM_GETBIBLE_TRANSLATION_ID="Id"
COM_GETBIBLE_TRANSLATION_LANGUAGE_DESCRIPTION="The translation language." COM_GETBIBLE_TRANSLATION_LANGUAGE_DESCRIPTION="The translation language."
COM_GETBIBLE_TRANSLATION_LANGUAGE_HINT="English" COM_GETBIBLE_TRANSLATION_LANGUAGE_HINT="English"
@ -1876,6 +1900,9 @@ COM_GETBIBLE_VERSES_EDIT_TEXT="Verses Edit Text"
COM_GETBIBLE_VERSES_EDIT_TEXT_DESC="Allows the users in this group to edit text of verse" COM_GETBIBLE_VERSES_EDIT_TEXT_DESC="Allows the users in this group to edit text of verse"
COM_GETBIBLE_VERSES_EDIT_VERSE="Verses Edit Verse" COM_GETBIBLE_VERSES_EDIT_VERSE="Verses Edit Verse"
COM_GETBIBLE_VERSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of verse" COM_GETBIBLE_VERSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of verse"
COM_GETBIBLE_VERSES_EMPTYSTATE_BUTTON_ADD="Add your first verse"
COM_GETBIBLE_VERSES_EMPTYSTATE_CONTENT=""
COM_GETBIBLE_VERSES_EMPTYSTATE_TITLE="No verses have been created yet."
COM_GETBIBLE_VERSES_N_ITEMS_ARCHIVED="%s Verses archived." COM_GETBIBLE_VERSES_N_ITEMS_ARCHIVED="%s Verses archived."
COM_GETBIBLE_VERSES_N_ITEMS_ARCHIVED_1="%s Verse archived." COM_GETBIBLE_VERSES_N_ITEMS_ARCHIVED_1="%s Verse archived."
COM_GETBIBLE_VERSES_N_ITEMS_CHECKED_IN_0="No Verse successfully checked in." COM_GETBIBLE_VERSES_N_ITEMS_CHECKED_IN_0="No Verse successfully checked in."
@ -1909,6 +1936,7 @@ COM_GETBIBLE_VERSE_CREATED_DATE_DESC="The date this Verse was created."
COM_GETBIBLE_VERSE_CREATED_DATE_LABEL="Created Date" COM_GETBIBLE_VERSE_CREATED_DATE_LABEL="Created Date"
COM_GETBIBLE_VERSE_DETAILS="Details" COM_GETBIBLE_VERSE_DETAILS="Details"
COM_GETBIBLE_VERSE_ERROR_UNIQUE_ALIAS="Another Verse has the same alias." COM_GETBIBLE_VERSE_ERROR_UNIQUE_ALIAS="Another Verse has the same alias."
COM_GETBIBLE_VERSE_ERROR_UNIQUE_ALIAS_TRASHED="A trashed Verse has the same alias ."
COM_GETBIBLE_VERSE_ID="Id" COM_GETBIBLE_VERSE_ID="Id"
COM_GETBIBLE_VERSE_MODIFIED_BY_DESC="The last user that modified this Verse." COM_GETBIBLE_VERSE_MODIFIED_BY_DESC="The last user that modified this Verse."
COM_GETBIBLE_VERSE_MODIFIED_BY_LABEL="Modified By" COM_GETBIBLE_VERSE_MODIFIED_BY_LABEL="Modified By"

View File

@ -111,6 +111,7 @@ COM_GETBIBLE_MENU_APP_OPTION="App"
COM_GETBIBLE_MENU_APP_TITLE="App" COM_GETBIBLE_MENU_APP_TITLE="App"
COM_GETBIBLE_MENU_BOOKS="Books" COM_GETBIBLE_MENU_BOOKS="Books"
COM_GETBIBLE_MENU_CHAPTERS="Chapters" COM_GETBIBLE_MENU_CHAPTERS="Chapters"
COM_GETBIBLE_MENU_DASHBOARD="Dashboard"
COM_GETBIBLE_MENU_LINKERS="Linkers" COM_GETBIBLE_MENU_LINKERS="Linkers"
COM_GETBIBLE_MENU_NOTES="Notes" COM_GETBIBLE_MENU_NOTES="Notes"
COM_GETBIBLE_MENU_OPEN_AI_RESPONSES="Open AI Responses" COM_GETBIBLE_MENU_OPEN_AI_RESPONSES="Open AI Responses"

View File

@ -1,55 +0,0 @@
<?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('JPATH_BASE') or die;
use Joomla\CMS\Language\Text;
JHtmlBehavior::core();
$divWrapper = range(1,120,2);
$counter = 0;
?>
<?php if ($displayData->ListSelection) : ?>
<div class="row-fluid">
<?php foreach ($displayData->ListSelection as $ListSelection) : ?>
<div class="control-group span6">
<div class="controls">
<label for="<?php echo $ListSelection['name']; ?>" class="element-invisible"><?php echo $ListSelection['label']; ?></label>
<select name="<?php echo $ListSelection['name']; ?>" id="<?php echo $ListSelection['name']; ?>" class="span12 small">
<?php if (!$ListSelection['noDefault']) : ?>
<option value=""><?php echo $ListSelection['label']; ?></option>
<?php endif; ?>
<?php echo $ListSelection['options']; ?>
</select>
</div>
</div>
<?php if (in_array($counter,$divWrapper)) : ?>
</div>
<div class="row-fluid">
<?php endif; ?>
<?php $counter++; ?>
<?php endforeach; ?>
</div>
<div class="control-group radio" id="batch-move-copy">
<div class="controls">
<label class="radio" id="batch[move_copy]c-lbl" for="batch[move_copy]c">
<input type="radio" value="c" id="batch[move_copy]c" name="batch[move_copy]"><?php echo Text::_('Copy'); ?></label>
<label class="radio" id="batch[move_copy]m-lbl" for="batch[move_copy]m">
<input type="radio" checked="checked" value="m" id="batch[move_copy]m" name="batch[move_copy]"><?php echo Text::_('Update'); ?></label>
</div>
</div>
<?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,21 +31,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'name', 'name',
'nr' 'nr'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,22 +31,30 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'name', 'name',
'chapter', 'chapter',
'book_nr' 'book_nr'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,20 +31,28 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'name' 'name'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,16 +16,18 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\StringHelper; use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper;
// set the defaults // set the defaults
$items = $displayData->vvwnotes; $items = $displayData->vvwnotes;
$user = Factory::getUser(); $user = Factory::getApplication()->getIdentity();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL
$edit = "index.php?option=com_getbible&view=notes&task=note.edit"; $edit = "index.php?option=com_getbible&view=notes&task=note.edit";
@ -62,7 +64,7 @@ $can = GetbibleHelper::getActions('note');
<a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a> <a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a>
</div><br /><br /> </div><br /><br />
<?php endif; ?> <?php endif; ?>
<?php if (GetbibleHelper::checkArray($items)): ?> <?php if (ArrayHelper::check($items)): ?>
<table class="footable table data notes" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true"> <table class="footable table data notes" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead> <thead>
<tr> <tr>
@ -87,7 +89,9 @@ $can = GetbibleHelper::getActions('note');
<?php foreach ($items as $i => $item): ?> <?php foreach ($items as $i => $item): ?>
<?php <?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = Factory::getUser($item->checked_out); $userChkOut = Factory::getContainer()->
get(\Joomla\CMS\User\UserFactoryInterface::class)->
loadUserById($item->checked_out);
$canDo = GetbibleHelper::getActions('note',$item,'notes'); $canDo = GetbibleHelper::getActions('note',$item,'notes');
?> ?>
<tr> <tr>

View File

@ -16,16 +16,18 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\StringHelper; use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper;
// set the defaults // set the defaults
$items = $displayData->vvxpasswords; $items = $displayData->vvxpasswords;
$user = Factory::getUser(); $user = Factory::getApplication()->getIdentity();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL
$edit = "index.php?option=com_getbible&view=passwords&task=password.edit"; $edit = "index.php?option=com_getbible&view=passwords&task=password.edit";
@ -62,7 +64,7 @@ $can = GetbibleHelper::getActions('password');
<a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a> <a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a>
</div><br /><br /> </div><br /><br />
<?php endif; ?> <?php endif; ?>
<?php if (GetbibleHelper::checkArray($items)): ?> <?php if (ArrayHelper::check($items)): ?>
<table class="footable table data passwords" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true"> <table class="footable table data passwords" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead> <thead>
<tr> <tr>
@ -87,7 +89,9 @@ $can = GetbibleHelper::getActions('password');
<?php foreach ($items as $i => $item): ?> <?php foreach ($items as $i => $item): ?>
<?php <?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = Factory::getUser($item->checked_out); $userChkOut = Factory::getContainer()->
get(\Joomla\CMS\User\UserFactoryInterface::class)->
loadUserById($item->checked_out);
$canDo = GetbibleHelper::getActions('password',$item,'passwords'); $canDo = GetbibleHelper::getActions('password',$item,'passwords');
?> ?>
<tr> <tr>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,16 +16,18 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\StringHelper; use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper;
// set the defaults // set the defaults
$items = $displayData->vvvtags; $items = $displayData->vvvtags;
$user = Factory::getUser(); $user = Factory::getApplication()->getIdentity();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL
$edit = "index.php?option=com_getbible&view=tagged_verses&task=tagged_verse.edit"; $edit = "index.php?option=com_getbible&view=tagged_verses&task=tagged_verse.edit";
@ -62,7 +64,7 @@ $can = GetbibleHelper::getActions('tagged_verse');
<a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a> <a class="btn btn-small" onclick="Joomla.submitbutton('linker.cancel');" href="<?php echo $close_new; ?>"><span class="icon-new"></span> <?php echo Text::_('COM_GETBIBLE_CLOSE_NEW'); ?></a>
</div><br /><br /> </div><br /><br />
<?php endif; ?> <?php endif; ?>
<?php if (GetbibleHelper::checkArray($items)): ?> <?php if (ArrayHelper::check($items)): ?>
<table class="footable table data tagged_verses" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true"> <table class="footable table data tagged_verses" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead> <thead>
<tr> <tr>
@ -93,7 +95,9 @@ $can = GetbibleHelper::getActions('tagged_verse');
<?php foreach ($items as $i => $item): ?> <?php foreach ($items as $i => $item): ?>
<?php <?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = Factory::getUser($item->checked_out); $userChkOut = Factory::getContainer()->
get(\Joomla\CMS\User\UserFactoryInterface::class)->
loadUserById($item->checked_out);
$canDo = GetbibleHelper::getActions('tagged_verse',$item,'tagged_verses'); $canDo = GetbibleHelper::getActions('tagged_verse',$item,'tagged_verses');
?> ?>
<tr> <tr>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,21 +31,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'access', 'access',
'linker' 'linker'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,22 +31,30 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'role', 'role',
'open_ai_response', 'open_ai_response',
'prompt' 'prompt'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,21 +31,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'response_id', 'response_id',
'prompt' 'prompt'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,16 +16,18 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\StringHelper; use VDM\Joomla\Utilities\StringHelper;
use VDM\Joomla\Utilities\ArrayHelper;
// set the defaults // set the defaults
$items = $displayData->vvymessage; $items = $displayData->vvymessage;
$user = Factory::getUser(); $user = Factory::getApplication()->getIdentity();
$id = $displayData->item->id; $id = $displayData->item->id;
// set the edit URL // set the edit URL
$edit = "index.php?option=com_getbible&view=open_ai_messages&task=open_ai_message.edit"; $edit = "index.php?option=com_getbible&view=open_ai_messages&task=open_ai_message.edit";
@ -50,7 +52,7 @@ else
?> ?>
<div class="form-vertical"> <div class="form-vertical">
<?php if (GetbibleHelper::checkArray($items)): ?> <?php if (ArrayHelper::check($items)): ?>
<table class="footable table data open_ai_messages" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true"> <table class="footable table data open_ai_messages" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead> <thead>
<tr> <tr>
@ -78,7 +80,9 @@ else
<?php foreach ($items as $i => $item): ?> <?php foreach ($items as $i => $item): ?>
<?php <?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0; $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = Factory::getUser($item->checked_out); $userChkOut = Factory::getContainer()->
get(\Joomla\CMS\User\UserFactoryInterface::class)->
loadUserById($item->checked_out);
$canDo = GetbibleHelper::getActions('open_ai_message',$item,'open_ai_messages'); $canDo = GetbibleHelper::getActions('open_ai_message',$item,'open_ai_messages');
?> ?>
<tr> <tr>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,20 +31,28 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'linker' 'linker'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,12 +16,13 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('JPATH_BASE') or die('Restricted access'); defined('JPATH_BASE') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Layout\LayoutHelper;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\Component\Helper; use VDM\Joomla\Utilities\Component\Helper;
// get the form // get the form

View File

@ -16,12 +16,13 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('JPATH_BASE') or die('Restricted access'); defined('JPATH_BASE') or die;
use Joomla\CMS\Factory; use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text; use Joomla\CMS\Language\Text;
use Joomla\CMS\HTML\HTMLHelper as Html; use Joomla\CMS\HTML\HTMLHelper as Html;
use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Layout\LayoutHelper;
use TrueChristianChurch\Component\Getbible\Administrator\Helper\GetbibleHelper;
use VDM\Joomla\Utilities\Component\Helper; use VDM\Joomla\Utilities\Component\Helper;
// get the form // get the form

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,21 +31,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'name', 'name',
'abbreviation' 'abbreviation'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,21 +31,29 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'access', 'access',
'linker' 'linker'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();
@ -31,22 +31,30 @@ $layout_path_array = explode('.', $this->getLayoutId());
$fields_tab_layout = 'fields_' . $layout_path_array[1]; $fields_tab_layout = 'fields_' . $layout_path_array[1];
// get the fields // get the fields
$fields = $displayData->get($fields_tab_layout) ?: array( $fields = $displayData->get($fields_tab_layout) ?: [
'tag', 'tag',
'access', 'access',
'linker' 'linker'
); ];
// Ensure $fields is treated as an array and count its size.
$size = count((array) $fields);
// Use a ternary operator to determine the class.
// If there are 1 to 4 fields, set the class to divide the 12-grid column equally among the fields.
// For more than 4 fields, default to four columns (3-grid each) for medium and larger screens.
$css_class = ($size > 0 && $size <= 4) ? 'col-12 col-md-' . round(12 / $size) : 'col-12 col-md-3';
$hiddenFields = $displayData->get('hidden_fields') ?: []; $hiddenFields = $displayData->get('hidden_fields') ?: [];
?> ?>
<?php if ($fields && count((array) $fields)) :?> <?php if ($fields && count((array) $fields)) :?>
<div class="form-inline form-inline-header"> <div class="row title-alias form-vertical mb-3">
<?php foreach($fields as $field): ?> <?php foreach($fields as $field): ?>
<?php if (in_array($field, $hiddenFields)) : ?> <?php if (in_array($field, $hiddenFields)) : ?>
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?> <?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?> <?php echo $form->renderField($field, null, null, ['class' => $css_class . ' control-wrapper-' . $field]); ?>
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
<?php endif; ?> <?php endif; ?>

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

View File

@ -16,7 +16,7 @@
/------------------------------------------------------------------------------------------------------*/ /------------------------------------------------------------------------------------------------------*/
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); \defined('_JEXEC') or die;
// get the form // get the form
$form = $displayData->getForm(); $form = $displayData->getForm();

Some files were not shown because too many files have changed in this diff Show More