aVersion 2
69
.octojpack
Normal file
@ -0,0 +1,69 @@
|
||||
{
|
||||
"global": {
|
||||
"packager": "Vast Development Method",
|
||||
"packager_url": "https://dev.vdm.io/",
|
||||
"url": "git.vdm.dev",
|
||||
"api": "https://git.vdm.dev/api/v1"
|
||||
},
|
||||
"package": {
|
||||
"name": "PKG_GETBIBLE",
|
||||
"code_name": "getbible",
|
||||
"package_name": "pkg_getbible",
|
||||
"min_joomla_version": "3.8",
|
||||
"max_joomla_version": "3.10",
|
||||
"copyright": "Copyright (C) 2015 Llewellyn van der Merwe. All rights reserved.",
|
||||
"copyright_year": "2015",
|
||||
"license": "GNU General Public License version 2; see LICENSE",
|
||||
"license_file": "LICENSE",
|
||||
"author": "Llewellyn van der Merwe",
|
||||
"author_email": "joomla@vdm.io",
|
||||
"author_url": "https://io.vdm.dev/",
|
||||
"description": "The Get Bible for Joomla.",
|
||||
"version_id": "com_getbible",
|
||||
"update_servers": "https://git.vdm.dev/getBible/joomla-component/raw/branch/master/update_server.xml"
|
||||
},
|
||||
"repository": {
|
||||
"owner": "getBible",
|
||||
"repo": "joomla-pkg"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"owner": "getBible",
|
||||
"repo": "joomla-component",
|
||||
"id": "com_getbible",
|
||||
"type": "component",
|
||||
"mode": "master"
|
||||
},
|
||||
{
|
||||
"owner": "getBible",
|
||||
"repo": "daily-light-module",
|
||||
"id": "mod_dailylight",
|
||||
"type": "module",
|
||||
"client": "site",
|
||||
"mode": "master"
|
||||
},
|
||||
{
|
||||
"owner": "getBible",
|
||||
"repo": "daily-scripture-module",
|
||||
"id": "mod_dailyscripture",
|
||||
"type": "module",
|
||||
"client": "site",
|
||||
"mode": "master"
|
||||
}
|
||||
],
|
||||
"languages": [
|
||||
{
|
||||
"tag": "en-GB",
|
||||
"ini": "sys.ini",
|
||||
"key": "PKG_GETBIBLE",
|
||||
"value": "GetBible Package"
|
||||
},
|
||||
{
|
||||
"tag": "en-GB",
|
||||
"ini": "ini",
|
||||
"key": "PKG_GETBIBLE",
|
||||
"value": "GetBible Package"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
11
CHANGELOG.md
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
340
LICENSE.txt
Normal file
@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
60
README.md
Normal file
@ -0,0 +1,60 @@
|
||||
# Get Bible (2.0.1)
|
||||
|
||||
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/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.
|
||||
|
||||
With an impressive array of 80 translations, our Joomla extension allows people from all corners of the globe to read, comprehend, and meditate on the Holy Scriptures in their preferred language. Moreover, we offer the unique opportunity for individuals to host the Bible on their own website, further extending the reach of the Word.
|
||||
|
||||
We've integrated robust features such as note-taking, tagging, and a search function, to enhance your interaction with the Scriptures. This allows users to immerse themselves in the text, crafting a personal journey through the Bible that can be revisited in future sessions. Furthermore, our innovative linker system assigns each visitor a unique identifier (GUID) - no login required. This means you can create notes, select favorite verses, and even share sessions, while maintaining control over your personalized content.
|
||||
|
||||
A distinctive feature of our application is the integration with OpenAI. This advanced capability allows website owners to create custom prompts to interact with OpenAI using text from any translation. This function allows you to ask questions, gain clarity, and deepen your understanding of the Scriptures in an engaging and user-friendly manner.
|
||||
|
||||
In essence, The Bible for Joomla is designed to transform how the Word of God is shared, studied, and comprehended. Its comprehensive features, combined with a user-friendly interface, make it an essential tool for individuals, churches, and website owners alike. Join us on this journey of faith as we make the wisdom and guidance of the Scriptures accessible to all, one verse, one language, and one website at a time.
|
||||
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Vast Development Method](https://getbible.net)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Get Bible](https://getbible.net)
|
||||
+ *First Build*: 3rd December, 2015
|
||||
+ *Last Build*: 26th July, 2023
|
||||
+ *Version*: 2.0.1
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
|
||||
**530 Hours** or **66 Eight Hour Days** (actual time the author saved -
|
||||
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**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **189808**
|
||||
+ *File count*: **1660**
|
||||
+ *Folder count*: **161**
|
||||
|
||||
**349 Hours** or **44 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @132hours** = codingtime / 4;
|
||||
> **planning @76hours** = codingtime / 7;
|
||||
> **mapping @53hours** = codingtime / 10;
|
||||
> **office @88hours** = codingtime / 6;)
|
||||
|
||||
**879 Hours** or **110 Eight Hour Days**
|
||||
(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**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **22 weeks** or **4.6 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
|
||||
## Donations
|
||||
|
||||
If you want to support this project, please consider donating:
|
||||
* Open Collective: [Joomla-Component-Builder](https://opencollective.com/Joomla-Component-Builder)
|
60
admin/README.txt
Normal file
@ -0,0 +1,60 @@
|
||||
# Get Bible (2.0.1)
|
||||
|
||||
![Get Bible image](https://git.vdm.dev/getBible/joomla-component/raw/branch/master/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.
|
||||
|
||||
With an impressive array of 80 translations, our Joomla extension allows people from all corners of the globe to read, comprehend, and meditate on the Holy Scriptures in their preferred language. Moreover, we offer the unique opportunity for individuals to host the Bible on their own website, further extending the reach of the Word.
|
||||
|
||||
We've integrated robust features such as note-taking, tagging, and a search function, to enhance your interaction with the Scriptures. This allows users to immerse themselves in the text, crafting a personal journey through the Bible that can be revisited in future sessions. Furthermore, our innovative linker system assigns each visitor a unique identifier (GUID) - no login required. This means you can create notes, select favorite verses, and even share sessions, while maintaining control over your personalized content.
|
||||
|
||||
A distinctive feature of our application is the integration with OpenAI. This advanced capability allows website owners to create custom prompts to interact with OpenAI using text from any translation. This function allows you to ask questions, gain clarity, and deepen your understanding of the Scriptures in an engaging and user-friendly manner.
|
||||
|
||||
In essence, The Bible for Joomla is designed to transform how the Word of God is shared, studied, and comprehended. Its comprehensive features, combined with a user-friendly interface, make it an essential tool for individuals, churches, and website owners alike. Join us on this journey of faith as we make the wisdom and guidance of the Scriptures accessible to all, one verse, one language, and one website at a time.
|
||||
|
||||
# Build Details
|
||||
|
||||
+ *Company*: [Vast Development Method](https://getbible.net)
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Get Bible](https://getbible.net)
|
||||
+ *First Build*: 3rd December, 2015
|
||||
+ *Last Build*: 26th July, 2023
|
||||
+ *Version*: 2.0.1
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
## Build Time
|
||||
|
||||
**530 Hours** or **66 Eight Hour Days** (actual time the author saved -
|
||||
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**,
|
||||
> never making one mistake or taking any coffee break.)
|
||||
|
||||
+ *Line count*: **189808**
|
||||
+ *File count*: **1660**
|
||||
+ *Folder count*: **161**
|
||||
|
||||
**349 Hours** or **44 Eight Hour Days** (the actual time the author spent)
|
||||
|
||||
> (with the following break down:
|
||||
> **debugging @132hours** = codingtime / 4;
|
||||
> **planning @76hours** = codingtime / 7;
|
||||
> **mapping @53hours** = codingtime / 10;
|
||||
> **office @88hours** = codingtime / 6;)
|
||||
|
||||
**879 Hours** or **110 Eight Hour Days**
|
||||
(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**,
|
||||
> with the normal everyday realities at the office, that includes the component planning, mapping & debugging.)
|
||||
|
||||
Project duration: **22 weeks** or **4.6 months**
|
||||
|
||||
> This **component** was build with a Joomla [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
|
||||
## Donations
|
||||
|
||||
If you want to support this project, please consider donating:
|
||||
* Open Collective: [Joomla-Component-Builder](https://opencollective.com/Joomla-Component-Builder)
|
505
admin/access.xml
Normal file
@ -0,0 +1,505 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<access component="com_getbible">
|
||||
<section name="component">
|
||||
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" />
|
||||
<action name="core.options" title="JACTION_OPTIONS" description="JACTION_OPTIONS_COMPONENT_DESC" />
|
||||
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" />
|
||||
<action name="core.batch" title="COM_GETBIBLE_USE_BATCH" description="COM_GETBIBLE_USE_BATCH_DESC" />
|
||||
<action name="core.version" title="COM_GETBIBLE_EDIT_VERSIONS" description="COM_GETBIBLE_EDIT_VERSIONS_DESC" />
|
||||
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
|
||||
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" />
|
||||
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" />
|
||||
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_ACCESS_EDITSTATE_DESC" />
|
||||
<action name="core.edit.own" title="JACTION_EDITOWN" description="JACTION_EDITOWN_COMPONENT_DESC" />
|
||||
<action name="core.edit.created_by" title="COM_GETBIBLE_EDIT_CREATED_BY" description="COM_GETBIBLE_EDIT_CREATED_BY_DESC" />
|
||||
<action name="core.edit.created" title="COM_GETBIBLE_EDIT_CREATED_DATE" description="COM_GETBIBLE_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="book.access" title="COM_GETBIBLE_BOOKS_ACCESS" description="COM_GETBIBLE_BOOKS_ACCESS_DESC" />
|
||||
<action name="book.batch" title="COM_GETBIBLE_BOOKS_BATCH_USE" description="COM_GETBIBLE_BOOKS_BATCH_USE_DESC" />
|
||||
<action name="book.create" title="COM_GETBIBLE_BOOKS_CREATE" description="COM_GETBIBLE_BOOKS_CREATE_DESC" />
|
||||
<action name="book.dashboard_list" title="COM_GETBIBLE_BOOKS_DASHBOARD_LIST" description="COM_GETBIBLE_BOOKS_DASHBOARD_LIST_DESC" />
|
||||
<action name="book.delete" title="COM_GETBIBLE_BOOKS_DELETE" description="COM_GETBIBLE_BOOKS_DELETE_DESC" />
|
||||
<action name="book.edit" title="COM_GETBIBLE_BOOKS_EDIT" description="COM_GETBIBLE_BOOKS_EDIT_DESC" />
|
||||
<action name="book.edit.abbreviation" title="COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION" description="COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="book.edit.created_by" title="COM_GETBIBLE_BOOKS_EDIT_CREATED_BY" description="COM_GETBIBLE_BOOKS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="book.edit.created" title="COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE" description="COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="book.edit.name" title="COM_GETBIBLE_BOOKS_EDIT_NAME" description="COM_GETBIBLE_BOOKS_EDIT_NAME_DESC" />
|
||||
<action name="book.edit.nr" title="COM_GETBIBLE_BOOKS_EDIT_NR" description="COM_GETBIBLE_BOOKS_EDIT_NR_DESC" />
|
||||
<action name="book.edit.own" title="COM_GETBIBLE_BOOKS_EDIT_OWN" description="COM_GETBIBLE_BOOKS_EDIT_OWN_DESC" />
|
||||
<action name="book.edit.sha" title="COM_GETBIBLE_BOOKS_EDIT_SHA" description="COM_GETBIBLE_BOOKS_EDIT_SHA_DESC" />
|
||||
<action name="book.edit.state" title="COM_GETBIBLE_BOOKS_EDIT_STATE" description="COM_GETBIBLE_BOOKS_EDIT_STATE_DESC" />
|
||||
<action name="book.submenu" title="COM_GETBIBLE_BOOKS_SUBMENU" description="COM_GETBIBLE_BOOKS_SUBMENU_DESC" />
|
||||
<action name="chapter.access" title="COM_GETBIBLE_CHAPTERS_ACCESS" description="COM_GETBIBLE_CHAPTERS_ACCESS_DESC" />
|
||||
<action name="chapter.batch" title="COM_GETBIBLE_CHAPTERS_BATCH_USE" description="COM_GETBIBLE_CHAPTERS_BATCH_USE_DESC" />
|
||||
<action name="chapter.create" title="COM_GETBIBLE_CHAPTERS_CREATE" description="COM_GETBIBLE_CHAPTERS_CREATE_DESC" />
|
||||
<action name="chapter.dashboard_list" title="COM_GETBIBLE_CHAPTERS_DASHBOARD_LIST" description="COM_GETBIBLE_CHAPTERS_DASHBOARD_LIST_DESC" />
|
||||
<action name="chapter.delete" title="COM_GETBIBLE_CHAPTERS_DELETE" description="COM_GETBIBLE_CHAPTERS_DELETE_DESC" />
|
||||
<action name="chapter.edit" title="COM_GETBIBLE_CHAPTERS_EDIT" description="COM_GETBIBLE_CHAPTERS_EDIT_DESC" />
|
||||
<action name="chapter.edit.abbreviation" title="COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION" description="COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="chapter.edit.book_nr" title="COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR" description="COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR_DESC" />
|
||||
<action name="chapter.edit.chapter" title="COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER" description="COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER_DESC" />
|
||||
<action name="chapter.edit.created_by" title="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY" description="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="chapter.edit.created" title="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE" description="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="chapter.edit.name" title="COM_GETBIBLE_CHAPTERS_EDIT_NAME" description="COM_GETBIBLE_CHAPTERS_EDIT_NAME_DESC" />
|
||||
<action name="chapter.edit.own" title="COM_GETBIBLE_CHAPTERS_EDIT_OWN" description="COM_GETBIBLE_CHAPTERS_EDIT_OWN_DESC" />
|
||||
<action name="chapter.edit.sha" title="COM_GETBIBLE_CHAPTERS_EDIT_SHA" description="COM_GETBIBLE_CHAPTERS_EDIT_SHA_DESC" />
|
||||
<action name="chapter.edit.state" title="COM_GETBIBLE_CHAPTERS_EDIT_STATE" description="COM_GETBIBLE_CHAPTERS_EDIT_STATE_DESC" />
|
||||
<action name="chapter.submenu" title="COM_GETBIBLE_CHAPTERS_SUBMENU" description="COM_GETBIBLE_CHAPTERS_SUBMENU_DESC" />
|
||||
<action name="linker.access" title="COM_GETBIBLE_LINKERS_ACCESS" description="COM_GETBIBLE_LINKERS_ACCESS_DESC" />
|
||||
<action name="linker.batch" title="COM_GETBIBLE_LINKERS_BATCH_USE" description="COM_GETBIBLE_LINKERS_BATCH_USE_DESC" />
|
||||
<action name="linker.create" title="COM_GETBIBLE_LINKERS_CREATE" description="COM_GETBIBLE_LINKERS_CREATE_DESC" />
|
||||
<action name="linker.dashboard_list" title="COM_GETBIBLE_LINKERS_DASHBOARD_LIST" description="COM_GETBIBLE_LINKERS_DASHBOARD_LIST_DESC" />
|
||||
<action name="linker.delete" title="COM_GETBIBLE_LINKERS_DELETE" description="COM_GETBIBLE_LINKERS_DELETE_DESC" />
|
||||
<action name="linker.edit" title="COM_GETBIBLE_LINKERS_EDIT" description="COM_GETBIBLE_LINKERS_EDIT_DESC" />
|
||||
<action name="linker.edit.created_by" title="COM_GETBIBLE_LINKERS_EDIT_CREATED_BY" description="COM_GETBIBLE_LINKERS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="linker.edit.created" title="COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE" description="COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="linker.edit.guid" title="COM_GETBIBLE_LINKERS_EDIT_GUID" description="COM_GETBIBLE_LINKERS_EDIT_GUID_DESC" />
|
||||
<action name="linker.edit.name" title="COM_GETBIBLE_LINKERS_EDIT_NAME" description="COM_GETBIBLE_LINKERS_EDIT_NAME_DESC" />
|
||||
<action name="linker.edit.own" title="COM_GETBIBLE_LINKERS_EDIT_OWN" description="COM_GETBIBLE_LINKERS_EDIT_OWN_DESC" />
|
||||
<action name="linker.edit.state" title="COM_GETBIBLE_LINKERS_EDIT_STATE" description="COM_GETBIBLE_LINKERS_EDIT_STATE_DESC" />
|
||||
<action name="linker.submenu" title="COM_GETBIBLE_LINKERS_SUBMENU" description="COM_GETBIBLE_LINKERS_SUBMENU_DESC" />
|
||||
<action name="note.access" title="COM_GETBIBLE_NOTES_ACCESS" description="COM_GETBIBLE_NOTES_ACCESS_DESC" />
|
||||
<action name="note.batch" title="COM_GETBIBLE_NOTES_BATCH_USE" description="COM_GETBIBLE_NOTES_BATCH_USE_DESC" />
|
||||
<action name="note.create" title="COM_GETBIBLE_NOTES_CREATE" description="COM_GETBIBLE_NOTES_CREATE_DESC" />
|
||||
<action name="note.dashboard_list" title="COM_GETBIBLE_NOTES_DASHBOARD_LIST" description="COM_GETBIBLE_NOTES_DASHBOARD_LIST_DESC" />
|
||||
<action name="note.delete" title="COM_GETBIBLE_NOTES_DELETE" description="COM_GETBIBLE_NOTES_DELETE_DESC" />
|
||||
<action name="note.edit" title="COM_GETBIBLE_NOTES_EDIT" description="COM_GETBIBLE_NOTES_EDIT_DESC" />
|
||||
<action name="note.edit.access" title="COM_GETBIBLE_NOTES_EDIT_ACCESS" description="COM_GETBIBLE_NOTES_EDIT_ACCESS_DESC" />
|
||||
<action name="note.edit.book_nr" title="COM_GETBIBLE_NOTES_EDIT_BOOK_NR" description="COM_GETBIBLE_NOTES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="note.edit.chapter" title="COM_GETBIBLE_NOTES_EDIT_CHAPTER" description="COM_GETBIBLE_NOTES_EDIT_CHAPTER_DESC" />
|
||||
<action name="note.edit.created_by" title="COM_GETBIBLE_NOTES_EDIT_CREATED_BY" description="COM_GETBIBLE_NOTES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="note.edit.created" title="COM_GETBIBLE_NOTES_EDIT_CREATED_DATE" description="COM_GETBIBLE_NOTES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="note.edit.guid" title="COM_GETBIBLE_NOTES_EDIT_GUID" description="COM_GETBIBLE_NOTES_EDIT_GUID_DESC" />
|
||||
<action name="note.edit.linker" title="COM_GETBIBLE_NOTES_EDIT_LINKER" description="COM_GETBIBLE_NOTES_EDIT_LINKER_DESC" />
|
||||
<action name="note.edit.note" title="COM_GETBIBLE_NOTES_EDIT_NOTE" description="COM_GETBIBLE_NOTES_EDIT_NOTE_DESC" />
|
||||
<action name="note.edit.own" title="COM_GETBIBLE_NOTES_EDIT_OWN" description="COM_GETBIBLE_NOTES_EDIT_OWN_DESC" />
|
||||
<action name="note.edit.state" title="COM_GETBIBLE_NOTES_EDIT_STATE" description="COM_GETBIBLE_NOTES_EDIT_STATE_DESC" />
|
||||
<action name="note.edit.verse" title="COM_GETBIBLE_NOTES_EDIT_VERSE" description="COM_GETBIBLE_NOTES_EDIT_VERSE_DESC" />
|
||||
<action name="note.version" title="COM_GETBIBLE_NOTES_EDIT_VERSION" description="COM_GETBIBLE_NOTES_EDIT_VERSION_DESC" />
|
||||
<action name="note.submenu" title="COM_GETBIBLE_NOTES_SUBMENU" description="COM_GETBIBLE_NOTES_SUBMENU_DESC" />
|
||||
<action name="open_ai_message.access" title="COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS" description="COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS_DESC" />
|
||||
<action name="open_ai_message.batch" title="COM_GETBIBLE_OPEN_AI_MESSAGES_BATCH_USE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_BATCH_USE_DESC" />
|
||||
<action name="open_ai_message.create" title="COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE_DESC" />
|
||||
<action name="open_ai_message.delete" title="COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE_DESC" />
|
||||
<action name="open_ai_message.edit" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_DESC" />
|
||||
<action name="open_ai_message.edit.content" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT_DESC" />
|
||||
<action name="open_ai_message.edit.created_by" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="open_ai_message.edit.created" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="open_ai_message.edit.index" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX_DESC" />
|
||||
<action name="open_ai_message.edit.name" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME_DESC" />
|
||||
<action name="open_ai_message.edit.open_ai_response" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE_DESC" />
|
||||
<action name="open_ai_message.edit.own" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN_DESC" />
|
||||
<action name="open_ai_message.edit.prompt" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT_DESC" />
|
||||
<action name="open_ai_message.edit.role" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE_DESC" />
|
||||
<action name="open_ai_message.edit.source" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE_DESC" />
|
||||
<action name="open_ai_message.edit.state" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE_DESC" />
|
||||
<action name="open_ai_message.version" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION_DESC" />
|
||||
<action name="open_ai_response.access" title="COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS_DESC" />
|
||||
<action name="open_ai_response.batch" title="COM_GETBIBLE_OPEN_AI_RESPONSES_BATCH_USE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_BATCH_USE_DESC" />
|
||||
<action name="open_ai_response.create" title="COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE_DESC" />
|
||||
<action name="open_ai_response.dashboard_list" title="COM_GETBIBLE_OPEN_AI_RESPONSES_DASHBOARD_LIST" description="COM_GETBIBLE_OPEN_AI_RESPONSES_DASHBOARD_LIST_DESC" />
|
||||
<action name="open_ai_response.delete" title="COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE_DESC" />
|
||||
<action name="open_ai_response.edit" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_DESC" />
|
||||
<action name="open_ai_response.edit.abbreviation" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="open_ai_response.edit.book" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK_DESC" />
|
||||
<action name="open_ai_response.edit.chapter" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="open_ai_response.edit.completion_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.created_by" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="open_ai_response.edit.created" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="open_ai_response.edit.frequency_penalty" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY_DESC" />
|
||||
<action name="open_ai_response.edit.language" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE_DESC" />
|
||||
<action name="open_ai_response.edit.lcsh" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH_DESC" />
|
||||
<action name="open_ai_response.edit.max_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.model" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL_DESC" />
|
||||
<action name="open_ai_response.edit.n" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N_DESC" />
|
||||
<action name="open_ai_response.edit.own" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN_DESC" />
|
||||
<action name="open_ai_response.edit.presence_penalty" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY_DESC" />
|
||||
<action name="open_ai_response.edit.prompt" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_DESC" />
|
||||
<action name="open_ai_response.edit.prompt_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.response_created" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED_DESC" />
|
||||
<action name="open_ai_response.edit.response_id" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID_DESC" />
|
||||
<action name="open_ai_response.edit.response_model" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL_DESC" />
|
||||
<action name="open_ai_response.edit.response_object" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT_DESC" />
|
||||
<action name="open_ai_response.edit.selected_word" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD_DESC" />
|
||||
<action name="open_ai_response.edit.state" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE_DESC" />
|
||||
<action name="open_ai_response.edit.temperature" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE_DESC" />
|
||||
<action name="open_ai_response.edit.top_p" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P_DESC" />
|
||||
<action name="open_ai_response.edit.total_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.verse" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE_DESC" />
|
||||
<action name="open_ai_response.version" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION_DESC" />
|
||||
<action name="open_ai_response.edit.word" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD_DESC" />
|
||||
<action name="open_ai_response.submenu" title="COM_GETBIBLE_OPEN_AI_RESPONSES_SUBMENU" description="COM_GETBIBLE_OPEN_AI_RESPONSES_SUBMENU_DESC" />
|
||||
<action name="password.access" title="COM_GETBIBLE_PASSWORDS_ACCESS" description="COM_GETBIBLE_PASSWORDS_ACCESS_DESC" />
|
||||
<action name="password.access.password" title="COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD" description="COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD_DESC" />
|
||||
<action name="password.batch" title="COM_GETBIBLE_PASSWORDS_BATCH_USE" description="COM_GETBIBLE_PASSWORDS_BATCH_USE_DESC" />
|
||||
<action name="password.create" title="COM_GETBIBLE_PASSWORDS_CREATE" description="COM_GETBIBLE_PASSWORDS_CREATE_DESC" />
|
||||
<action name="password.delete" title="COM_GETBIBLE_PASSWORDS_DELETE" description="COM_GETBIBLE_PASSWORDS_DELETE_DESC" />
|
||||
<action name="password.edit" title="COM_GETBIBLE_PASSWORDS_EDIT" description="COM_GETBIBLE_PASSWORDS_EDIT_DESC" />
|
||||
<action name="password.edit.created_by" title="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY" description="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="password.edit.created" title="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE" description="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="password.edit.guid" title="COM_GETBIBLE_PASSWORDS_EDIT_GUID" description="COM_GETBIBLE_PASSWORDS_EDIT_GUID_DESC" />
|
||||
<action name="password.edit.linker" title="COM_GETBIBLE_PASSWORDS_EDIT_LINKER" description="COM_GETBIBLE_PASSWORDS_EDIT_LINKER_DESC" />
|
||||
<action name="password.edit.name" title="COM_GETBIBLE_PASSWORDS_EDIT_NAME" description="COM_GETBIBLE_PASSWORDS_EDIT_NAME_DESC" />
|
||||
<action name="password.edit.own" title="COM_GETBIBLE_PASSWORDS_EDIT_OWN" description="COM_GETBIBLE_PASSWORDS_EDIT_OWN_DESC" />
|
||||
<action name="password.edit.password" title="COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD" description="COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD_DESC" />
|
||||
<action name="password.edit.state" title="COM_GETBIBLE_PASSWORDS_EDIT_STATE" description="COM_GETBIBLE_PASSWORDS_EDIT_STATE_DESC" />
|
||||
<action name="password.view.password" title="COM_GETBIBLE_PASSWORDS_VIEW_PASSWORD" description="COM_GETBIBLE_PASSWORDS_VIEW_PASSWORD_DESC" />
|
||||
<action name="prompt.access" title="COM_GETBIBLE_PROMPTS_ACCESS" description="COM_GETBIBLE_PROMPTS_ACCESS_DESC" />
|
||||
<action name="prompt.access.temperature_override" title="COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE" description="COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE_DESC" />
|
||||
<action name="prompt.batch" title="COM_GETBIBLE_PROMPTS_BATCH_USE" description="COM_GETBIBLE_PROMPTS_BATCH_USE_DESC" />
|
||||
<action name="prompt.create" title="COM_GETBIBLE_PROMPTS_CREATE" description="COM_GETBIBLE_PROMPTS_CREATE_DESC" />
|
||||
<action name="prompt.dashboard_list" title="COM_GETBIBLE_PROMPTS_DASHBOARD_LIST" description="COM_GETBIBLE_PROMPTS_DASHBOARD_LIST_DESC" />
|
||||
<action name="prompt.delete" title="COM_GETBIBLE_PROMPTS_DELETE" description="COM_GETBIBLE_PROMPTS_DELETE_DESC" />
|
||||
<action name="prompt.edit" title="COM_GETBIBLE_PROMPTS_EDIT" description="COM_GETBIBLE_PROMPTS_EDIT_DESC" />
|
||||
<action name="prompt.edit.abbreviation" title="COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION" description="COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="prompt.edit.ai_org_token_override" title="COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.cache_behaviour" title="COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR" description="COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR_DESC" />
|
||||
<action name="prompt.edit.created_by" title="COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY" description="COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="prompt.edit.created" title="COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE" description="COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="prompt.edit.frequency_penalty" title="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY" description="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_DESC" />
|
||||
<action name="prompt.edit.frequency_penalty_override" title="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.guid" title="COM_GETBIBLE_PROMPTS_EDIT_GUID" description="COM_GETBIBLE_PROMPTS_EDIT_GUID_DESC" />
|
||||
<action name="prompt.edit.integration" title="COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION" description="COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION_DESC" />
|
||||
<action name="prompt.edit.max_tokens" title="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS" description="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_DESC" />
|
||||
<action name="prompt.edit.max_tokens_override" title="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.messages" title="COM_GETBIBLE_PROMPTS_EDIT_MESSAGES" description="COM_GETBIBLE_PROMPTS_EDIT_MESSAGES_DESC" />
|
||||
<action name="prompt.edit.model" title="COM_GETBIBLE_PROMPTS_EDIT_MODEL" description="COM_GETBIBLE_PROMPTS_EDIT_MODEL_DESC" />
|
||||
<action name="prompt.edit.n" title="COM_GETBIBLE_PROMPTS_EDIT_N" description="COM_GETBIBLE_PROMPTS_EDIT_N_DESC" />
|
||||
<action name="prompt.edit.n_override" title="COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.name" title="COM_GETBIBLE_PROMPTS_EDIT_NAME" description="COM_GETBIBLE_PROMPTS_EDIT_NAME_DESC" />
|
||||
<action name="prompt.edit.org_token" title="COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN" description="COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN_DESC" />
|
||||
<action name="prompt.edit.own" title="COM_GETBIBLE_PROMPTS_EDIT_OWN" description="COM_GETBIBLE_PROMPTS_EDIT_OWN_DESC" />
|
||||
<action name="prompt.edit.presence_penalty" title="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY" description="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_DESC" />
|
||||
<action name="prompt.edit.presence_penalty_override" title="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.response_retrieval" title="COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL" description="COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL_DESC" />
|
||||
<action name="prompt.edit.state" title="COM_GETBIBLE_PROMPTS_EDIT_STATE" description="COM_GETBIBLE_PROMPTS_EDIT_STATE_DESC" />
|
||||
<action name="prompt.edit.temperature" title="COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE" description="COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE_DESC" />
|
||||
<action name="prompt.edit.token" title="COM_GETBIBLE_PROMPTS_EDIT_TOKEN" description="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_DESC" />
|
||||
<action name="prompt.edit.token_override" title="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.top_p" title="COM_GETBIBLE_PROMPTS_EDIT_TOP_P" description="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_DESC" />
|
||||
<action name="prompt.edit.top_p_override" title="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE_DESC" />
|
||||
<action name="prompt.version" title="COM_GETBIBLE_PROMPTS_EDIT_VERSION" description="COM_GETBIBLE_PROMPTS_EDIT_VERSION_DESC" />
|
||||
<action name="prompt.submenu" title="COM_GETBIBLE_PROMPTS_SUBMENU" description="COM_GETBIBLE_PROMPTS_SUBMENU_DESC" />
|
||||
<action name="tagged_verse.access" title="COM_GETBIBLE_TAGGED_VERSES_ACCESS" description="COM_GETBIBLE_TAGGED_VERSES_ACCESS_DESC" />
|
||||
<action name="tagged_verse.batch" title="COM_GETBIBLE_TAGGED_VERSES_BATCH_USE" description="COM_GETBIBLE_TAGGED_VERSES_BATCH_USE_DESC" />
|
||||
<action name="tagged_verse.create" title="COM_GETBIBLE_TAGGED_VERSES_CREATE" description="COM_GETBIBLE_TAGGED_VERSES_CREATE_DESC" />
|
||||
<action name="tagged_verse.dashboard_list" title="COM_GETBIBLE_TAGGED_VERSES_DASHBOARD_LIST" description="COM_GETBIBLE_TAGGED_VERSES_DASHBOARD_LIST_DESC" />
|
||||
<action name="tagged_verse.delete" title="COM_GETBIBLE_TAGGED_VERSES_DELETE" description="COM_GETBIBLE_TAGGED_VERSES_DELETE_DESC" />
|
||||
<action name="tagged_verse.edit" title="COM_GETBIBLE_TAGGED_VERSES_EDIT" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_DESC" />
|
||||
<action name="tagged_verse.edit.abbreviation" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="tagged_verse.edit.access" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS_DESC" />
|
||||
<action name="tagged_verse.edit.book_nr" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="tagged_verse.edit.chapter" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="tagged_verse.edit.created_by" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="tagged_verse.edit.created" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="tagged_verse.edit.guid" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID_DESC" />
|
||||
<action name="tagged_verse.edit.linker" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER_DESC" />
|
||||
<action name="tagged_verse.edit.own" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN_DESC" />
|
||||
<action name="tagged_verse.edit.state" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE_DESC" />
|
||||
<action name="tagged_verse.edit.tag" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG_DESC" />
|
||||
<action name="tagged_verse.edit.verse" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE_DESC" />
|
||||
<action name="tagged_verse.version" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION_DESC" />
|
||||
<action name="tagged_verse.submenu" title="COM_GETBIBLE_TAGGED_VERSES_SUBMENU" description="COM_GETBIBLE_TAGGED_VERSES_SUBMENU_DESC" />
|
||||
<action name="tag.access" title="COM_GETBIBLE_TAGS_ACCESS" description="COM_GETBIBLE_TAGS_ACCESS_DESC" />
|
||||
<action name="tag.batch" title="COM_GETBIBLE_TAGS_BATCH_USE" description="COM_GETBIBLE_TAGS_BATCH_USE_DESC" />
|
||||
<action name="tag.create" title="COM_GETBIBLE_TAGS_CREATE" description="COM_GETBIBLE_TAGS_CREATE_DESC" />
|
||||
<action name="tag.dashboard_list" title="COM_GETBIBLE_TAGS_DASHBOARD_LIST" description="COM_GETBIBLE_TAGS_DASHBOARD_LIST_DESC" />
|
||||
<action name="tag.delete" title="COM_GETBIBLE_TAGS_DELETE" description="COM_GETBIBLE_TAGS_DELETE_DESC" />
|
||||
<action name="tag.edit" title="COM_GETBIBLE_TAGS_EDIT" description="COM_GETBIBLE_TAGS_EDIT_DESC" />
|
||||
<action name="tag.edit.access" title="COM_GETBIBLE_TAGS_EDIT_ACCESS" description="COM_GETBIBLE_TAGS_EDIT_ACCESS_DESC" />
|
||||
<action name="tag.edit.created_by" title="COM_GETBIBLE_TAGS_EDIT_CREATED_BY" description="COM_GETBIBLE_TAGS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="tag.edit.created" title="COM_GETBIBLE_TAGS_EDIT_CREATED_DATE" description="COM_GETBIBLE_TAGS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="tag.edit.description" title="COM_GETBIBLE_TAGS_EDIT_DESCRIPTION" description="COM_GETBIBLE_TAGS_EDIT_DESCRIPTION_DESC" />
|
||||
<action name="tag.edit.guid" title="COM_GETBIBLE_TAGS_EDIT_GUID" description="COM_GETBIBLE_TAGS_EDIT_GUID_DESC" />
|
||||
<action name="tag.edit.linker" title="COM_GETBIBLE_TAGS_EDIT_LINKER" description="COM_GETBIBLE_TAGS_EDIT_LINKER_DESC" />
|
||||
<action name="tag.edit.name" title="COM_GETBIBLE_TAGS_EDIT_NAME" description="COM_GETBIBLE_TAGS_EDIT_NAME_DESC" />
|
||||
<action name="tag.edit.own" title="COM_GETBIBLE_TAGS_EDIT_OWN" description="COM_GETBIBLE_TAGS_EDIT_OWN_DESC" />
|
||||
<action name="tag.edit.state" title="COM_GETBIBLE_TAGS_EDIT_STATE" description="COM_GETBIBLE_TAGS_EDIT_STATE_DESC" />
|
||||
<action name="tag.version" title="COM_GETBIBLE_TAGS_EDIT_VERSION" description="COM_GETBIBLE_TAGS_EDIT_VERSION_DESC" />
|
||||
<action name="tag.submenu" title="COM_GETBIBLE_TAGS_SUBMENU" description="COM_GETBIBLE_TAGS_SUBMENU_DESC" />
|
||||
<action name="translation.access" title="COM_GETBIBLE_TRANSLATIONS_ACCESS" description="COM_GETBIBLE_TRANSLATIONS_ACCESS_DESC" />
|
||||
<action name="translation.batch" title="COM_GETBIBLE_TRANSLATIONS_BATCH_USE" description="COM_GETBIBLE_TRANSLATIONS_BATCH_USE_DESC" />
|
||||
<action name="translation.create" title="COM_GETBIBLE_TRANSLATIONS_CREATE" description="COM_GETBIBLE_TRANSLATIONS_CREATE_DESC" />
|
||||
<action name="translation.dashboard_list" title="COM_GETBIBLE_TRANSLATIONS_DASHBOARD_LIST" description="COM_GETBIBLE_TRANSLATIONS_DASHBOARD_LIST_DESC" />
|
||||
<action name="translation.delete" title="COM_GETBIBLE_TRANSLATIONS_DELETE" description="COM_GETBIBLE_TRANSLATIONS_DELETE_DESC" />
|
||||
<action name="translation.edit" title="COM_GETBIBLE_TRANSLATIONS_EDIT" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DESC" />
|
||||
<action name="translation.edit.abbreviation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="translation.edit.created_by" title="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY" description="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="translation.edit.created" title="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="translation.edit.direction" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION_DESC" />
|
||||
<action name="translation.edit.distribution_abbreviation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION_DESC" />
|
||||
<action name="translation.edit.distribution_about" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT_DESC" />
|
||||
<action name="translation.edit.distribution_history" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY_DESC" />
|
||||
<action name="translation.edit.distribution_lcsh" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH_DESC" />
|
||||
<action name="translation.edit.distribution_license" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE_DESC" />
|
||||
<action name="translation.edit.distribution_source" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE_DESC" />
|
||||
<action name="translation.edit.distribution_sourcetype" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE_DESC" />
|
||||
<action name="translation.edit.distribution_versification" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION_DESC" />
|
||||
<action name="translation.edit.distribution_version" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DESC" />
|
||||
<action name="translation.edit.distribution_version_date" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE_DESC" />
|
||||
<action name="translation.edit.encoding" title="COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING" description="COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING_DESC" />
|
||||
<action name="translation.edit.lang" title="COM_GETBIBLE_TRANSLATIONS_EDIT_LANG" description="COM_GETBIBLE_TRANSLATIONS_EDIT_LANG_DESC" />
|
||||
<action name="translation.edit.language" title="COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE_DESC" />
|
||||
<action name="translation.edit.own" title="COM_GETBIBLE_TRANSLATIONS_EDIT_OWN" description="COM_GETBIBLE_TRANSLATIONS_EDIT_OWN_DESC" />
|
||||
<action name="translation.edit.sha" title="COM_GETBIBLE_TRANSLATIONS_EDIT_SHA" description="COM_GETBIBLE_TRANSLATIONS_EDIT_SHA_DESC" />
|
||||
<action name="translation.edit.state" title="COM_GETBIBLE_TRANSLATIONS_EDIT_STATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_STATE_DESC" />
|
||||
<action name="translation.edit.translation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION_DESC" />
|
||||
<action name="translation.submenu" title="COM_GETBIBLE_TRANSLATIONS_SUBMENU" description="COM_GETBIBLE_TRANSLATIONS_SUBMENU_DESC" />
|
||||
<action name="verse.access" title="COM_GETBIBLE_VERSES_ACCESS" description="COM_GETBIBLE_VERSES_ACCESS_DESC" />
|
||||
<action name="verse.batch" title="COM_GETBIBLE_VERSES_BATCH_USE" description="COM_GETBIBLE_VERSES_BATCH_USE_DESC" />
|
||||
<action name="verse.create" title="COM_GETBIBLE_VERSES_CREATE" description="COM_GETBIBLE_VERSES_CREATE_DESC" />
|
||||
<action name="verse.dashboard_list" title="COM_GETBIBLE_VERSES_DASHBOARD_LIST" description="COM_GETBIBLE_VERSES_DASHBOARD_LIST_DESC" />
|
||||
<action name="verse.delete" title="COM_GETBIBLE_VERSES_DELETE" description="COM_GETBIBLE_VERSES_DELETE_DESC" />
|
||||
<action name="verse.edit" title="COM_GETBIBLE_VERSES_EDIT" description="COM_GETBIBLE_VERSES_EDIT_DESC" />
|
||||
<action name="verse.edit.abbreviation" title="COM_GETBIBLE_VERSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_VERSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="verse.edit.book_nr" title="COM_GETBIBLE_VERSES_EDIT_BOOK_NR" description="COM_GETBIBLE_VERSES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="verse.edit.chapter" title="COM_GETBIBLE_VERSES_EDIT_CHAPTER" description="COM_GETBIBLE_VERSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="verse.edit.created_by" title="COM_GETBIBLE_VERSES_EDIT_CREATED_BY" description="COM_GETBIBLE_VERSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="verse.edit.created" title="COM_GETBIBLE_VERSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_VERSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="verse.edit.name" title="COM_GETBIBLE_VERSES_EDIT_NAME" description="COM_GETBIBLE_VERSES_EDIT_NAME_DESC" />
|
||||
<action name="verse.edit.own" title="COM_GETBIBLE_VERSES_EDIT_OWN" description="COM_GETBIBLE_VERSES_EDIT_OWN_DESC" />
|
||||
<action name="verse.edit.state" title="COM_GETBIBLE_VERSES_EDIT_STATE" description="COM_GETBIBLE_VERSES_EDIT_STATE_DESC" />
|
||||
<action name="verse.edit.text" title="COM_GETBIBLE_VERSES_EDIT_TEXT" description="COM_GETBIBLE_VERSES_EDIT_TEXT_DESC" />
|
||||
<action name="verse.edit.verse" title="COM_GETBIBLE_VERSES_EDIT_VERSE" description="COM_GETBIBLE_VERSES_EDIT_VERSE_DESC" />
|
||||
<action name="verse.submenu" title="COM_GETBIBLE_VERSES_SUBMENU" description="COM_GETBIBLE_VERSES_SUBMENU_DESC" />
|
||||
</section>
|
||||
<section name="linker">
|
||||
<action name="linker.edit" title="COM_GETBIBLE_LINKERS_EDIT" description="COM_GETBIBLE_LINKERS_EDIT_DESC" />
|
||||
<action name="linker.edit.own" title="COM_GETBIBLE_LINKERS_EDIT_OWN" description="COM_GETBIBLE_LINKERS_EDIT_OWN_DESC" />
|
||||
<action name="linker.edit.state" title="COM_GETBIBLE_LINKERS_EDIT_STATE" description="COM_GETBIBLE_LINKERS_EDIT_STATE_DESC" />
|
||||
<action name="linker.edit.created_by" title="COM_GETBIBLE_LINKERS_EDIT_CREATED_BY" description="COM_GETBIBLE_LINKERS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="linker.edit.created" title="COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE" description="COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="linker.create" title="COM_GETBIBLE_LINKERS_CREATE" description="COM_GETBIBLE_LINKERS_CREATE_DESC" />
|
||||
<action name="linker.delete" title="COM_GETBIBLE_LINKERS_DELETE" description="COM_GETBIBLE_LINKERS_DELETE_DESC" />
|
||||
<action name="linker.access" title="COM_GETBIBLE_LINKERS_ACCESS" description="COM_GETBIBLE_LINKERS_ACCESS_DESC" />
|
||||
<action name="linker.edit.name" title="COM_GETBIBLE_LINKERS_EDIT_NAME" description="COM_GETBIBLE_LINKERS_EDIT_NAME_DESC" />
|
||||
<action name="linker.edit.guid" title="COM_GETBIBLE_LINKERS_EDIT_GUID" description="COM_GETBIBLE_LINKERS_EDIT_GUID_DESC" />
|
||||
</section>
|
||||
<section name="note">
|
||||
<action name="note.edit" title="COM_GETBIBLE_NOTES_EDIT" description="COM_GETBIBLE_NOTES_EDIT_DESC" />
|
||||
<action name="note.edit.own" title="COM_GETBIBLE_NOTES_EDIT_OWN" description="COM_GETBIBLE_NOTES_EDIT_OWN_DESC" />
|
||||
<action name="note.edit.state" title="COM_GETBIBLE_NOTES_EDIT_STATE" description="COM_GETBIBLE_NOTES_EDIT_STATE_DESC" />
|
||||
<action name="note.edit.created_by" title="COM_GETBIBLE_NOTES_EDIT_CREATED_BY" description="COM_GETBIBLE_NOTES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="note.edit.created" title="COM_GETBIBLE_NOTES_EDIT_CREATED_DATE" description="COM_GETBIBLE_NOTES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="note.create" title="COM_GETBIBLE_NOTES_CREATE" description="COM_GETBIBLE_NOTES_CREATE_DESC" />
|
||||
<action name="note.delete" title="COM_GETBIBLE_NOTES_DELETE" description="COM_GETBIBLE_NOTES_DELETE_DESC" />
|
||||
<action name="note.access" title="COM_GETBIBLE_NOTES_ACCESS" description="COM_GETBIBLE_NOTES_ACCESS_DESC" />
|
||||
<action name="note.edit.book_nr" title="COM_GETBIBLE_NOTES_EDIT_BOOK_NR" description="COM_GETBIBLE_NOTES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="note.edit.linker" title="COM_GETBIBLE_NOTES_EDIT_LINKER" description="COM_GETBIBLE_NOTES_EDIT_LINKER_DESC" />
|
||||
<action name="note.edit.access" title="COM_GETBIBLE_NOTES_EDIT_ACCESS" description="COM_GETBIBLE_NOTES_EDIT_ACCESS_DESC" />
|
||||
<action name="note.edit.guid" title="COM_GETBIBLE_NOTES_EDIT_GUID" description="COM_GETBIBLE_NOTES_EDIT_GUID_DESC" />
|
||||
<action name="note.edit.note" title="COM_GETBIBLE_NOTES_EDIT_NOTE" description="COM_GETBIBLE_NOTES_EDIT_NOTE_DESC" />
|
||||
<action name="note.edit.verse" title="COM_GETBIBLE_NOTES_EDIT_VERSE" description="COM_GETBIBLE_NOTES_EDIT_VERSE_DESC" />
|
||||
<action name="note.edit.chapter" title="COM_GETBIBLE_NOTES_EDIT_CHAPTER" description="COM_GETBIBLE_NOTES_EDIT_CHAPTER_DESC" />
|
||||
<action name="note.version" title="COM_GETBIBLE_NOTES_EDIT_VERSION" description="COM_GETBIBLE_NOTES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="tagged_verse">
|
||||
<action name="tagged_verse.edit" title="COM_GETBIBLE_TAGGED_VERSES_EDIT" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_DESC" />
|
||||
<action name="tagged_verse.edit.own" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN_DESC" />
|
||||
<action name="tagged_verse.edit.state" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE_DESC" />
|
||||
<action name="tagged_verse.edit.created_by" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="tagged_verse.edit.created" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="tagged_verse.create" title="COM_GETBIBLE_TAGGED_VERSES_CREATE" description="COM_GETBIBLE_TAGGED_VERSES_CREATE_DESC" />
|
||||
<action name="tagged_verse.delete" title="COM_GETBIBLE_TAGGED_VERSES_DELETE" description="COM_GETBIBLE_TAGGED_VERSES_DELETE_DESC" />
|
||||
<action name="tagged_verse.access" title="COM_GETBIBLE_TAGGED_VERSES_ACCESS" description="COM_GETBIBLE_TAGGED_VERSES_ACCESS_DESC" />
|
||||
<action name="tagged_verse.edit.book_nr" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="tagged_verse.edit.abbreviation" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="tagged_verse.edit.access" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS_DESC" />
|
||||
<action name="tagged_verse.edit.linker" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER_DESC" />
|
||||
<action name="tagged_verse.edit.tag" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG_DESC" />
|
||||
<action name="tagged_verse.edit.guid" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID_DESC" />
|
||||
<action name="tagged_verse.edit.verse" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSE_DESC" />
|
||||
<action name="tagged_verse.edit.chapter" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="tagged_verse.version" title="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION" description="COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="prompt">
|
||||
<action name="prompt.edit" title="COM_GETBIBLE_PROMPTS_EDIT" description="COM_GETBIBLE_PROMPTS_EDIT_DESC" />
|
||||
<action name="prompt.edit.own" title="COM_GETBIBLE_PROMPTS_EDIT_OWN" description="COM_GETBIBLE_PROMPTS_EDIT_OWN_DESC" />
|
||||
<action name="prompt.edit.state" title="COM_GETBIBLE_PROMPTS_EDIT_STATE" description="COM_GETBIBLE_PROMPTS_EDIT_STATE_DESC" />
|
||||
<action name="prompt.edit.created_by" title="COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY" description="COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="prompt.edit.created" title="COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE" description="COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="prompt.create" title="COM_GETBIBLE_PROMPTS_CREATE" description="COM_GETBIBLE_PROMPTS_CREATE_DESC" />
|
||||
<action name="prompt.delete" title="COM_GETBIBLE_PROMPTS_DELETE" description="COM_GETBIBLE_PROMPTS_DELETE_DESC" />
|
||||
<action name="prompt.access" title="COM_GETBIBLE_PROMPTS_ACCESS" description="COM_GETBIBLE_PROMPTS_ACCESS_DESC" />
|
||||
<action name="prompt.edit.name" title="COM_GETBIBLE_PROMPTS_EDIT_NAME" description="COM_GETBIBLE_PROMPTS_EDIT_NAME_DESC" />
|
||||
<action name="prompt.edit.integration" title="COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION" description="COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION_DESC" />
|
||||
<action name="prompt.edit.cache_behaviour" title="COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR" description="COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR_DESC" />
|
||||
<action name="prompt.edit.abbreviation" title="COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION" description="COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="prompt.edit.guid" title="COM_GETBIBLE_PROMPTS_EDIT_GUID" description="COM_GETBIBLE_PROMPTS_EDIT_GUID_DESC" />
|
||||
<action name="prompt.edit.model" title="COM_GETBIBLE_PROMPTS_EDIT_MODEL" description="COM_GETBIBLE_PROMPTS_EDIT_MODEL_DESC" />
|
||||
<action name="prompt.edit.presence_penalty" title="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY" description="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_DESC" />
|
||||
<action name="prompt.edit.org_token" title="COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN" description="COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN_DESC" />
|
||||
<action name="prompt.edit.token" title="COM_GETBIBLE_PROMPTS_EDIT_TOKEN" description="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_DESC" />
|
||||
<action name="prompt.edit.n_override" title="COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.messages" title="COM_GETBIBLE_PROMPTS_EDIT_MESSAGES" description="COM_GETBIBLE_PROMPTS_EDIT_MESSAGES_DESC" />
|
||||
<action name="prompt.edit.response_retrieval" title="COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL" description="COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL_DESC" />
|
||||
<action name="prompt.edit.frequency_penalty_override" title="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.n" title="COM_GETBIBLE_PROMPTS_EDIT_N" description="COM_GETBIBLE_PROMPTS_EDIT_N_DESC" />
|
||||
<action name="prompt.edit.max_tokens_override" title="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.token_override" title="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.max_tokens" title="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS" description="COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_DESC" />
|
||||
<action name="prompt.edit.ai_org_token_override" title="COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE_DESC" />
|
||||
<action name="prompt.access.temperature_override" title="COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE" description="COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.presence_penalty_override" title="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.top_p_override" title="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE" description="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_OVERRIDE_DESC" />
|
||||
<action name="prompt.edit.frequency_penalty" title="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY" description="COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_DESC" />
|
||||
<action name="prompt.edit.top_p" title="COM_GETBIBLE_PROMPTS_EDIT_TOP_P" description="COM_GETBIBLE_PROMPTS_EDIT_TOP_P_DESC" />
|
||||
<action name="prompt.edit.temperature" title="COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE" description="COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE_DESC" />
|
||||
<action name="prompt.version" title="COM_GETBIBLE_PROMPTS_EDIT_VERSION" description="COM_GETBIBLE_PROMPTS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="open_ai_response">
|
||||
<action name="open_ai_response.edit" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_DESC" />
|
||||
<action name="open_ai_response.edit.own" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN_DESC" />
|
||||
<action name="open_ai_response.edit.state" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE_DESC" />
|
||||
<action name="open_ai_response.edit.created_by" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="open_ai_response.edit.created" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="open_ai_response.create" title="COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE_DESC" />
|
||||
<action name="open_ai_response.delete" title="COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE_DESC" />
|
||||
<action name="open_ai_response.access" title="COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS_DESC" />
|
||||
<action name="open_ai_response.edit.response_id" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID_DESC" />
|
||||
<action name="open_ai_response.edit.prompt" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_DESC" />
|
||||
<action name="open_ai_response.edit.response_object" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT_DESC" />
|
||||
<action name="open_ai_response.edit.response_model" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL_DESC" />
|
||||
<action name="open_ai_response.edit.total_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.n" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N_DESC" />
|
||||
<action name="open_ai_response.edit.frequency_penalty" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY_DESC" />
|
||||
<action name="open_ai_response.edit.presence_penalty" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY_DESC" />
|
||||
<action name="open_ai_response.edit.word" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_WORD_DESC" />
|
||||
<action name="open_ai_response.edit.chapter" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="open_ai_response.edit.lcsh" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH_DESC" />
|
||||
<action name="open_ai_response.edit.completion_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.prompt_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.response_created" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED_DESC" />
|
||||
<action name="open_ai_response.edit.abbreviation" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="open_ai_response.edit.language" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE_DESC" />
|
||||
<action name="open_ai_response.edit.max_tokens" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS_DESC" />
|
||||
<action name="open_ai_response.edit.book" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK_DESC" />
|
||||
<action name="open_ai_response.edit.temperature" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE_DESC" />
|
||||
<action name="open_ai_response.edit.verse" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE_DESC" />
|
||||
<action name="open_ai_response.edit.top_p" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P_DESC" />
|
||||
<action name="open_ai_response.edit.selected_word" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD_DESC" />
|
||||
<action name="open_ai_response.edit.model" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL_DESC" />
|
||||
<action name="open_ai_response.version" title="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION" description="COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="open_ai_message">
|
||||
<action name="open_ai_message.edit" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_DESC" />
|
||||
<action name="open_ai_message.edit.own" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN_DESC" />
|
||||
<action name="open_ai_message.edit.state" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_STATE_DESC" />
|
||||
<action name="open_ai_message.edit.created_by" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="open_ai_message.edit.created" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="open_ai_message.create" title="COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE_DESC" />
|
||||
<action name="open_ai_message.delete" title="COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE_DESC" />
|
||||
<action name="open_ai_message.access" title="COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS" description="COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS_DESC" />
|
||||
<action name="open_ai_message.edit.role" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE_DESC" />
|
||||
<action name="open_ai_message.edit.open_ai_response" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE_DESC" />
|
||||
<action name="open_ai_message.edit.prompt" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT_DESC" />
|
||||
<action name="open_ai_message.edit.source" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE_DESC" />
|
||||
<action name="open_ai_message.edit.content" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT_DESC" />
|
||||
<action name="open_ai_message.edit.name" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME_DESC" />
|
||||
<action name="open_ai_message.edit.index" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX_DESC" />
|
||||
<action name="open_ai_message.version" title="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION" description="COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="password">
|
||||
<action name="password.edit" title="COM_GETBIBLE_PASSWORDS_EDIT" description="COM_GETBIBLE_PASSWORDS_EDIT_DESC" />
|
||||
<action name="password.edit.own" title="COM_GETBIBLE_PASSWORDS_EDIT_OWN" description="COM_GETBIBLE_PASSWORDS_EDIT_OWN_DESC" />
|
||||
<action name="password.edit.state" title="COM_GETBIBLE_PASSWORDS_EDIT_STATE" description="COM_GETBIBLE_PASSWORDS_EDIT_STATE_DESC" />
|
||||
<action name="password.edit.created_by" title="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY" description="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="password.edit.created" title="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE" description="COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="password.create" title="COM_GETBIBLE_PASSWORDS_CREATE" description="COM_GETBIBLE_PASSWORDS_CREATE_DESC" />
|
||||
<action name="password.delete" title="COM_GETBIBLE_PASSWORDS_DELETE" description="COM_GETBIBLE_PASSWORDS_DELETE_DESC" />
|
||||
<action name="password.access" title="COM_GETBIBLE_PASSWORDS_ACCESS" description="COM_GETBIBLE_PASSWORDS_ACCESS_DESC" />
|
||||
<action name="password.edit.name" title="COM_GETBIBLE_PASSWORDS_EDIT_NAME" description="COM_GETBIBLE_PASSWORDS_EDIT_NAME_DESC" />
|
||||
<action name="password.edit.linker" title="COM_GETBIBLE_PASSWORDS_EDIT_LINKER" description="COM_GETBIBLE_PASSWORDS_EDIT_LINKER_DESC" />
|
||||
<action name="password.edit.guid" title="COM_GETBIBLE_PASSWORDS_EDIT_GUID" description="COM_GETBIBLE_PASSWORDS_EDIT_GUID_DESC" />
|
||||
<action name="password.edit.password" title="COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD" description="COM_GETBIBLE_PASSWORDS_EDIT_PASSWORD_DESC" />
|
||||
<action name="password.access.password" title="COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD" description="COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD_DESC" />
|
||||
<action name="password.view.password" title="COM_GETBIBLE_PASSWORDS_VIEW_PASSWORD" description="COM_GETBIBLE_PASSWORDS_VIEW_PASSWORD_DESC" />
|
||||
</section>
|
||||
<section name="tag">
|
||||
<action name="tag.edit" title="COM_GETBIBLE_TAGS_EDIT" description="COM_GETBIBLE_TAGS_EDIT_DESC" />
|
||||
<action name="tag.edit.own" title="COM_GETBIBLE_TAGS_EDIT_OWN" description="COM_GETBIBLE_TAGS_EDIT_OWN_DESC" />
|
||||
<action name="tag.edit.state" title="COM_GETBIBLE_TAGS_EDIT_STATE" description="COM_GETBIBLE_TAGS_EDIT_STATE_DESC" />
|
||||
<action name="tag.edit.created_by" title="COM_GETBIBLE_TAGS_EDIT_CREATED_BY" description="COM_GETBIBLE_TAGS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="tag.edit.created" title="COM_GETBIBLE_TAGS_EDIT_CREATED_DATE" description="COM_GETBIBLE_TAGS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="tag.create" title="COM_GETBIBLE_TAGS_CREATE" description="COM_GETBIBLE_TAGS_CREATE_DESC" />
|
||||
<action name="tag.delete" title="COM_GETBIBLE_TAGS_DELETE" description="COM_GETBIBLE_TAGS_DELETE_DESC" />
|
||||
<action name="tag.access" title="COM_GETBIBLE_TAGS_ACCESS" description="COM_GETBIBLE_TAGS_ACCESS_DESC" />
|
||||
<action name="tag.edit.name" title="COM_GETBIBLE_TAGS_EDIT_NAME" description="COM_GETBIBLE_TAGS_EDIT_NAME_DESC" />
|
||||
<action name="tag.edit.linker" title="COM_GETBIBLE_TAGS_EDIT_LINKER" description="COM_GETBIBLE_TAGS_EDIT_LINKER_DESC" />
|
||||
<action name="tag.edit.access" title="COM_GETBIBLE_TAGS_EDIT_ACCESS" description="COM_GETBIBLE_TAGS_EDIT_ACCESS_DESC" />
|
||||
<action name="tag.edit.guid" title="COM_GETBIBLE_TAGS_EDIT_GUID" description="COM_GETBIBLE_TAGS_EDIT_GUID_DESC" />
|
||||
<action name="tag.edit.description" title="COM_GETBIBLE_TAGS_EDIT_DESCRIPTION" description="COM_GETBIBLE_TAGS_EDIT_DESCRIPTION_DESC" />
|
||||
<action name="tag.version" title="COM_GETBIBLE_TAGS_EDIT_VERSION" description="COM_GETBIBLE_TAGS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="translation">
|
||||
<action name="translation.edit" title="COM_GETBIBLE_TRANSLATIONS_EDIT" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DESC" />
|
||||
<action name="translation.edit.own" title="COM_GETBIBLE_TRANSLATIONS_EDIT_OWN" description="COM_GETBIBLE_TRANSLATIONS_EDIT_OWN_DESC" />
|
||||
<action name="translation.edit.state" title="COM_GETBIBLE_TRANSLATIONS_EDIT_STATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_STATE_DESC" />
|
||||
<action name="translation.edit.created_by" title="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY" description="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="translation.edit.created" title="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="translation.create" title="COM_GETBIBLE_TRANSLATIONS_CREATE" description="COM_GETBIBLE_TRANSLATIONS_CREATE_DESC" />
|
||||
<action name="translation.delete" title="COM_GETBIBLE_TRANSLATIONS_DELETE" description="COM_GETBIBLE_TRANSLATIONS_DELETE_DESC" />
|
||||
<action name="translation.access" title="COM_GETBIBLE_TRANSLATIONS_ACCESS" description="COM_GETBIBLE_TRANSLATIONS_ACCESS_DESC" />
|
||||
<action name="translation.edit.translation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION_DESC" />
|
||||
<action name="translation.edit.abbreviation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="translation.edit.language" title="COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE_DESC" />
|
||||
<action name="translation.edit.direction" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION_DESC" />
|
||||
<action name="translation.edit.distribution_history" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY_DESC" />
|
||||
<action name="translation.edit.distribution_about" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT_DESC" />
|
||||
<action name="translation.edit.distribution_license" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE_DESC" />
|
||||
<action name="translation.edit.distribution_source" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE_DESC" />
|
||||
<action name="translation.edit.distribution_sourcetype" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE_DESC" />
|
||||
<action name="translation.edit.distribution_versification" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION_DESC" />
|
||||
<action name="translation.edit.sha" title="COM_GETBIBLE_TRANSLATIONS_EDIT_SHA" description="COM_GETBIBLE_TRANSLATIONS_EDIT_SHA_DESC" />
|
||||
<action name="translation.edit.encoding" title="COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING" description="COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING_DESC" />
|
||||
<action name="translation.edit.distribution_lcsh" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH_DESC" />
|
||||
<action name="translation.edit.distribution_version_date" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE_DESC" />
|
||||
<action name="translation.edit.distribution_version" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DESC" />
|
||||
<action name="translation.edit.lang" title="COM_GETBIBLE_TRANSLATIONS_EDIT_LANG" description="COM_GETBIBLE_TRANSLATIONS_EDIT_LANG_DESC" />
|
||||
<action name="translation.edit.distribution_abbreviation" title="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION" description="COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION_DESC" />
|
||||
</section>
|
||||
<section name="book">
|
||||
<action name="book.edit" title="COM_GETBIBLE_BOOKS_EDIT" description="COM_GETBIBLE_BOOKS_EDIT_DESC" />
|
||||
<action name="book.edit.own" title="COM_GETBIBLE_BOOKS_EDIT_OWN" description="COM_GETBIBLE_BOOKS_EDIT_OWN_DESC" />
|
||||
<action name="book.edit.state" title="COM_GETBIBLE_BOOKS_EDIT_STATE" description="COM_GETBIBLE_BOOKS_EDIT_STATE_DESC" />
|
||||
<action name="book.edit.created_by" title="COM_GETBIBLE_BOOKS_EDIT_CREATED_BY" description="COM_GETBIBLE_BOOKS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="book.edit.created" title="COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE" description="COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="book.create" title="COM_GETBIBLE_BOOKS_CREATE" description="COM_GETBIBLE_BOOKS_CREATE_DESC" />
|
||||
<action name="book.delete" title="COM_GETBIBLE_BOOKS_DELETE" description="COM_GETBIBLE_BOOKS_DELETE_DESC" />
|
||||
<action name="book.access" title="COM_GETBIBLE_BOOKS_ACCESS" description="COM_GETBIBLE_BOOKS_ACCESS_DESC" />
|
||||
<action name="book.edit.name" title="COM_GETBIBLE_BOOKS_EDIT_NAME" description="COM_GETBIBLE_BOOKS_EDIT_NAME_DESC" />
|
||||
<action name="book.edit.abbreviation" title="COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION" description="COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="book.edit.nr" title="COM_GETBIBLE_BOOKS_EDIT_NR" description="COM_GETBIBLE_BOOKS_EDIT_NR_DESC" />
|
||||
<action name="book.edit.sha" title="COM_GETBIBLE_BOOKS_EDIT_SHA" description="COM_GETBIBLE_BOOKS_EDIT_SHA_DESC" />
|
||||
</section>
|
||||
<section name="chapter">
|
||||
<action name="chapter.edit" title="COM_GETBIBLE_CHAPTERS_EDIT" description="COM_GETBIBLE_CHAPTERS_EDIT_DESC" />
|
||||
<action name="chapter.edit.own" title="COM_GETBIBLE_CHAPTERS_EDIT_OWN" description="COM_GETBIBLE_CHAPTERS_EDIT_OWN_DESC" />
|
||||
<action name="chapter.edit.state" title="COM_GETBIBLE_CHAPTERS_EDIT_STATE" description="COM_GETBIBLE_CHAPTERS_EDIT_STATE_DESC" />
|
||||
<action name="chapter.edit.created_by" title="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY" description="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="chapter.edit.created" title="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE" description="COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="chapter.create" title="COM_GETBIBLE_CHAPTERS_CREATE" description="COM_GETBIBLE_CHAPTERS_CREATE_DESC" />
|
||||
<action name="chapter.delete" title="COM_GETBIBLE_CHAPTERS_DELETE" description="COM_GETBIBLE_CHAPTERS_DELETE_DESC" />
|
||||
<action name="chapter.access" title="COM_GETBIBLE_CHAPTERS_ACCESS" description="COM_GETBIBLE_CHAPTERS_ACCESS_DESC" />
|
||||
<action name="chapter.edit.name" title="COM_GETBIBLE_CHAPTERS_EDIT_NAME" description="COM_GETBIBLE_CHAPTERS_EDIT_NAME_DESC" />
|
||||
<action name="chapter.edit.chapter" title="COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER" description="COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER_DESC" />
|
||||
<action name="chapter.edit.book_nr" title="COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR" description="COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR_DESC" />
|
||||
<action name="chapter.edit.abbreviation" title="COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION" description="COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="chapter.edit.sha" title="COM_GETBIBLE_CHAPTERS_EDIT_SHA" description="COM_GETBIBLE_CHAPTERS_EDIT_SHA_DESC" />
|
||||
</section>
|
||||
<section name="verse">
|
||||
<action name="verse.edit" title="COM_GETBIBLE_VERSES_EDIT" description="COM_GETBIBLE_VERSES_EDIT_DESC" />
|
||||
<action name="verse.edit.own" title="COM_GETBIBLE_VERSES_EDIT_OWN" description="COM_GETBIBLE_VERSES_EDIT_OWN_DESC" />
|
||||
<action name="verse.edit.state" title="COM_GETBIBLE_VERSES_EDIT_STATE" description="COM_GETBIBLE_VERSES_EDIT_STATE_DESC" />
|
||||
<action name="verse.edit.created_by" title="COM_GETBIBLE_VERSES_EDIT_CREATED_BY" description="COM_GETBIBLE_VERSES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="verse.edit.created" title="COM_GETBIBLE_VERSES_EDIT_CREATED_DATE" description="COM_GETBIBLE_VERSES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="verse.create" title="COM_GETBIBLE_VERSES_CREATE" description="COM_GETBIBLE_VERSES_CREATE_DESC" />
|
||||
<action name="verse.delete" title="COM_GETBIBLE_VERSES_DELETE" description="COM_GETBIBLE_VERSES_DELETE_DESC" />
|
||||
<action name="verse.access" title="COM_GETBIBLE_VERSES_ACCESS" description="COM_GETBIBLE_VERSES_ACCESS_DESC" />
|
||||
<action name="verse.edit.book_nr" title="COM_GETBIBLE_VERSES_EDIT_BOOK_NR" description="COM_GETBIBLE_VERSES_EDIT_BOOK_NR_DESC" />
|
||||
<action name="verse.edit.chapter" title="COM_GETBIBLE_VERSES_EDIT_CHAPTER" description="COM_GETBIBLE_VERSES_EDIT_CHAPTER_DESC" />
|
||||
<action name="verse.edit.verse" title="COM_GETBIBLE_VERSES_EDIT_VERSE" description="COM_GETBIBLE_VERSES_EDIT_VERSE_DESC" />
|
||||
<action name="verse.edit.abbreviation" title="COM_GETBIBLE_VERSES_EDIT_ABBREVIATION" description="COM_GETBIBLE_VERSES_EDIT_ABBREVIATION_DESC" />
|
||||
<action name="verse.edit.text" title="COM_GETBIBLE_VERSES_EDIT_TEXT" description="COM_GETBIBLE_VERSES_EDIT_TEXT_DESC" />
|
||||
<action name="verse.edit.name" title="COM_GETBIBLE_VERSES_EDIT_NAME" description="COM_GETBIBLE_VERSES_EDIT_NAME_DESC" />
|
||||
</section>
|
||||
</access>
|
21
admin/assets/css/admin.css
Normal file
@ -0,0 +1,21 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
.no-click {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
19
admin/assets/css/book.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/books.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/chapter.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/chapters.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
169
admin/assets/css/dashboard.css
Normal file
@ -0,0 +1,169 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
.dashboard-container {
|
||||
margin-left: 10px;
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-container [class*="span"] {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: 0;
|
||||
width: auto;
|
||||
}
|
||||
.dashboard-container:before, .dashboard-container:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
.dashboard-container:after {
|
||||
clear: both;
|
||||
}
|
||||
.dashboard-container [class*="span"] {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
float: left;
|
||||
min-height: 145px;
|
||||
min-width: 96px;
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-container [class*="span"]:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.dashboard-wraper {
|
||||
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
||||
border-radius: 5px;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
padding: 3px;
|
||||
width: 17%;
|
||||
min-height: 194px;
|
||||
min-width: 96px;
|
||||
}
|
||||
.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);
|
||||
border: 1px solid hsl(0, 0%, 85%);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
||||
color: hsl(0, 0%, 20%);
|
||||
display: block;
|
||||
min-height: 89px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
.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);
|
||||
color: hsl(200, 100%, 30%);
|
||||
text-decoration: none;
|
||||
}
|
||||
.dashboard-title {
|
||||
display: block;
|
||||
padding-top: 5px;
|
||||
}
|
||||
.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);
|
||||
border: 1px solid hsl(0, 0%, 85%);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1) inset;
|
||||
color: hsl(0, 0%, 20%);
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.dashboard-info span {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
.dashboard-info img {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.dashboard-table {
|
||||
border-top: 1px solid hsl(0, 0%, 87%);
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-info h5 {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.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);
|
||||
border: 1px solid hsl(0, 0%, 76%);
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.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);
|
||||
border-bottom: 1px solid hsl(0, 0%, 76%);
|
||||
border-radius: 3px 3px 0 0;
|
||||
box-shadow: 0 1px 0 hsl(0, 0%, 98%) inset, 0 0 3px hsl(0, 0%, 87%);
|
||||
height: 40px;
|
||||
position: relative;
|
||||
}
|
||||
.dashboard-block .dashboard-block-head h5 {
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
padding-left: 10px;
|
||||
padding-top: 11px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.dashboard-block .dashboard-block-content {
|
||||
background: none repeat scroll 0 0 hsl(0, 0%, 93%);
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
.dashboard-block .dashboard-block-box {
|
||||
background: none repeat scroll 0 0 hsl(0, 0%, 100%);
|
||||
border-top: 1px solid hsl(0, 0%, 82%);
|
||||
box-shadow: 0 0 5px hsl(0, 0%, 87%) inset;
|
||||
}
|
||||
.dashboard-block .dashboard-block-content .dashboard-block-box {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.dashboard-block .dashboard-block-content .dashboard-block-box .dashboard-block-table {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.dashboard-block-table {
|
||||
background-color: hsla(0, 0%, 0%, 0);
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
margin-bottom: 20px;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.dashboard-block-table th, .dashboard-block-table td {
|
||||
border-top: 1px solid hsl(0, 0%, 87%);
|
||||
line-height: 20px;
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.dashboard-badge {
|
||||
background-color: hsl(0, 0%, 60%);
|
||||
border-radius: 9px;
|
||||
color: hsl(0, 0%, 100%);
|
||||
font-size: 11.844px;
|
||||
font-weight: bold;
|
||||
line-height: 14px;
|
||||
padding: 1px 9px 2px;
|
||||
text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25);
|
||||
vertical-align: baseline;
|
||||
white-space: nowrap;
|
||||
}
|
1
admin/assets/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
19
admin/assets/css/linker.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/linkers.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/note.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/notes.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/open_ai_message.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/open_ai_messages.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/open_ai_response.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/open_ai_responses.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/password.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/passwords.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/prompt.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/prompts.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/tag.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/tagged_verse.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/tagged_verses.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/tags.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/translation.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/translations.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/verse.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
19
admin/assets/css/verses.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
BIN
admin/assets/images/ajax.gif
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
admin/assets/images/icons/books.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
admin/assets/images/icons/chapters.png
Normal file
After Width: | Height: | Size: 16 KiB |
1
admin/assets/images/icons/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
BIN
admin/assets/images/icons/linkers.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
admin/assets/images/icons/notes.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
admin/assets/images/icons/open_ai_responses.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
admin/assets/images/icons/prompts.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
admin/assets/images/icons/tagged_verses.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
admin/assets/images/icons/tags.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
admin/assets/images/icons/translations.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
admin/assets/images/icons/verses.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
admin/assets/images/import.gif
Normal file
After Width: | Height: | Size: 64 KiB |
1
admin/assets/images/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
BIN
admin/assets/images/vdm-component.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
1
admin/assets/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
17
admin/assets/js/admin.js
Normal file
@ -0,0 +1,17 @@
|
||||
/*----------------------------------------------------------------------------------| 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
|
||||
|
||||
/------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* JS Document */
|
1
admin/assets/js/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1444
admin/config.xml
Normal file
130
admin/controller.php
Normal file
@ -0,0 +1,130 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* 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 = array())
|
||||
{
|
||||
// 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(GetbibleHelper::checkArray($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(JText::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 && GetbibleHelper::checkString($ref))
|
||||
{
|
||||
// redirect to item of ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view='.(string)$ref.'&layout=edit&id='.(int)$refid, false));
|
||||
}
|
||||
elseif (GetbibleHelper::checkString($ref))
|
||||
{
|
||||
|
||||
// redirect to ref
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view='.(string)$ref, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
// normal redirect back to the list view
|
||||
$this->setRedirect(JRoute::_('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 (GetbibleHelper::checkString($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;
|
||||
}
|
||||
}
|
247
admin/controllers/ajax.json.php
Normal file
@ -0,0 +1,247 @@
|
||||
<?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;
|
||||
|
||||
/**
|
||||
* Getbible Ajax Base Controller
|
||||
*/
|
||||
class GetbibleControllerAjax extends BaseController
|
||||
{
|
||||
public function __construct($config)
|
||||
{
|
||||
parent::__construct($config);
|
||||
// make sure all json stuff are set
|
||||
JFactory::getDocument()->setMimeEncoding( 'application/json' );
|
||||
// get the application
|
||||
$app = JFactory::getApplication();
|
||||
$app->setHeader('Content-Disposition','attachment;filename="getajax.json"');
|
||||
$app->setHeader('Access-Control-Allow-Origin', '*');
|
||||
// load the tasks
|
||||
$this->registerTask('isNew', 'ajax');
|
||||
$this->registerTask('isRead', 'ajax');
|
||||
$this->registerTask('getWiki', 'ajax');
|
||||
$this->registerTask('getVersion', 'ajax');
|
||||
}
|
||||
|
||||
public function ajax()
|
||||
{
|
||||
// get the user for later use
|
||||
$user = JFactory::getUser();
|
||||
// get the input values
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
// check if we should return raw
|
||||
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||
// return to a callback function
|
||||
$callback = $jinput->get('callback', null, 'CMD');
|
||||
// Check Token!
|
||||
$token = JSession::getFormToken();
|
||||
$call_token = $jinput->get('token', 0, 'ALNUM');
|
||||
if($jinput->get($token, 0, 'ALNUM') || $token === $call_token)
|
||||
{
|
||||
// get the task
|
||||
$task = $this->getTask();
|
||||
switch($task)
|
||||
{
|
||||
case 'isNew':
|
||||
try
|
||||
{
|
||||
$noticeValue = $jinput->get('notice', NULL, 'STRING');
|
||||
if($noticeValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->isNew($noticeValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback)
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback)
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($e);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'isRead':
|
||||
try
|
||||
{
|
||||
$noticeValue = $jinput->get('notice', NULL, 'STRING');
|
||||
if($noticeValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->isRead($noticeValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback)
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback)
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($e);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'getWiki':
|
||||
try
|
||||
{
|
||||
$nameValue = $jinput->get('name', NULL, 'WORD');
|
||||
if($nameValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->getWiki($nameValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback)
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback)
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($e);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'getVersion':
|
||||
try
|
||||
{
|
||||
$versionValue = $jinput->get('version', NULL, 'INT');
|
||||
if($versionValue && $user->id != 0)
|
||||
{
|
||||
$result = $this->getModel('ajax')->getVersion($versionValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = false;
|
||||
}
|
||||
if($callback)
|
||||
{
|
||||
echo $callback . "(".json_encode($result).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($result).");";
|
||||
}
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
if($callback)
|
||||
{
|
||||
echo $callback."(".json_encode($e).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode($e);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode($e).");";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// return to a callback function
|
||||
if($callback)
|
||||
{
|
||||
echo $callback."(".json_encode(false).");";
|
||||
}
|
||||
elseif($returnRaw)
|
||||
{
|
||||
echo json_encode(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "(".json_encode(false).");";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
330
admin/controllers/book.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Book Form Controller
|
||||
*/
|
||||
class GetbibleControllerBook extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Books'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('book.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('book.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('book.access', 'com_getbible.book.' . (int) $recordId) && $user->authorise('book.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('book.edit', 'com_getbible.book.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('book.edit.own', 'com_getbible.book.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('book.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('book.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Book', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=books' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/books.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Books Admin Controller
|
||||
*/
|
||||
class GetbibleControllerBooks extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_BOOKS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Book', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/chapter.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Chapter Form Controller
|
||||
*/
|
||||
class GetbibleControllerChapter extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Chapters'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('chapter.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('chapter.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('chapter.access', 'com_getbible.chapter.' . (int) $recordId) && $user->authorise('chapter.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('chapter.edit', 'com_getbible.chapter.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('chapter.edit.own', 'com_getbible.chapter.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('chapter.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('chapter.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Chapter', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=chapters' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/chapters.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Chapters Admin Controller
|
||||
*/
|
||||
class GetbibleControllerChapters extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_CHAPTERS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Chapter', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
30
admin/controllers/getbible.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Getbible Admin Controller
|
||||
*/
|
||||
class GetbibleControllerGetbible extends AdminController
|
||||
{
|
||||
|
||||
}
|
1
admin/controllers/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
330
admin/controllers/linker.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Linker Form Controller
|
||||
*/
|
||||
class GetbibleControllerLinker extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Linkers'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('linker.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('linker.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('linker.access', 'com_getbible.linker.' . (int) $recordId) && $user->authorise('linker.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('linker.edit', 'com_getbible.linker.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('linker.edit.own', 'com_getbible.linker.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('linker.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('linker.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Linker', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=linkers' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/linkers.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Linkers Admin Controller
|
||||
*/
|
||||
class GetbibleControllerLinkers extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_LINKERS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Linker', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/note.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Note Form Controller
|
||||
*/
|
||||
class GetbibleControllerNote extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Notes'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('note.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('note.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('note.access', 'com_getbible.note.' . (int) $recordId) && $user->authorise('note.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('note.edit', 'com_getbible.note.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('note.edit.own', 'com_getbible.note.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('note.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('note.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Note', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=notes' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/notes.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Notes Admin Controller
|
||||
*/
|
||||
class GetbibleControllerNotes extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_NOTES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Note', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/open_ai_message.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Open_ai_message Form Controller
|
||||
*/
|
||||
class GetbibleControllerOpen_ai_message extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Open_ai_messages'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('open_ai_message.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('open_ai_message.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('open_ai_message.access', 'com_getbible.open_ai_message.' . (int) $recordId) && $user->authorise('open_ai_message.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('open_ai_message.edit', 'com_getbible.open_ai_message.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('open_ai_message.edit.own', 'com_getbible.open_ai_message.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('open_ai_message.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('open_ai_message.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Open_ai_message', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=open_ai_messages' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/open_ai_messages.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Open_ai_messages Admin Controller
|
||||
*/
|
||||
class GetbibleControllerOpen_ai_messages extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_OPEN_AI_MESSAGES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Open_ai_message', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/open_ai_response.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Open_ai_response Form Controller
|
||||
*/
|
||||
class GetbibleControllerOpen_ai_response extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Open_ai_responses'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('open_ai_response.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('open_ai_response.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('open_ai_response.access', 'com_getbible.open_ai_response.' . (int) $recordId) && $user->authorise('open_ai_response.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('open_ai_response.edit', 'com_getbible.open_ai_response.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('open_ai_response.edit.own', 'com_getbible.open_ai_response.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('open_ai_response.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('open_ai_response.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Open_ai_response', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=open_ai_responses' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/open_ai_responses.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Open_ai_responses Admin Controller
|
||||
*/
|
||||
class GetbibleControllerOpen_ai_responses extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_OPEN_AI_RESPONSES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Open_ai_response', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/password.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Password Form Controller
|
||||
*/
|
||||
class GetbibleControllerPassword extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Passwords'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('password.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('password.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('password.access', 'com_getbible.password.' . (int) $recordId) && $user->authorise('password.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('password.edit', 'com_getbible.password.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('password.edit.own', 'com_getbible.password.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('password.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('password.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Password', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=passwords' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/passwords.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Passwords Admin Controller
|
||||
*/
|
||||
class GetbibleControllerPasswords extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_PASSWORDS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Password', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/prompt.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Prompt Form Controller
|
||||
*/
|
||||
class GetbibleControllerPrompt extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Prompts'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('prompt.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('prompt.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('prompt.access', 'com_getbible.prompt.' . (int) $recordId) && $user->authorise('prompt.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('prompt.edit', 'com_getbible.prompt.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('prompt.edit.own', 'com_getbible.prompt.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('prompt.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('prompt.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Prompt', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=prompts' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/prompts.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Prompts Admin Controller
|
||||
*/
|
||||
class GetbibleControllerPrompts extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_PROMPTS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Prompt', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/tag.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Tag Form Controller
|
||||
*/
|
||||
class GetbibleControllerTag extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Tags'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('tag.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('tag.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('tag.access', 'com_getbible.tag.' . (int) $recordId) && $user->authorise('tag.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('tag.edit', 'com_getbible.tag.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('tag.edit.own', 'com_getbible.tag.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('tag.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('tag.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Tag', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=tags' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
330
admin/controllers/tagged_verse.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Tagged_verse Form Controller
|
||||
*/
|
||||
class GetbibleControllerTagged_verse extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Tagged_verses'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('tagged_verse.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('tagged_verse.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('tagged_verse.access', 'com_getbible.tagged_verse.' . (int) $recordId) && $user->authorise('tagged_verse.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('tagged_verse.edit', 'com_getbible.tagged_verse.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('tagged_verse.edit.own', 'com_getbible.tagged_verse.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('tagged_verse.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('tagged_verse.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Tagged_verse', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=tagged_verses' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/tagged_verses.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Tagged_verses Admin Controller
|
||||
*/
|
||||
class GetbibleControllerTagged_verses extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_TAGGED_VERSES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Tagged_verse', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
52
admin/controllers/tags.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Tags Admin Controller
|
||||
*/
|
||||
class GetbibleControllerTags extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_TAGS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Tag', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/translation.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Translation Form Controller
|
||||
*/
|
||||
class GetbibleControllerTranslation extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Translations'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('translation.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('translation.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('translation.access', 'com_getbible.translation.' . (int) $recordId) && $user->authorise('translation.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('translation.edit', 'com_getbible.translation.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('translation.edit.own', 'com_getbible.translation.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('translation.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('translation.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Translation', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=translations' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/translations.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Translations Admin Controller
|
||||
*/
|
||||
class GetbibleControllerTranslations extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_TRANSLATIONS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Translation', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
330
admin/controllers/verse.php
Normal file
@ -0,0 +1,330 @@
|
||||
<?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\FormController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Verse Form Controller
|
||||
*/
|
||||
class GetbibleControllerVerse extends FormController
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Verses'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}###ADMIN_CUSTOM_BUTTONS_CONTROLLER###
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('verse.access', 'com_getbible');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('verse.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('verse.access', 'com_getbible.verse.' . (int) $recordId) && $user->authorise('verse.access', 'com_getbible'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('verse.edit', 'com_getbible.verse.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('verse.edit.own', 'com_getbible.verse.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('verse.edit.own', 'com_getbible'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('verse.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Verse', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_getbible&view=verses' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/verses.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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\AdminController;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
* Verses Admin Controller
|
||||
*/
|
||||
class GetbibleControllerVerses extends AdminController
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_GETBIBLE_VERSES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Verse', $prefix = 'GetbibleModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
91
admin/getbible.php
Normal file
@ -0,0 +1,91 @@
|
||||
<?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;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Access check.
|
||||
if (!JFactory::getUser()->authorise('core.manage', 'com_getbible'))
|
||||
{
|
||||
throw new JAccessExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
|
||||
};
|
||||
|
||||
// Add CSS file for all pages
|
||||
$document = JFactory::getDocument();
|
||||
$document->addStyleSheet('components/com_getbible/assets/css/admin.css');
|
||||
$document->addScript('components/com_getbible/assets/js/admin.js');
|
||||
|
||||
// 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 = JControllerLegacy::getInstance('Getbible');
|
||||
|
||||
// Perform the Request task
|
||||
$controller->execute(JFactory::getApplication()->input->get('task'));
|
||||
|
||||
// Redirect if set by the controller
|
||||
$controller->redirect();
|
1465
admin/helpers/getbible.php
Normal file
77
admin/helpers/headercheck.php
Normal file
@ -0,0 +1,77 @@
|
||||
<?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');
|
||||
|
||||
class getbibleHeaderCheck
|
||||
{
|
||||
function js_loaded($script_name)
|
||||
{
|
||||
// UIkit check point
|
||||
if (strpos($script_name,'uikit') !== false)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
$getTemplateName = $app->getTemplate('template')->template;
|
||||
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
$document = JFactory::getDocument();
|
||||
$head_data = $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)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
$getTemplateName = $app->getTemplate('template')->template;
|
||||
|
||||
if (strpos($getTemplateName,'yoo') !== false)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
$document = JFactory::getDocument();
|
||||
$head_data = $document->getHeadData();
|
||||
|
||||
foreach (array_keys($head_data['styleSheets']) as $script)
|
||||
{
|
||||
if (stristr($script, $script_name))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
84
admin/helpers/html/batch_.php
Normal file
@ -0,0 +1,84 @@
|
||||
<?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 = array();
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
1
admin/helpers/html/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1
admin/helpers/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1
admin/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1853
admin/language/en-GB/en-GB.com_getbible.ini
Normal file
523
admin/language/en-GB/en-GB.com_getbible.sys.ini
Normal file
@ -0,0 +1,523 @@
|
||||
COM_GETBIBLE="Get Bible"
|
||||
COM_GETBIBLE_BOOKS_ACCESS="Books Access"
|
||||
COM_GETBIBLE_BOOKS_ACCESS_DESC="Allows the users in this group to access access books"
|
||||
COM_GETBIBLE_BOOKS_BATCH_USE="Books Batch Use"
|
||||
COM_GETBIBLE_BOOKS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch books"
|
||||
COM_GETBIBLE_BOOKS_CREATE="Books Create"
|
||||
COM_GETBIBLE_BOOKS_CREATE_DESC="Allows the users in this group to create create books"
|
||||
COM_GETBIBLE_BOOKS_DASHBOARD_LIST="Books Dashboard List"
|
||||
COM_GETBIBLE_BOOKS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of book"
|
||||
COM_GETBIBLE_BOOKS_DELETE="Books Delete"
|
||||
COM_GETBIBLE_BOOKS_DELETE_DESC="Allows the users in this group to delete delete books"
|
||||
COM_GETBIBLE_BOOKS_EDIT="Books Edit"
|
||||
COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION="Books Edit Abbreviation"
|
||||
COM_GETBIBLE_BOOKS_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of book"
|
||||
COM_GETBIBLE_BOOKS_EDIT_CREATED_BY="Books Edit Created By"
|
||||
COM_GETBIBLE_BOOKS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by books"
|
||||
COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE="Books Edit Created Date"
|
||||
COM_GETBIBLE_BOOKS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created books"
|
||||
COM_GETBIBLE_BOOKS_EDIT_DESC="Allows the users in this group to edit the book"
|
||||
COM_GETBIBLE_BOOKS_EDIT_NAME="Books Edit Name"
|
||||
COM_GETBIBLE_BOOKS_EDIT_NAME_DESC="Allows the users in this group to edit name of book"
|
||||
COM_GETBIBLE_BOOKS_EDIT_NR="Books Edit Nr"
|
||||
COM_GETBIBLE_BOOKS_EDIT_NR_DESC="Allows the users in this group to edit nr of book"
|
||||
COM_GETBIBLE_BOOKS_EDIT_OWN="Books Edit Own"
|
||||
COM_GETBIBLE_BOOKS_EDIT_OWN_DESC="Allows the users in this group to edit edit own books created by them"
|
||||
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_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_SUBMENU="Books Submenu"
|
||||
COM_GETBIBLE_BOOKS_SUBMENU_DESC="Allows the users in this group to submenu of book"
|
||||
COM_GETBIBLE_CHAPTERS_ACCESS="Chapters Access"
|
||||
COM_GETBIBLE_CHAPTERS_ACCESS_DESC="Allows the users in this group to access access chapters"
|
||||
COM_GETBIBLE_CHAPTERS_BATCH_USE="Chapters Batch Use"
|
||||
COM_GETBIBLE_CHAPTERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch chapters"
|
||||
COM_GETBIBLE_CHAPTERS_CREATE="Chapters Create"
|
||||
COM_GETBIBLE_CHAPTERS_CREATE_DESC="Allows the users in this group to create create chapters"
|
||||
COM_GETBIBLE_CHAPTERS_DASHBOARD_LIST="Chapters Dashboard List"
|
||||
COM_GETBIBLE_CHAPTERS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of chapter"
|
||||
COM_GETBIBLE_CHAPTERS_DELETE="Chapters Delete"
|
||||
COM_GETBIBLE_CHAPTERS_DELETE_DESC="Allows the users in this group to delete delete chapters"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT="Chapters Edit"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION="Chapters Edit Abbreviation"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR="Chapters Edit Book Nr"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_BOOK_NR_DESC="Allows the users in this group to edit book nr of chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER="Chapters Edit Chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CHAPTER_DESC="Allows the users in this group to edit chapter of chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY="Chapters Edit Created By"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by chapters"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE="Chapters Edit Created Date"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created chapters"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_DESC="Allows the users in this group to edit the chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_NAME="Chapters Edit Name"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_NAME_DESC="Allows the users in this group to edit name of chapter"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_OWN="Chapters Edit Own"
|
||||
COM_GETBIBLE_CHAPTERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own chapters created by them"
|
||||
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_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_SUBMENU="Chapters Submenu"
|
||||
COM_GETBIBLE_CHAPTERS_SUBMENU_DESC="Allows the users in this group to submenu of chapter"
|
||||
COM_GETBIBLE_CONFIGURATION="Get Bible Configuration"
|
||||
COM_GETBIBLE_EDIT_CREATED_BY="Edit Created By"
|
||||
COM_GETBIBLE_EDIT_CREATED_BY_DESC="Allows users in this group to edit created by."
|
||||
COM_GETBIBLE_EDIT_CREATED_DATE="Edit Created Date"
|
||||
COM_GETBIBLE_EDIT_CREATED_DATE_DESC="Allows users in this group to edit created date."
|
||||
COM_GETBIBLE_EDIT_VERSIONS="Edit Version"
|
||||
COM_GETBIBLE_EDIT_VERSIONS_DESC="Allows users in this group to edit versions."
|
||||
COM_GETBIBLE_LINKERS_ACCESS="Linkers Access"
|
||||
COM_GETBIBLE_LINKERS_ACCESS_DESC="Allows the users in this group to access access linkers"
|
||||
COM_GETBIBLE_LINKERS_BATCH_USE="Linkers Batch Use"
|
||||
COM_GETBIBLE_LINKERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch linkers"
|
||||
COM_GETBIBLE_LINKERS_CREATE="Linkers Create"
|
||||
COM_GETBIBLE_LINKERS_CREATE_DESC="Allows the users in this group to create create linkers"
|
||||
COM_GETBIBLE_LINKERS_DASHBOARD_LIST="Linkers Dashboard List"
|
||||
COM_GETBIBLE_LINKERS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of linker"
|
||||
COM_GETBIBLE_LINKERS_DELETE="Linkers Delete"
|
||||
COM_GETBIBLE_LINKERS_DELETE_DESC="Allows the users in this group to delete delete linkers"
|
||||
COM_GETBIBLE_LINKERS_EDIT="Linkers Edit"
|
||||
COM_GETBIBLE_LINKERS_EDIT_CREATED_BY="Linkers Edit Created By"
|
||||
COM_GETBIBLE_LINKERS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by linkers"
|
||||
COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE="Linkers Edit Created Date"
|
||||
COM_GETBIBLE_LINKERS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created linkers"
|
||||
COM_GETBIBLE_LINKERS_EDIT_DESC="Allows the users in this group to edit the linker"
|
||||
COM_GETBIBLE_LINKERS_EDIT_GUID="Linkers Edit Guid"
|
||||
COM_GETBIBLE_LINKERS_EDIT_GUID_DESC="Allows the users in this group to edit guid of linker"
|
||||
COM_GETBIBLE_LINKERS_EDIT_NAME="Linkers Edit Name"
|
||||
COM_GETBIBLE_LINKERS_EDIT_NAME_DESC="Allows the users in this group to edit name of linker"
|
||||
COM_GETBIBLE_LINKERS_EDIT_OWN="Linkers Edit Own"
|
||||
COM_GETBIBLE_LINKERS_EDIT_OWN_DESC="Allows the users in this group to edit edit own linkers created by them"
|
||||
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_SUBMENU="Linkers Submenu"
|
||||
COM_GETBIBLE_LINKERS_SUBMENU_DESC="Allows the users in this group to submenu of linker"
|
||||
COM_GETBIBLE_MENU="Get Bible"
|
||||
COM_GETBIBLE_MENU_API_DESC="Api"
|
||||
COM_GETBIBLE_MENU_API_OPTION="Api"
|
||||
COM_GETBIBLE_MENU_API_TITLE="Api"
|
||||
COM_GETBIBLE_MENU_APP_DESC="App"
|
||||
COM_GETBIBLE_MENU_APP_OPTION="App"
|
||||
COM_GETBIBLE_MENU_APP_TITLE="App"
|
||||
COM_GETBIBLE_MENU_BOOKS="Books"
|
||||
COM_GETBIBLE_MENU_CHAPTERS="Chapters"
|
||||
COM_GETBIBLE_MENU_LINKERS="Linkers"
|
||||
COM_GETBIBLE_MENU_NOTES="Notes"
|
||||
COM_GETBIBLE_MENU_OPEN_AI_RESPONSES="Open AI Responses"
|
||||
COM_GETBIBLE_MENU_PROMPTS="Prompts"
|
||||
COM_GETBIBLE_MENU_TAGGED_VERSES="Tagged Verses"
|
||||
COM_GETBIBLE_MENU_TAGS="Tags"
|
||||
COM_GETBIBLE_MENU_TRANSLATIONS="Translations"
|
||||
COM_GETBIBLE_MENU_VERSES="Verses"
|
||||
COM_GETBIBLE_NOTES_ACCESS="Notes Access"
|
||||
COM_GETBIBLE_NOTES_ACCESS_DESC="Allows the users in this group to access access notes"
|
||||
COM_GETBIBLE_NOTES_BATCH_USE="Notes Batch Use"
|
||||
COM_GETBIBLE_NOTES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch notes"
|
||||
COM_GETBIBLE_NOTES_CREATE="Notes Create"
|
||||
COM_GETBIBLE_NOTES_CREATE_DESC="Allows the users in this group to create create notes"
|
||||
COM_GETBIBLE_NOTES_DASHBOARD_LIST="Notes Dashboard List"
|
||||
COM_GETBIBLE_NOTES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of note"
|
||||
COM_GETBIBLE_NOTES_DELETE="Notes Delete"
|
||||
COM_GETBIBLE_NOTES_DELETE_DESC="Allows the users in this group to delete delete notes"
|
||||
COM_GETBIBLE_NOTES_EDIT="Notes Edit"
|
||||
COM_GETBIBLE_NOTES_EDIT_ACCESS="Notes Edit Access"
|
||||
COM_GETBIBLE_NOTES_EDIT_ACCESS_DESC="Allows the users in this group to change the access of the edit access notes"
|
||||
COM_GETBIBLE_NOTES_EDIT_BOOK_NR="Notes Edit Book Nr"
|
||||
COM_GETBIBLE_NOTES_EDIT_BOOK_NR_DESC="Allows the users in this group to edit book nr of note"
|
||||
COM_GETBIBLE_NOTES_EDIT_CHAPTER="Notes Edit Chapter"
|
||||
COM_GETBIBLE_NOTES_EDIT_CHAPTER_DESC="Allows the users in this group to edit chapter of note"
|
||||
COM_GETBIBLE_NOTES_EDIT_CREATED_BY="Notes Edit Created By"
|
||||
COM_GETBIBLE_NOTES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by notes"
|
||||
COM_GETBIBLE_NOTES_EDIT_CREATED_DATE="Notes Edit Created Date"
|
||||
COM_GETBIBLE_NOTES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created notes"
|
||||
COM_GETBIBLE_NOTES_EDIT_DESC="Allows the users in this group to edit the note"
|
||||
COM_GETBIBLE_NOTES_EDIT_GUID="Notes Edit Guid"
|
||||
COM_GETBIBLE_NOTES_EDIT_GUID_DESC="Allows the users in this group to edit guid of note"
|
||||
COM_GETBIBLE_NOTES_EDIT_LINKER="Notes Edit Linker"
|
||||
COM_GETBIBLE_NOTES_EDIT_LINKER_DESC="Allows the users in this group to edit linker of note"
|
||||
COM_GETBIBLE_NOTES_EDIT_NOTE="Notes Edit Note"
|
||||
COM_GETBIBLE_NOTES_EDIT_NOTE_DESC="Allows the users in this group to edit note of note"
|
||||
COM_GETBIBLE_NOTES_EDIT_OWN="Notes Edit Own"
|
||||
COM_GETBIBLE_NOTES_EDIT_OWN_DESC="Allows the users in this group to edit edit own notes created by them"
|
||||
COM_GETBIBLE_NOTES_EDIT_STATE="Notes Edit State"
|
||||
COM_GETBIBLE_NOTES_EDIT_STATE_DESC="Allows the users in this group to update the state of the note"
|
||||
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_VERSION="Notes Edit Version"
|
||||
COM_GETBIBLE_NOTES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version notes"
|
||||
COM_GETBIBLE_NOTES_SUBMENU="Notes Submenu"
|
||||
COM_GETBIBLE_NOTES_SUBMENU_DESC="Allows the users in this group to submenu of note"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS="Open Ai Messages Access"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_ACCESS_DESC="Allows the users in this group to access access open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_BATCH_USE="Open Ai Messages Batch Use"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE="Open Ai Messages Create"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_CREATE_DESC="Allows the users in this group to create create open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE="Open Ai Messages Delete"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_DELETE_DESC="Allows the users in this group to delete delete open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT="Open Ai Messages Edit"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT="Open Ai Messages Edit Content"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CONTENT_DESC="Allows the users in this group to edit content of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY="Open Ai Messages Edit Created By"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE="Open Ai Messages Edit Created Date"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_DESC="Allows the users in this group to edit the open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX="Open Ai Messages Edit Index"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_INDEX_DESC="Allows the users in this group to edit index of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME="Open Ai Messages Edit Name"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_NAME_DESC="Allows the users in this group to edit name of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE="Open Ai Messages Edit Open Ai Response"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OPEN_AI_RESPONSE_DESC="Allows the users in this group to edit open ai response of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN="Open Ai Messages Edit Own"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_OWN_DESC="Allows the users in this group to edit edit own open ai messages created by them"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT="Open Ai Messages Edit Prompt"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_PROMPT_DESC="Allows the users in this group to edit prompt of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE="Open Ai Messages Edit Role"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_ROLE_DESC="Allows the users in this group to edit role of open ai message"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE="Open Ai Messages Edit Source"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_SOURCE_DESC="Allows the users in this group to edit source of open ai message"
|
||||
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_VERSION="Open Ai Messages Edit Version"
|
||||
COM_GETBIBLE_OPEN_AI_MESSAGES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version open ai messages"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS="Open Ai Responses Access"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_ACCESS_DESC="Allows the users in this group to access access open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_BATCH_USE="Open Ai Responses Batch Use"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE="Open Ai Responses Create"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_CREATE_DESC="Allows the users in this group to create create open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_DASHBOARD_LIST="Open Ai Responses Dashboard List"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE="Open Ai Responses Delete"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_DELETE_DESC="Allows the users in this group to delete delete open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT="Open Ai Responses Edit"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION="Open Ai Responses Edit Abbreviation"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK="Open Ai Responses Edit Book"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_BOOK_DESC="Allows the users in this group to edit book of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER="Open Ai Responses Edit Chapter"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CHAPTER_DESC="Allows the users in this group to edit chapter of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS="Open Ai Responses Edit Completion Tokens"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_COMPLETION_TOKENS_DESC="Allows the users in this group to edit completion tokens of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY="Open Ai Responses Edit Created By"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE="Open Ai Responses Edit Created Date"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created open ai responses"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_DESC="Allows the users in this group to edit the open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY="Open Ai Responses Edit Frequency Penalty"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_FREQUENCY_PENALTY_DESC="Allows the users in this group to edit frequency penalty of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE="Open Ai Responses Edit Language"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LANGUAGE_DESC="Allows the users in this group to edit language of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH="Open Ai Responses Edit Lcsh"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_LCSH_DESC="Allows the users in this group to edit lcsh of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS="Open Ai Responses Edit Max Tokens"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MAX_TOKENS_DESC="Allows the users in this group to edit max tokens of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL="Open Ai Responses Edit Model"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_MODEL_DESC="Allows the users in this group to edit model of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N="Open Ai Responses Edit N"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_N_DESC="Allows the users in this group to edit n of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN="Open Ai Responses Edit Own"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_OWN_DESC="Allows the users in this group to edit edit own open ai responses created by them"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY="Open Ai Responses Edit Presence Penalty"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PRESENCE_PENALTY_DESC="Allows the users in this group to edit presence penalty of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT="Open Ai Responses Edit Prompt"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_DESC="Allows the users in this group to edit prompt of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS="Open Ai Responses Edit Prompt Tokens"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_PROMPT_TOKENS_DESC="Allows the users in this group to edit prompt tokens of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED="Open Ai Responses Edit Response Created"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_CREATED_DESC="Allows the users in this group to edit response created of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID="Open Ai Responses Edit Response Id"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_ID_DESC="Allows the users in this group to edit response id of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL="Open Ai Responses Edit Response Model"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_MODEL_DESC="Allows the users in this group to edit response model of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT="Open Ai Responses Edit Response Object"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_RESPONSE_OBJECT_DESC="Allows the users in this group to edit response object of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD="Open Ai Responses Edit Selected Word"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_SELECTED_WORD_DESC="Allows the users in this group to edit selected word of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE="Open Ai Responses Edit State"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_STATE_DESC="Allows the users in this group to update the state of the open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE="Open Ai Responses Edit Temperature"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TEMPERATURE_DESC="Allows the users in this group to edit temperature of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P="Open Ai Responses Edit Top P"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOP_P_DESC="Allows the users in this group to edit top p of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS="Open Ai Responses Edit Total Tokens"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_TOTAL_TOKENS_DESC="Allows the users in this group to edit total tokens of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE="Open Ai Responses Edit Verse"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION="Open Ai Responses Edit Version"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_EDIT_VERSION_DESC="Allows 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_DESC="Allows the users in this group to edit word of open ai response"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_SUBMENU="Open Ai Responses Submenu"
|
||||
COM_GETBIBLE_OPEN_AI_RESPONSES_SUBMENU_DESC="Allows the users in this group to submenu of open ai response"
|
||||
COM_GETBIBLE_PASSWORDS_ACCESS="Passwords Access"
|
||||
COM_GETBIBLE_PASSWORDS_ACCESS_DESC="Allows the users in this group to access access passwords"
|
||||
COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD="Passwords Access Password"
|
||||
COM_GETBIBLE_PASSWORDS_ACCESS_PASSWORD_DESC="Allows the users in this group to access password of password"
|
||||
COM_GETBIBLE_PASSWORDS_BATCH_USE="Passwords Batch Use"
|
||||
COM_GETBIBLE_PASSWORDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch passwords"
|
||||
COM_GETBIBLE_PASSWORDS_CREATE="Passwords Create"
|
||||
COM_GETBIBLE_PASSWORDS_CREATE_DESC="Allows the users in this group to create create passwords"
|
||||
COM_GETBIBLE_PASSWORDS_DELETE="Passwords Delete"
|
||||
COM_GETBIBLE_PASSWORDS_DELETE_DESC="Allows the users in this group to delete delete passwords"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT="Passwords Edit"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY="Passwords Edit Created By"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by passwords"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE="Passwords Edit Created Date"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created passwords"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_DESC="Allows the users in this group to edit the password"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_GUID="Passwords Edit Guid"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_GUID_DESC="Allows the users in this group to edit guid of password"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_LINKER="Passwords Edit Linker"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_LINKER_DESC="Allows the users in this group to edit linker of password"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_NAME="Passwords Edit Name"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_NAME_DESC="Allows the users in this group to edit name of password"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_OWN="Passwords Edit Own"
|
||||
COM_GETBIBLE_PASSWORDS_EDIT_OWN_DESC="Allows the users in this group to edit edit own passwords created by them"
|
||||
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_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_VIEW_PASSWORD="Passwords View Password"
|
||||
COM_GETBIBLE_PASSWORDS_VIEW_PASSWORD_DESC="Allows the users in this group to view password of password"
|
||||
COM_GETBIBLE_PROMPTS_ACCESS="Prompts Access"
|
||||
COM_GETBIBLE_PROMPTS_ACCESS_DESC="Allows the users in this group to access access prompts"
|
||||
COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE="Prompts Access Temperature Override"
|
||||
COM_GETBIBLE_PROMPTS_ACCESS_TEMPERATURE_OVERRIDE_DESC="Allows the users in this group to access temperature override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_BATCH_USE="Prompts Batch Use"
|
||||
COM_GETBIBLE_PROMPTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch prompts"
|
||||
COM_GETBIBLE_PROMPTS_CREATE="Prompts Create"
|
||||
COM_GETBIBLE_PROMPTS_CREATE_DESC="Allows the users in this group to create create prompts"
|
||||
COM_GETBIBLE_PROMPTS_DASHBOARD_LIST="Prompts Dashboard List"
|
||||
COM_GETBIBLE_PROMPTS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of prompt"
|
||||
COM_GETBIBLE_PROMPTS_DELETE="Prompts Delete"
|
||||
COM_GETBIBLE_PROMPTS_DELETE_DESC="Allows the users in this group to delete delete prompts"
|
||||
COM_GETBIBLE_PROMPTS_EDIT="Prompts Edit"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION="Prompts Edit Abbreviation"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE="Prompts Edit Ai Org Token Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_AI_ORG_TOKEN_OVERRIDE_DESC="Allows the users in this group to edit ai org token override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR="Prompts Edit Cache Behaviour"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CACHE_BEHAVIOUR_DESC="Allows the users in this group to edit cache behaviour of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY="Prompts Edit Created By"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by prompts"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE="Prompts Edit Created Date"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created prompts"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_DESC="Allows the users in this group to edit the prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY="Prompts Edit Frequency Penalty"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_DESC="Allows the users in this group to edit frequency penalty of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE="Prompts Edit Frequency Penalty Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_FREQUENCY_PENALTY_OVERRIDE_DESC="Allows the users in this group to edit frequency penalty override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_GUID="Prompts Edit Guid"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_GUID_DESC="Allows the users in this group to edit guid of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION="Prompts Edit Integration"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_INTEGRATION_DESC="Allows the users in this group to edit integration of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS="Prompts Edit Max Tokens"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_DESC="Allows the users in this group to edit max tokens of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE="Prompts Edit Max Tokens Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MAX_TOKENS_OVERRIDE_DESC="Allows the users in this group to edit max tokens override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MESSAGES="Prompts Edit Messages"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MESSAGES_DESC="Allows the users in this group to edit messages of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MODEL="Prompts Edit Model"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_MODEL_DESC="Allows the users in this group to edit model of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_N="Prompts Edit N"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_NAME="Prompts Edit Name"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_NAME_DESC="Allows the users in this group to edit name of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_N_DESC="Allows the users in this group to edit n of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE="Prompts Edit N Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_N_OVERRIDE_DESC="Allows the users in this group to edit n override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN="Prompts Edit Org Token"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_ORG_TOKEN_DESC="Allows the users in this group to edit org token of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_OWN="Prompts Edit Own"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_OWN_DESC="Allows the users in this group to edit edit own prompts created by them"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY="Prompts Edit Presence Penalty"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_DESC="Allows the users in this group to edit presence penalty of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE="Prompts Edit Presence Penalty Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_PRESENCE_PENALTY_OVERRIDE_DESC="Allows the users in this group to edit presence penalty override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL="Prompts Edit Response Retrieval"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_RESPONSE_RETRIEVAL_DESC="Allows the users in this group to edit response retrieval of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_STATE="Prompts Edit State"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE="Prompts Edit Temperature"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TEMPERATURE_DESC="Allows the users in this group to edit temperature of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOKEN="Prompts Edit Token"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOKEN_DESC="Allows the users in this group to edit token of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE="Prompts Edit Token Override"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOKEN_OVERRIDE_DESC="Allows the users in this group to edit token override of prompt"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOP_P="Prompts Edit Top P"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_TOP_P_DESC="Allows the users in this group to edit top p of prompt"
|
||||
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_VERSION="Prompts Edit Version"
|
||||
COM_GETBIBLE_PROMPTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version prompts"
|
||||
COM_GETBIBLE_PROMPTS_SUBMENU="Prompts Submenu"
|
||||
COM_GETBIBLE_PROMPTS_SUBMENU_DESC="Allows the users in this group to submenu of prompt"
|
||||
COM_GETBIBLE_TAGGED_VERSES_ACCESS="Tagged Verses Access"
|
||||
COM_GETBIBLE_TAGGED_VERSES_ACCESS_DESC="Allows the users in this group to access access tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_BATCH_USE="Tagged Verses Batch Use"
|
||||
COM_GETBIBLE_TAGGED_VERSES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_CREATE="Tagged Verses Create"
|
||||
COM_GETBIBLE_TAGGED_VERSES_CREATE_DESC="Allows the users in this group to create create tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_DASHBOARD_LIST="Tagged Verses Dashboard List"
|
||||
COM_GETBIBLE_TAGGED_VERSES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_DELETE="Tagged Verses Delete"
|
||||
COM_GETBIBLE_TAGGED_VERSES_DELETE_DESC="Allows the users in this group to delete delete tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT="Tagged Verses Edit"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION="Tagged Verses Edit Abbreviation"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS="Tagged Verses Edit Access"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_ACCESS_DESC="Allows the users in this group to change the access of the edit access tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR="Tagged Verses Edit Book Nr"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_BOOK_NR_DESC="Allows the users in this group to edit book nr of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER="Tagged Verses Edit Chapter"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CHAPTER_DESC="Allows the users in this group to edit chapter of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY="Tagged Verses Edit Created By"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE="Tagged Verses Edit Created Date"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_DESC="Allows the users in this group to edit the tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID="Tagged Verses Edit Guid"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_GUID_DESC="Allows the users in this group to edit guid of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER="Tagged Verses Edit Linker"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_LINKER_DESC="Allows the users in this group to edit linker of tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN="Tagged Verses Edit Own"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_OWN_DESC="Allows the users in this group to edit edit own tagged verses created by them"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE="Tagged Verses Edit State"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_STATE_DESC="Allows the users in this group to update the state of the tagged verse"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG="Tagged Verses Edit Tag"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_TAG_DESC="Allows the users in this group to edit tag of tagged verse"
|
||||
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_VERSION="Tagged Verses Edit Version"
|
||||
COM_GETBIBLE_TAGGED_VERSES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version tagged verses"
|
||||
COM_GETBIBLE_TAGGED_VERSES_SUBMENU="Tagged Verses Submenu"
|
||||
COM_GETBIBLE_TAGGED_VERSES_SUBMENU_DESC="Allows the users in this group to submenu of tagged verse"
|
||||
COM_GETBIBLE_TAGS_ACCESS="Tags Access"
|
||||
COM_GETBIBLE_TAGS_ACCESS_DESC="Allows the users in this group to access access tags"
|
||||
COM_GETBIBLE_TAGS_BATCH_USE="Tags Batch Use"
|
||||
COM_GETBIBLE_TAGS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch tags"
|
||||
COM_GETBIBLE_TAGS_CREATE="Tags Create"
|
||||
COM_GETBIBLE_TAGS_CREATE_DESC="Allows the users in this group to create create tags"
|
||||
COM_GETBIBLE_TAGS_DASHBOARD_LIST="Tags Dashboard List"
|
||||
COM_GETBIBLE_TAGS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of tag"
|
||||
COM_GETBIBLE_TAGS_DELETE="Tags Delete"
|
||||
COM_GETBIBLE_TAGS_DELETE_DESC="Allows the users in this group to delete delete tags"
|
||||
COM_GETBIBLE_TAGS_EDIT="Tags Edit"
|
||||
COM_GETBIBLE_TAGS_EDIT_ACCESS="Tags Edit Access"
|
||||
COM_GETBIBLE_TAGS_EDIT_ACCESS_DESC="Allows the users in this group to change the access of the edit access tags"
|
||||
COM_GETBIBLE_TAGS_EDIT_CREATED_BY="Tags Edit Created By"
|
||||
COM_GETBIBLE_TAGS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by tags"
|
||||
COM_GETBIBLE_TAGS_EDIT_CREATED_DATE="Tags Edit Created Date"
|
||||
COM_GETBIBLE_TAGS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created tags"
|
||||
COM_GETBIBLE_TAGS_EDIT_DESC="Allows the users in this group to edit the tag"
|
||||
COM_GETBIBLE_TAGS_EDIT_DESCRIPTION="Tags Edit Description"
|
||||
COM_GETBIBLE_TAGS_EDIT_DESCRIPTION_DESC="Allows the users in this group to edit description of tag"
|
||||
COM_GETBIBLE_TAGS_EDIT_GUID="Tags Edit Guid"
|
||||
COM_GETBIBLE_TAGS_EDIT_GUID_DESC="Allows the users in this group to edit guid of tag"
|
||||
COM_GETBIBLE_TAGS_EDIT_LINKER="Tags Edit Linker"
|
||||
COM_GETBIBLE_TAGS_EDIT_LINKER_DESC="Allows the users in this group to edit linker of tag"
|
||||
COM_GETBIBLE_TAGS_EDIT_NAME="Tags Edit Name"
|
||||
COM_GETBIBLE_TAGS_EDIT_NAME_DESC="Allows the users in this group to edit name of tag"
|
||||
COM_GETBIBLE_TAGS_EDIT_OWN="Tags Edit Own"
|
||||
COM_GETBIBLE_TAGS_EDIT_OWN_DESC="Allows the users in this group to edit edit own tags created by them"
|
||||
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_VERSION="Tags Edit Version"
|
||||
COM_GETBIBLE_TAGS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version tags"
|
||||
COM_GETBIBLE_TAGS_SUBMENU="Tags Submenu"
|
||||
COM_GETBIBLE_TAGS_SUBMENU_DESC="Allows the users in this group to submenu of tag"
|
||||
COM_GETBIBLE_TRANSLATIONS_ACCESS="Translations Access"
|
||||
COM_GETBIBLE_TRANSLATIONS_ACCESS_DESC="Allows the users in this group to access access translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_BATCH_USE="Translations Batch Use"
|
||||
COM_GETBIBLE_TRANSLATIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_CREATE="Translations Create"
|
||||
COM_GETBIBLE_TRANSLATIONS_CREATE_DESC="Allows the users in this group to create create translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_DASHBOARD_LIST="Translations Dashboard List"
|
||||
COM_GETBIBLE_TRANSLATIONS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_DELETE="Translations Delete"
|
||||
COM_GETBIBLE_TRANSLATIONS_DELETE_DESC="Allows the users in this group to delete delete translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT="Translations Edit"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION="Translations Edit Abbreviation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY="Translations Edit Created By"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE="Translations Edit Created Date"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created translations"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DESC="Allows the users in this group to edit the translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION="Translations Edit Direction"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DIRECTION_DESC="Allows the users in this group to edit direction of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION="Translations Edit Distribution Abbreviation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABBREVIATION_DESC="Allows the users in this group to edit distribution abbreviation of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT="Translations Edit Distribution About"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_ABOUT_DESC="Allows the users in this group to edit distribution about of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY="Translations Edit Distribution History"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_HISTORY_DESC="Allows the users in this group to edit distribution history of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH="Translations Edit Distribution Lcsh"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LCSH_DESC="Allows the users in this group to edit distribution lcsh of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE="Translations Edit Distribution License"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_LICENSE_DESC="Allows the users in this group to edit distribution license of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE="Translations Edit Distribution Source"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE="Translations Edit Distribution Sourcetype"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCETYPE_DESC="Allows the users in this group to edit distribution sourcetype of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_SOURCE_DESC="Allows the users in this group to edit distribution source of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION="Translations Edit Distribution Versification"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSIFICATION_DESC="Allows the users in this group to edit distribution versification of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION="Translations Edit Distribution Version"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE="Translations Edit Distribution Version Date"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DATE_DESC="Allows the users in this group to edit distribution version date of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_DISTRIBUTION_VERSION_DESC="Allows the users in this group to edit distribution version of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING="Translations Edit Encoding"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_ENCODING_DESC="Allows the users in this group to edit encoding of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_LANG="Translations Edit Lang"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE="Translations Edit Language"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_LANGUAGE_DESC="Allows the users in this group to edit language of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_LANG_DESC="Allows the users in this group to edit lang of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_OWN="Translations Edit Own"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_OWN_DESC="Allows the users in this group to edit edit own translations created by them"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_SHA="Translations Edit Sha"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_SHA_DESC="Allows the users in this group to edit sha of translation"
|
||||
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_TRANSLATION="Translations Edit Translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_EDIT_TRANSLATION_DESC="Allows the users in this group to edit translation of translation"
|
||||
COM_GETBIBLE_TRANSLATIONS_SUBMENU="Translations Submenu"
|
||||
COM_GETBIBLE_TRANSLATIONS_SUBMENU_DESC="Allows the users in this group to submenu of translation"
|
||||
COM_GETBIBLE_USE_BATCH="Use Batch"
|
||||
COM_GETBIBLE_USE_BATCH_DESC="Allows users in this group to use batch copy/update method."
|
||||
COM_GETBIBLE_VERSES_ACCESS="Verses Access"
|
||||
COM_GETBIBLE_VERSES_ACCESS_DESC="Allows the users in this group to access access verses"
|
||||
COM_GETBIBLE_VERSES_BATCH_USE="Verses Batch Use"
|
||||
COM_GETBIBLE_VERSES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch verses"
|
||||
COM_GETBIBLE_VERSES_CREATE="Verses Create"
|
||||
COM_GETBIBLE_VERSES_CREATE_DESC="Allows the users in this group to create create verses"
|
||||
COM_GETBIBLE_VERSES_DASHBOARD_LIST="Verses Dashboard List"
|
||||
COM_GETBIBLE_VERSES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of verse"
|
||||
COM_GETBIBLE_VERSES_DELETE="Verses Delete"
|
||||
COM_GETBIBLE_VERSES_DELETE_DESC="Allows the users in this group to delete delete verses"
|
||||
COM_GETBIBLE_VERSES_EDIT="Verses Edit"
|
||||
COM_GETBIBLE_VERSES_EDIT_ABBREVIATION="Verses Edit Abbreviation"
|
||||
COM_GETBIBLE_VERSES_EDIT_ABBREVIATION_DESC="Allows the users in this group to edit abbreviation of verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_BOOK_NR="Verses Edit Book Nr"
|
||||
COM_GETBIBLE_VERSES_EDIT_BOOK_NR_DESC="Allows the users in this group to edit book nr of verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_CHAPTER="Verses Edit Chapter"
|
||||
COM_GETBIBLE_VERSES_EDIT_CHAPTER_DESC="Allows the users in this group to edit chapter of verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_CREATED_BY="Verses Edit Created By"
|
||||
COM_GETBIBLE_VERSES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by verses"
|
||||
COM_GETBIBLE_VERSES_EDIT_CREATED_DATE="Verses Edit Created Date"
|
||||
COM_GETBIBLE_VERSES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created verses"
|
||||
COM_GETBIBLE_VERSES_EDIT_DESC="Allows the users in this group to edit the verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_NAME="Verses Edit Name"
|
||||
COM_GETBIBLE_VERSES_EDIT_NAME_DESC="Allows the users in this group to edit name of verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_OWN="Verses Edit Own"
|
||||
COM_GETBIBLE_VERSES_EDIT_OWN_DESC="Allows the users in this group to edit edit own verses created by them"
|
||||
COM_GETBIBLE_VERSES_EDIT_STATE="Verses Edit State"
|
||||
COM_GETBIBLE_VERSES_EDIT_STATE_DESC="Allows the users in this group to update the state of the verse"
|
||||
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_VERSE="Verses Edit Verse"
|
||||
COM_GETBIBLE_VERSES_EDIT_VERSE_DESC="Allows the users in this group to edit verse of verse"
|
||||
COM_GETBIBLE_VERSES_SUBMENU="Verses Submenu"
|
||||
COM_GETBIBLE_VERSES_SUBMENU_DESC="Allows the users in this group to submenu of verse"
|
1
admin/language/en-GB/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
1
admin/language/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
54
admin/layouts/batchselection.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?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;
|
||||
|
||||
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 JText::_('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 JText::_('Update'); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
51
admin/layouts/book/details_above.php
Normal file
@ -0,0 +1,51 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'name',
|
||||
'nr'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
48
admin/layouts/book/details_left.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'abbreviation'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
48
admin/layouts/book/details_right.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'sha'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
1
admin/layouts/book/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
52
admin/layouts/book/publishing.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'title',
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
53
admin/layouts/book/publlshing.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
52
admin/layouts/chapter/details_above.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'name',
|
||||
'chapter',
|
||||
'book_nr'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
48
admin/layouts/chapter/details_left.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'abbreviation'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|