Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
ae9451292f
|
|||
e99899f6f1
|
|||
a77eac9adf | |||
0d5597e37f
|
|||
407a8aa345
|
|||
a325339501
|
|||
df16b2e3ad
|
|||
d6c73987f5
|
21
.github/CONTRIBUTING.md
vendored
21
.github/CONTRIBUTING.md
vendored
@ -1,24 +1,17 @@
|
|||||||
Contributing to the Joomla Component Builder (JCB)
|
Contributing to the Joomla Component Builder (JCB)
|
||||||
===============
|
===============
|
||||||
You are welcome to submit a contribution for review and possible inclusion in the Joomla Component Builder but, before it will be accepted, we ask that you follow these simple steps:
|
If you wish to submit a contribution for review and potential inclusion in the Joomla Component Builder (JCB), please follow these simple steps:
|
||||||
|
|
||||||
1) Please watch [these tutorials][Tutorials]
|
1) Open an issue on GitHub, and if possible, provide a fix and create a pull request (PR). Creating a PR automatically generates an issue so that you do not need to create one separately.
|
||||||
|
|
||||||
2) Open an issue on GitHub. If you can, please provide a fix and create a pull request (PR) instead; this will automatically create an issue for you so you do not have to create an issue if you are creating a pull request.
|
2) Adhere to the [Joomla! Coding Standards](https://developer.joomla.org/coding-standards.html).
|
||||||
|
|
||||||
3) Follow the [Joomla! Coding Standards][Standards].
|
3) When filing an issue or opening a PR, provide a clear and concise title and description. The title should include a brief summary of the issue and reference to an open issue if possible. For example, Invalid Query in com_admin (Ref #1234) is sufficient. Additionally, provide a detailed description of the issue or PR, including what the problem is, what the PR is addressing, testing instructions, and environmental information such as PHP version and database driver and version, in case the issue is specific to certain environments.
|
||||||
|
|
||||||
4) When filing an issue or opening a PR, please include a clear title and description. The title should be a short summary of an issue and, if possible, should include a reference to an open issue. For example, `Invalid Query in com_admin (Ref #1234)` would be sufficient. All issues and PRs should include a description with as much detail as possible.
|
4) Report security issues to the JCB! Core Team using the [Report security issues contact form](https://www.vdm.io/report-security-issues) instead of using public forums.
|
||||||
If it is a PR, include what the issue is, what the PR is addressing, testing instructions and environmental information (PHP version, database driver and version, and other data you can retrieve from your site's system information view) in case the issue is specific to certain environments. If additional information is needed, please be prepared to provide it as our community members review your submission.
|
|
||||||
|
|
||||||
5) Report security issues to the JCB! Core Team using the [Report security issues contact form][Security]. Please do not use the public forums for security issues.
|
Please be patient, as not all items will be immediately tested since all bug testing for the JCB is performed by volunteers. Additionally, be open to feedback regarding your code.
|
||||||
|
|
||||||
Please be patient as not all items will be tested immediately (remember, all bug testing for the JCB is done by volunteers) and be receptive to feedback about your code.
|
|
||||||
|
|
||||||
#### Branches
|
#### Branches
|
||||||
PRs should usually be made to the `staging` branch as this contains the most recent version of the code.
|
For PRs, submit to the staging branch as it contains the most up-to-date version of the code.
|
||||||
|
|
||||||
[Tutorials]: https://www.youtube.com/watch?v=lLOfx9YA7VQ&list=PLQRGFI8XZ_wsfz3NdKawCiYsALuZ-GhwJ
|
|
||||||
[Standards]: https://developer.joomla.org/coding-standards.html\
|
|
||||||
[Security]: http://joomlacomponentbuilder.com/report-security-issues
|
|
||||||
|
|
||||||
|
39
.github/SUPPORT.md
vendored
39
.github/SUPPORT.md
vendored
@ -1,27 +1,22 @@
|
|||||||
Where can you get support and help?
|
Where can you get support and help?
|
||||||
====================
|
====================
|
||||||
|
|
||||||
+ [The JCB Tutorials][Tutorials]
|
- [Package](https://git.vdm.dev/joomla/pkg-component-builder).
|
||||||
+ [Hello World Tutorial][HelloWorld]
|
- [Download](https://git.vdm.dev/joomla/pkg-component-builder/archive/master.zip).
|
||||||
+ [The JCB! Wiki][Wiki]
|
- [Tutorials](https://www.youtube.com/playlist?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE).
|
||||||
+ [JCB Forum][forum]
|
- [German](https://www.youtube.com/playlist?list=PLQRGFI8XZ_wu0tDFxJtZFwW7AxA4JHQV7).
|
||||||
+ [Report a Security Issue][Security]
|
- [Hello World](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45).
|
||||||
+ [Community Complaint][Complaint]
|
- [Discussions](https://github.com/vdm-io/Joomla-Component-Builder/discussions).
|
||||||
+ [Open Issue On Github][Issue] ^^
|
- [Wiki](https://git.vdm.dev/joomla/Component-Builder/wiki).
|
||||||
|
- [Issues](https://git.vdm.dev/joomla/Component-Builder/issues). ^^
|
||||||
|
- [Issues Stream](https://t.me/jcb_issues).
|
||||||
|
- [Updates](https://t.me/jcb_updates).
|
||||||
|
- [User Group](https://t.me/jcb_group).
|
||||||
|
- [Announcement](https://t.me/Joomla_component_builder).
|
||||||
|
- [Beta](https://git.vdm.dev/joomla-beta/pkg-component-builder).
|
||||||
|
- [Nightly Build](https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/master.zip).
|
||||||
|
- [Community Complaint](https://www.joomlacomponentbuilder.com/community-complaint).
|
||||||
|
- [Security](https://www.vdm.io/report-security-issues).
|
||||||
|
|
||||||
Since JCB has become a community project [VDM.io][VDM] is **no longer solely responsible** for support.
|
^^ Then if you run into any issues, related to the [JCB](https://git.vdm.dev/joomla/Component-Builder/issues) code, like bugs, **start by searching** the (*open & closed*) issues over on [Gitea](https://git.vdm.dev/joomla/Component-Builder/issues), and if the issue has not been mentioned before, **then only** open a new issue, following the [community guidelines](https://git.vdm.dev/joomla/Component-Builder/src/branch/master/.github/CONTRIBUTING.md).
|
||||||
|
|
||||||
We have started a [**JCB forum**][forum] where you can post questions, about how things work, or if you need some kind of help in relation to your development of your components.
|
|
||||||
|
|
||||||
^^ Then if you run into any issues, related to the JCB code, like bugs, **start by searching** the (*open & closed*) [issues][Issue] over on Github, and if the issue has not been mentioned before, **then only** open a new issue, following the [community guidelines][guidelines].
|
|
||||||
|
|
||||||
[Tutorials]: https://www.youtube.com/playlist?list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE
|
|
||||||
[HelloWorld]: https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45
|
|
||||||
[Wiki]: https://git.vdm.dev/joomla/Component-Builder/wiki
|
|
||||||
[forum]: https://vdm.bz/jcb-forum
|
|
||||||
[Security]: http://joomlacomponentbuilder.com/report-security-issues
|
|
||||||
[Complaint]: http://joomlacomponentbuilder.com/community-complaint
|
|
||||||
[Issue]: https://git.vdm.dev/joomla/Component-Builder/issues
|
|
||||||
[VDM]: https://www.vdm.io/joomla-component-builder
|
|
||||||
[guidelines]: https://git.vdm.dev/joomla/Component-Builder/src/branch/master/.github/CONTRIBUTING.md
|
|
||||||
|
|
||||||
|
43
CHANGELOG.md
43
CHANGELOG.md
@ -1,3 +1,46 @@
|
|||||||
|
# v3.1.27
|
||||||
|
|
||||||
|
- Adds better remote repository management for the super power features.
|
||||||
|
- Fixes #1014 so that powers are added to components.
|
||||||
|
|
||||||
|
# v3.1.26
|
||||||
|
|
||||||
|
- Fixed changelog direction so newest changes is listed at top of the file.
|
||||||
|
- Finished the init function of super powers.
|
||||||
|
- Adds rest function inside super power.
|
||||||
|
- Adds super powers to all templates.
|
||||||
|
- Updates many helper class methods to now use the utility classes.
|
||||||
|
- Adds the `spl_autoload_register` method to the component entry file (as-well).
|
||||||
|
- Moved most methods from the compiler fields class to powers. #955
|
||||||
|
- Refactored many new builder classes from the registry class.
|
||||||
|
- Converted the Content class to two builder classes.
|
||||||
|
- Adds option to add additional templates to a module.
|
||||||
|
- Resolves #1002 by adding STRING instead of WORD.
|
||||||
|
- Ported the FOF encryption class into Powers. https://git.vdm.dev/joomla/fof
|
||||||
|
- Changed all CSS and JS to use `JHtml::_(` instead of `$this->document->` in compiler code.
|
||||||
|
- Adds option to turn jQuery off if UIKIT 3 is added.
|
||||||
|
- Adds option to auto write injection boilerplate code in Powers area.
|
||||||
|
- Adds option to auto write service provider boilerplate code in the Powers area.
|
||||||
|
- Improved the `getDynamicContent` method and all banner locations to fetch from https://git.vdm.dev/joomla/jcb-external/ instead.
|
||||||
|
- Major stability improvements all over the new powers complier classes.
|
||||||
|
- New [base Registry class](https://git.vdm.dev/joomla/super-powers/src/branch/master/src/7e822c03-1b20-41d1-9427-f5b8d5836af7) has been created specially for JCB.
|
||||||
|
- Remember to update all plug-ins with this version update (use the package).
|
||||||
|
|
||||||
|
# v3.1.24
|
||||||
|
|
||||||
|
- Fix the update server #978 issue.
|
||||||
|
- Fixed the change log to load all entries, not just the last one.
|
||||||
|
- Fixed #983 so that database updates are created when adding a new adminview
|
||||||
|
- Moved a few builder arrays to the Compiler Registry
|
||||||
|
- Adds super powers to JCB
|
||||||
|
- Adds Gitea API library
|
||||||
|
- Improves Power filters
|
||||||
|
- Fix #991 to add the Utilities service class
|
||||||
|
- Adds Superpower Key (SPK) replacement feature
|
||||||
|
- Adds Superpower search (GREP) feature
|
||||||
|
- Adds Power Insert/Update Classes
|
||||||
|
- Fix #995 that all update sites are using the correct URL
|
||||||
|
|
||||||
# v3.1.19
|
# v3.1.19
|
||||||
|
|
||||||
- We fixed #972 so that custom code (in the header) will be added after the power namespaces
|
- We fixed #972 so that custom code (in the header) will be added after the power namespaces
|
||||||
|
20
README.md
20
README.md
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.1.19) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.1.27) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -106,8 +106,8 @@ Where can you get support and help?
|
|||||||
- [Hello World](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45).
|
- [Hello World](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45).
|
||||||
- [Discussions](https://github.com/vdm-io/Joomla-Component-Builder/discussions).
|
- [Discussions](https://github.com/vdm-io/Joomla-Component-Builder/discussions).
|
||||||
- [Wiki](https://git.vdm.dev/joomla/Component-Builder/wiki).
|
- [Wiki](https://git.vdm.dev/joomla/Component-Builder/wiki).
|
||||||
- [Issues](https://git.vdm.dev/joomla/Component-Builder/issues).
|
- [Issues](https://git.vdm.dev/joomla/Component-Builder/issues). ^^
|
||||||
- [Issues Stream](https://t.me/jcb_issues). ^^
|
- [Issues Stream](https://t.me/jcb_issues).
|
||||||
- [Updates](https://t.me/jcb_updates).
|
- [Updates](https://t.me/jcb_updates).
|
||||||
- [User Group](https://t.me/jcb_group).
|
- [User Group](https://t.me/jcb_group).
|
||||||
- [Announcement](https://t.me/Joomla_component_builder).
|
- [Announcement](https://t.me/Joomla_component_builder).
|
||||||
@ -144,17 +144,17 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 27th February, 2023
|
+ *Last Build*: 20th October, 2023
|
||||||
+ *Version*: 3.1.19
|
+ *Version*: 3.1.27
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **366135**
|
+ *Line count*: **634936**
|
||||||
+ *Field count*: **2021**
|
+ *Field count*: **2047**
|
||||||
+ *File count*: **2339**
|
+ *File count*: **4750**
|
||||||
+ *Folder count*: **411**
|
+ *Folder count*: **448**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
|||||||
|
|
||||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||||
|
|
||||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.1.19) with **ALL** its features and **ALL** concepts totally open-source and free!
|
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.1.27) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||||
|
|
||||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -106,8 +106,8 @@ Where can you get support and help?
|
|||||||
- [Hello World](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45).
|
- [Hello World](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45).
|
||||||
- [Discussions](https://github.com/vdm-io/Joomla-Component-Builder/discussions).
|
- [Discussions](https://github.com/vdm-io/Joomla-Component-Builder/discussions).
|
||||||
- [Wiki](https://git.vdm.dev/joomla/Component-Builder/wiki).
|
- [Wiki](https://git.vdm.dev/joomla/Component-Builder/wiki).
|
||||||
- [Issues](https://git.vdm.dev/joomla/Component-Builder/issues).
|
- [Issues](https://git.vdm.dev/joomla/Component-Builder/issues). ^^
|
||||||
- [Issues Stream](https://t.me/jcb_issues). ^^
|
- [Issues Stream](https://t.me/jcb_issues).
|
||||||
- [Updates](https://t.me/jcb_updates).
|
- [Updates](https://t.me/jcb_updates).
|
||||||
- [User Group](https://t.me/jcb_group).
|
- [User Group](https://t.me/jcb_group).
|
||||||
- [Announcement](https://t.me/Joomla_component_builder).
|
- [Announcement](https://t.me/Joomla_component_builder).
|
||||||
@ -144,17 +144,17 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 27th February, 2023
|
+ *Last Build*: 20th October, 2023
|
||||||
+ *Version*: 3.1.19
|
+ *Version*: 3.1.27
|
||||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **366135**
|
+ *Line count*: **634936**
|
||||||
+ *Field count*: **2021**
|
+ *Field count*: **2047**
|
||||||
+ *File count*: **2339**
|
+ *File count*: **4750**
|
||||||
+ *Folder count*: **411**
|
+ *Folder count*: **448**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
> Developed by [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||||
|
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
@ -483,6 +483,8 @@
|
|||||||
<action name="placeholder.export" title="COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT" description="COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT_DESC" />
|
<action name="placeholder.export" title="COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT" description="COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT_DESC" />
|
||||||
<action name="placeholder.import" title="COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT" description="COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT_DESC" />
|
<action name="placeholder.import" title="COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT" description="COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT_DESC" />
|
||||||
<action name="placeholder.submenu" title="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU" description="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC" />
|
<action name="placeholder.submenu" title="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU" description="COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC" />
|
||||||
|
<action name="power.init" title="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC" />
|
||||||
|
<action name="power.reset" title="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC" />
|
||||||
<action name="power.run_expansion" title="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
<action name="power.run_expansion" title="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
||||||
<action name="power.access" title="COM_COMPONENTBUILDER_POWERS_ACCESS" description="COM_COMPONENTBUILDER_POWERS_ACCESS_DESC" />
|
<action name="power.access" title="COM_COMPONENTBUILDER_POWERS_ACCESS" description="COM_COMPONENTBUILDER_POWERS_ACCESS_DESC" />
|
||||||
<action name="power.batch" title="COM_COMPONENTBUILDER_POWERS_BATCH_USE" description="COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC" />
|
<action name="power.batch" title="COM_COMPONENTBUILDER_POWERS_BATCH_USE" description="COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC" />
|
||||||
|
@ -47,7 +47,7 @@ abstract class ###Component###Helper
|
|||||||
if (!isset(self::$composer[$target]))
|
if (!isset(self::$composer[$target]))
|
||||||
{
|
{
|
||||||
// get the function name
|
// get the function name
|
||||||
$functionName = self::safeString('compose' . $target);
|
$functionName = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe('compose' . $target);
|
||||||
// check if method exist
|
// check if method exist
|
||||||
if (method_exists(__CLASS__, $functionName))
|
if (method_exists(__CLASS__, $functionName))
|
||||||
{
|
{
|
||||||
@ -78,7 +78,7 @@ abstract class ###Component###Helper
|
|||||||
public static function jVersion()
|
public static function jVersion()
|
||||||
{
|
{
|
||||||
// check if set
|
// check if set
|
||||||
if (!self::checkObject(self::$JVersion))
|
if (!Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check(self::$JVersion))
|
||||||
{
|
{
|
||||||
self::$JVersion = new JVersion();
|
self::$JVersion = new JVersion();
|
||||||
}
|
}
|
||||||
@ -116,8 +116,8 @@ abstract class ###Component###Helper
|
|||||||
$link_front = '';
|
$link_front = '';
|
||||||
$link_back = '';
|
$link_back = '';
|
||||||
}
|
}
|
||||||
$contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr));
|
$contributors[$nr]['title'] = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($params->get("titleContributor".$nr));
|
||||||
$contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back;
|
$contributors[$nr]['name'] = $link_front.Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($params->get("nameContributor".$nr)).$link_back;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $contributors;
|
return $contributors;
|
||||||
@ -145,46 +145,18 @@ abstract class ###Component###Helper
|
|||||||
* @param string $main The component in which the table is found
|
* @param string $main The component in which the table is found
|
||||||
*
|
*
|
||||||
* @return mix string/int/float
|
* @return mix string/int/float
|
||||||
*
|
* @deprecated 3.3 Use Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var(...);
|
||||||
*/
|
*/
|
||||||
public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###')
|
public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###')
|
||||||
{
|
{
|
||||||
if(!$where)
|
return Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var(
|
||||||
{
|
$table,
|
||||||
$where = JFactory::getUser()->id;
|
$where,
|
||||||
}
|
$whereString,
|
||||||
// Get a db connection.
|
$what,
|
||||||
$db = JFactory::getDbo();
|
$operator,
|
||||||
// Create a new query object.
|
$main
|
||||||
$query = $db->getQuery(true);
|
);
|
||||||
$query->select($db->quoteName(array($what)));
|
|
||||||
if (empty($table))
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
|
||||||
}
|
|
||||||
if (is_numeric($where))
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
|
||||||
}
|
|
||||||
elseif (is_string($where))
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$db->setQuery($query);
|
|
||||||
$db->execute();
|
|
||||||
if ($db->getNumRows())
|
|
||||||
{
|
|
||||||
return $db->loadResult();
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -199,110 +171,38 @@ abstract class ###Component###Helper
|
|||||||
* @param bool $unique The switch to return a unique array
|
* @param bool $unique The switch to return a unique array
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*
|
* @deprecated 3.3 Use Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::vars(...);
|
||||||
*/
|
*/
|
||||||
public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true)
|
public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true)
|
||||||
{
|
{
|
||||||
if(!$where)
|
return Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::vars(
|
||||||
{
|
$table,
|
||||||
$where = JFactory::getUser()->id;
|
$where,
|
||||||
}
|
$whereString,
|
||||||
|
$what,
|
||||||
if (!self::checkArray($where) && $where > 0)
|
$operator,
|
||||||
{
|
$main,
|
||||||
$where = array($where);
|
$unique
|
||||||
}
|
);
|
||||||
|
|
||||||
if (self::checkArray($where))
|
|
||||||
{
|
|
||||||
// prep main <-- why? well if $main='' is empty then $table can be categories or users
|
|
||||||
if (self::checkString($main))
|
|
||||||
{
|
|
||||||
$main = '_'.ltrim($main, '_');
|
|
||||||
}
|
|
||||||
// Get a db connection.
|
|
||||||
$db = JFactory::getDbo();
|
|
||||||
// Create a new query object.
|
|
||||||
$query = $db->getQuery(true);
|
|
||||||
|
|
||||||
$query->select($db->quoteName(array($what)));
|
|
||||||
if (empty($table))
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#_'.$main.'_'.$table));
|
|
||||||
}
|
|
||||||
// add strings to array search
|
|
||||||
if ('IN_STRINGS' === $operator || 'NOT IN_STRINGS' === $operator)
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' ' . str_replace('_STRINGS', '', $operator) . ' ("' . implode('","',$where) . '")');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' ' . $operator . ' (' . implode(',',$where) . ')');
|
|
||||||
}
|
|
||||||
$db->setQuery($query);
|
|
||||||
$db->execute();
|
|
||||||
if ($db->getNumRows())
|
|
||||||
{
|
|
||||||
if ($unique)
|
|
||||||
{
|
|
||||||
return array_unique($db->loadColumn());
|
|
||||||
}
|
|
||||||
return $db->loadColumn();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert a json object to a string
|
||||||
|
*
|
||||||
|
* @input string $value The json string to convert
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::string(...);
|
||||||
|
*/
|
||||||
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
||||||
{
|
{
|
||||||
// do some table foot work
|
return Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::string(
|
||||||
$external = false;
|
$value,
|
||||||
if (strpos($table, '#__') !== false)
|
$sperator,
|
||||||
{
|
$table,
|
||||||
$external = true;
|
$id,
|
||||||
$table = str_replace('#__', '', $table);
|
$name
|
||||||
}
|
);
|
||||||
// check if string is JSON
|
|
||||||
$result = json_decode($value, true);
|
|
||||||
if (json_last_error() === JSON_ERROR_NONE)
|
|
||||||
{
|
|
||||||
// is JSON
|
|
||||||
if (self::checkArray($result))
|
|
||||||
{
|
|
||||||
if (self::checkString($table))
|
|
||||||
{
|
|
||||||
$names = array();
|
|
||||||
foreach ($result as $val)
|
|
||||||
{
|
|
||||||
if ($external)
|
|
||||||
{
|
|
||||||
if ($_name = self::getVar(null, $val, $id, $name, '=', $table))
|
|
||||||
{
|
|
||||||
$names[] = $_name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($_name = self::getVar($table, $val, $id, $name))
|
|
||||||
{
|
|
||||||
$names[] = $_name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (self::checkArray($names))
|
|
||||||
{
|
|
||||||
return (string) implode($sperator,$names);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (string) implode($sperator,$result);
|
|
||||||
}
|
|
||||||
return (string) json_decode($value);
|
|
||||||
}
|
|
||||||
return $value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function isPublished($id,$type)
|
public static function isPublished($id,$type)
|
||||||
@ -360,7 +260,7 @@ abstract class ###Component###Helper
|
|||||||
public static function getActions($view, &$record = null, $views = null, $target = null, $component = '###component###', $user = 'null')
|
public static function getActions($view, &$record = null, $views = null, $target = null, $component = '###component###', $user = 'null')
|
||||||
{
|
{
|
||||||
// load the user if not given
|
// load the user if not given
|
||||||
if (!self::checkObject($user))
|
if (!Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($user))
|
||||||
{
|
{
|
||||||
// get the user object
|
// get the user object
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
@ -368,10 +268,10 @@ abstract class ###Component###Helper
|
|||||||
// load the JObject
|
// load the JObject
|
||||||
$result = new JObject;
|
$result = new JObject;
|
||||||
// make view name safe (just incase)
|
// make view name safe (just incase)
|
||||||
$view = self::safeString($view);
|
$view = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($view);
|
||||||
if (self::checkString($views))
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($views))
|
||||||
{
|
{
|
||||||
$views = self::safeString($views);
|
$views = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($views);
|
||||||
}
|
}
|
||||||
// get all actions from component
|
// get all actions from component
|
||||||
$actions = JAccess::getActionsFromFile(
|
$actions = JAccess::getActionsFromFile(
|
||||||
@ -384,9 +284,9 @@ abstract class ###Component###Helper
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
// get created by if not found
|
// get created by if not found
|
||||||
if (self::checkObject($record) && !isset($record->created_by) && isset($record->id))
|
if (Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($record) && !isset($record->created_by) && isset($record->id))
|
||||||
{
|
{
|
||||||
$record->created_by = self::getVar($view, $record->id, 'id', 'created_by', '=', $component);
|
$record->created_by = Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var($view, $record->id, 'id', 'created_by', '=', $component);
|
||||||
}
|
}
|
||||||
// set actions only set in component settings
|
// set actions only set in component settings
|
||||||
$componentActions = array('core.admin', 'core.manage', 'core.options', 'core.export');
|
$componentActions = array('core.admin', 'core.manage', 'core.options', 'core.export');
|
||||||
@ -395,12 +295,12 @@ abstract class ###Component###Helper
|
|||||||
if ($target)
|
if ($target)
|
||||||
{
|
{
|
||||||
// convert to an array
|
// convert to an array
|
||||||
if (self::checkString($target))
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($target))
|
||||||
{
|
{
|
||||||
$target = array($target);
|
$target = array($target);
|
||||||
}
|
}
|
||||||
// check if we are good to go
|
// check if we are good to go
|
||||||
if (self::checkArray($target))
|
if (Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($target))
|
||||||
{
|
{
|
||||||
$checkTarget = true;
|
$checkTarget = true;
|
||||||
}
|
}
|
||||||
@ -421,7 +321,7 @@ abstract class ###Component###Helper
|
|||||||
// set area
|
// set area
|
||||||
$area = 'comp';
|
$area = 'comp';
|
||||||
// check if the record has an ID and the action is item related (not a component action)
|
// check if the record has an ID and the action is item related (not a component action)
|
||||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name, $componentActions) &&
|
if (Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($record) && isset($record->id) && $record->id > 0 && !in_array($action->name, $componentActions) &&
|
||||||
(strpos($action->name, 'core.') !== false || strpos($action->name, $view . '.') !== false))
|
(strpos($action->name, 'core.') !== false || strpos($action->name, $view . '.') !== false))
|
||||||
{
|
{
|
||||||
// we are in item
|
// we are in item
|
||||||
@ -454,7 +354,7 @@ abstract class ###Component###Helper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0)
|
elseif (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($views) && isset($record->catid) && $record->catid > 0)
|
||||||
{
|
{
|
||||||
// we are in item
|
// we are in item
|
||||||
$area = 'category';
|
$area = 'category';
|
||||||
@ -548,13 +448,13 @@ abstract class ###Component###Helper
|
|||||||
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $Component = '###Component###', $config = array())
|
public static function getModel($name, $path = JPATH_COMPONENT_ADMINISTRATOR, $Component = '###Component###', $config = array())
|
||||||
{
|
{
|
||||||
// fix the name
|
// fix the name
|
||||||
$name = self::safeString($name);
|
$name = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($name);
|
||||||
// full path to models
|
// full path to models
|
||||||
$fullPathModels = $path . '/models';
|
$fullPathModels = $path . '/models';
|
||||||
// load the model file
|
// load the model file
|
||||||
JModelLegacy::addIncludePath($fullPathModels, $Component . 'Model');
|
JModelLegacy::addIncludePath($fullPathModels, $Component . 'Model');
|
||||||
// make sure the table path is loaded
|
// make sure the table path is loaded
|
||||||
if (!isset($config['table_path']) || !self::checkString($config['table_path']))
|
if (!isset($config['table_path']) || !Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($config['table_path']))
|
||||||
{
|
{
|
||||||
// This is the JCB default path to tables in Joomla 3.x
|
// This is the JCB default path to tables in Joomla 3.x
|
||||||
$config['table_path'] = JPATH_ADMINISTRATOR . '/components/com_' . strtolower($Component) . '/tables';
|
$config['table_path'] = JPATH_ADMINISTRATOR . '/components/com_' . strtolower($Component) . '/tables';
|
||||||
@ -717,35 +617,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
*/
|
*/
|
||||||
public static function xmlAppend(&$xml, $node)
|
public static function xmlAppend(&$xml, $node)
|
||||||
{
|
{
|
||||||
if (!$node)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
{
|
|
||||||
// element was not returned
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (get_class($node))
|
|
||||||
{
|
|
||||||
case 'stdClass':
|
|
||||||
if (property_exists($node, 'comment'))
|
|
||||||
{
|
|
||||||
self::xmlComment($xml, $node->comment);
|
|
||||||
}
|
|
||||||
if (property_exists($node, 'fieldXML'))
|
|
||||||
{
|
|
||||||
self::xmlAppend($xml, $node->fieldXML);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'SimpleXMLElement':
|
|
||||||
$domXML = dom_import_simplexml($xml);
|
|
||||||
$domNode = dom_import_simplexml($node);
|
|
||||||
$domXML->appendChild($domXML->ownerDocument->importNode($domNode, true));
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -754,16 +631,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param string $comment The comment to inject
|
* @param string $comment The comment to inject
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
*/
|
*/
|
||||||
public static function xmlComment(&$xml, $comment)
|
public static function xmlComment(&$xml, $comment)
|
||||||
{
|
{
|
||||||
$domXML = dom_import_simplexml($xml);
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
$domComment = new DOMComment($comment);
|
|
||||||
$nodeTarget = $domXML->ownerDocument->importNode($domComment, true);
|
|
||||||
$domXML->appendChild($nodeTarget);
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -773,14 +646,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $attributes The attributes to apply to the XML element
|
* @param array $attributes The attributes to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return null
|
* @return null
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddAttributes(&$xml, $attributes = array())
|
public static function xmlAddAttributes(&$xml, $attributes = array())
|
||||||
{
|
{
|
||||||
foreach ($attributes as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
{
|
|
||||||
$xml->addAttribute($key, $value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -790,16 +660,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddOptions(&$xml, $options = array())
|
public static function xmlAddOptions(&$xml, $options = array())
|
||||||
{
|
{
|
||||||
foreach ($options as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
{
|
|
||||||
$addOption = $xml->addChild('option');
|
|
||||||
$addOption->addAttribute('value', $key);
|
|
||||||
$addOption[] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -810,28 +675,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
if (self::checkArray($attributes) && isset($attributes['type']))
|
|
||||||
{
|
|
||||||
// make sure the form helper class is loaded
|
|
||||||
if (!method_exists('JFormHelper', 'loadFieldType'))
|
|
||||||
{
|
|
||||||
jimport('joomla.form.form');
|
|
||||||
}
|
|
||||||
// get field type
|
|
||||||
$field = JFormHelper::loadFieldType($attributes['type'], true);
|
|
||||||
// get field xml
|
|
||||||
$XML = self::getFieldXML($attributes, $options);
|
|
||||||
// setup the field
|
|
||||||
$field->setup($XML, $default);
|
|
||||||
// return the field object
|
|
||||||
return $field;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -841,27 +689,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldXML(&$attributes, $options = null)
|
public static function getFieldXML(&$attributes, $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
if (self::checkArray($attributes))
|
|
||||||
{
|
|
||||||
// start field xml
|
|
||||||
$XML = new SimpleXMLElement('<field/>');
|
|
||||||
// load the attributes
|
|
||||||
self::xmlAddAttributes($XML, $attributes);
|
|
||||||
// check if we have options
|
|
||||||
if (self::checkArray($options))
|
|
||||||
{
|
|
||||||
// load the options
|
|
||||||
self::xmlAddOptions($XML, $options);
|
|
||||||
}
|
|
||||||
// return the field xml
|
|
||||||
return $XML;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -885,17 +717,17 @@ abstract class ###Component###Helper
|
|||||||
// button attributes
|
// button attributes
|
||||||
$buttonAttributes = array(
|
$buttonAttributes = array(
|
||||||
'type' => 'radio',
|
'type' => 'radio',
|
||||||
'name' => isset($args[0]) ? self::htmlEscape($args[0]) : 'bool_button',
|
'name' => isset($args[0]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[0]) : 'bool_button',
|
||||||
'label' => isset($args[0]) ? self::safeString(self::htmlEscape($args[0]), 'Ww') : 'Bool Button', // not seen anyway
|
'label' => isset($args[0]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[0]), 'Ww') : 'Bool Button', // not seen anyway
|
||||||
'class' => 'btn-group',
|
'class' => 'btn-group',
|
||||||
'filter' => 'INT',
|
'filter' => 'INT',
|
||||||
'default' => isset($args[2]) ? (int) $args[2] : 0);
|
'default' => isset($args[2]) ? (int) $args[2] : 0);
|
||||||
// set the button options
|
// set the button options
|
||||||
$buttonOptions = array(
|
$buttonOptions = array(
|
||||||
'1' => isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES',
|
'1' => isset($args[3]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[3]) : 'JYES',
|
||||||
'0' => isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO');
|
'0' => isset($args[4]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[4]) : 'JNO');
|
||||||
// return the input
|
// return the input
|
||||||
return self::getFieldObject($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input;
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -904,15 +736,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The json string to check
|
* @input string The json string to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::check($string);
|
||||||
*/
|
*/
|
||||||
public static function checkJson($string)
|
public static function checkJson($string)
|
||||||
{
|
{
|
||||||
if (self::checkString($string))
|
return Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::check($string);
|
||||||
{
|
|
||||||
json_decode($string);
|
|
||||||
return (json_last_error() === JSON_ERROR_NONE);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -921,14 +749,11 @@ abstract class ###Component###Helper
|
|||||||
* @input object The object to check
|
* @input object The object to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($object);
|
||||||
*/
|
*/
|
||||||
public static function checkObject($object)
|
public static function checkObject($object)
|
||||||
{
|
{
|
||||||
if (isset($object) && is_object($object))
|
return Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($object);
|
||||||
{
|
|
||||||
return count((array)$object) > 0;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -937,26 +762,11 @@ abstract class ###Component###Helper
|
|||||||
* @input array The array to check
|
* @input array The array to check
|
||||||
*
|
*
|
||||||
* @returns bool/int number of items in array on success
|
* @returns bool/int number of items in array on success
|
||||||
|
* @deprecated 3.3 Use Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($array, $removeEmptyString);
|
||||||
*/
|
*/
|
||||||
public static function checkArray($array, $removeEmptyString = false)
|
public static function checkArray($array, $removeEmptyString = false)
|
||||||
{
|
{
|
||||||
if (isset($array) && is_array($array) && ($nr = count((array)$array)) > 0)
|
return Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($array, $removeEmptyString);
|
||||||
{
|
|
||||||
// also make sure the empty strings are removed
|
|
||||||
if ($removeEmptyString)
|
|
||||||
{
|
|
||||||
foreach ($array as $key => $string)
|
|
||||||
{
|
|
||||||
if (empty($string))
|
|
||||||
{
|
|
||||||
unset($array[$key]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return self::checkArray($array, false);
|
|
||||||
}
|
|
||||||
return $nr;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -965,14 +775,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The string to check
|
* @input string The string to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($string);
|
||||||
*/
|
*/
|
||||||
public static function checkString($string)
|
public static function checkString($string)
|
||||||
{
|
{
|
||||||
if (isset($string) && is_string($string) && strlen($string) > 0)
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($string);
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1006,22 +813,11 @@ abstract class ###Component###Helper
|
|||||||
* @input array The arrays you would like to merge
|
* @input array The arrays you would like to merge
|
||||||
*
|
*
|
||||||
* @returns array on success
|
* @returns array on success
|
||||||
|
* @deprecated 3.3 Use Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::merge($arrays);
|
||||||
*/
|
*/
|
||||||
public static function mergeArrays($arrays)
|
public static function mergeArrays($arrays)
|
||||||
{
|
{
|
||||||
if(self::checkArray($arrays))
|
return Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::merge($arrays);
|
||||||
{
|
|
||||||
$arrayBuket = array();
|
|
||||||
foreach ($arrays as $array)
|
|
||||||
{
|
|
||||||
if (self::checkArray($array))
|
|
||||||
{
|
|
||||||
$arrayBuket = array_merge($arrayBuket, $array);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $arrayBuket;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// typo sorry!
|
// typo sorry!
|
||||||
@ -1036,39 +832,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The you would like to shorten
|
* @input string The you would like to shorten
|
||||||
*
|
*
|
||||||
* @returns string on success
|
* @returns string on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::shorten(...);
|
||||||
*/
|
*/
|
||||||
public static function shorten($string, $length = 40, $addTip = true)
|
public static function shorten($string, $length = 40, $addTip = true)
|
||||||
{
|
{
|
||||||
if (self::checkString($string))
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::shorten($string, $length, $addTip);
|
||||||
{
|
|
||||||
$initial = strlen($string);
|
|
||||||
$words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE);
|
|
||||||
$words_count = count((array)$words);
|
|
||||||
|
|
||||||
$word_length = 0;
|
|
||||||
$last_word = 0;
|
|
||||||
for (; $last_word < $words_count; ++$last_word)
|
|
||||||
{
|
|
||||||
$word_length += strlen($words[$last_word]);
|
|
||||||
if ($word_length > $length)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$newString = implode(array_slice($words, 0, $last_word));
|
|
||||||
$final = strlen($newString);
|
|
||||||
if ($initial != $final && $addTip)
|
|
||||||
{
|
|
||||||
$title = self::shorten($string, 400 , false);
|
|
||||||
return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>';
|
|
||||||
}
|
|
||||||
elseif ($initial != $final && !$addTip)
|
|
||||||
{
|
|
||||||
return trim($newString).'...';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1077,157 +845,61 @@ abstract class ###Component###Helper
|
|||||||
* @input string The you would like to make safe
|
* @input string The you would like to make safe
|
||||||
*
|
*
|
||||||
* @returns string on success
|
* @returns string on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(...);
|
||||||
*/
|
*/
|
||||||
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true, $keepOnlyCharacters = true)
|
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true, $keepOnlyCharacters = true)
|
||||||
{
|
{
|
||||||
if ($replaceNumbers === true)
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(
|
||||||
{
|
$string,
|
||||||
// remove all numbers and replace with english text version (works well only up to millions)
|
$type,
|
||||||
$string = self::replaceNumbers($string);
|
$spacer,
|
||||||
}
|
$replaceNumbers,
|
||||||
// 0nly continue if we have a string
|
$keepOnlyCharacters
|
||||||
if (self::checkString($string))
|
);
|
||||||
{
|
|
||||||
// create file name without the extention that is safe
|
|
||||||
if ($type === 'filename')
|
|
||||||
{
|
|
||||||
// make sure VDM is not in the string
|
|
||||||
$string = str_replace('VDM', 'vDm', $string);
|
|
||||||
// Remove anything which isn't a word, whitespace, number
|
|
||||||
// or any of the following caracters -_()
|
|
||||||
// If you don't need to handle multi-byte characters
|
|
||||||
// you can use preg_replace rather than mb_ereg_replace
|
|
||||||
// Thanks @Łukasz Rysiak!
|
|
||||||
// $string = mb_ereg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
|
||||||
$string = preg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
|
||||||
// http://stackoverflow.com/a/2021729/1429677
|
|
||||||
return preg_replace('/\s+/', ' ', $string);
|
|
||||||
}
|
|
||||||
// remove all other characters
|
|
||||||
$string = trim($string);
|
|
||||||
$string = preg_replace('/'.$spacer.'+/', ' ', $string);
|
|
||||||
$string = preg_replace('/\s+/', ' ', $string);
|
|
||||||
// Transliterate string
|
|
||||||
$string = self::transliterate($string);
|
|
||||||
// remove all and keep only characters
|
|
||||||
if ($keepOnlyCharacters)
|
|
||||||
{
|
|
||||||
$string = preg_replace("/[^A-Za-z ]/", '', $string);
|
|
||||||
}
|
|
||||||
// keep both numbers and characters
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$string = preg_replace("/[^A-Za-z0-9 ]/", '', $string);
|
|
||||||
}
|
|
||||||
// select final adaptations
|
|
||||||
if ($type === 'L' || $type === 'strtolower')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// default is to return lower
|
|
||||||
return strtolower($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'W')
|
|
||||||
{
|
|
||||||
// return a string with all first letter of each word uppercase(no undersocre)
|
|
||||||
return ucwords(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'w' || $type === 'word')
|
|
||||||
{
|
|
||||||
// return a string with all lowercase(no undersocre)
|
|
||||||
return strtolower($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'Ww' || $type === 'Word')
|
|
||||||
{
|
|
||||||
// return a string with first letter of the first word uppercase and all the rest lowercase(no undersocre)
|
|
||||||
return ucfirst(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'WW' || $type === 'WORD')
|
|
||||||
{
|
|
||||||
// return a string with all the uppercase(no undersocre)
|
|
||||||
return strtoupper($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'U' || $type === 'strtoupper')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// return all upper
|
|
||||||
return strtoupper($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'F' || $type === 'ucfirst')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// return with first caracter to upper
|
|
||||||
return ucfirst(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'cA' || $type === 'cAmel' || $type === 'camelcase')
|
|
||||||
{
|
|
||||||
// convert all words to first letter uppercase
|
|
||||||
$string = ucwords(strtolower($string));
|
|
||||||
// remove white space
|
|
||||||
$string = preg_replace('/\s+/', '', $string);
|
|
||||||
// now return first letter lowercase
|
|
||||||
return lcfirst($string);
|
|
||||||
}
|
|
||||||
// return string
|
|
||||||
return $string;
|
|
||||||
}
|
|
||||||
// not a string
|
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert none English strings to code usable string
|
||||||
|
*
|
||||||
|
* @input an string
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::transliterate($string);
|
||||||
|
*/
|
||||||
public static function transliterate($string)
|
public static function transliterate($string)
|
||||||
{
|
{
|
||||||
// set tag only once
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::transliterate($string);
|
||||||
if (!self::checkString(self::$langTag))
|
|
||||||
{
|
|
||||||
// get global value
|
|
||||||
self::$langTag = JComponentHelper::getParams('com_###component###')->get('language', 'en-GB');
|
|
||||||
}
|
|
||||||
// Transliterate on the language requested
|
|
||||||
$lang = Language::getInstance(self::$langTag);
|
|
||||||
return $lang->transliterate($string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* make sure a string is HTML save
|
||||||
|
*
|
||||||
|
* @input an html string
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html(...);
|
||||||
|
*/
|
||||||
public static function htmlEscape($var, $charset = 'UTF-8', $shorten = false, $length = 40)
|
public static function htmlEscape($var, $charset = 'UTF-8', $shorten = false, $length = 40)
|
||||||
{
|
{
|
||||||
if (self::checkString($var))
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html(
|
||||||
{
|
$var,
|
||||||
$filter = new JFilterInput();
|
$charset,
|
||||||
$string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML');
|
$shorten,
|
||||||
if ($shorten)
|
$length
|
||||||
{
|
);
|
||||||
return self::shorten($string,$length);
|
|
||||||
}
|
|
||||||
return $string;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
}###HELPER_LICENSE_LOCK###
|
}###HELPER_LICENSE_LOCK###
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert all int in a string to an English word string
|
||||||
|
*
|
||||||
|
* @input an string with numbers
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::numbers($string);
|
||||||
|
*/
|
||||||
public static function replaceNumbers($string)
|
public static function replaceNumbers($string)
|
||||||
{
|
{
|
||||||
// set numbers array
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::numbers($string);
|
||||||
$numbers = array();
|
|
||||||
// first get all numbers
|
|
||||||
preg_match_all('!\d+!', $string, $numbers);
|
|
||||||
// check if we have any numbers
|
|
||||||
if (isset($numbers[0]) && self::checkArray($numbers[0]))
|
|
||||||
{
|
|
||||||
foreach ($numbers[0] as $number)
|
|
||||||
{
|
|
||||||
$searchReplace[$number] = self::numberToString((int)$number);
|
|
||||||
}
|
|
||||||
// now replace numbers in string
|
|
||||||
$string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string);
|
|
||||||
// check if we missed any, strange if we did.
|
|
||||||
return self::replaceNumbers($string);
|
|
||||||
}
|
|
||||||
// return the string with no numbers remaining.
|
|
||||||
return $string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1236,107 +908,21 @@ abstract class ###Component###Helper
|
|||||||
*
|
*
|
||||||
* @input an int
|
* @input an int
|
||||||
* @returns a string
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::number($x);
|
||||||
*/
|
*/
|
||||||
public static function numberToString($x)
|
public static function numberToString($x)
|
||||||
{
|
{
|
||||||
$nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven",
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::number($x);
|
||||||
"eight", "nine", "ten", "eleven", "twelve", "thirteen",
|
|
||||||
"fourteen", "fifteen", "sixteen", "seventeen", "eighteen",
|
|
||||||
"nineteen", "twenty", 30 => "thirty", 40 => "forty",
|
|
||||||
50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty",
|
|
||||||
90 => "ninety" );
|
|
||||||
|
|
||||||
if(!is_numeric($x))
|
|
||||||
{
|
|
||||||
$w = $x;
|
|
||||||
}
|
|
||||||
elseif(fmod($x, 1) != 0)
|
|
||||||
{
|
|
||||||
$w = $x;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if($x < 0)
|
|
||||||
{
|
|
||||||
$w = 'minus ';
|
|
||||||
$x = -$x;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$w = '';
|
|
||||||
// ... now $x is a non-negative integer.
|
|
||||||
}
|
|
||||||
|
|
||||||
if($x < 21) // 0 to 20
|
|
||||||
{
|
|
||||||
$w .= $nwords[$x];
|
|
||||||
}
|
|
||||||
elseif($x < 100) // 21 to 99
|
|
||||||
{
|
|
||||||
$w .= $nwords[10 * floor($x/10)];
|
|
||||||
$r = fmod($x, 10);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' '. $nwords[$r];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elseif($x < 1000) // 100 to 999
|
|
||||||
{
|
|
||||||
$w .= $nwords[floor($x/100)] .' hundred';
|
|
||||||
$r = fmod($x, 100);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' and '. self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elseif($x < 1000000) // 1000 to 999999
|
|
||||||
{
|
|
||||||
$w .= self::numberToString(floor($x/1000)) .' thousand';
|
|
||||||
$r = fmod($x, 1000);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' ';
|
|
||||||
if($r < 100)
|
|
||||||
{
|
|
||||||
$w .= 'and ';
|
|
||||||
}
|
|
||||||
$w .= self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else // millions
|
|
||||||
{
|
|
||||||
$w .= self::numberToString(floor($x/1000000)) .' million';
|
|
||||||
$r = fmod($x, 1000000);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' ';
|
|
||||||
if($r < 100)
|
|
||||||
{
|
|
||||||
$w .= 'and ';
|
|
||||||
}
|
|
||||||
$w .= self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $w;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Random Key
|
* Random Key
|
||||||
*
|
*
|
||||||
* @returns a string
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::random($size);
|
||||||
*/
|
*/
|
||||||
public static function randomkey($size)
|
public static function randomkey($size)
|
||||||
{
|
{
|
||||||
$bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ";
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::random($size);
|
||||||
$key = array();
|
|
||||||
$bagsize = strlen($bag) - 1;
|
|
||||||
for ($i = 0; $i < $size; $i++)
|
|
||||||
{
|
|
||||||
$get = rand(0, $bagsize);
|
|
||||||
$key[] = $bag[$get];
|
|
||||||
}
|
|
||||||
return implode($key);
|
|
||||||
}###GET_CRYPT_KEY###
|
}###GET_CRYPT_KEY###
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ abstract class ###Component###Helper
|
|||||||
if (!isset(self::$composer[$target]))
|
if (!isset(self::$composer[$target]))
|
||||||
{
|
{
|
||||||
// get the function name
|
// get the function name
|
||||||
$functionName = self::safeString('compose' . $target);
|
$functionName = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe('compose' . $target);
|
||||||
// check if method exist
|
// check if method exist
|
||||||
if (method_exists(__CLASS__, $functionName))
|
if (method_exists(__CLASS__, $functionName))
|
||||||
{
|
{
|
||||||
@ -59,54 +59,22 @@ abstract class ###Component###Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert it into a string
|
* Convert a json object to a string
|
||||||
|
*
|
||||||
|
* @input string $value The json string to convert
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::string(...);
|
||||||
*/
|
*/
|
||||||
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
||||||
{
|
{
|
||||||
// do some table foot work
|
return Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::string(
|
||||||
$external = false;
|
$value,
|
||||||
if (strpos($table, '#__') !== false)
|
$sperator,
|
||||||
{
|
$table,
|
||||||
$external = true;
|
$id,
|
||||||
$table = str_replace('#__', '', $table);
|
$name
|
||||||
}
|
);
|
||||||
// check if string is JSON
|
|
||||||
$result = json_decode($value, true);
|
|
||||||
if (json_last_error() === JSON_ERROR_NONE)
|
|
||||||
{
|
|
||||||
// is JSON
|
|
||||||
if (self::checkArray($result))
|
|
||||||
{
|
|
||||||
if (self::checkString($table))
|
|
||||||
{
|
|
||||||
$names = array();
|
|
||||||
foreach ($result as $val)
|
|
||||||
{
|
|
||||||
if ($external)
|
|
||||||
{
|
|
||||||
if ($_name = self::getVar(null, $val, $id, $name, '=', $table))
|
|
||||||
{
|
|
||||||
$names[] = $_name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($_name = self::getVar($table, $val, $id, $name))
|
|
||||||
{
|
|
||||||
$names[] = $_name;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (self::checkArray($names))
|
|
||||||
{
|
|
||||||
return (string) implode($sperator,$names);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (string) implode($sperator,$result);
|
|
||||||
}
|
|
||||||
return (string) json_decode($value);
|
|
||||||
}
|
|
||||||
return $value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -129,7 +97,7 @@ abstract class ###Component###Helper
|
|||||||
public static function jVersion()
|
public static function jVersion()
|
||||||
{
|
{
|
||||||
// check if set
|
// check if set
|
||||||
if (!self::checkObject(self::$JVersion))
|
if (!Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check(self::$JVersion))
|
||||||
{
|
{
|
||||||
self::$JVersion = new JVersion();
|
self::$JVersion = new JVersion();
|
||||||
}
|
}
|
||||||
@ -167,8 +135,8 @@ abstract class ###Component###Helper
|
|||||||
$link_front = '';
|
$link_front = '';
|
||||||
$link_back = '';
|
$link_back = '';
|
||||||
}
|
}
|
||||||
$contributors[$nr]['title'] = self::htmlEscape($params->get("titleContributor".$nr));
|
$contributors[$nr]['title'] = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($params->get("titleContributor".$nr));
|
||||||
$contributors[$nr]['name'] = $link_front.self::htmlEscape($params->get("nameContributor".$nr)).$link_back;
|
$contributors[$nr]['name'] = $link_front.Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($params->get("nameContributor".$nr)).$link_back;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $contributors;
|
return $contributors;
|
||||||
@ -180,13 +148,13 @@ abstract class ###Component###Helper
|
|||||||
public static function getModel($name, $path = JPATH_COMPONENT_SITE, $Component = '###Component###', $config = array())
|
public static function getModel($name, $path = JPATH_COMPONENT_SITE, $Component = '###Component###', $config = array())
|
||||||
{
|
{
|
||||||
// fix the name
|
// fix the name
|
||||||
$name = self::safeString($name);
|
$name = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($name);
|
||||||
// full path to models
|
// full path to models
|
||||||
$fullPathModels = $path . '/models';
|
$fullPathModels = $path . '/models';
|
||||||
// load the model file
|
// load the model file
|
||||||
JModelLegacy::addIncludePath($fullPathModels, $Component . 'Model');
|
JModelLegacy::addIncludePath($fullPathModels, $Component . 'Model');
|
||||||
// make sure the table path is loaded
|
// make sure the table path is loaded
|
||||||
if (!isset($config['table_path']) || !self::checkString($config['table_path']))
|
if (!isset($config['table_path']) || !Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($config['table_path']))
|
||||||
{
|
{
|
||||||
// This is the JCB default path to tables in Joomla 3.x
|
// This is the JCB default path to tables in Joomla 3.x
|
||||||
$config['table_path'] = JPATH_ADMINISTRATOR . '/components/com_' . strtolower($Component) . '/tables';
|
$config['table_path'] = JPATH_ADMINISTRATOR . '/components/com_' . strtolower($Component) . '/tables';
|
||||||
@ -349,35 +317,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
*/
|
*/
|
||||||
public static function xmlAppend(&$xml, $node)
|
public static function xmlAppend(&$xml, $node)
|
||||||
{
|
{
|
||||||
if (!$node)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
{
|
|
||||||
// element was not returned
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (get_class($node))
|
|
||||||
{
|
|
||||||
case 'stdClass':
|
|
||||||
if (property_exists($node, 'comment'))
|
|
||||||
{
|
|
||||||
self::xmlComment($xml, $node->comment);
|
|
||||||
}
|
|
||||||
if (property_exists($node, 'fieldXML'))
|
|
||||||
{
|
|
||||||
self::xmlAppend($xml, $node->fieldXML);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'SimpleXMLElement':
|
|
||||||
$domXML = dom_import_simplexml($xml);
|
|
||||||
$domNode = dom_import_simplexml($node);
|
|
||||||
$domXML->appendChild($domXML->ownerDocument->importNode($domNode, true));
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -386,16 +331,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param string $comment The comment to inject
|
* @param string $comment The comment to inject
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
*/
|
*/
|
||||||
public static function xmlComment(&$xml, $comment)
|
public static function xmlComment(&$xml, $comment)
|
||||||
{
|
{
|
||||||
$domXML = dom_import_simplexml($xml);
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
$domComment = new DOMComment($comment);
|
|
||||||
$nodeTarget = $domXML->ownerDocument->importNode($domComment, true);
|
|
||||||
$domXML->appendChild($nodeTarget);
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -405,14 +346,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $attributes The attributes to apply to the XML element
|
* @param array $attributes The attributes to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return null
|
* @return null
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddAttributes(&$xml, $attributes = array())
|
public static function xmlAddAttributes(&$xml, $attributes = array())
|
||||||
{
|
{
|
||||||
foreach ($attributes as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
{
|
|
||||||
$xml->addAttribute($key, $value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -422,16 +360,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddOptions(&$xml, $options = array())
|
public static function xmlAddOptions(&$xml, $options = array())
|
||||||
{
|
{
|
||||||
foreach ($options as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
{
|
|
||||||
$addOption = $xml->addChild('option');
|
|
||||||
$addOption->addAttribute('value', $key);
|
|
||||||
$addOption[] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -442,28 +375,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
if (self::checkArray($attributes) && isset($attributes['type']))
|
|
||||||
{
|
|
||||||
// make sure the form helper class is loaded
|
|
||||||
if (!method_exists('JFormHelper', 'loadFieldType'))
|
|
||||||
{
|
|
||||||
jimport('joomla.form.form');
|
|
||||||
}
|
|
||||||
// get field type
|
|
||||||
$field = JFormHelper::loadFieldType($attributes['type'], true);
|
|
||||||
// get field xml
|
|
||||||
$XML = self::getFieldXML($attributes, $options);
|
|
||||||
// setup the field
|
|
||||||
$field->setup($XML, $default);
|
|
||||||
// return the field object
|
|
||||||
return $field;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -473,27 +389,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldXML(&$attributes, $options = null)
|
public static function getFieldXML(&$attributes, $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
if (self::checkArray($attributes))
|
|
||||||
{
|
|
||||||
// start field xml
|
|
||||||
$XML = new SimpleXMLElement('<field/>');
|
|
||||||
// load the attributes
|
|
||||||
self::xmlAddAttributes($XML, $attributes);
|
|
||||||
// check if we have options
|
|
||||||
if (self::checkArray($options))
|
|
||||||
{
|
|
||||||
// load the options
|
|
||||||
self::xmlAddOptions($XML, $options);
|
|
||||||
}
|
|
||||||
// return the field xml
|
|
||||||
return $XML;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -517,17 +417,17 @@ abstract class ###Component###Helper
|
|||||||
// button attributes
|
// button attributes
|
||||||
$buttonAttributes = array(
|
$buttonAttributes = array(
|
||||||
'type' => 'radio',
|
'type' => 'radio',
|
||||||
'name' => isset($args[0]) ? self::htmlEscape($args[0]) : 'bool_button',
|
'name' => isset($args[0]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[0]) : 'bool_button',
|
||||||
'label' => isset($args[0]) ? self::safeString(self::htmlEscape($args[0]), 'Ww') : 'Bool Button', // not seen anyway
|
'label' => isset($args[0]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[0]), 'Ww') : 'Bool Button', // not seen anyway
|
||||||
'class' => 'btn-group',
|
'class' => 'btn-group',
|
||||||
'filter' => 'INT',
|
'filter' => 'INT',
|
||||||
'default' => isset($args[2]) ? (int) $args[2] : 0);
|
'default' => isset($args[2]) ? (int) $args[2] : 0);
|
||||||
// set the button options
|
// set the button options
|
||||||
$buttonOptions = array(
|
$buttonOptions = array(
|
||||||
'1' => isset($args[3]) ? self::htmlEscape($args[3]) : 'JYES',
|
'1' => isset($args[3]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[3]) : 'JYES',
|
||||||
'0' => isset($args[4]) ? self::htmlEscape($args[4]) : 'JNO');
|
'0' => isset($args[4]) ? Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html($args[4]) : 'JNO');
|
||||||
// return the input
|
// return the input
|
||||||
return self::getFieldObject($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input;
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($buttonAttributes, $buttonAttributes['default'], $buttonOptions)->input;
|
||||||
}###HELPER_UIKIT######HELPER_CREATEUSER###
|
}###HELPER_UIKIT######HELPER_CREATEUSER###
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -541,46 +441,18 @@ abstract class ###Component###Helper
|
|||||||
* @param string $main The component in which the table is found
|
* @param string $main The component in which the table is found
|
||||||
*
|
*
|
||||||
* @return mix string/int/float
|
* @return mix string/int/float
|
||||||
*
|
* @deprecated 3.3 Use Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var(...);
|
||||||
*/
|
*/
|
||||||
public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###')
|
public static function getVar($table, $where = null, $whereString = 'user', $what = 'id', $operator = '=', $main = '###component###')
|
||||||
{
|
{
|
||||||
if(!$where)
|
return Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var(
|
||||||
{
|
$table,
|
||||||
$where = JFactory::getUser()->id;
|
$where,
|
||||||
}
|
$whereString,
|
||||||
// Get a db connection.
|
$what,
|
||||||
$db = JFactory::getDbo();
|
$operator,
|
||||||
// Create a new query object.
|
$main
|
||||||
$query = $db->getQuery(true);
|
);
|
||||||
$query->select($db->quoteName(array($what)));
|
|
||||||
if (empty($table))
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main.'_'.$table));
|
|
||||||
}
|
|
||||||
if (is_numeric($where))
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '.(int) $where);
|
|
||||||
}
|
|
||||||
elseif (is_string($where))
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' '.$operator.' '. $db->quote((string)$where));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
$db->setQuery($query);
|
|
||||||
$db->execute();
|
|
||||||
if ($db->getNumRows())
|
|
||||||
{
|
|
||||||
return $db->loadResult();
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -595,62 +467,19 @@ abstract class ###Component###Helper
|
|||||||
* @param bool $unique The switch to return a unique array
|
* @param bool $unique The switch to return a unique array
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*
|
* @deprecated 3.3 Use Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::vars(...);
|
||||||
*/
|
*/
|
||||||
public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true)
|
public static function getVars($table, $where = null, $whereString = 'user', $what = 'id', $operator = 'IN', $main = '###component###', $unique = true)
|
||||||
{
|
{
|
||||||
if(!$where)
|
return Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::vars(
|
||||||
{
|
$table,
|
||||||
$where = JFactory::getUser()->id;
|
$where,
|
||||||
}
|
$whereString,
|
||||||
|
$what,
|
||||||
if (!self::checkArray($where) && $where > 0)
|
$operator,
|
||||||
{
|
$main,
|
||||||
$where = array($where);
|
$unique
|
||||||
}
|
);
|
||||||
|
|
||||||
if (self::checkArray($where))
|
|
||||||
{
|
|
||||||
// prep main <-- why? well if $main='' is empty then $table can be categories or users
|
|
||||||
if (self::checkString($main))
|
|
||||||
{
|
|
||||||
$main = '_'.ltrim($main, '_');
|
|
||||||
}
|
|
||||||
// Get a db connection.
|
|
||||||
$db = JFactory::getDbo();
|
|
||||||
// Create a new query object.
|
|
||||||
$query = $db->getQuery(true);
|
|
||||||
|
|
||||||
$query->select($db->quoteName(array($what)));
|
|
||||||
if (empty($table))
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#__'.$main));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->from($db->quoteName('#_'.$main.'_'.$table));
|
|
||||||
}
|
|
||||||
// add strings to array search
|
|
||||||
if ('IN_STRINGS' === $operator || 'NOT IN_STRINGS' === $operator)
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' ' . str_replace('_STRINGS', '', $operator) . ' ("' . implode('","',$where) . '")');
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$query->where($db->quoteName($whereString) . ' ' . $operator . ' (' . implode(',',$where) . ')');
|
|
||||||
}
|
|
||||||
$db->setQuery($query);
|
|
||||||
$db->execute();
|
|
||||||
if ($db->getNumRows())
|
|
||||||
{
|
|
||||||
if ($unique)
|
|
||||||
{
|
|
||||||
return array_unique($db->loadColumn());
|
|
||||||
}
|
|
||||||
return $db->loadColumn();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function isPublished($id,$type)
|
public static function isPublished($id,$type)
|
||||||
@ -708,7 +537,7 @@ abstract class ###Component###Helper
|
|||||||
public static function getActions($view, &$record = null, $views = null, $target = null, $component = '###component###', $user = 'null')
|
public static function getActions($view, &$record = null, $views = null, $target = null, $component = '###component###', $user = 'null')
|
||||||
{
|
{
|
||||||
// load the user if not given
|
// load the user if not given
|
||||||
if (!self::checkObject($user))
|
if (!Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($user))
|
||||||
{
|
{
|
||||||
// get the user object
|
// get the user object
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
@ -716,10 +545,10 @@ abstract class ###Component###Helper
|
|||||||
// load the JObject
|
// load the JObject
|
||||||
$result = new JObject;
|
$result = new JObject;
|
||||||
// make view name safe (just incase)
|
// make view name safe (just incase)
|
||||||
$view = self::safeString($view);
|
$view = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($view);
|
||||||
if (self::checkString($views))
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($views))
|
||||||
{
|
{
|
||||||
$views = self::safeString($views);
|
$views = Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe($views);
|
||||||
}
|
}
|
||||||
// get all actions from component
|
// get all actions from component
|
||||||
$actions = JAccess::getActionsFromFile(
|
$actions = JAccess::getActionsFromFile(
|
||||||
@ -732,9 +561,9 @@ abstract class ###Component###Helper
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
// get created by if not found
|
// get created by if not found
|
||||||
if (self::checkObject($record) && !isset($record->created_by) && isset($record->id))
|
if (Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($record) && !isset($record->created_by) && isset($record->id))
|
||||||
{
|
{
|
||||||
$record->created_by = self::getVar($view, $record->id, 'id', 'created_by', '=', $component);
|
$record->created_by = Super___db87c339_5bb6_4291_a7ef_2c48ea1b06bc___Power::var($view, $record->id, 'id', 'created_by', '=', $component);
|
||||||
}
|
}
|
||||||
// set actions only set in component settings
|
// set actions only set in component settings
|
||||||
$componentActions = array('core.admin', 'core.manage', 'core.options', 'core.export');
|
$componentActions = array('core.admin', 'core.manage', 'core.options', 'core.export');
|
||||||
@ -743,12 +572,12 @@ abstract class ###Component###Helper
|
|||||||
if ($target)
|
if ($target)
|
||||||
{
|
{
|
||||||
// convert to an array
|
// convert to an array
|
||||||
if (self::checkString($target))
|
if (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($target))
|
||||||
{
|
{
|
||||||
$target = array($target);
|
$target = array($target);
|
||||||
}
|
}
|
||||||
// check if we are good to go
|
// check if we are good to go
|
||||||
if (self::checkArray($target))
|
if (Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($target))
|
||||||
{
|
{
|
||||||
$checkTarget = true;
|
$checkTarget = true;
|
||||||
}
|
}
|
||||||
@ -769,7 +598,7 @@ abstract class ###Component###Helper
|
|||||||
// set area
|
// set area
|
||||||
$area = 'comp';
|
$area = 'comp';
|
||||||
// check if the record has an ID and the action is item related (not a component action)
|
// check if the record has an ID and the action is item related (not a component action)
|
||||||
if (self::checkObject($record) && isset($record->id) && $record->id > 0 && !in_array($action->name, $componentActions) &&
|
if (Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($record) && isset($record->id) && $record->id > 0 && !in_array($action->name, $componentActions) &&
|
||||||
(strpos($action->name, 'core.') !== false || strpos($action->name, $view . '.') !== false))
|
(strpos($action->name, 'core.') !== false || strpos($action->name, $view . '.') !== false))
|
||||||
{
|
{
|
||||||
// we are in item
|
// we are in item
|
||||||
@ -802,7 +631,7 @@ abstract class ###Component###Helper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (self::checkString($views) && isset($record->catid) && $record->catid > 0)
|
elseif (Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($views) && isset($record->catid) && $record->catid > 0)
|
||||||
{
|
{
|
||||||
// we are in item
|
// we are in item
|
||||||
$area = 'category';
|
$area = 'category';
|
||||||
@ -896,15 +725,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The json string to check
|
* @input string The json string to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::check($string);
|
||||||
*/
|
*/
|
||||||
public static function checkJson($string)
|
public static function checkJson($string)
|
||||||
{
|
{
|
||||||
if (self::checkString($string))
|
return Super___4b225c51_d293_48e4_b3f6_5136cf5c3f18___Power::check($string);
|
||||||
{
|
|
||||||
json_decode($string);
|
|
||||||
return (json_last_error() === JSON_ERROR_NONE);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -913,14 +738,11 @@ abstract class ###Component###Helper
|
|||||||
* @input object The object to check
|
* @input object The object to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($object);
|
||||||
*/
|
*/
|
||||||
public static function checkObject($object)
|
public static function checkObject($object)
|
||||||
{
|
{
|
||||||
if (isset($object) && is_object($object))
|
return Super___91004529_94a9_4590_b842_e7c6b624ecf5___Power::check($object);
|
||||||
{
|
|
||||||
return count((array)$object) > 0;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -929,26 +751,11 @@ abstract class ###Component###Helper
|
|||||||
* @input array The array to check
|
* @input array The array to check
|
||||||
*
|
*
|
||||||
* @returns bool/int number of items in array on success
|
* @returns bool/int number of items in array on success
|
||||||
|
* @deprecated 3.3 Use Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($array, $removeEmptyString);
|
||||||
*/
|
*/
|
||||||
public static function checkArray($array, $removeEmptyString = false)
|
public static function checkArray($array, $removeEmptyString = false)
|
||||||
{
|
{
|
||||||
if (isset($array) && is_array($array) && ($nr = count((array)$array)) > 0)
|
return Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::check($array, $removeEmptyString);
|
||||||
{
|
|
||||||
// also make sure the empty strings are removed
|
|
||||||
if ($removeEmptyString)
|
|
||||||
{
|
|
||||||
foreach ($array as $key => $string)
|
|
||||||
{
|
|
||||||
if (empty($string))
|
|
||||||
{
|
|
||||||
unset($array[$key]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return self::checkArray($array, false);
|
|
||||||
}
|
|
||||||
return $nr;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -957,14 +764,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The string to check
|
* @input string The string to check
|
||||||
*
|
*
|
||||||
* @returns bool true on success
|
* @returns bool true on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($string);
|
||||||
*/
|
*/
|
||||||
public static function checkString($string)
|
public static function checkString($string)
|
||||||
{
|
{
|
||||||
if (isset($string) && is_string($string) && strlen($string) > 0)
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::check($string);
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -998,22 +802,11 @@ abstract class ###Component###Helper
|
|||||||
* @input array The arrays you would like to merge
|
* @input array The arrays you would like to merge
|
||||||
*
|
*
|
||||||
* @returns array on success
|
* @returns array on success
|
||||||
|
* @deprecated 3.3 Use Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::merge($arrays);
|
||||||
*/
|
*/
|
||||||
public static function mergeArrays($arrays)
|
public static function mergeArrays($arrays)
|
||||||
{
|
{
|
||||||
if(self::checkArray($arrays))
|
return Super___0a59c65c_9daf_4bc9_baf4_e063ff9e6a8a___Power::merge($arrays);
|
||||||
{
|
|
||||||
$arrayBuket = array();
|
|
||||||
foreach ($arrays as $array)
|
|
||||||
{
|
|
||||||
if (self::checkArray($array))
|
|
||||||
{
|
|
||||||
$arrayBuket = array_merge($arrayBuket, $array);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $arrayBuket;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// typo sorry!
|
// typo sorry!
|
||||||
@ -1028,39 +821,11 @@ abstract class ###Component###Helper
|
|||||||
* @input string The you would like to shorten
|
* @input string The you would like to shorten
|
||||||
*
|
*
|
||||||
* @returns string on success
|
* @returns string on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::shorten(...);
|
||||||
*/
|
*/
|
||||||
public static function shorten($string, $length = 40, $addTip = true)
|
public static function shorten($string, $length = 40, $addTip = true)
|
||||||
{
|
{
|
||||||
if (self::checkString($string))
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::shorten($string, $length, $addTip);
|
||||||
{
|
|
||||||
$initial = strlen($string);
|
|
||||||
$words = preg_split('/([\s\n\r]+)/', $string, null, PREG_SPLIT_DELIM_CAPTURE);
|
|
||||||
$words_count = count((array)$words);
|
|
||||||
|
|
||||||
$word_length = 0;
|
|
||||||
$last_word = 0;
|
|
||||||
for (; $last_word < $words_count; ++$last_word)
|
|
||||||
{
|
|
||||||
$word_length += strlen($words[$last_word]);
|
|
||||||
if ($word_length > $length)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$newString = implode(array_slice($words, 0, $last_word));
|
|
||||||
$final = strlen($newString);
|
|
||||||
if ($initial != $final && $addTip)
|
|
||||||
{
|
|
||||||
$title = self::shorten($string, 400 , false);
|
|
||||||
return '<span class="hasTip" title="'.$title.'" style="cursor:help">'.trim($newString).'...</span>';
|
|
||||||
}
|
|
||||||
elseif ($initial != $final && !$addTip)
|
|
||||||
{
|
|
||||||
return trim($newString).'...';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1069,157 +834,61 @@ abstract class ###Component###Helper
|
|||||||
* @input string The you would like to make safe
|
* @input string The you would like to make safe
|
||||||
*
|
*
|
||||||
* @returns string on success
|
* @returns string on success
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(...);
|
||||||
*/
|
*/
|
||||||
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true, $keepOnlyCharacters = true)
|
public static function safeString($string, $type = 'L', $spacer = '_', $replaceNumbers = true, $keepOnlyCharacters = true)
|
||||||
{
|
{
|
||||||
if ($replaceNumbers === true)
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::safe(
|
||||||
{
|
$string,
|
||||||
// remove all numbers and replace with english text version (works well only up to millions)
|
$type,
|
||||||
$string = self::replaceNumbers($string);
|
$spacer,
|
||||||
}
|
$replaceNumbers,
|
||||||
// 0nly continue if we have a string
|
$keepOnlyCharacters
|
||||||
if (self::checkString($string))
|
);
|
||||||
{
|
|
||||||
// create file name without the extention that is safe
|
|
||||||
if ($type === 'filename')
|
|
||||||
{
|
|
||||||
// make sure VDM is not in the string
|
|
||||||
$string = str_replace('VDM', 'vDm', $string);
|
|
||||||
// Remove anything which isn't a word, whitespace, number
|
|
||||||
// or any of the following caracters -_()
|
|
||||||
// If you don't need to handle multi-byte characters
|
|
||||||
// you can use preg_replace rather than mb_ereg_replace
|
|
||||||
// Thanks @Łukasz Rysiak!
|
|
||||||
// $string = mb_ereg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
|
||||||
$string = preg_replace("([^\w\s\d\-_\(\)])", '', $string);
|
|
||||||
// http://stackoverflow.com/a/2021729/1429677
|
|
||||||
return preg_replace('/\s+/', ' ', $string);
|
|
||||||
}
|
|
||||||
// remove all other characters
|
|
||||||
$string = trim($string);
|
|
||||||
$string = preg_replace('/'.$spacer.'+/', ' ', $string);
|
|
||||||
$string = preg_replace('/\s+/', ' ', $string);
|
|
||||||
// Transliterate string
|
|
||||||
$string = self::transliterate($string);
|
|
||||||
// remove all and keep only characters
|
|
||||||
if ($keepOnlyCharacters)
|
|
||||||
{
|
|
||||||
$string = preg_replace("/[^A-Za-z ]/", '', $string);
|
|
||||||
}
|
|
||||||
// keep both numbers and characters
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$string = preg_replace("/[^A-Za-z0-9 ]/", '', $string);
|
|
||||||
}
|
|
||||||
// select final adaptations
|
|
||||||
if ($type === 'L' || $type === 'strtolower')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// default is to return lower
|
|
||||||
return strtolower($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'W')
|
|
||||||
{
|
|
||||||
// return a string with all first letter of each word uppercase(no undersocre)
|
|
||||||
return ucwords(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'w' || $type === 'word')
|
|
||||||
{
|
|
||||||
// return a string with all lowercase(no undersocre)
|
|
||||||
return strtolower($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'Ww' || $type === 'Word')
|
|
||||||
{
|
|
||||||
// return a string with first letter of the first word uppercase and all the rest lowercase(no undersocre)
|
|
||||||
return ucfirst(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'WW' || $type === 'WORD')
|
|
||||||
{
|
|
||||||
// return a string with all the uppercase(no undersocre)
|
|
||||||
return strtoupper($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'U' || $type === 'strtoupper')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// return all upper
|
|
||||||
return strtoupper($string);
|
|
||||||
}
|
|
||||||
elseif ($type === 'F' || $type === 'ucfirst')
|
|
||||||
{
|
|
||||||
// replace white space with underscore
|
|
||||||
$string = preg_replace('/\s+/', $spacer, $string);
|
|
||||||
// return with first caracter to upper
|
|
||||||
return ucfirst(strtolower($string));
|
|
||||||
}
|
|
||||||
elseif ($type === 'cA' || $type === 'cAmel' || $type === 'camelcase')
|
|
||||||
{
|
|
||||||
// convert all words to first letter uppercase
|
|
||||||
$string = ucwords(strtolower($string));
|
|
||||||
// remove white space
|
|
||||||
$string = preg_replace('/\s+/', '', $string);
|
|
||||||
// now return first letter lowercase
|
|
||||||
return lcfirst($string);
|
|
||||||
}
|
|
||||||
// return string
|
|
||||||
return $string;
|
|
||||||
}
|
|
||||||
// not a string
|
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert none English strings to code usable string
|
||||||
|
*
|
||||||
|
* @input an string
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::transliterate($string);
|
||||||
|
*/
|
||||||
public static function transliterate($string)
|
public static function transliterate($string)
|
||||||
{
|
{
|
||||||
// set tag only once
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::transliterate($string);
|
||||||
if (!self::checkString(self::$langTag))
|
|
||||||
{
|
|
||||||
// get global value
|
|
||||||
self::$langTag = JComponentHelper::getParams('com_###component###')->get('language', 'en-GB');
|
|
||||||
}
|
|
||||||
// Transliterate on the language requested
|
|
||||||
$lang = Language::getInstance(self::$langTag);
|
|
||||||
return $lang->transliterate($string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* make sure a string is HTML save
|
||||||
|
*
|
||||||
|
* @input an html string
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html(...);
|
||||||
|
*/
|
||||||
public static function htmlEscape($var, $charset = 'UTF-8', $shorten = false, $length = 40)
|
public static function htmlEscape($var, $charset = 'UTF-8', $shorten = false, $length = 40)
|
||||||
{
|
{
|
||||||
if (self::checkString($var))
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::html(
|
||||||
{
|
$var,
|
||||||
$filter = new JFilterInput();
|
$charset,
|
||||||
$string = $filter->clean(html_entity_decode(htmlentities($var, ENT_COMPAT, $charset)), 'HTML');
|
$shorten,
|
||||||
if ($shorten)
|
$length
|
||||||
{
|
);
|
||||||
return self::shorten($string,$length);
|
|
||||||
}
|
|
||||||
return $string;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
}###HELPER_SITE_LICENSE_LOCK###
|
}###HELPER_SITE_LICENSE_LOCK###
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert all int in a string to an English word string
|
||||||
|
*
|
||||||
|
* @input an string with numbers
|
||||||
|
*
|
||||||
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::numbers($string);
|
||||||
|
*/
|
||||||
public static function replaceNumbers($string)
|
public static function replaceNumbers($string)
|
||||||
{
|
{
|
||||||
// set numbers array
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::numbers($string);
|
||||||
$numbers = array();
|
|
||||||
// first get all numbers
|
|
||||||
preg_match_all('!\d+!', $string, $numbers);
|
|
||||||
// check if we have any numbers
|
|
||||||
if (isset($numbers[0]) && self::checkArray($numbers[0]))
|
|
||||||
{
|
|
||||||
foreach ($numbers[0] as $number)
|
|
||||||
{
|
|
||||||
$searchReplace[$number] = self::numberToString((int)$number);
|
|
||||||
}
|
|
||||||
// now replace numbers in string
|
|
||||||
$string = str_replace(array_keys($searchReplace), array_values($searchReplace),$string);
|
|
||||||
// check if we missed any, strange if we did.
|
|
||||||
return self::replaceNumbers($string);
|
|
||||||
}
|
|
||||||
// return the string with no numbers remaining.
|
|
||||||
return $string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1228,107 +897,21 @@ abstract class ###Component###Helper
|
|||||||
*
|
*
|
||||||
* @input an int
|
* @input an int
|
||||||
* @returns a string
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::number($x);
|
||||||
*/
|
*/
|
||||||
public static function numberToString($x)
|
public static function numberToString($x)
|
||||||
{
|
{
|
||||||
$nwords = array( "zero", "one", "two", "three", "four", "five", "six", "seven",
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::number($x);
|
||||||
"eight", "nine", "ten", "eleven", "twelve", "thirteen",
|
|
||||||
"fourteen", "fifteen", "sixteen", "seventeen", "eighteen",
|
|
||||||
"nineteen", "twenty", 30 => "thirty", 40 => "forty",
|
|
||||||
50 => "fifty", 60 => "sixty", 70 => "seventy", 80 => "eighty",
|
|
||||||
90 => "ninety" );
|
|
||||||
|
|
||||||
if(!is_numeric($x))
|
|
||||||
{
|
|
||||||
$w = $x;
|
|
||||||
}
|
|
||||||
elseif(fmod($x, 1) != 0)
|
|
||||||
{
|
|
||||||
$w = $x;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if($x < 0)
|
|
||||||
{
|
|
||||||
$w = 'minus ';
|
|
||||||
$x = -$x;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$w = '';
|
|
||||||
// ... now $x is a non-negative integer.
|
|
||||||
}
|
|
||||||
|
|
||||||
if($x < 21) // 0 to 20
|
|
||||||
{
|
|
||||||
$w .= $nwords[$x];
|
|
||||||
}
|
|
||||||
elseif($x < 100) // 21 to 99
|
|
||||||
{
|
|
||||||
$w .= $nwords[10 * floor($x/10)];
|
|
||||||
$r = fmod($x, 10);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' '. $nwords[$r];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elseif($x < 1000) // 100 to 999
|
|
||||||
{
|
|
||||||
$w .= $nwords[floor($x/100)] .' hundred';
|
|
||||||
$r = fmod($x, 100);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' and '. self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
elseif($x < 1000000) // 1000 to 999999
|
|
||||||
{
|
|
||||||
$w .= self::numberToString(floor($x/1000)) .' thousand';
|
|
||||||
$r = fmod($x, 1000);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' ';
|
|
||||||
if($r < 100)
|
|
||||||
{
|
|
||||||
$w .= 'and ';
|
|
||||||
}
|
|
||||||
$w .= self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else // millions
|
|
||||||
{
|
|
||||||
$w .= self::numberToString(floor($x/1000000)) .' million';
|
|
||||||
$r = fmod($x, 1000000);
|
|
||||||
if($r > 0)
|
|
||||||
{
|
|
||||||
$w .= ' ';
|
|
||||||
if($r < 100)
|
|
||||||
{
|
|
||||||
$w .= 'and ';
|
|
||||||
}
|
|
||||||
$w .= self::numberToString($r);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $w;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Random Key
|
* Random Key
|
||||||
*
|
*
|
||||||
* @returns a string
|
* @returns a string
|
||||||
|
* @deprecated 3.3 Use Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::random($size);
|
||||||
*/
|
*/
|
||||||
public static function randomkey($size)
|
public static function randomkey($size)
|
||||||
{
|
{
|
||||||
$bag = "abcefghijknopqrstuwxyzABCDDEFGHIJKLLMMNOPQRSTUVVWXYZabcddefghijkllmmnopqrstuvvwxyzABCEFGHIJKNOPQRSTUWXYZ";
|
return Super___1f28cb53_60d9_4db1_b517_3c7dc6b429ef___Power::random($size);
|
||||||
$key = array();
|
|
||||||
$bagsize = strlen($bag) - 1;
|
|
||||||
for ($i = 0; $i < $size; $i++)
|
|
||||||
{
|
|
||||||
$get = rand(0, $bagsize);
|
|
||||||
$key[] = $bag[$get];
|
|
||||||
}
|
|
||||||
return implode($key);
|
|
||||||
}###GET_CRYPT_KEY###
|
}###GET_CRYPT_KEY###
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class ###Component###View###SView### extends HtmlView
|
|||||||
protected function setDocument()
|
protected function setDocument()
|
||||||
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_DOCUMENT_METADATA######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
|
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_DOCUMENT_METADATA######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
|
||||||
// add the document default css file
|
// add the document default css file
|
||||||
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
|
JHtml::_('stylesheet', 'administrator/components/com_###component###/assets/css/###sview###.css', ['version' => 'auto']);###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -43,7 +43,7 @@ class ###Component###View###SViews### extends HtmlView
|
|||||||
protected function setDocument()
|
protected function setDocument()
|
||||||
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
|
{###CUSTOM_ADMIN_LIBRARIES_LOADER######CUSTOM_ADMIN_UIKIT_LOADER######CUSTOM_ADMIN_GOOGLECHART_LOADER######CUSTOM_ADMIN_FOOTABLE_LOADER######CUSTOM_ADMIN_DOCUMENT_CUSTOM_PHP###
|
||||||
// add the document default css file
|
// add the document default css file
|
||||||
$this->document->addStyleSheet(JURI::root(true) .'/administrator/components/com_###component###/assets/css/###sviews###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
|
JHtml::_('stylesheet', 'administrator/components/com_###component###/assets/css/###sviews###.css', ['version' => 'auto']);###CUSTOM_ADMIN_DOCUMENT_CUSTOM_CSS######CUSTOM_ADMIN_DOCUMENT_CUSTOM_JS###
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -41,7 +41,7 @@ class ###Component###View###SViews### extends HtmlView
|
|||||||
protected function _prepareDocument()
|
protected function _prepareDocument()
|
||||||
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
|
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
|
||||||
// add the document default css file
|
// add the document default css file
|
||||||
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
|
JHtml::_('stylesheet', 'components/com_###component###/assets/css/###sview###.css', ['version' => 'auto']);###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -41,7 +41,7 @@ class ###Component###View###SView### extends HtmlView
|
|||||||
protected function _prepareDocument()
|
protected function _prepareDocument()
|
||||||
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
|
{###SITE_LIBRARIES_LOADER######SITE_UIKIT_LOADER######SITE_GOOGLECHART_LOADER######SITE_FOOTABLE_LOADER######SITE_DOCUMENT_METADATA######SITE_DOCUMENT_CUSTOM_PHP###
|
||||||
// add the document default css file
|
// add the document default css file
|
||||||
$this->document->addStyleSheet(JURI::root(true) .'/components/com_###component###/assets/css/###sview###.css', (###Component###Helper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
|
JHtml::_('stylesheet', 'components/com_###component###/assets/css/###sview###.css', ['version' => 'auto']);###SITE_DOCUMENT_CUSTOM_CSS######SITE_DOCUMENT_CUSTOM_JS######SITE_JAVASCRIPT_FOR_BUTTONS###
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -551,35 +551,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
*/
|
*/
|
||||||
public static function xmlAppend(&$xml, $node)
|
public static function xmlAppend(&$xml, $node)
|
||||||
{
|
{
|
||||||
if (!$node)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
{
|
|
||||||
// element was not returned
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (get_class($node))
|
|
||||||
{
|
|
||||||
case 'stdClass':
|
|
||||||
if (property_exists($node, 'comment'))
|
|
||||||
{
|
|
||||||
self::xmlComment($xml, $node->comment);
|
|
||||||
}
|
|
||||||
if (property_exists($node, 'fieldXML'))
|
|
||||||
{
|
|
||||||
self::xmlAppend($xml, $node->fieldXML);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'SimpleXMLElement':
|
|
||||||
$domXML = dom_import_simplexml($xml);
|
|
||||||
$domNode = dom_import_simplexml($node);
|
|
||||||
$domXML->appendChild($domXML->ownerDocument->importNode($domNode, true));
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -588,16 +565,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param string $comment The comment to inject
|
* @param string $comment The comment to inject
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
*/
|
*/
|
||||||
public static function xmlComment(&$xml, $comment)
|
public static function xmlComment(&$xml, $comment)
|
||||||
{
|
{
|
||||||
$domXML = dom_import_simplexml($xml);
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
$domComment = new DOMComment($comment);
|
|
||||||
$nodeTarget = $domXML->ownerDocument->importNode($domComment, true);
|
|
||||||
$domXML->appendChild($nodeTarget);
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -607,14 +580,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $attributes The attributes to apply to the XML element
|
* @param array $attributes The attributes to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return null
|
* @return null
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddAttributes(&$xml, $attributes = array())
|
public static function xmlAddAttributes(&$xml, $attributes = array())
|
||||||
{
|
{
|
||||||
foreach ($attributes as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
{
|
|
||||||
$xml->addAttribute($key, $value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -624,16 +594,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddOptions(&$xml, $options = array())
|
public static function xmlAddOptions(&$xml, $options = array())
|
||||||
{
|
{
|
||||||
foreach ($options as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
{
|
|
||||||
$addOption = $xml->addChild('option');
|
|
||||||
$addOption->addAttribute('value', $key);
|
|
||||||
$addOption[] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -644,28 +609,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
if (self::checkArray($attributes) && isset($attributes['type']))
|
|
||||||
{
|
|
||||||
// make sure the form helper class is loaded
|
|
||||||
if (!method_exists('JFormHelper', 'loadFieldType'))
|
|
||||||
{
|
|
||||||
jimport('joomla.form.form');
|
|
||||||
}
|
|
||||||
// get field type
|
|
||||||
$field = JFormHelper::loadFieldType($attributes['type'], true);
|
|
||||||
// get field xml
|
|
||||||
$XML = self::getFieldXML($attributes, $options);
|
|
||||||
// setup the field
|
|
||||||
$field->setup($XML, $default);
|
|
||||||
// return the field object
|
|
||||||
return $field;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -675,27 +623,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldXML(&$attributes, $options = null)
|
public static function getFieldXML(&$attributes, $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
if (self::checkArray($attributes))
|
|
||||||
{
|
|
||||||
// start field xml
|
|
||||||
$XML = new SimpleXMLElement('<field/>');
|
|
||||||
// load the attributes
|
|
||||||
self::xmlAddAttributes($XML, $attributes);
|
|
||||||
// check if we have options
|
|
||||||
if (self::checkArray($options))
|
|
||||||
{
|
|
||||||
// load the options
|
|
||||||
self::xmlAddOptions($XML, $options);
|
|
||||||
}
|
|
||||||
// return the field xml
|
|
||||||
return $XML;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -303,35 +303,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
* @param mixed $node A SimpleXMLElement node to append to the XML element reference, or a stdClass object containing a comment attribute to be injected before the XML node and a fieldXML attribute containing a SimpleXMLElement
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
*/
|
*/
|
||||||
public static function xmlAppend(&$xml, $node)
|
public static function xmlAppend(&$xml, $node)
|
||||||
{
|
{
|
||||||
if (!$node)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::append($xml, $node);
|
||||||
{
|
|
||||||
// element was not returned
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
switch (get_class($node))
|
|
||||||
{
|
|
||||||
case 'stdClass':
|
|
||||||
if (property_exists($node, 'comment'))
|
|
||||||
{
|
|
||||||
self::xmlComment($xml, $node->comment);
|
|
||||||
}
|
|
||||||
if (property_exists($node, 'fieldXML'))
|
|
||||||
{
|
|
||||||
self::xmlAppend($xml, $node->fieldXML);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'SimpleXMLElement':
|
|
||||||
$domXML = dom_import_simplexml($xml);
|
|
||||||
$domNode = dom_import_simplexml($node);
|
|
||||||
$domXML->appendChild($domXML->ownerDocument->importNode($domNode, true));
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -340,16 +317,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param string $comment The comment to inject
|
* @param string $comment The comment to inject
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
*/
|
*/
|
||||||
public static function xmlComment(&$xml, $comment)
|
public static function xmlComment(&$xml, $comment)
|
||||||
{
|
{
|
||||||
$domXML = dom_import_simplexml($xml);
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::comment($xml, $comment);
|
||||||
$domComment = new DOMComment($comment);
|
|
||||||
$nodeTarget = $domXML->ownerDocument->importNode($domComment, true);
|
|
||||||
$domXML->appendChild($nodeTarget);
|
|
||||||
$xml = simplexml_import_dom($domXML);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -358,15 +331,12 @@ abstract class ###Component###Helper
|
|||||||
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
* @param SimpleXMLElement $xml The XML element reference in which to inject a comment
|
||||||
* @param array $attributes The attributes to apply to the XML element
|
* @param array $attributes The attributes to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return null
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddAttributes(&$xml, $attributes = array())
|
public static function xmlAddAttributes(&$xml, $attributes = array())
|
||||||
{
|
{
|
||||||
foreach ($attributes as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::attributes($xml, $attributes);
|
||||||
{
|
|
||||||
$xml->addAttribute($key, $value);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -376,16 +346,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
*/
|
*/
|
||||||
public static function xmlAddOptions(&$xml, $options = array())
|
public static function xmlAddOptions(&$xml, $options = array())
|
||||||
{
|
{
|
||||||
foreach ($options as $key => $value)
|
Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::options($xml, $options);
|
||||||
{
|
|
||||||
$addOption = $xml->addChild('option');
|
|
||||||
$addOption->addAttribute('value', $key);
|
|
||||||
$addOption[] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -396,28 +361,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
public static function getFieldObject(&$attributes, $default = '', $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::field($attributes, $default, $options);
|
||||||
if (self::checkArray($attributes) && isset($attributes['type']))
|
|
||||||
{
|
|
||||||
// make sure the form helper class is loaded
|
|
||||||
if (!method_exists('JFormHelper', 'loadFieldType'))
|
|
||||||
{
|
|
||||||
jimport('joomla.form.form');
|
|
||||||
}
|
|
||||||
// get field type
|
|
||||||
$field = JFormHelper::loadFieldType($attributes['type'], true);
|
|
||||||
// get field xml
|
|
||||||
$XML = self::getFieldXML($attributes, $options);
|
|
||||||
// setup the field
|
|
||||||
$field->setup($XML, $default);
|
|
||||||
// return the field object
|
|
||||||
return $field;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -427,27 +375,11 @@ abstract class ###Component###Helper
|
|||||||
* @param array $options The options to apply to the XML element
|
* @param array $options The options to apply to the XML element
|
||||||
*
|
*
|
||||||
* @return object
|
* @return object
|
||||||
*
|
* @deprecated 3.3 Use Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
*/
|
*/
|
||||||
public static function getFieldXML(&$attributes, $options = null)
|
public static function getFieldXML(&$attributes, $options = null)
|
||||||
{
|
{
|
||||||
// make sure we have attributes and a type value
|
return Super___1198aecf_84c6_45d2_aea8_d531aa4afdfa___Power::xml($attributes, $options);
|
||||||
if (self::checkArray($attributes))
|
|
||||||
{
|
|
||||||
// start field xml
|
|
||||||
$XML = new SimpleXMLElement('<field/>');
|
|
||||||
// load the attributes
|
|
||||||
self::xmlAddAttributes($XML, $attributes);
|
|
||||||
// check if we have options
|
|
||||||
if (self::checkArray($options))
|
|
||||||
{
|
|
||||||
// load the options
|
|
||||||
self::xmlAddOptions($XML, $options);
|
|
||||||
}
|
|
||||||
// return the field xml
|
|
||||||
return $XML;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
###BOM###
|
###BOM###
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');###ADMIN_POWER_HELPER###
|
||||||
|
|
||||||
###ADMIN_COMPONENT_HEADER###
|
###ADMIN_COMPONENT_HEADER###
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
###BOM###
|
###BOM###
|
||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');###ADMIN_POWER_HELPER###
|
||||||
|
|
||||||
###SITE_COMPONENT_HEADER###
|
###SITE_COMPONENT_HEADER###
|
||||||
|
|
||||||
|
10
admin/compiler/joomla_3/getBible.txt
Normal file
10
admin/compiler/joomla_3/getBible.txt
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* @package getBible.net
|
||||||
|
*
|
||||||
|
* @created ###CREATIONDATE###
|
||||||
|
* @author ###AUTHOR### <###AUTHORWEBSITE###>
|
||||||
|
* @git Get Bible <https://git.vdm.dev/getBible>
|
||||||
|
* @github Get Bible <https://github.com/getBible>
|
||||||
|
* @copyright ###COPYRIGHT###
|
||||||
|
* @license ###LICENSE###
|
||||||
|
*/
|
@ -12,6 +12,61 @@
|
|||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
// add the autoloader for the composer classes
|
||||||
|
$composer_autoloader = JPATH_LIBRARIES . '/phpseclib3/vendor/autoload.php';
|
||||||
|
if (file_exists($composer_autoloader))
|
||||||
|
{
|
||||||
|
require_once $composer_autoloader;
|
||||||
|
}
|
||||||
|
|
||||||
|
// register this component namespace
|
||||||
|
spl_autoload_register(function ($class) {
|
||||||
|
// project-specific base directories and namespace prefix
|
||||||
|
$search = [
|
||||||
|
'libraries/jcb_powers/VDM.Joomla.Openai' => 'VDM\\Joomla\\Openai',
|
||||||
|
'libraries/jcb_powers/VDM.Joomla.Gitea' => 'VDM\\Joomla\\Gitea',
|
||||||
|
'libraries/jcb_powers/VDM.Joomla.FOF' => 'VDM\\Joomla\\FOF',
|
||||||
|
'libraries/jcb_powers/VDM.Joomla' => 'VDM\\Joomla',
|
||||||
|
'libraries/jcb_powers/VDM.Minify' => 'VDM\\Minify',
|
||||||
|
'libraries/jcb_powers/VDM.Psr' => 'VDM\\Psr'
|
||||||
|
];
|
||||||
|
// 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.
|
// Access check.
|
||||||
|
225
admin/config.xml
225
admin/config.xml
@ -289,6 +289,18 @@
|
|||||||
name="uikit_config"
|
name="uikit_config"
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_UIKIT_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC">
|
description="COM_COMPONENTBUILDER_CONFIG_UIKIT_DESC">
|
||||||
|
<field name="add_jquery_framework"
|
||||||
|
type="radio"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_JQUERY_LOAD_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_JQUERY_LOAD_DESC"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_JQUERY_REMOVE</option>"
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_JQUERY_LOAD</option>"
|
||||||
|
</field>
|
||||||
<field name="uikit_load"
|
<field name="uikit_load"
|
||||||
type="radio"
|
type="radio"
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_UIKIT_LOAD_LABEL"
|
label="COM_COMPONENTBUILDER_CONFIG_UIKIT_LOAD_LABEL"
|
||||||
@ -679,6 +691,219 @@
|
|||||||
default=""
|
default=""
|
||||||
/>
|
/>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
<fieldset
|
||||||
|
name="super_power_custom_config"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWER">
|
||||||
|
|
||||||
|
<!-- Note_not_ready_super_powers Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_not_ready_super_powers" label="COM_COMPONENTBUILDER_CONFIG_NOTE_NOT_READY_SUPER_POWERS_LABEL" heading="h2" class="alert alert-error note_not_ready_super_powers" />
|
||||||
|
<!-- Super_powers_documentation Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="super_powers_documentation"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_DOCUMENTATION_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_DOCUMENTATION_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_SHOW</option>
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_HIDE</option>
|
||||||
|
</field>
|
||||||
|
<!-- Note_super_powers Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_super_powers" label="COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_DESCRIPTION" heading="h4" class="alert alert-info note_super_powers" showon="super_powers_documentation:1" />
|
||||||
|
<!-- Powers_repository Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="powers_repository"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_POWERS_REPOSITORY_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_POWERS_REPOSITORY_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0"
|
||||||
|
required="true">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_YES</option>
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_NO</option>
|
||||||
|
</field>
|
||||||
|
<!-- Super_powers_repositories Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="super_powers_repositories"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_REPOSITORIES_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_REPOSITORIES_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0"
|
||||||
|
required="true"
|
||||||
|
showon="powers_repository:1">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_YES</option>
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_NO</option>
|
||||||
|
</field>
|
||||||
|
<!-- Note_super_powers_repositories Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_super_powers_repositories" label="COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_REPOSITORIES_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_SUPER_POWERS_REPOSITORIES_DESCRIPTION" heading="h4" class="alert alert-info note_super_powers_repositories" showon="powers_repository:1[AND]super_powers_repositories:1" />
|
||||||
|
<!-- Approved_paths Field. Type: Subform. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="subform"
|
||||||
|
name="approved_paths"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_APPROVED_PATHS_LABEL"
|
||||||
|
layout="joomla.form.field.subform.repeatable-table"
|
||||||
|
multiple="true"
|
||||||
|
buttons="add,remove,move"
|
||||||
|
icon="list"
|
||||||
|
max="30"
|
||||||
|
min="1"
|
||||||
|
showon="powers_repository:1[AND]super_powers_repositories:1">
|
||||||
|
<form hidden="true" name="list_approved_paths_modal" repeat="true">
|
||||||
|
<!-- Owner Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="owner"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_OWNER_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
class="text_area span12"
|
||||||
|
readonly="false"
|
||||||
|
filter="CMD"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_OWNER_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
/>
|
||||||
|
<!-- Repo Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="repo"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_REPO_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
class="text_area span12"
|
||||||
|
readonly="false"
|
||||||
|
filter="CMD"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_REPO_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
/>
|
||||||
|
<!-- Branch Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="branch"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_BRANCH_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
default="default"
|
||||||
|
class="text_area span12"
|
||||||
|
readonly="false"
|
||||||
|
filter="CMD"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_BRANCH_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
/>
|
||||||
|
</form>
|
||||||
|
</field>
|
||||||
|
<!-- Note_powers_repository_path Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_powers_repository_path" label="COM_COMPONENTBUILDER_CONFIG_NOTE_POWERS_REPOSITORY_PATH_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_POWERS_REPOSITORY_PATH_DESCRIPTION" heading="h4" class="alert alert-info note_powers_repository_path" showon="powers_repository:1" />
|
||||||
|
<!-- Local_powers_repository_path Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="local_powers_repository_path"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_LOCAL_POWERS_REPOSITORY_PATH_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_LOCAL_POWERS_REPOSITORY_PATH_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
readonly="false"
|
||||||
|
disabled="false"
|
||||||
|
required="false"
|
||||||
|
filter="PATH"
|
||||||
|
message="COM_COMPONENTBUILDER_CONFIG_LOCAL_POWERS_REPOSITORY_PATH_MESSAGE"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_LOCAL_POWERS_REPOSITORY_PATH_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
showon="powers_repository:1"
|
||||||
|
/>
|
||||||
|
<!-- Add_custom_gitea_url Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="add_custom_gitea_url"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_ADD_CUSTOM_GITEA_URL_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_ADD_CUSTOM_GITEA_URL_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="1">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_GITVDMDEV</option>
|
||||||
|
<option value="2">
|
||||||
|
COM_COMPONENTBUILDER_CONFIG_CUSTOMGITEA</option>
|
||||||
|
</field>
|
||||||
|
<!-- Note_custom_gitea_url Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_custom_gitea_url" label="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_GITEA_URL_LABEL" description="COM_COMPONENTBUILDER_CONFIG_NOTE_CUSTOM_GITEA_URL_DESCRIPTION" heading="h3" class="alert alert-success note_custom_gitea_url" showon="add_custom_gitea_url:2" />
|
||||||
|
<!-- Custom_gitea_url Field. Type: Url. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="url"
|
||||||
|
name="custom_gitea_url"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_URL_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
default="https://git.vdm.dev"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_URL_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
filter="url"
|
||||||
|
validated="url"
|
||||||
|
scheme="http,https"
|
||||||
|
message="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_URL_MESSAGE"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_URL_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
showon="add_custom_gitea_url:2"
|
||||||
|
/>
|
||||||
|
<!-- Custom_gitea_token Field. Type: Password. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="password"
|
||||||
|
name="custom_gitea_token"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_TOKEN_LABEL"
|
||||||
|
size="128"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_TOKEN_DESCRIPTION"
|
||||||
|
message="Error! Please add token here."
|
||||||
|
class="text_area"
|
||||||
|
readonly="false"
|
||||||
|
disabled="false"
|
||||||
|
required="false"
|
||||||
|
filter="STRING"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_CUSTOM_GITEA_TOKEN_HINT"
|
||||||
|
autocomplete="off"
|
||||||
|
showon="add_custom_gitea_url:2"
|
||||||
|
/>
|
||||||
|
<!-- Super_powers_core_organisation_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="super_powers_core_organisation_note" label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_ORGANISATION_NOTE_LABEL" description="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_ORGANISATION_NOTE_DESCRIPTION" heading="h4" class="alert alert-success super_powers_core_organisation_note" showon="add_custom_gitea_url:2" />
|
||||||
|
<!-- Super_powers_core_organisation Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="super_powers_core_organisation"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_ORGANISATION_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
default="joomla"
|
||||||
|
description="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_ORGANISATION_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
filter="WORD"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_ORGANISATION_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
showon="add_custom_gitea_url:2"
|
||||||
|
/>
|
||||||
|
<!-- Super_powers_core Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="super_powers_core"
|
||||||
|
label="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_LABEL"
|
||||||
|
size="70"
|
||||||
|
maxlength="150"
|
||||||
|
default="joomla/super-powers"
|
||||||
|
class="text_area"
|
||||||
|
filter="PATH"
|
||||||
|
hint="COM_COMPONENTBUILDER_CONFIG_SUPER_POWERS_CORE_HINT"
|
||||||
|
autocomplete="on"
|
||||||
|
showon="add_custom_gitea_url:2"
|
||||||
|
/>
|
||||||
|
</fieldset>
|
||||||
<fieldset
|
<fieldset
|
||||||
name="compiler_custom_config"
|
name="compiler_custom_config"
|
||||||
label="COM_COMPONENTBUILDER_CONFIG_COMPILER">
|
label="COM_COMPONENTBUILDER_CONFIG_COMPILER">
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerAdmin_custom_tabs extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_custom_tabs.create', $this->option);
|
return $user->authorise('admin_custom_tabs.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerAdmin_fields extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields.create', $this->option);
|
return $user->authorise('admin_fields.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerAdmin_fields_conditions extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields_conditions.create', $this->option);
|
return $user->authorise('admin_fields_conditions.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerAdmin_fields_relations extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields_relations.create', $this->option);
|
return $user->authorise('admin_fields_relations.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerAdmin_view extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_view.create', $this->option);
|
return $user->authorise('admin_view.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_views Admin Controller
|
* Admin_views Admin Controller
|
||||||
@ -131,7 +132,7 @@ class ComponentbuilderControllerAdmin_views extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerClass_extends extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('class_extends.create', $this->option);
|
return $user->authorise('class_extends.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerClass_method extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('class_method.create', $this->option);
|
return $user->authorise('class_method.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerClass_property extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('class_property.create', $this->option);
|
return $user->authorise('class_property.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
use VDM\Joomla\Componentbuilder\Compiler\Factory as CFactory;
|
use VDM\Joomla\Componentbuilder\Compiler\Factory as CFactory;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compiler Admin Controller
|
* Compiler Admin Controller
|
||||||
@ -125,9 +127,9 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
$url = JURI::root() . substr($model->compiler->filepath['component'], $pos + 1);
|
$url = JURI::root() . substr($model->compiler->filepath['component'], $pos + 1);
|
||||||
}
|
}
|
||||||
// check if we have plugins
|
// check if we have plugins
|
||||||
$add_plugin_install = ComponentbuilderHelper::checkArray($model->compiler->filepath['plugins'], true);
|
$add_plugin_install = UtilitiesArrayHelper::check($model->compiler->filepath['plugins'], true);
|
||||||
// check if we have modules
|
// check if we have modules
|
||||||
$add_module_install = ComponentbuilderHelper::checkArray($model->compiler->filepath['modules'], true);
|
$add_module_install = UtilitiesArrayHelper::check($model->compiler->filepath['modules'], true);
|
||||||
// if a multi install we set another kind of header
|
// if a multi install we set another kind of header
|
||||||
if ($add_plugin_install || $add_module_install)
|
if ($add_plugin_install || $add_module_install)
|
||||||
{
|
{
|
||||||
@ -225,7 +227,7 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
$message[] = '<br /><small>Hey! you can also download these zip files right now!</small><br />';
|
$message[] = '<br /><small>Hey! you can also download these zip files right now!</small><br />';
|
||||||
$message[] = '<a class="btn btn-success" href="' . $url . '" ><span class="icon-download icon-white"></span>Download Component</a> ';
|
$message[] = '<a class="btn btn-success" href="' . $url . '" ><span class="icon-download icon-white"></span>Download Component</a> ';
|
||||||
// load the module download URL's
|
// load the module download URL's
|
||||||
if (isset($module_urls) && ComponentbuilderHelper::checkArray($module_urls))
|
if (isset($module_urls) && UtilitiesArrayHelper::check($module_urls))
|
||||||
{
|
{
|
||||||
foreach ($module_urls as $module_id => $module_url)
|
foreach ($module_urls as $module_id => $module_url)
|
||||||
{
|
{
|
||||||
@ -234,7 +236,7 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// load the plugin download URL's
|
// load the plugin download URL's
|
||||||
if (isset($plugin_urls) && ComponentbuilderHelper::checkArray($plugin_urls))
|
if (isset($plugin_urls) && UtilitiesArrayHelper::check($plugin_urls))
|
||||||
{
|
{
|
||||||
foreach ($plugin_urls as $plugin_id => $plugin_url)
|
foreach ($plugin_urls as $plugin_id => $plugin_url)
|
||||||
{
|
{
|
||||||
@ -259,7 +261,7 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
$app->setUserState('com_componentbuilder.success_message',
|
$app->setUserState('com_componentbuilder.success_message',
|
||||||
CFactory::_('Placeholder')->update(
|
CFactory::_('Placeholder')->update(
|
||||||
implode(PHP_EOL, $message),
|
implode(PHP_EOL, $message),
|
||||||
CFactory::_('Content')->active
|
CFactory::_('Compiler.Builder.Content.One')->allActive()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
// set redirect
|
// set redirect
|
||||||
@ -318,9 +320,9 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
$fileNames = array();
|
$fileNames = array();
|
||||||
$fileNames[] = $app->getUserState('com_componentbuilder.component_folder_name', null);
|
$fileNames[] = $app->getUserState('com_componentbuilder.component_folder_name', null);
|
||||||
// check if we have modules
|
// check if we have modules
|
||||||
$fileNames = ComponentbuilderHelper::mergeArrays(array($fileNames, $app->getUserState('com_componentbuilder.modules_folder_name', array()) ));
|
$fileNames = UtilitiesArrayHelper::merge(array($fileNames, $app->getUserState('com_componentbuilder.modules_folder_name', array()) ));
|
||||||
// check if we have plugins
|
// check if we have plugins
|
||||||
$fileNames = ComponentbuilderHelper::mergeArrays(array($fileNames, $app->getUserState('com_componentbuilder.plugins_folder_name', array()) ));
|
$fileNames = UtilitiesArrayHelper::merge(array($fileNames, $app->getUserState('com_componentbuilder.plugins_folder_name', array()) ));
|
||||||
|
|
||||||
// wipe out the user c-m-p since we are done with them all
|
// wipe out the user c-m-p since we are done with them all
|
||||||
$app->setUserState('com_componentbuilder.component_folder_name', '');
|
$app->setUserState('com_componentbuilder.component_folder_name', '');
|
||||||
@ -341,12 +343,12 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// catch errors
|
// catch errors
|
||||||
if (ComponentbuilderHelper::checkArray($_message['error']))
|
if (UtilitiesArrayHelper::check($_message['error']))
|
||||||
{
|
{
|
||||||
$app->enqueueMessage(implode('<br />', $_message['error']), 'Error');
|
$app->enqueueMessage(implode('<br />', $_message['error']), 'Error');
|
||||||
}
|
}
|
||||||
// build success message
|
// build success message
|
||||||
if (ComponentbuilderHelper::checkArray($_message['success']))
|
if (UtilitiesArrayHelper::check($_message['success']))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, implode('<br />', $_message['success']), 'message');
|
$this->setRedirect($redirect_url, implode('<br />', $_message['success']), 'message');
|
||||||
return true;
|
return true;
|
||||||
@ -534,7 +536,7 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
@ -615,7 +617,7 @@ class ComponentbuilderControllerCompiler extends AdminController
|
|||||||
// run translator via API
|
// run translator via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.translator');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.translator');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_admin_views extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_admin_views.create', $this->option);
|
return $user->authorise('component_admin_views.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_config extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_config.create', $this->option);
|
return $user->authorise('component_config.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends FormControl
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_custom_admin_menus.create', $this->option);
|
return $user->authorise('component_custom_admin_menus.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_custom_admin_views extends FormControl
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_custom_admin_views.create', $this->option);
|
return $user->authorise('component_custom_admin_views.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_dashboard extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_dashboard.create', $this->option);
|
return $user->authorise('component_dashboard.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_files_folders extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_files_folders.create', $this->option);
|
return $user->authorise('component_files_folders.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_modules extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_modules.create', $this->option);
|
return $user->authorise('component_modules.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_mysql_tweaks.create', $this->option);
|
return $user->authorise('component_mysql_tweaks.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_placeholders extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_placeholders.create', $this->option);
|
return $user->authorise('component_placeholders.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_plugins extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_plugins.create', $this->option);
|
return $user->authorise('component_plugins.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerComponent_site_views extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_site_views.create', $this->option);
|
return $user->authorise('component_site_views.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\FormController;
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component_updates Form Controller
|
* Component_updates Form Controller
|
||||||
@ -62,7 +64,7 @@ class ComponentbuilderControllerComponent_updates extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('component_updates.create', $this->option);
|
return $user->authorise('component_updates.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -332,9 +334,9 @@ class ComponentbuilderControllerComponent_updates extends FormController
|
|||||||
|
|
||||||
$objectUpdate = new stdClass();
|
$objectUpdate = new stdClass();
|
||||||
$objectUpdate->id = (int) $validData['joomla_component'];
|
$objectUpdate->id = (int) $validData['joomla_component'];
|
||||||
if (ComponentbuilderHelper::checkArray($version_update)
|
if (UtilitiesArrayHelper::check($version_update)
|
||||||
&& ($component_version = end($version_update)['version'])
|
&& ($component_version = end($version_update)['version'])
|
||||||
&& ComponentbuilderHelper::checkString($component_version))
|
&& StringHelper::check($component_version))
|
||||||
{
|
{
|
||||||
$objectUpdate->component_version = $component_version;
|
$objectUpdate->component_version = $component_version;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerCustom_admin_view extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerCustom_code extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('custom_code.create', $this->option);
|
return $user->authorise('custom_code.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom_codes Admin Controller
|
* Custom_codes Admin Controller
|
||||||
@ -131,7 +132,7 @@ class ComponentbuilderControllerCustom_codes extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerDynamic_get extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('dynamic_get.create', $this->option);
|
return $user->authorise('dynamic_get.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dynamic_gets Admin Controller
|
* Dynamic_gets Admin Controller
|
||||||
@ -131,7 +132,7 @@ class ComponentbuilderControllerDynamic_gets extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerField extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('field.create', $this->option);
|
return $user->authorise('field.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fields Admin Controller
|
* Fields Admin Controller
|
||||||
@ -131,7 +132,7 @@ class ComponentbuilderControllerFields extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerFieldtype extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('fieldtype.create', $this->option);
|
return $user->authorise('fieldtype.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerHelp_document extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('help_document.create', $this->option);
|
return $user->authorise('help_document.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ class ComponentbuilderControllerJoomla_component extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_component.create', $this->option);
|
return $user->authorise('joomla_component.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ use VDM\Joomla\Componentbuilder\Package\Factory as PackageFactory;
|
|||||||
use VDM\Joomla\Utilities\ArrayHelper as JCBArrayHelper;
|
use VDM\Joomla\Utilities\ArrayHelper as JCBArrayHelper;
|
||||||
use VDM\Joomla\Utilities\StringHelper;
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
use Joomla\CMS\Language\Text;
|
use Joomla\CMS\Language\Text;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Joomla_components Admin Controller
|
* Joomla_components Admin Controller
|
||||||
@ -135,7 +136,7 @@ class ComponentbuilderControllerJoomla_components extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
@ -294,7 +295,7 @@ class ComponentbuilderControllerJoomla_components extends AdminController
|
|||||||
public function backup()
|
public function backup()
|
||||||
{
|
{
|
||||||
// get params first
|
// get params first
|
||||||
if (!isset($this->params) || !ComponentbuilderHelper::checkObject($this->params))
|
if (!isset($this->params) || !ObjectHelper::check($this->params))
|
||||||
{
|
{
|
||||||
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
||||||
}
|
}
|
||||||
@ -314,54 +315,54 @@ class ComponentbuilderControllerJoomla_components extends AdminController
|
|||||||
// manual backup message
|
// manual backup message
|
||||||
$backupNotice = array();
|
$backupNotice = array();
|
||||||
// get the data to export
|
// get the data to export
|
||||||
if (ComponentbuilderHelper::checkArray($pks) && $model->getSmartExport($pks))
|
if (JCBArrayHelper::check($pks) && $model->getSmartExport($pks))
|
||||||
{
|
{
|
||||||
$backupNotice[] = JText::_('COM_COMPONENTBUILDER_BACKUP_WAS_DONE_SUCCESSFULLY');
|
$backupNotice[] = JText::_('COM_COMPONENTBUILDER_BACKUP_WAS_DONE_SUCCESSFULLY');
|
||||||
$backupNoticeStatus = 'Success';
|
$backupNoticeStatus = 'Success';
|
||||||
// set the key string
|
// set the key string
|
||||||
if (componentbuilderHelper::checkString($model->key) && strlen($model->key) == 32)
|
if (StringHelper::check($model->key) && strlen($model->key) == 32)
|
||||||
{
|
{
|
||||||
$textNotice = array();
|
$textNotice = array();
|
||||||
$keyNotice = '<h1>' . JText::sprintf('COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_CODESCODE', $model->key) . '</h1>';
|
$keyNotice = '<h1>' . JText::sprintf('COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_CODESCODE', $model->key) . '</h1>';
|
||||||
$keyNotice .= '<p>' . JText::_('COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_TWO_HUNDRED_AND_FIFTY_SIX_BIT_ENCRYPTION_USING_THE_ABOVE_THIRTY_TWO_CHARACTER_KEY') . '</p>';
|
$keyNotice .= '<p>' . JText::_('COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_TWO_HUNDRED_AND_FIFTY_SIX_BIT_ENCRYPTION_USING_THE_ABOVE_THIRTY_TWO_CHARACTER_KEY') . '</p>';
|
||||||
$textNotice[] = JText::sprintf('COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_S', $model->key);
|
$textNotice[] = JText::sprintf('COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_S', $model->key);
|
||||||
// set the package owner info
|
// set the package owner info
|
||||||
if ((isset($model->info['getKeyFrom']['company']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['company'])) || (isset($model->info['getKeyFrom']['owner']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['owner'])))
|
if ((isset($model->info['getKeyFrom']['company']) && StringHelper::check($model->info['getKeyFrom']['company'])) || (isset($model->info['getKeyFrom']['owner']) && StringHelper::check($model->info['getKeyFrom']['owner'])))
|
||||||
{
|
{
|
||||||
$ownerDetails = '<h2>' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS') . '</h2>';
|
$ownerDetails = '<h2>' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS') . '</h2>';
|
||||||
$textNotice[] = '# ' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS');
|
$textNotice[] = '# ' . JText::_('COM_COMPONENTBUILDER_PACKAGE_OWNER_DETAILS');
|
||||||
$ownerDetails .= '<ul>';
|
$ownerDetails .= '<ul>';
|
||||||
if (isset($model->info['getKeyFrom']['company']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['company']))
|
if (isset($model->info['getKeyFrom']['company']) && StringHelper::check($model->info['getKeyFrom']['company']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMCOMPANYEM_BSB', $model->info['getKeyFrom']['company']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMCOMPANYEM_BSB', $model->info['getKeyFrom']['company']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_COMPANY_S', $model->info['getKeyFrom']['company']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_COMPANY_S', $model->info['getKeyFrom']['company']);
|
||||||
}
|
}
|
||||||
// add value only if set
|
// add value only if set
|
||||||
if (isset($model->info['getKeyFrom']['owner']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['owner']))
|
if (isset($model->info['getKeyFrom']['owner']) && StringHelper::check($model->info['getKeyFrom']['owner']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMOWNEREM_BSB', $model->info['getKeyFrom']['owner']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMOWNEREM_BSB', $model->info['getKeyFrom']['owner']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_OWNER_S', $model->info['getKeyFrom']['owner']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_OWNER_S', $model->info['getKeyFrom']['owner']);
|
||||||
}
|
}
|
||||||
// add value only if set
|
// add value only if set
|
||||||
if (isset($model->info['getKeyFrom']['website']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['website']))
|
if (isset($model->info['getKeyFrom']['website']) && StringHelper::check($model->info['getKeyFrom']['website']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMWEBSITEEM_BSB', $model->info['getKeyFrom']['website']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMWEBSITEEM_BSB', $model->info['getKeyFrom']['website']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_WEBSITE_S', $model->info['getKeyFrom']['website']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_WEBSITE_S', $model->info['getKeyFrom']['website']);
|
||||||
}
|
}
|
||||||
// add value only if set
|
// add value only if set
|
||||||
if (isset($model->info['getKeyFrom']['email']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['email']))
|
if (isset($model->info['getKeyFrom']['email']) && StringHelper::check($model->info['getKeyFrom']['email']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMEMAILEM_BSB', $model->info['getKeyFrom']['email']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMEMAILEM_BSB', $model->info['getKeyFrom']['email']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_EMAIL_S', $model->info['getKeyFrom']['email']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_EMAIL_S', $model->info['getKeyFrom']['email']);
|
||||||
}
|
}
|
||||||
// add value only if set
|
// add value only if set
|
||||||
if (isset($model->info['getKeyFrom']['license']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['license']))
|
if (isset($model->info['getKeyFrom']['license']) && StringHelper::check($model->info['getKeyFrom']['license']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMLICENSEEM_BSB', $model->info['getKeyFrom']['license']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMLICENSEEM_BSB', $model->info['getKeyFrom']['license']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_LICENSE_S', $model->info['getKeyFrom']['license']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_LICENSE_S', $model->info['getKeyFrom']['license']);
|
||||||
}
|
}
|
||||||
// add value only if set
|
// add value only if set
|
||||||
if (isset($model->info['getKeyFrom']['copyright']) && componentbuilderHelper::checkString($model->info['getKeyFrom']['copyright']))
|
if (isset($model->info['getKeyFrom']['copyright']) && StringHelper::check($model->info['getKeyFrom']['copyright']))
|
||||||
{
|
{
|
||||||
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMCOPYRIGHTEM_BSB', $model->info['getKeyFrom']['copyright']) . '</li>';
|
$ownerDetails .= '<li>' . JText::sprintf('COM_COMPONENTBUILDER_EMCOPYRIGHTEM_BSB', $model->info['getKeyFrom']['copyright']) . '</li>';
|
||||||
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_COPYRIGHT_S', $model->info['getKeyFrom']['copyright']);
|
$textNotice[] = '- ' . JText::sprintf('COM_COMPONENTBUILDER_COPYRIGHT_S', $model->info['getKeyFrom']['copyright']);
|
||||||
@ -417,12 +418,12 @@ class ComponentbuilderControllerJoomla_components extends AdminController
|
|||||||
{
|
{
|
||||||
$backupNotice[] = JText::_('COM_COMPONENTBUILDER_BACKUP_FAILED_PLEASE_TRY_AGAIN_IF_THE_ERROR_CONTINUE_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR');
|
$backupNotice[] = JText::_('COM_COMPONENTBUILDER_BACKUP_FAILED_PLEASE_TRY_AGAIN_IF_THE_ERROR_CONTINUE_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR');
|
||||||
$backupNoticeStatus = 'Error';
|
$backupNoticeStatus = 'Error';
|
||||||
if (componentbuilderHelper::checkString($model->packagePath))
|
if (StringHelper::check($model->packagePath))
|
||||||
{
|
{
|
||||||
// clear all if not successful
|
// clear all if not successful
|
||||||
ComponentbuilderHelper::removeFolder($model->packagePath);
|
ComponentbuilderHelper::removeFolder($model->packagePath);
|
||||||
}
|
}
|
||||||
if (componentbuilderHelper::checkString($model->zipPath))
|
if (StringHelper::check($model->zipPath))
|
||||||
{
|
{
|
||||||
// clear all if not successful
|
// clear all if not successful
|
||||||
JFile::delete($model->zipPath);
|
JFile::delete($model->zipPath);
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerJoomla_module extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_module.create', $this->option);
|
return $user->authorise('joomla_module.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerJoomla_module_files_folders_urls extends FormCon
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_module_files_folders_urls.create', $this->option);
|
return $user->authorise('joomla_module_files_folders_urls.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\FormController;
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Joomla_module_updates Form Controller
|
* Joomla_module_updates Form Controller
|
||||||
@ -62,7 +64,7 @@ class ComponentbuilderControllerJoomla_module_updates extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_module_updates.create', $this->option);
|
return $user->authorise('joomla_module_updates.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,9 +325,9 @@ class ComponentbuilderControllerJoomla_module_updates extends FormController
|
|||||||
{
|
{
|
||||||
$objectUpdate = new stdClass();
|
$objectUpdate = new stdClass();
|
||||||
$objectUpdate->id = (int) $validData['joomla_plugin'];
|
$objectUpdate->id = (int) $validData['joomla_plugin'];
|
||||||
if (isset($validData['version_update']) && ComponentbuilderHelper::checkArray($validData['version_update'])
|
if (isset($validData['version_update']) && UtilitiesArrayHelper::check($validData['version_update'])
|
||||||
&& ($plugin_version = end($validData['version_update'])['version'])
|
&& ($plugin_version = end($validData['version_update'])['version'])
|
||||||
&& ComponentbuilderHelper::checkString($plugin_version))
|
&& StringHelper::check($plugin_version))
|
||||||
{
|
{
|
||||||
$objectUpdate->plugin_version = $plugin_version;
|
$objectUpdate->plugin_version = $plugin_version;
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerJoomla_plugin extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_plugin.create', $this->option);
|
return $user->authorise('joomla_plugin.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerJoomla_plugin_files_folders_urls extends FormCon
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_plugin_files_folders_urls.create', $this->option);
|
return $user->authorise('joomla_plugin_files_folders_urls.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerJoomla_plugin_group extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\FormController;
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Joomla_plugin_updates Form Controller
|
* Joomla_plugin_updates Form Controller
|
||||||
@ -62,7 +64,7 @@ class ComponentbuilderControllerJoomla_plugin_updates extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('joomla_plugin_updates.create', $this->option);
|
return $user->authorise('joomla_plugin_updates.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,9 +325,9 @@ class ComponentbuilderControllerJoomla_plugin_updates extends FormController
|
|||||||
{
|
{
|
||||||
$objectUpdate = new stdClass();
|
$objectUpdate = new stdClass();
|
||||||
$objectUpdate->id = (int) $validData['joomla_plugin'];
|
$objectUpdate->id = (int) $validData['joomla_plugin'];
|
||||||
if (isset($validData['version_update']) && ComponentbuilderHelper::checkArray($validData['version_update'])
|
if (isset($validData['version_update']) && UtilitiesArrayHelper::check($validData['version_update'])
|
||||||
&& ($plugin_version = end($validData['version_update'])['version'])
|
&& ($plugin_version = end($validData['version_update'])['version'])
|
||||||
&& ComponentbuilderHelper::checkString($plugin_version))
|
&& StringHelper::check($plugin_version))
|
||||||
{
|
{
|
||||||
$objectUpdate->plugin_version = $plugin_version;
|
$objectUpdate->plugin_version = $plugin_version;
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Joomla_plugins Admin Controller
|
* Joomla_plugins Admin Controller
|
||||||
@ -68,7 +69,7 @@ class ComponentbuilderControllerJoomla_plugins extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLanguage extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('language.create', $this->option);
|
return $user->authorise('language.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLanguage_translation extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('language_translation.create', $this->option);
|
return $user->authorise('language_translation.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLayout extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLibrary extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('library.create', $this->option);
|
return $user->authorise('library.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLibrary_config extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('library_config.create', $this->option);
|
return $user->authorise('library_config.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends FormControlle
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('library_files_folders_urls.create', $this->option);
|
return $user->authorise('library_files_folders_urls.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerPlaceholder extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('placeholder.create', $this->option);
|
return $user->authorise('placeholder.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\FormController;
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Componentbuilder\Power\Factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Power Form Controller
|
* Power Form Controller
|
||||||
@ -42,6 +43,62 @@ class ComponentbuilderControllerPower extends FormController
|
|||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function resetPowers()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
|
// get Item posted
|
||||||
|
$item = $this->input->post->get('jform', array(), 'array');
|
||||||
|
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
|
||||||
|
// set default error message
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_PERMISSION_DENIED') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RESET_THIS_POWER') . '</p>';
|
||||||
|
$status = 'error';
|
||||||
|
$success = false;
|
||||||
|
|
||||||
|
// load the ID
|
||||||
|
$id = $item['id'] ?? null;
|
||||||
|
$guid = $item['guid'] ?? null;
|
||||||
|
|
||||||
|
// check if there is any selections
|
||||||
|
if ($id === null || $guid === null)
|
||||||
|
{
|
||||||
|
// set error message
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_NOT_SAVED') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_YOU_MUST_FIRST_SAVE_THE_POWER_BEFORE_YOU_CAN_USE_THIS_FEATURE') . '</p>';
|
||||||
|
}
|
||||||
|
elseif($user->authorise('power.reset', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
if (Factory::_('Superpower')->reset([$guid]))
|
||||||
|
{
|
||||||
|
// set success message
|
||||||
|
$message = '<h1>'.JText::_('COM_COMPONENTBUILDER_SUCCESS').'</h1>';
|
||||||
|
$message .= '<p>'.JText::_('COM_COMPONENTBUILDER_THE_POWER_HAS_SUCCESSFULLY_BEEN_RESET').'</p>';
|
||||||
|
$status = 'success';
|
||||||
|
$success = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_RESET_FAILED') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_THE_RESET_OF_THIS_POWER_HAS_FAILED') . '</p>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// set redirect
|
||||||
|
$redirect_url = \JRoute::_(
|
||||||
|
'index.php?option=com_componentbuilder&view=power'
|
||||||
|
. $this->getRedirectToItemAppend($id), $success
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setRedirect($redirect_url, $message, $status);
|
||||||
|
|
||||||
|
return $success;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method override to check if you can add a new record.
|
* Method override to check if you can add a new record.
|
||||||
*
|
*
|
||||||
@ -62,7 +119,7 @@ class ComponentbuilderControllerPower extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('power.create', $this->option);
|
return $user->authorise('power.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
use VDM\Joomla\Componentbuilder\Power\Factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Powers Admin Controller
|
* Powers Admin Controller
|
||||||
@ -68,7 +70,7 @@ class ComponentbuilderControllerPowers extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
@ -84,4 +86,83 @@ class ComponentbuilderControllerPowers extends AdminController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function initPowers()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
|
||||||
|
// set default error message
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_PERMISSION_DENIED') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_INITIALIZE_POWERS') . '</p>';
|
||||||
|
$status = 'error';
|
||||||
|
$success = false;
|
||||||
|
|
||||||
|
if($user->authorise('power.init', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
if (Factory::_('Superpower')->init())
|
||||||
|
{
|
||||||
|
// set success message
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_SUCCESSFULLY_INITIALIZED_ALL_REMOTE_POWERS') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_THE_LOCAL_DATABASE_POWERS_HAS_SUCCESSFULLY_BEEN_SYNCED_WITH_THE_REMOTE_REPOSITORIES') . '</p>';
|
||||||
|
|
||||||
|
$status = 'success';
|
||||||
|
$success = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$message = '<h1>' . JText::_('COM_COMPONENTBUILDER_INITIALIZATION_FAILED') . '</h1>';
|
||||||
|
$message .= '<p>' . JText::_('COM_COMPONENTBUILDER_THE_INITIALIZATION_OF_THIS_POWERS_HAS_FAILED') . '</p>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// set redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=powers', $success);
|
||||||
|
$this->setRedirect($redirect_url, $message, $status);
|
||||||
|
|
||||||
|
return $success;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function resetPowers()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||||
|
|
||||||
|
// get IDS of the selected powers
|
||||||
|
$pks = $this->input->post->get('cid', [], 'array');
|
||||||
|
|
||||||
|
// Sanitize the input
|
||||||
|
JArrayHelper::toInteger($pks);
|
||||||
|
|
||||||
|
// check if there is any selections
|
||||||
|
if ($pks == [])
|
||||||
|
{
|
||||||
|
// set error message
|
||||||
|
$message = '<h1>'.JText::_('COM_COMPONENTBUILDER_NO_SELECTION_DETECTED').'</h1>';
|
||||||
|
$message .= '<p>'.JText::_('COM_COMPONENTBUILDER_PLEASE_FIRST_MAKE_A_SELECTION_FROM_THE_LIST').'</p>';
|
||||||
|
// set redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=powers', false);
|
||||||
|
$this->setRedirect($redirect_url, $message, 'error');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
if($user->authorise('power.reset', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
// set success message
|
||||||
|
$message = '<h1>'.JText::_('COM_COMPONENTBUILDER_THIS_RESET_FEATURE_IS_STILL_UNDER_DEVELOPMENT').'</h1>';
|
||||||
|
$message .= '<p>'.JText::sprintf('COM_COMPONENTBUILDER_PLEASE_CHECK_AGAIN_SOON_ANDOR_FOLLOW_THE_PROGRESS_ON_SGITVDMDEVA', '<a href="https://git.vdm.dev/joomla/Component-Builder/issues/984" target="_blank">').'</p>';
|
||||||
|
// set redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=powers', false);
|
||||||
|
$this->setRedirect($redirect_url, $message);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// set redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=powers', false);
|
||||||
|
$this->setRedirect($redirect_url);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerServer extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('server.create', $this->option);
|
return $user->authorise('server.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerSite_view extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerSnippet extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerSnippet_type extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('snippet_type.create', $this->option);
|
return $user->authorise('snippet_type.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Snippets Admin Controller
|
* Snippets Admin Controller
|
||||||
@ -132,7 +133,7 @@ class ComponentbuilderControllerSnippets extends AdminController
|
|||||||
// Sanitize the input
|
// Sanitize the input
|
||||||
JArrayHelper::toInteger($pks);
|
JArrayHelper::toInteger($pks);
|
||||||
// check if there is any selections
|
// check if there is any selections
|
||||||
if (!ComponentbuilderHelper::checkArray($pks))
|
if (!UtilitiesArrayHelper::check($pks))
|
||||||
{
|
{
|
||||||
// Redirect to the list screen with error.
|
// Redirect to the list screen with error.
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_NO_SNIPPETS_WERE_SELECTED_PLEASE_MAKE_A_SELECTION_AND_TRY_AGAIN');
|
$message = JText::_('COM_COMPONENTBUILDER_NO_SNIPPETS_WERE_SELECTED_PLEASE_MAKE_A_SELECTION_AND_TRY_AGAIN');
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerTemplate extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return parent::allowAdd($data);
|
return parent::allowAdd($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ComponentbuilderControllerValidation_rule extends FormController
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('validation_rule.create', $this->option);
|
return $user->authorise('validation_rule.create', $this->option);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\AdminController;
|
use Joomla\CMS\MVC\Controller\AdminController;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validation_rules Admin Controller
|
* Validation_rules Admin Controller
|
||||||
@ -131,7 +132,7 @@ class ComponentbuilderControllerValidation_rules extends AdminController
|
|||||||
// run expansion via API
|
// run expansion via API
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
// is there a message returned
|
// is there a message returned
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
if (!is_numeric($result) && StringHelper::check($result))
|
||||||
{
|
{
|
||||||
$this->setRedirect($redirect_url, $result);
|
$this->setRedirect($redirect_url, $result);
|
||||||
return true;
|
return true;
|
||||||
|
@ -107,7 +107,7 @@ class Compiler extends Infusion
|
|||||||
CFactory::_('Utilities.Folder')->remove(CFactory::_('Utilities.Paths')->component_path . '/site');
|
CFactory::_('Utilities.Folder')->remove(CFactory::_('Utilities.Paths')->component_path . '/site');
|
||||||
// clear form component xml
|
// clear form component xml
|
||||||
$xmlPath = CFactory::_('Utilities.Paths')->component_path . '/'
|
$xmlPath = CFactory::_('Utilities.Paths')->component_path . '/'
|
||||||
. CFactory::_('Content')->get('component') . '.xml';
|
. CFactory::_('Compiler.Builder.Content.One')->get('component') . '.xml';
|
||||||
$componentXML = FileHelper::getContent($xmlPath);
|
$componentXML = FileHelper::getContent($xmlPath);
|
||||||
$textToSite = GetHelper::between(
|
$textToSite = GetHelper::between(
|
||||||
$componentXML, '<files folder="site">', '</files>'
|
$componentXML, '<files folder="site">', '</files>'
|
||||||
@ -239,7 +239,7 @@ class Compiler extends Infusion
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
// set assets table rules column Warning
|
// set assets table rules column Warning
|
||||||
elseif ($this->accessSize >= 30)
|
elseif (CFactory::_('Utilities.Counter')->accessSize >= 30)
|
||||||
{
|
{
|
||||||
$this->app->enqueueMessage(
|
$this->app->enqueueMessage(
|
||||||
JText::_('<hr /><h3>Assets Table Warning</h3>'), 'Warning'
|
JText::_('<hr /><h3>Assets Table Warning</h3>'), 'Warning'
|
||||||
@ -256,7 +256,7 @@ class Compiler extends Infusion
|
|||||||
if (!$add_assets_table_fix && CFactory::_('Config')->add_assets_table_name_fix)
|
if (!$add_assets_table_fix && CFactory::_('Config')->add_assets_table_name_fix)
|
||||||
{
|
{
|
||||||
// only add if not already added
|
// only add if not already added
|
||||||
if ($this->accessSize < 30)
|
if (CFactory::_('Utilities.Counter')->accessSize < 30)
|
||||||
{
|
{
|
||||||
$this->app->enqueueMessage(
|
$this->app->enqueueMessage(
|
||||||
JText::_('<hr /><h3>Assets Table Warning</h3>'),
|
JText::_('<hr /><h3>Assets Table Warning</h3>'),
|
||||||
@ -398,10 +398,7 @@ class Compiler extends Infusion
|
|||||||
// now we do the dynamic files
|
// now we do the dynamic files
|
||||||
foreach (CFactory::_('Utilities.Files')->get('dynamic') as $view => $files)
|
foreach (CFactory::_('Utilities.Files')->get('dynamic') as $view => $files)
|
||||||
{
|
{
|
||||||
if (CFactory::_('Content')->exist_($view)
|
if (CFactory::_('Compiler.Builder.Content.Multi')->isArray($view))
|
||||||
&& ArrayHelper::check(
|
|
||||||
CFactory::_('Content')->get_($view)
|
|
||||||
))
|
|
||||||
{
|
{
|
||||||
foreach ($files as $file)
|
foreach ($files as $file)
|
||||||
{
|
{
|
||||||
@ -418,7 +415,7 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// free up some memory
|
// free up some memory
|
||||||
CFactory::_('Content')->remove_($view);
|
CFactory::_('Compiler.Builder.Content.Multi')->remove($view);
|
||||||
}
|
}
|
||||||
// free up some memory
|
// free up some memory
|
||||||
CFactory::_('Utilities.Files')->remove('dynamic');
|
CFactory::_('Utilities.Files')->remove('dynamic');
|
||||||
@ -496,7 +493,7 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
// free up some memory
|
// free up some memory
|
||||||
CFactory::_('Utilities.Files')->remove($module->key);
|
CFactory::_('Utilities.Files')->remove($module->key);
|
||||||
CFactory::_('Content')->remove_($module->key);
|
CFactory::_('Compiler.Builder.Content.Multi')->remove($module->key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -574,7 +571,7 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
// free up some memory
|
// free up some memory
|
||||||
CFactory::_('Utilities.Files')->remove($plugin->key);
|
CFactory::_('Utilities.Files')->remove($plugin->key);
|
||||||
CFactory::_('Content')->remove_($plugin->key);
|
CFactory::_('Compiler.Builder.Content.Multi')->remove($plugin->key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -599,7 +596,32 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
// free up some memory
|
// free up some memory
|
||||||
CFactory::_('Utilities.Files')->remove($power->key);
|
CFactory::_('Utilities.Files')->remove($power->key);
|
||||||
CFactory::_('Content')->remove_($power->key);
|
CFactory::_('Compiler.Builder.Content.Multi')->remove($power->key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// do super powers details if found
|
||||||
|
if (ArrayHelper::check(CFactory::_('Power')->superpowers))
|
||||||
|
{
|
||||||
|
foreach (CFactory::_('Power')->superpowers as $path => $powers)
|
||||||
|
{
|
||||||
|
$key = StringHelper::safe($path);
|
||||||
|
if (CFactory::_('Utilities.Files')->exists($key))
|
||||||
|
{
|
||||||
|
// update the power files
|
||||||
|
foreach (CFactory::_('Utilities.Files')->get($key) as $power_file)
|
||||||
|
{
|
||||||
|
if (File::exists($power_file['path']))
|
||||||
|
{
|
||||||
|
$this->setFileContent(
|
||||||
|
$power_file['name'], $power_file['path'],
|
||||||
|
$bom, $key
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// free up some memory
|
||||||
|
CFactory::_('Utilities.Files')->remove($key);
|
||||||
|
CFactory::_('Compiler.Builder.Content.Multi')->remove($key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -628,7 +650,7 @@ class Compiler extends Infusion
|
|||||||
);
|
);
|
||||||
|
|
||||||
// set the file name
|
// set the file name
|
||||||
CFactory::_('Content')->set('FILENAME', $name);
|
CFactory::_('Compiler.Builder.Content.One')->set('FILENAME', $name);
|
||||||
|
|
||||||
// check if the file should get PHP opening
|
// check if the file should get PHP opening
|
||||||
$php = '';
|
$php = '';
|
||||||
@ -657,15 +679,26 @@ class Compiler extends Infusion
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set the answer
|
// set the answer
|
||||||
$answer = CFactory::_('Placeholder')->update($string, CFactory::_('Content')->active, 3);
|
$answer = CFactory::_('Placeholder')->update($string, CFactory::_('Compiler.Builder.Content.One')->allActive(), 3);
|
||||||
|
|
||||||
// set the dynamic answer
|
// set the dynamic answer
|
||||||
if ($view)
|
if ($view)
|
||||||
|
{
|
||||||
|
$placeholders = CFactory::_('Compiler.Builder.Content.Multi')->get($view, []);
|
||||||
|
if (is_array($placeholders))
|
||||||
{
|
{
|
||||||
$answer = CFactory::_('Placeholder')->update(
|
$answer = CFactory::_('Placeholder')->update(
|
||||||
$answer, CFactory::_('Content')->get_($view), 3
|
$answer, $placeholders, 3
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo '<pre>';
|
||||||
|
var_dump($view, $placeholders);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
unset($placeholders);
|
||||||
|
}
|
||||||
|
|
||||||
// check if this file needs extra care :)
|
// check if this file needs extra care :)
|
||||||
if (CFactory::_('Registry')->exists('update.file.content.' . $path))
|
if (CFactory::_('Registry')->exists('update.file.content.' . $path))
|
||||||
@ -680,6 +713,9 @@ class Compiler extends Infusion
|
|||||||
&$view)
|
&$view)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// inject any super powers found
|
||||||
|
$answer = CFactory::_('Power.Injector')->power($answer);
|
||||||
|
|
||||||
// add answer back to file
|
// add answer back to file
|
||||||
CFactory::_('Utilities.File')->write($path, $answer);
|
CFactory::_('Utilities.File')->write($path, $answer);
|
||||||
|
|
||||||
@ -834,15 +870,15 @@ class Compiler extends Infusion
|
|||||||
$value = '@update number ' . $value . ' of this MVC';
|
$value = '@update number ' . $value . ' of this MVC';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CFactory::_('Content')->set($key, $value);
|
CFactory::_('Compiler.Builder.Content.One')->set($key, $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// else insure to reset to global
|
// else insure to reset to global
|
||||||
CFactory::_('Content')->set('CREATIONDATE', CFactory::_('Content')->get('GLOBALCREATIONDATE'));
|
CFactory::_('Compiler.Builder.Content.One')->set('CREATIONDATE', CFactory::_('Compiler.Builder.Content.One')->get('GLOBALCREATIONDATE'));
|
||||||
CFactory::_('Content')->set('BUILDDATE', CFactory::_('Content')->get('GLOBALBUILDDATE'));
|
CFactory::_('Compiler.Builder.Content.One')->set('BUILDDATE', CFactory::_('Compiler.Builder.Content.One')->get('GLOBALBUILDDATE'));
|
||||||
CFactory::_('Content')->set('VERSION', CFactory::_('Content')->get('GLOBALVERSION'));
|
CFactory::_('Compiler.Builder.Content.One')->set('VERSION', CFactory::_('Compiler.Builder.Content.One')->get('GLOBALVERSION'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -869,8 +905,8 @@ class Compiler extends Infusion
|
|||||||
// do a final run to update the readme file
|
// do a final run to update the readme file
|
||||||
$two = 0;
|
$two = 0;
|
||||||
// counter data if not set already
|
// counter data if not set already
|
||||||
if (!CFactory::_('Content')->exist('LINE_COUNT')
|
if (!CFactory::_('Compiler.Builder.Content.One')->exists('LINE_COUNT')
|
||||||
|| CFactory::_('Content')->get('LINE_COUNT') != CFactory::_('Utilities.Counter')->line)
|
|| CFactory::_('Compiler.Builder.Content.One')->get('LINE_COUNT') != CFactory::_('Utilities.Counter')->line)
|
||||||
{
|
{
|
||||||
CFactory::_('Utilities.Counter')->set();
|
CFactory::_('Utilities.Counter')->set();
|
||||||
}
|
}
|
||||||
@ -898,7 +934,7 @@ class Compiler extends Infusion
|
|||||||
// get the file
|
// get the file
|
||||||
$string = FileHelper::getContent($path);
|
$string = FileHelper::getContent($path);
|
||||||
// update the file
|
// update the file
|
||||||
$answer = CFactory::_('Placeholder')->update($string, CFactory::_('Content')->active);
|
$answer = CFactory::_('Placeholder')->update($string, CFactory::_('Compiler.Builder.Content.One')->allActive());
|
||||||
// add to zip array
|
// add to zip array
|
||||||
CFactory::_('Utilities.File')->write($path, $answer);
|
CFactory::_('Utilities.File')->write($path, $answer);
|
||||||
}
|
}
|
||||||
@ -1384,7 +1420,7 @@ class Compiler extends Infusion
|
|||||||
if ($found && !$foundEnd)
|
if ($found && !$foundEnd)
|
||||||
{
|
{
|
||||||
$replace[] = (int) $lineBites[$lineNumber];
|
$replace[] = (int) $lineBites[$lineNumber];
|
||||||
// we musk keep last three lines to dynamic find target entry
|
// we must keep last three lines to dynamic find target entry
|
||||||
$fingerPrint[$lineNumber] = trim($lineContent);
|
$fingerPrint[$lineNumber] = trim($lineContent);
|
||||||
// check lines each time if it fits our target
|
// check lines each time if it fits our target
|
||||||
if (count((array) $fingerPrint) === $sizeEnd
|
if (count((array) $fingerPrint) === $sizeEnd
|
||||||
@ -1413,7 +1449,7 @@ class Compiler extends Infusion
|
|||||||
{
|
{
|
||||||
$replace[] = (int) $lineBites[$lineNumber];
|
$replace[] = (int) $lineBites[$lineNumber];
|
||||||
}
|
}
|
||||||
// we musk keep last three lines to dynamic find target entry
|
// we must keep last three lines to dynamic find target entry
|
||||||
$fingerPrint[$lineNumber] = trim($lineContent);
|
$fingerPrint[$lineNumber] = trim($lineContent);
|
||||||
// check lines each time if it fits our target
|
// check lines each time if it fits our target
|
||||||
if (count((array) $fingerPrint) === $size && !$found)
|
if (count((array) $fingerPrint) === $size && !$found)
|
||||||
@ -1554,37 +1590,55 @@ class Compiler extends Infusion
|
|||||||
$this->addDataToFile($file, $data, (int) array_sum($bitBucket));
|
$this->addDataToFile($file, $data, (int) array_sum($bitBucket));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Thanks to http://stackoverflow.com/a/16813550/1429677
|
/**
|
||||||
protected function addDataToFile($file, $data, $position, $replace = null)
|
* Inserts or replaces data in a file at a specific position.
|
||||||
|
* Thanks to http://stackoverflow.com/a/16813550/1429677
|
||||||
|
*
|
||||||
|
* @param string $file The path of the file to modify
|
||||||
|
* @param string $data The data to insert or replace
|
||||||
|
* @param int $position The position in the file where the data should be inserted or replaced
|
||||||
|
* @param int|null $replace The number of bytes to replace; if null, data will be inserted
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
* @throws RuntimeException if unable to open the file
|
||||||
|
*/
|
||||||
|
protected function addDataToFile(string $file, string $data, int $position, ?int $replace = null)
|
||||||
{
|
{
|
||||||
// start the process
|
// Open the file and a temporary stream
|
||||||
$fpFile = fopen($file, "rw+");
|
$actual_file = fopen($file, "rw+");
|
||||||
$fpTemp = fopen('php://temp', "rw+");
|
if ($actual_file === false)
|
||||||
// make a copy of the file
|
|
||||||
stream_copy_to_stream($fpFile, $fpTemp);
|
|
||||||
// move to the position where we should add the data
|
|
||||||
fseek($fpFile, $position);
|
|
||||||
// Add the data
|
|
||||||
fwrite($fpFile, (string) $data);
|
|
||||||
// truncate file at the end of the data that was added
|
|
||||||
$remove = MathHelper::bc(
|
|
||||||
'add', $position, mb_strlen((string) $data, '8bit')
|
|
||||||
);
|
|
||||||
ftruncate($fpFile, $remove);
|
|
||||||
// check if this was a replacement of data
|
|
||||||
if ($replace)
|
|
||||||
{
|
{
|
||||||
$position = MathHelper::bc(
|
throw new RuntimeException("Unable to open the file: {$file}");
|
||||||
'add', $position, $replace
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
// move to the position of the data that should remain below the new data
|
|
||||||
fseek($fpTemp, $position);
|
$temp_file = fopen('php://temp', "rw+");
|
||||||
// copy that remaining data to the file
|
|
||||||
stream_copy_to_stream($fpTemp, $fpFile); // @Jack
|
// Make a copy of the file in the temporary stream
|
||||||
// done close both files
|
stream_copy_to_stream($actual_file, $temp_file);
|
||||||
fclose($fpFile);
|
|
||||||
fclose($fpTemp);
|
// Move to the position where the data should be added
|
||||||
|
fseek($actual_file, $position);
|
||||||
|
|
||||||
|
// Add the data
|
||||||
|
fwrite($actual_file, $data);
|
||||||
|
|
||||||
|
// Truncate the file at the end of the added data if replacing
|
||||||
|
$data_length = mb_strlen($data, '8bit');
|
||||||
|
$remove = MathHelper::bc('add', $position, $data_length);
|
||||||
|
ftruncate($actual_file, $remove);
|
||||||
|
|
||||||
|
// check if this was a replacement of data
|
||||||
|
$position = MathHelper::bc('add', $position, $replace ?: 0);
|
||||||
|
|
||||||
|
// Move to the position of the remaining data in the temporary stream
|
||||||
|
fseek($temp_file, $position);
|
||||||
|
|
||||||
|
// Copy the remaining data from the temporary stream to the file
|
||||||
|
stream_copy_to_stream($temp_file, $actual_file);
|
||||||
|
|
||||||
|
// Close both file handles
|
||||||
|
fclose($actual_file);
|
||||||
|
fclose($temp_file);
|
||||||
|
|
||||||
// any help to improve this is welcome...
|
// any help to improve this is welcome...
|
||||||
}
|
}
|
||||||
|
@ -521,7 +521,7 @@ class Get
|
|||||||
* The UIKIT component checker
|
* The UIKIT component checker
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.uikit_comp');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Uikit.Comp')->get($key);
|
||||||
*/
|
*/
|
||||||
public $uikitComp = array();
|
public $uikitComp = array();
|
||||||
|
|
||||||
@ -545,7 +545,7 @@ class Get
|
|||||||
* The Google Chart Switch per view
|
* The Google Chart Switch per view
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.google_chart');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Google.Chart')->get($key);
|
||||||
*/
|
*/
|
||||||
public $googleChart = [];
|
public $googleChart = [];
|
||||||
|
|
||||||
@ -599,7 +599,7 @@ class Get
|
|||||||
* The site edit views
|
* The site edit views
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.site_edit_view');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Site.Edit.View')->get($key);
|
||||||
*/
|
*/
|
||||||
public $siteEditView = [];
|
public $siteEditView = [];
|
||||||
|
|
||||||
@ -607,7 +607,7 @@ class Get
|
|||||||
* The admin list view filter type
|
* The admin list view filter type
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.admin_filter_type');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Admin.Filter.Type')->get($key);
|
||||||
*/
|
*/
|
||||||
public $adminFilterType = array();
|
public $adminFilterType = array();
|
||||||
|
|
||||||
@ -671,7 +671,7 @@ class Get
|
|||||||
* The Footable Script Builder
|
* The Footable Script Builder
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.footable_scripts');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Footable.Scripts')->get($key);
|
||||||
*/
|
*/
|
||||||
public $footableScripts = [];
|
public $footableScripts = [];
|
||||||
|
|
||||||
@ -727,7 +727,7 @@ class Get
|
|||||||
* The custom alias builder
|
* The custom alias builder
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.custom_alias');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Custom.Alias')->get($key);
|
||||||
*/
|
*/
|
||||||
public $customAliasBuilder = [];
|
public $customAliasBuilder = [];
|
||||||
|
|
||||||
@ -762,7 +762,7 @@ class Get
|
|||||||
* Category other name bucket
|
* Category other name bucket
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('category.other.name');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Category.Other.Name')->get($key);
|
||||||
*/
|
*/
|
||||||
public $catOtherName = array();
|
public $catOtherName = array();
|
||||||
|
|
||||||
@ -770,7 +770,7 @@ class Get
|
|||||||
* The field relations values
|
* The field relations values
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.field_relations');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Field.Relations')->get($key);
|
||||||
*/
|
*/
|
||||||
public $fieldRelations = array();
|
public $fieldRelations = array();
|
||||||
|
|
||||||
@ -795,7 +795,7 @@ class Get
|
|||||||
* The list join fields
|
* The list join fields
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.list_join');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.List.Join')->get($key);
|
||||||
*/
|
*/
|
||||||
public $listJoinBuilder = array();
|
public $listJoinBuilder = array();
|
||||||
|
|
||||||
@ -803,7 +803,7 @@ class Get
|
|||||||
* The list head over ride
|
* The list head over ride
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.list_head_override');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.List.Head.Override')->get($key);
|
||||||
*/
|
*/
|
||||||
public $listHeadOverRide = array();
|
public $listHeadOverRide = array();
|
||||||
|
|
||||||
@ -819,7 +819,7 @@ class Get
|
|||||||
* The custom admin view tabs
|
* The custom admin view tabs
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.custom_tabs');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Custom.Tabs')->get($key);
|
||||||
*/
|
*/
|
||||||
public $customTabs = array();
|
public $customTabs = array();
|
||||||
|
|
||||||
@ -843,7 +843,7 @@ class Get
|
|||||||
* The get Module Script Switch
|
* The get Module Script Switch
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.get_module');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Get.Module')->get($key);
|
||||||
*/
|
*/
|
||||||
public $getModule = [];
|
public $getModule = [];
|
||||||
|
|
||||||
@ -851,7 +851,7 @@ class Get
|
|||||||
* The template data
|
* The template data
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.template_data');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Template.Data')->get($key);
|
||||||
*/
|
*/
|
||||||
public $templateData = [];
|
public $templateData = [];
|
||||||
|
|
||||||
@ -859,7 +859,7 @@ class Get
|
|||||||
* The layout data
|
* The layout data
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.layout_data');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Layout.Data')->get($key);
|
||||||
*/
|
*/
|
||||||
public $layoutData = [];
|
public $layoutData = [];
|
||||||
|
|
||||||
@ -907,7 +907,7 @@ class Get
|
|||||||
* The site main get
|
* The site main get
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.site_main_get');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Site.Main.Get')->get($key);
|
||||||
*/
|
*/
|
||||||
public $siteMainGet = [];
|
public $siteMainGet = [];
|
||||||
|
|
||||||
@ -915,7 +915,7 @@ class Get
|
|||||||
* The site dynamic get
|
* The site dynamic get
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.site_dynamic_get');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Site.Dynamic.Get')->get($key);
|
||||||
*/
|
*/
|
||||||
public $siteDynamicGet = [];
|
public $siteDynamicGet = [];
|
||||||
|
|
||||||
@ -923,7 +923,7 @@ class Get
|
|||||||
* The get AS lookup
|
* The get AS lookup
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.get_as_lookup');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Get.As.Lookup')->get($key);
|
||||||
*/
|
*/
|
||||||
public $getAsLookup = [];
|
public $getAsLookup = [];
|
||||||
|
|
||||||
@ -931,7 +931,7 @@ class Get
|
|||||||
* The site fields
|
* The site fields
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.site_fields');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Site.Fields')->get($key);
|
||||||
*/
|
*/
|
||||||
public $siteFields = [];
|
public $siteFields = [];
|
||||||
|
|
||||||
@ -963,7 +963,7 @@ class Get
|
|||||||
* The Library Manager
|
* The Library Manager
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecate 3.3 Use CFactory::_('Registry')->get('builder.library_manager');
|
* @deprecate 3.3 Use CFactory::_('Compiler.Builder.Library.Manager')->get($key);
|
||||||
*/
|
*/
|
||||||
public $libManager = [];
|
public $libManager = [];
|
||||||
|
|
||||||
@ -1017,7 +1017,7 @@ class Get
|
|||||||
* mysql table settings
|
* mysql table settings
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Registry')->get('builder.mysql_table_setting');
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Mysql.Table.Setting')->get($key);
|
||||||
*/
|
*/
|
||||||
public $mysqlTableSetting = [];
|
public $mysqlTableSetting = [];
|
||||||
|
|
||||||
@ -1039,7 +1039,7 @@ class Get
|
|||||||
$this->joomlaVersion = CFactory::_('Config')->joomla_version;
|
$this->joomlaVersion = CFactory::_('Config')->joomla_version;
|
||||||
// set the minfy switch of the JavaScript @deprecated
|
// set the minfy switch of the JavaScript @deprecated
|
||||||
$this->minify = CFactory::_('Config')->get('minify', 0);
|
$this->minify = CFactory::_('Config')->get('minify', 0);
|
||||||
// set the global language @deprecated @deprecated
|
// set the global language @deprecated
|
||||||
$this->langTag = CFactory::_('Config')->get('lang_tag', 'en-GB');
|
$this->langTag = CFactory::_('Config')->get('lang_tag', 'en-GB');
|
||||||
// also set the helper class langTag (for safeStrings)
|
// also set the helper class langTag (for safeStrings)
|
||||||
ComponentbuilderHelper::$langTag = CFactory::_('Config')->get('lang_tag', 'en-GB');
|
ComponentbuilderHelper::$langTag = CFactory::_('Config')->get('lang_tag', 'en-GB');
|
||||||
@ -1144,8 +1144,29 @@ class Get
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
// get powers *+*+*+*+*+*+*+*PRO
|
// FOR THE HELPER CLASS POWERS
|
||||||
|
// Utilities String Helper
|
||||||
|
CFactory::_('Power')->get('1f28cb53-60d9-4db1-b517-3c7dc6b429ef', 1);
|
||||||
|
// Utilities Array Helper
|
||||||
|
CFactory::_('Power')->get('0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a', 1);
|
||||||
|
// Utilities Component Helper
|
||||||
|
CFactory::_('Power')->get('640b5352-fb09-425f-a26e-cd44eda03f15', 1);
|
||||||
|
// Utilities Object Helper
|
||||||
|
CFactory::_('Power')->get('91004529-94a9-4590-b842-e7c6b624ecf5', 1);
|
||||||
|
// Utilities GetHelper
|
||||||
|
CFactory::_('Power')->get('db87c339-5bb6-4291-a7ef-2c48ea1b06bc', 1);
|
||||||
|
// Utilities Json Helper
|
||||||
|
CFactory::_('Power')->get(' 4b225c51-d293-48e4-b3f6-5136cf5c3f18', 1);
|
||||||
|
// Utilities FormHelper
|
||||||
|
CFactory::_('Power')->get('1198aecf-84c6-45d2-aea8-d531aa4afdfa', 1);
|
||||||
|
|
||||||
|
// load powers *+*+*+*+*+*+*+*
|
||||||
CFactory::_('Power')->load($this->linkedPowers);
|
CFactory::_('Power')->load($this->linkedPowers);
|
||||||
|
// load any other super powers that was found
|
||||||
|
if (($super_powers = CFactory::_('Power.Extractor')->get_()) !== null)
|
||||||
|
{
|
||||||
|
CFactory::_('Power')->load($super_powers);
|
||||||
|
}
|
||||||
// set the percentage when a language can be added
|
// set the percentage when a language can be added
|
||||||
$this->percentageLanguageAdd = (int) $this->params->get(
|
$this->percentageLanguageAdd = (int) $this->params->get(
|
||||||
'percentagelanguageadd', 50
|
'percentagelanguageadd', 50
|
||||||
@ -1220,9 +1241,7 @@ class Get
|
|||||||
* @return void
|
* @return void
|
||||||
* @deprecated 3.3 Use CFactory::_('Language')->set($target, $language, $string, $addPrefix);
|
* @deprecated 3.3 Use CFactory::_('Language')->set($target, $language, $string, $addPrefix);
|
||||||
*/
|
*/
|
||||||
public function setLangContent($target, $language, $string,
|
public function setLangContent($target, $language, $string, $addPrefix = false)
|
||||||
$addPrefix = false
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
CFactory::_('Language')->set($target, $language, $string, $addPrefix);
|
CFactory::_('Language')->set($target, $language, $string, $addPrefix);
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,6 @@ class Structure extends Get
|
|||||||
* The line counter
|
* The line counter
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
* @deprecated 3.3
|
|
||||||
* @deprecated 3.3 Use CFactory::_('Utilities.Counter')->line;
|
* @deprecated 3.3 Use CFactory::_('Utilities.Counter')->line;
|
||||||
*/
|
*/
|
||||||
public $lineCount = 0;
|
public $lineCount = 0;
|
||||||
@ -263,7 +262,7 @@ class Structure extends Get
|
|||||||
* Static File Content
|
* Static File Content
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Content')->active
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Content.One')->allActive()
|
||||||
*/
|
*/
|
||||||
public $fileContentStatic = array();
|
public $fileContentStatic = array();
|
||||||
|
|
||||||
@ -271,6 +270,7 @@ class Structure extends Get
|
|||||||
* Extention Custom Fields
|
* Extention Custom Fields
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Extension.Custom.Fields')->get($key)
|
||||||
*/
|
*/
|
||||||
public $extentionCustomfields = array();
|
public $extentionCustomfields = array();
|
||||||
|
|
||||||
@ -296,14 +296,13 @@ class Structure extends Get
|
|||||||
* @deprecated 3.3
|
* @deprecated 3.3
|
||||||
*/
|
*/
|
||||||
public $stdRootFiles
|
public $stdRootFiles
|
||||||
= array('access.xml', 'config.xml', 'controller.php', 'index.html',
|
= array('access.xml', 'config.xml', 'controller.php', 'index.html', 'README.txt');
|
||||||
'README.txt');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dynamic File Content
|
* Dynamic File Content
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
* @deprecated 3.3 Use CFactory::_('Content')->_active
|
* @deprecated 3.3 Use CFactory::_('Compiler.Builder.Content.Multi')->allActive()
|
||||||
*/
|
*/
|
||||||
public $fileContentDynamic = array();
|
public $fileContentDynamic = array();
|
||||||
|
|
||||||
@ -418,17 +417,17 @@ class Structure extends Get
|
|||||||
if (parent::__construct())
|
if (parent::__construct())
|
||||||
{
|
{
|
||||||
// set incase no extra admin folder are loaded
|
// set incase no extra admin folder are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_ADMIN_FOLDERS', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_ADMIN_FOLDERS', '');
|
||||||
// set incase no extra site folder are loaded
|
// set incase no extra site folder are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_SITE_FOLDERS', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_SITE_FOLDERS', '');
|
||||||
// set incase no extra media folder are loaded
|
// set incase no extra media folder are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_MEDIA_FOLDERS', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_MEDIA_FOLDERS', '');
|
||||||
// set incase no extra admin files are loaded
|
// set incase no extra admin files are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_ADMIN_FILES', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_ADMIN_FILES', '');
|
||||||
// set incase no extra site files are loaded
|
// set incase no extra site files are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_SITE_FILES', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_SITE_FILES', '');
|
||||||
// set incase no extra media files are loaded
|
// set incase no extra media files are loaded
|
||||||
CFactory::_('Content')->set('EXSTRA_MEDIA_FILES', '');
|
CFactory::_('Compiler.Builder.Content.One')->set('EXSTRA_MEDIA_FILES', '');
|
||||||
// make sure there is no old build
|
// make sure there is no old build
|
||||||
CFactory::_('Utilities.Folder')->remove(CFactory::_('Utilities.Paths')->component_path);
|
CFactory::_('Utilities.Folder')->remove(CFactory::_('Utilities.Paths')->component_path);
|
||||||
// load the libraries files/folders and url's
|
// load the libraries files/folders and url's
|
||||||
@ -633,7 +632,6 @@ class Structure extends Get
|
|||||||
*
|
*
|
||||||
* @return boolean
|
* @return boolean
|
||||||
* @deprecated 3.3 Use CFactory::_('Component.Structure.Multiple')->build();
|
* @deprecated 3.3 Use CFactory::_('Component.Structure.Multiple')->build();
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
private function setDynamique()
|
private function setDynamique()
|
||||||
{
|
{
|
||||||
@ -671,7 +669,7 @@ class Structure extends Get
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// check if this is a custom field that should be moved
|
// check if this is a custom field that should be moved
|
||||||
if (isset($this->extentionCustomfields[$field['type_name']]))
|
if (CFactory::_('Compiler.Builder.Extension.Custom.Fields')->exists($field['type_name']))
|
||||||
{
|
{
|
||||||
$check = md5($path . 'type' . $field['type_name']);
|
$check = md5($path . 'type' . $field['type_name']);
|
||||||
// lets check if we already moved this
|
// lets check if we already moved this
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@ COM_COMPONENTBUILDER="Component Builder"
|
|||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_ACCESS="Admins Custom Tabs Access"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_ACCESS="Admins Custom Tabs Access"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_ACCESS_DESC="Allows the users in this group to access access admins custom tabs"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_ACCESS_DESC="Allows the users in this group to access access admins custom tabs"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_BATCH_USE="Admins Custom Tabs Batch Use"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_BATCH_USE="Admins Custom Tabs Batch Use"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admins custom tabs"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch admins custom tabs"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_CREATE="Admins Custom Tabs Create"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_CREATE="Admins Custom Tabs Create"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_CREATE_DESC="Allows the users in this group to create create admins custom tabs"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_CREATE_DESC="Allows the users in this group to create create admins custom tabs"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_DELETE="Admins Custom Tabs Delete"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_DELETE="Admins Custom Tabs Delete"
|
||||||
@ -18,15 +18,15 @@ COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_OWN_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_STATE="Admins Custom Tabs Edit State"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_STATE="Admins Custom Tabs Edit State"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin custom tabs"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin custom tabs"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_VERSION="Admins Custom Tabs Edit Version"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_VERSION="Admins Custom Tabs Edit Version"
|
||||||
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admins custom tabs"
|
COM_COMPONENTBUILDER_ADMINS_CUSTOM_TABS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admins custom tabs"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_ACCESS="Admins Fields Access"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_ACCESS="Admins Fields Access"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_ACCESS_DESC="Allows the users in this group to access access admins fields"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_ACCESS_DESC="Allows the users in this group to access access admins fields"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_BATCH_USE="Admins Fields Batch Use"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_BATCH_USE="Admins Fields Batch Use"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admins fields"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch admins fields"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_ACCESS="Admins Fields Conditions Access"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_ACCESS="Admins Fields Conditions Access"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_ACCESS_DESC="Allows the users in this group to access access admins fields conditions"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_ACCESS_DESC="Allows the users in this group to access access admins fields conditions"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_BATCH_USE="Admins Fields Conditions Batch Use"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_BATCH_USE="Admins Fields Conditions Batch Use"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admins fields conditions"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch admins fields conditions"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_CREATE="Admins Fields Conditions Create"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_CREATE="Admins Fields Conditions Create"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_CREATE_DESC="Allows the users in this group to create create admins fields conditions"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_CREATE_DESC="Allows the users in this group to create create admins fields conditions"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_DELETE="Admins Fields Conditions Delete"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_DELETE="Admins Fields Conditions Delete"
|
||||||
@ -42,7 +42,7 @@ COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_OWN_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_STATE="Admins Fields Conditions Edit State"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_STATE="Admins Fields Conditions Edit State"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields conditions"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields conditions"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_VERSION="Admins Fields Conditions Edit Version"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_VERSION="Admins Fields Conditions Edit Version"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admins fields conditions"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CONDITIONS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admins fields conditions"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CREATE="Admins Fields Create"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CREATE="Admins Fields Create"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_CREATE_DESC="Allows the users in this group to create create admins fields"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_CREATE_DESC="Allows the users in this group to create create admins fields"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_DELETE="Admins Fields Delete"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_DELETE="Admins Fields Delete"
|
||||||
@ -58,11 +58,11 @@ COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_STATE="Admins Fields Edit State"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_STATE="Admins Fields Edit State"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_VERSION="Admins Fields Edit Version"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_VERSION="Admins Fields Edit Version"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admins fields"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admins fields"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_ACCESS="Admins Fields Relations Access"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_ACCESS="Admins Fields Relations Access"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_ACCESS_DESC="Allows the users in this group to access access admins fields relations"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_ACCESS_DESC="Allows the users in this group to access access admins fields relations"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_BATCH_USE="Admins Fields Relations Batch Use"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_BATCH_USE="Admins Fields Relations Batch Use"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admins fields relations"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch admins fields relations"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_CREATE="Admins Fields Relations Create"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_CREATE="Admins Fields Relations Create"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_CREATE_DESC="Allows the users in this group to create create admins fields relations"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_CREATE_DESC="Allows the users in this group to create create admins fields relations"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_DELETE="Admins Fields Relations Delete"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_DELETE="Admins Fields Relations Delete"
|
||||||
@ -78,11 +78,11 @@ COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_OWN_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_STATE="Admins Fields Relations Edit State"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_STATE="Admins Fields Relations Edit State"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields relations"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin fields relations"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_VERSION="Admins Fields Relations Edit Version"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_VERSION="Admins Fields Relations Edit Version"
|
||||||
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admins fields relations"
|
COM_COMPONENTBUILDER_ADMINS_FIELDS_RELATIONS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admins fields relations"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS="Admin Views Access"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS="Admin Views Access"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE="Admin Views Batch Use"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE="Admin Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE="Admin Views Create"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE="Admin Views Create"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_LIST="Admin Views Dashboard List"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_DASHBOARD_LIST="Admin Views Dashboard List"
|
||||||
@ -100,7 +100,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the users in this group t
|
|||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE="Admin Views Edit State"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE="Admin Views Edit State"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin view"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the admin view"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION="Admin Views Edit Version"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION="Admin Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT="Admin Views Export"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT="Admin Views Export"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export admin views"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export admin views"
|
||||||
COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT="Admin Views Import"
|
COM_COMPONENTBUILDER_ADMIN_VIEWS_IMPORT="Admin Views Import"
|
||||||
@ -112,7 +112,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the use
|
|||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS="Class Extendings Access"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS="Class Extendings Access"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS_DESC="Allows the users in this group to access access class extendings"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS_DESC="Allows the users in this group to access access class extendings"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE="Class Extendings Batch Use"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE="Class Extendings Batch Use"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch class extendings"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch class extendings"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_CREATE="Class Extendings Create"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_CREATE="Class Extendings Create"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_CREATE_DESC="Allows the users in this group to create create class extendings"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_CREATE_DESC="Allows the users in this group to create create class extendings"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_DELETE="Class Extendings Delete"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_DELETE="Class Extendings Delete"
|
||||||
@ -128,11 +128,11 @@ COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_OWN_DESC="Allows the users in this gr
|
|||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_STATE="Class Extendings Edit State"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_STATE="Class Extendings Edit State"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the class extends"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_STATE_DESC="Allows the users in this group to update the state of the class extends"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION="Class Extendings Edit Version"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION="Class Extendings Edit Version"
|
||||||
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version class extendings"
|
COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version class extendings"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_ACCESS="Class Methods Access"
|
COM_COMPONENTBUILDER_CLASS_METHODS_ACCESS="Class Methods Access"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_ACCESS_DESC="Allows the users in this group to access access class methods"
|
COM_COMPONENTBUILDER_CLASS_METHODS_ACCESS_DESC="Allows the users in this group to access access class methods"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_BATCH_USE="Class Methods Batch Use"
|
COM_COMPONENTBUILDER_CLASS_METHODS_BATCH_USE="Class Methods Batch Use"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch class methods"
|
COM_COMPONENTBUILDER_CLASS_METHODS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch class methods"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_CREATE="Class Methods Create"
|
COM_COMPONENTBUILDER_CLASS_METHODS_CREATE="Class Methods Create"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_CREATE_DESC="Allows the users in this group to create create class methods"
|
COM_COMPONENTBUILDER_CLASS_METHODS_CREATE_DESC="Allows the users in this group to create create class methods"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_DELETE="Class Methods Delete"
|
COM_COMPONENTBUILDER_CLASS_METHODS_DELETE="Class Methods Delete"
|
||||||
@ -148,7 +148,7 @@ COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_STATE="Class Methods Edit State"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_STATE="Class Methods Edit State"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_STATE_DESC="Allows the users in this group to update the state of the class method"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_STATE_DESC="Allows the users in this group to update the state of the class method"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_VERSION="Class Methods Edit Version"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_VERSION="Class Methods Edit Version"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version class methods"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version class methods"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EXPORT="Class Methods Export"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EXPORT="Class Methods Export"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_EXPORT_DESC="Allows the users in this group to export export class methods"
|
COM_COMPONENTBUILDER_CLASS_METHODS_EXPORT_DESC="Allows the users in this group to export export class methods"
|
||||||
COM_COMPONENTBUILDER_CLASS_METHODS_IMPORT="Class Methods Import"
|
COM_COMPONENTBUILDER_CLASS_METHODS_IMPORT="Class Methods Import"
|
||||||
@ -156,7 +156,7 @@ COM_COMPONENTBUILDER_CLASS_METHODS_IMPORT_DESC="Allows the users in this group t
|
|||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_ACCESS="Class Properties Access"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_ACCESS="Class Properties Access"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_ACCESS_DESC="Allows the users in this group to access access class properties"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_ACCESS_DESC="Allows the users in this group to access access class properties"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_BATCH_USE="Class Properties Batch Use"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_BATCH_USE="Class Properties Batch Use"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch class properties"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch class properties"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_CREATE="Class Properties Create"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_CREATE="Class Properties Create"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_CREATE_DESC="Allows the users in this group to create create class properties"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_CREATE_DESC="Allows the users in this group to create create class properties"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_DELETE="Class Properties Delete"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_DELETE="Class Properties Delete"
|
||||||
@ -172,7 +172,7 @@ COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_OWN_DESC="Allows the users in this gr
|
|||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_STATE="Class Properties Edit State"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_STATE="Class Properties Edit State"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the class property"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the class property"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_VERSION="Class Properties Edit Version"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_VERSION="Class Properties Edit Version"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version class properties"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version class properties"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EXPORT="Class Properties Export"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EXPORT="Class Properties Export"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EXPORT_DESC="Allows the users in this group to export export class properties"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_EXPORT_DESC="Allows the users in this group to export export class properties"
|
||||||
COM_COMPONENTBUILDER_CLASS_PROPERTIES_IMPORT="Class Properties Import"
|
COM_COMPONENTBUILDER_CLASS_PROPERTIES_IMPORT="Class Properties Import"
|
||||||
@ -194,7 +194,7 @@ COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS="Components Admin Views Access"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS="Components Admin Views Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE="Components Admin Views Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE="Components Admin Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE="Components Admin Views Create"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE="Components Admin Views Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create components admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create components admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_DELETE="Components Admin Views Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_DELETE="Components Admin Views Delete"
|
||||||
@ -210,11 +210,11 @@ COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the users in t
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_STATE="Components Admin Views Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_STATE="Components Admin Views Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_VERSION="Components Admin Views Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_VERSION="Components Admin Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_ACCESS="Components Config Access"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_ACCESS="Components Config Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_ACCESS_DESC="Allows the users in this group to access access components config"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_ACCESS_DESC="Allows the users in this group to access access components config"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_BATCH_USE="Components Config Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_BATCH_USE="Components Config Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components config"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components config"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_CREATE="Components Config Create"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_CREATE="Components Config Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_CREATE_DESC="Allows the users in this group to create create components config"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_CREATE_DESC="Allows the users in this group to create create components config"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_DELETE="Components Config Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_DELETE="Components Config Delete"
|
||||||
@ -230,11 +230,11 @@ COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_OWN_DESC="Allows the users in this g
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_STATE="Components Config Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_STATE="Components Config Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_STATE_DESC="Allows the users in this group to update the state of the component config"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_STATE_DESC="Allows the users in this group to update the state of the component config"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_VERSION="Components Config Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_VERSION="Components Config Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components config"
|
COM_COMPONENTBUILDER_COMPONENTS_CONFIG_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components config"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_ACCESS="Components Custom Admin Menus Access"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_ACCESS="Components Custom Admin Menus Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_ACCESS_DESC="Allows the users in this group to access access components custom admin menus"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_ACCESS_DESC="Allows the users in this group to access access components custom admin menus"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_BATCH_USE="Components Custom Admin Menus Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_BATCH_USE="Components Custom Admin Menus Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components custom admin menus"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components custom admin menus"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_CREATE="Components Custom Admin Menus Create"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_CREATE="Components Custom Admin Menus Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_CREATE_DESC="Allows the users in this group to create create components custom admin menus"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_CREATE_DESC="Allows the users in this group to create create components custom admin menus"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_DELETE="Components Custom Admin Menus Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_DELETE="Components Custom Admin Menus Delete"
|
||||||
@ -250,11 +250,11 @@ COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_OWN_DESC="Allows the use
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_STATE="Components Custom Admin Menus Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_STATE="Components Custom Admin Menus Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component custom admin menus"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component custom admin menus"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_VERSION="Components Custom Admin Menus Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_VERSION="Components Custom Admin Menus Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components custom admin menus"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_MENUS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components custom admin menus"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_ACCESS="Components Custom Admin Views Access"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_ACCESS="Components Custom Admin Views Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components custom admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components custom admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_BATCH_USE="Components Custom Admin Views Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_BATCH_USE="Components Custom Admin Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components custom admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components custom admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_CREATE="Components Custom Admin Views Create"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_CREATE="Components Custom Admin Views Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create components custom admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create components custom admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_DELETE="Components Custom Admin Views Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_DELETE="Components Custom Admin Views Delete"
|
||||||
@ -270,11 +270,11 @@ COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the use
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_STATE="Components Custom Admin Views Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_STATE="Components Custom Admin Views Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component custom admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component custom admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_VERSION="Components Custom Admin Views Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_VERSION="Components Custom Admin Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components custom admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_CUSTOM_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components custom admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_ACCESS="Components Dashboard Access"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_ACCESS="Components Dashboard Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_ACCESS_DESC="Allows the users in this group to access access components dashboard"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_ACCESS_DESC="Allows the users in this group to access access components dashboard"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_BATCH_USE="Components Dashboard Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_BATCH_USE="Components Dashboard Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components dashboard"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components dashboard"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_CREATE="Components Dashboard Create"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_CREATE="Components Dashboard Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_CREATE_DESC="Allows the users in this group to create create components dashboard"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_CREATE_DESC="Allows the users in this group to create create components dashboard"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_DELETE="Components Dashboard Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_DELETE="Components Dashboard Delete"
|
||||||
@ -290,11 +290,11 @@ COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_OWN_DESC="Allows the users in thi
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_STATE="Components Dashboard Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_STATE="Components Dashboard Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_STATE_DESC="Allows the users in this group to update the state of the component dashboard"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_STATE_DESC="Allows the users in this group to update the state of the component dashboard"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_VERSION="Components Dashboard Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_VERSION="Components Dashboard Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components dashboard"
|
COM_COMPONENTBUILDER_COMPONENTS_DASHBOARD_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components dashboard"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_ACCESS="Components Files Folders Access"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_ACCESS="Components Files Folders Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_ACCESS_DESC="Allows the users in this group to access access components files folders"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_ACCESS_DESC="Allows the users in this group to access access components files folders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_BATCH_USE="Components Files Folders Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_BATCH_USE="Components Files Folders Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components files folders"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components files folders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_CREATE="Components Files Folders Create"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_CREATE="Components Files Folders Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_CREATE_DESC="Allows the users in this group to create create components files folders"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_CREATE_DESC="Allows the users in this group to create create components files folders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_DELETE="Components Files Folders Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_DELETE="Components Files Folders Delete"
|
||||||
@ -310,11 +310,11 @@ COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_OWN_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_STATE="Components Files Folders Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_STATE="Components Files Folders Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component files folders"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component files folders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_VERSION="Components Files Folders Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_VERSION="Components Files Folders Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components files folders"
|
COM_COMPONENTBUILDER_COMPONENTS_FILES_FOLDERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components files folders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_ACCESS="Components Modules Access"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_ACCESS="Components Modules Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_ACCESS_DESC="Allows the users in this group to access access components modules"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_ACCESS_DESC="Allows the users in this group to access access components modules"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_BATCH_USE="Components Modules Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_BATCH_USE="Components Modules Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components modules"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components modules"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_CREATE="Components Modules Create"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_CREATE="Components Modules Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_CREATE_DESC="Allows the users in this group to create create components modules"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_CREATE_DESC="Allows the users in this group to create create components modules"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_DELETE="Components Modules Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_DELETE="Components Modules Delete"
|
||||||
@ -330,11 +330,11 @@ COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_OWN_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_STATE="Components Modules Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_STATE="Components Modules Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the component modules"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the component modules"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_VERSION="Components Modules Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_VERSION="Components Modules Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components modules"
|
COM_COMPONENTBUILDER_COMPONENTS_MODULES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components modules"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_ACCESS="Components Mysql Tweaks Access"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_ACCESS="Components Mysql Tweaks Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_ACCESS_DESC="Allows the users in this group to access access components mysql tweaks"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_ACCESS_DESC="Allows the users in this group to access access components mysql tweaks"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_BATCH_USE="Components Mysql Tweaks Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_BATCH_USE="Components Mysql Tweaks Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components mysql tweaks"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components mysql tweaks"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_CREATE="Components Mysql Tweaks Create"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_CREATE="Components Mysql Tweaks Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_CREATE_DESC="Allows the users in this group to create create components mysql tweaks"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_CREATE_DESC="Allows the users in this group to create create components mysql tweaks"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_DELETE="Components Mysql Tweaks Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_DELETE="Components Mysql Tweaks Delete"
|
||||||
@ -350,11 +350,11 @@ COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_OWN_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_STATE="Components Mysql Tweaks Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_STATE="Components Mysql Tweaks Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component mysql tweaks"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component mysql tweaks"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_VERSION="Components Mysql Tweaks Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_VERSION="Components Mysql Tweaks Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components mysql tweaks"
|
COM_COMPONENTBUILDER_COMPONENTS_MYSQL_TWEAKS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components mysql tweaks"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_ACCESS="Components Placeholders Access"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_ACCESS="Components Placeholders Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_ACCESS_DESC="Allows the users in this group to access access components placeholders"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_ACCESS_DESC="Allows the users in this group to access access components placeholders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_BATCH_USE="Components Placeholders Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_BATCH_USE="Components Placeholders Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components placeholders"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components placeholders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_CREATE="Components Placeholders Create"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_CREATE="Components Placeholders Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_CREATE_DESC="Allows the users in this group to create create components placeholders"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_CREATE_DESC="Allows the users in this group to create create components placeholders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_DELETE="Components Placeholders Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_DELETE="Components Placeholders Delete"
|
||||||
@ -370,11 +370,11 @@ COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_OWN_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_STATE="Components Placeholders Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_STATE="Components Placeholders Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component placeholders"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component placeholders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_VERSION="Components Placeholders Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_VERSION="Components Placeholders Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components placeholders"
|
COM_COMPONENTBUILDER_COMPONENTS_PLACEHOLDERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components placeholders"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_ACCESS="Components Plugins Access"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_ACCESS="Components Plugins Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_ACCESS_DESC="Allows the users in this group to access access components plugins"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_ACCESS_DESC="Allows the users in this group to access access components plugins"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_BATCH_USE="Components Plugins Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_BATCH_USE="Components Plugins Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components plugins"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components plugins"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_CREATE="Components Plugins Create"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_CREATE="Components Plugins Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_CREATE_DESC="Allows the users in this group to create create components plugins"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_CREATE_DESC="Allows the users in this group to create create components plugins"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_DELETE="Components Plugins Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_DELETE="Components Plugins Delete"
|
||||||
@ -390,11 +390,11 @@ COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_OWN_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_STATE="Components Plugins Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_STATE="Components Plugins Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component plugins"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component plugins"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_VERSION="Components Plugins Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_VERSION="Components Plugins Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components plugins"
|
COM_COMPONENTBUILDER_COMPONENTS_PLUGINS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components plugins"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_ACCESS="Components Site Views Access"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_ACCESS="Components Site Views Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_ACCESS_DESC="Allows the users in this group to access access components site views"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_ACCESS_DESC="Allows the users in this group to access access components site views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_BATCH_USE="Components Site Views Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_BATCH_USE="Components Site Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components site views"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components site views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_CREATE="Components Site Views Create"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_CREATE="Components Site Views Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_CREATE_DESC="Allows the users in this group to create create components site views"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_CREATE_DESC="Allows the users in this group to create create components site views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_DELETE="Components Site Views Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_DELETE="Components Site Views Delete"
|
||||||
@ -410,11 +410,11 @@ COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_OWN_DESC="Allows the users in th
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_STATE="Components Site Views Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_STATE="Components Site Views Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component site views"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the component site views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_VERSION="Components Site Views Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_VERSION="Components Site Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components site views"
|
COM_COMPONENTBUILDER_COMPONENTS_SITE_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components site views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_ACCESS="Components Updates Access"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_ACCESS="Components Updates Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_ACCESS_DESC="Allows the users in this group to access access components updates"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_ACCESS_DESC="Allows the users in this group to access access components updates"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_BATCH_USE="Components Updates Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_BATCH_USE="Components Updates Batch Use"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch components updates"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch components updates"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_CREATE="Components Updates Create"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_CREATE="Components Updates Create"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_CREATE_DESC="Allows the users in this group to create create components updates"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_CREATE_DESC="Allows the users in this group to create create components updates"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_DELETE="Components Updates Delete"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_DELETE="Components Updates Delete"
|
||||||
@ -430,12 +430,12 @@ COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_OWN_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_STATE="Components Updates Edit State"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_STATE="Components Updates Edit State"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the component updates"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the component updates"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_VERSION="Components Updates Edit Version"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_VERSION="Components Updates Edit Version"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version components updates"
|
COM_COMPONENTBUILDER_COMPONENTS_UPDATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version components updates"
|
||||||
COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration"
|
COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS="Custom Admin Views Access"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS="Custom Admin Views Access"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access custom admin views"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access custom admin views"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE="Custom Admin Views Batch Use"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE="Custom Admin Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch custom admin views"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch custom admin views"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE="Custom Admin Views Create"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE="Custom Admin Views Create"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create custom admin views"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_CREATE_DESC="Allows the users in this group to create create custom admin views"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_LIST="Custom Admin Views Dashboard List"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_DASHBOARD_LIST="Custom Admin Views Dashboard List"
|
||||||
@ -449,7 +449,7 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_OWN_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE="Custom Admin Views Edit State"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE="Custom Admin Views Edit State"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom admin view"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom admin view"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION="Custom Admin Views Edit Version"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION="Custom Admin Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version custom admin views"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version custom admin views"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT="Custom Admin Views Export"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT="Custom Admin Views Export"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export custom admin views"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_EXPORT_DESC="Allows the users in this group to export export custom admin views"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_IMPORT="Custom Admin Views Import"
|
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEWS_IMPORT="Custom Admin Views Import"
|
||||||
@ -461,7 +461,7 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows t
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS="Custom Codes Access"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS="Custom Codes Access"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS_DESC="Allows the users in this group to access access custom codes"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_ACCESS_DESC="Allows the users in this group to access access custom codes"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE="Custom Codes Batch Use"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE="Custom Codes Batch Use"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch custom codes"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch custom codes"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE="Custom Codes Create"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE="Custom Codes Create"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE_DESC="Allows the users in this group to create create custom codes"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_CREATE_DESC="Allows the users in this group to create create custom codes"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_DASHBOARD_LIST="Custom Codes Dashboard List"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_DASHBOARD_LIST="Custom Codes Dashboard List"
|
||||||
@ -479,7 +479,7 @@ COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE="Custom Codes Edit State"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE="Custom Codes Edit State"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom code"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_STATE_DESC="Allows the users in this group to update the state of the custom code"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION="Custom Codes Edit Version"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION="Custom Codes Edit Version"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version custom codes"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version custom codes"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT="Custom Codes Export"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT="Custom Codes Export"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT_DESC="Allows the users in this group to export export custom codes"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_EXPORT_DESC="Allows the users in this group to export export custom codes"
|
||||||
COM_COMPONENTBUILDER_CUSTOM_CODES_IMPORT="Custom Codes Import"
|
COM_COMPONENTBUILDER_CUSTOM_CODES_IMPORT="Custom Codes Import"
|
||||||
@ -491,7 +491,7 @@ COM_COMPONENTBUILDER_CUSTOM_CODE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the us
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS="Dynamic Gets Access"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS="Dynamic Gets Access"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS_DESC="Allows the users in this group to access access dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_ACCESS_DESC="Allows the users in this group to access access dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE="Dynamic Gets Batch Use"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE="Dynamic Gets Batch Use"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE="Dynamic Gets Create"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE="Dynamic Gets Create"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE_DESC="Allows the users in this group to create create dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_CREATE_DESC="Allows the users in this group to create create dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_ADD="Dynamic Gets Dashboard Add"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_DASHBOARD_ADD="Dynamic Gets Dashboard Add"
|
||||||
@ -507,7 +507,7 @@ COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE="Dynamic Gets Edit State"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE="Dynamic Gets Edit State"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the dynamic get"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the dynamic get"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION="Dynamic Gets Edit Version"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION="Dynamic Gets Edit Version"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT="Dynamic Gets Export"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT="Dynamic Gets Export"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT_DESC="Allows the users in this group to export export dynamic gets"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_EXPORT_DESC="Allows the users in this group to export export dynamic gets"
|
||||||
COM_COMPONENTBUILDER_DYNAMIC_GETS_IMPORT="Dynamic Gets Import"
|
COM_COMPONENTBUILDER_DYNAMIC_GETS_IMPORT="Dynamic Gets Import"
|
||||||
@ -527,7 +527,7 @@ COM_COMPONENTBUILDER_EXPORT_DATA_DESC="Allows users in this group to export data
|
|||||||
COM_COMPONENTBUILDER_FIELDS_ACCESS="Fields Access"
|
COM_COMPONENTBUILDER_FIELDS_ACCESS="Fields Access"
|
||||||
COM_COMPONENTBUILDER_FIELDS_ACCESS_DESC="Allows the users in this group to access access fields"
|
COM_COMPONENTBUILDER_FIELDS_ACCESS_DESC="Allows the users in this group to access access fields"
|
||||||
COM_COMPONENTBUILDER_FIELDS_BATCH_USE="Fields Batch Use"
|
COM_COMPONENTBUILDER_FIELDS_BATCH_USE="Fields Batch Use"
|
||||||
COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fields"
|
COM_COMPONENTBUILDER_FIELDS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch fields"
|
||||||
COM_COMPONENTBUILDER_FIELDS_CREATE="Fields Create"
|
COM_COMPONENTBUILDER_FIELDS_CREATE="Fields Create"
|
||||||
COM_COMPONENTBUILDER_FIELDS_CREATE_DESC="Allows the users in this group to create create fields"
|
COM_COMPONENTBUILDER_FIELDS_CREATE_DESC="Allows the users in this group to create create fields"
|
||||||
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD="Fields Dashboard Add"
|
COM_COMPONENTBUILDER_FIELDS_DASHBOARD_ADD="Fields Dashboard Add"
|
||||||
@ -543,7 +543,7 @@ COM_COMPONENTBUILDER_FIELDS_EDIT_OWN_DESC="Allows the users in this group to edi
|
|||||||
COM_COMPONENTBUILDER_FIELDS_EDIT_STATE="Fields Edit State"
|
COM_COMPONENTBUILDER_FIELDS_EDIT_STATE="Fields Edit State"
|
||||||
COM_COMPONENTBUILDER_FIELDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the field"
|
COM_COMPONENTBUILDER_FIELDS_EDIT_STATE_DESC="Allows the users in this group to update the state of the field"
|
||||||
COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION="Fields Edit Version"
|
COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION="Fields Edit Version"
|
||||||
COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version fields"
|
COM_COMPONENTBUILDER_FIELDS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version fields"
|
||||||
COM_COMPONENTBUILDER_FIELDS_EXPORT="Fields Export"
|
COM_COMPONENTBUILDER_FIELDS_EXPORT="Fields Export"
|
||||||
COM_COMPONENTBUILDER_FIELDS_EXPORT_DESC="Allows the users in this group to export export fields"
|
COM_COMPONENTBUILDER_FIELDS_EXPORT_DESC="Allows the users in this group to export export fields"
|
||||||
COM_COMPONENTBUILDER_FIELDS_IMPORT="Fields Import"
|
COM_COMPONENTBUILDER_FIELDS_IMPORT="Fields Import"
|
||||||
@ -553,7 +553,7 @@ COM_COMPONENTBUILDER_FIELDS_SUBMENU_DESC="Allows the users in this group to subm
|
|||||||
COM_COMPONENTBUILDER_FIELDTYPES_ACCESS="Fieldtypes Access"
|
COM_COMPONENTBUILDER_FIELDTYPES_ACCESS="Fieldtypes Access"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_ACCESS_DESC="Allows the users in this group to access access fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_ACCESS_DESC="Allows the users in this group to access access fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE="Fieldtypes Batch Use"
|
COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE="Fieldtypes Batch Use"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_CREATE="Fieldtypes Create"
|
COM_COMPONENTBUILDER_FIELDTYPES_CREATE="Fieldtypes Create"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_CREATE_DESC="Allows the users in this group to create create fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_CREATE_DESC="Allows the users in this group to create create fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_LIST="Fieldtypes Dashboard List"
|
COM_COMPONENTBUILDER_FIELDTYPES_DASHBOARD_LIST="Fieldtypes Dashboard List"
|
||||||
@ -567,7 +567,7 @@ COM_COMPONENTBUILDER_FIELDTYPES_EDIT_OWN_DESC="Allows the users in this group to
|
|||||||
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE="Fieldtypes Edit State"
|
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE="Fieldtypes Edit State"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the fieldtype"
|
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the fieldtype"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION="Fieldtypes Edit Version"
|
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION="Fieldtypes Edit Version"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_EXPORT="Fieldtypes Export"
|
COM_COMPONENTBUILDER_FIELDTYPES_EXPORT="Fieldtypes Export"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_EXPORT_DESC="Allows the users in this group to export export fieldtypes"
|
COM_COMPONENTBUILDER_FIELDTYPES_EXPORT_DESC="Allows the users in this group to export export fieldtypes"
|
||||||
COM_COMPONENTBUILDER_FIELDTYPES_IMPORT="Fieldtypes Import"
|
COM_COMPONENTBUILDER_FIELDTYPES_IMPORT="Fieldtypes Import"
|
||||||
@ -597,7 +597,7 @@ COM_COMPONENTBUILDER_GET_SNIPPETS_TEMPLATES_BUTTON_ACCESS_DESC="Allows the users
|
|||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS="Help Documents Access"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS="Help Documents Access"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_ACCESS_DESC="Allows the users in this group to access access help documents"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE="Help Documents Batch Use"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch help documents"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch help documents"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE="Help Documents Create"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE="Help Documents Create"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_CREATE_DESC="Allows the users in this group to create create help documents"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_DASHBOARD_LIST="Help Documents Dashboard List"
|
||||||
@ -611,7 +611,7 @@ COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_OWN_DESC="Allows the users in this grou
|
|||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE="Help Documents Edit State"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the help document"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION="Help Documents Edit Version"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version help documents"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version help documents"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT="Help Documents Export"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT="Help Documents Export"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_EXPORT_DESC="Allows the users in this group to export export help documents"
|
||||||
COM_COMPONENTBUILDER_HELP_DOCUMENTS_IMPORT="Help Documents Import"
|
COM_COMPONENTBUILDER_HELP_DOCUMENTS_IMPORT="Help Documents Import"
|
||||||
@ -623,7 +623,7 @@ COM_COMPONENTBUILDER_IMPORT_DATA_DESC="Allows users in this group to import data
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS="Joomla Components Access"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS="Joomla Components Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS_DESC="Allows the users in this group to access access joomla components"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS_DESC="Allows the users in this group to access access joomla components"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_BATCH_USE="Joomla Components Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_BATCH_USE="Joomla Components Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla components"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla components"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_CREATE="Joomla Components Create"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_CREATE="Joomla Components Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_CREATE_DESC="Allows the users in this group to create create joomla components"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_CREATE_DESC="Allows the users in this group to create create joomla components"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_DASHBOARD_LIST="Joomla Components Dashboard List"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_DASHBOARD_LIST="Joomla Components Dashboard List"
|
||||||
@ -641,7 +641,7 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_OWN_DESC="Allows the users in this g
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE="Joomla Components Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE="Joomla Components Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla component"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla component"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION="Joomla Components Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION="Joomla Components Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla components"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla components"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU="Joomla Components Submenu"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU="Joomla Components Submenu"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU_DESC="Allows the users in this group to submenu of joomla component"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU_DESC="Allows the users in this group to submenu of joomla component"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BACKUP_BUTTON_ACCESS="Joomla Component Backup Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BACKUP_BUTTON_ACCESS="Joomla Component Backup Button Access"
|
||||||
@ -659,7 +659,7 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows t
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS="Joomla Modules Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS="Joomla Modules Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC="Allows the users in this group to access access joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC="Allows the users in this group to access access joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE="Joomla Modules Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE="Joomla Modules Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE="Joomla Modules Create"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE="Joomla Modules Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC="Allows the users in this group to create create joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC="Allows the users in this group to create create joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST="Joomla Modules Dashboard List"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST="Joomla Modules Dashboard List"
|
||||||
@ -677,13 +677,13 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN_DESC="Allows the users in this grou
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE="Joomla Modules Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE="Joomla Modules Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION="Joomla Modules Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION="Joomla Modules Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT="Joomla Modules Export"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT="Joomla Modules Export"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT_DESC="Allows the users in this group to export export joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_EXPORT_DESC="Allows the users in this group to export export joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS="Joomla Modules Files Folders Urls Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS="Joomla Modules Files Folders Urls Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla modules files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla modules files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE="Joomla Modules Files Folders Urls Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE="Joomla Modules Files Folders Urls Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla modules files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla modules files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE="Joomla Modules Files Folders Urls Create"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE="Joomla Modules Files Folders Urls Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla modules files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla modules files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE="Joomla Modules Files Folders Urls Delete"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE="Joomla Modules Files Folders Urls Delete"
|
||||||
@ -699,7 +699,7 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Modules Files Folders Urls Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Modules Files Folders Urls Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Modules Files Folders Urls Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Modules Files Folders Urls Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla modules files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT="Joomla Modules Import"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT="Joomla Modules Import"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT_DESC="Allows the users in this group to import import joomla modules"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_IMPORT_DESC="Allows the users in this group to import import joomla modules"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU="Joomla Modules Submenu"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU="Joomla Modules Submenu"
|
||||||
@ -707,7 +707,7 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS="Joomla Modules Updates Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS="Joomla Modules Updates Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS_DESC="Allows the users in this group to access access joomla modules updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS_DESC="Allows the users in this group to access access joomla modules updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE="Joomla Modules Updates Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE="Joomla Modules Updates Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla modules updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla modules updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE="Joomla Modules Updates Create"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE="Joomla Modules Updates Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE_DESC="Allows the users in this group to create create joomla modules updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE_DESC="Allows the users in this group to create create joomla modules updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE="Joomla Modules Updates Delete"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE="Joomla Modules Updates Delete"
|
||||||
@ -723,7 +723,7 @@ COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN_DESC="Allows the users in t
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE="Joomla Modules Updates Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE="Joomla Modules Updates Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla module updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION="Joomla Modules Updates Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION="Joomla Modules Updates Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla modules updates"
|
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla modules updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS="Joomla Module Get Snippets Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS="Joomla Module Get Snippets Button Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in this group to access the get snippets button."
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in this group to access the get snippets button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
||||||
@ -731,7 +731,7 @@ COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS="Joomla Plugins Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS="Joomla Plugins Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC="Allows the users in this group to access access joomla plugins"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS_DESC="Allows the users in this group to access access joomla plugins"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE="Joomla Plugins Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE="Joomla Plugins Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugins"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla plugins"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE="Joomla Plugins Create"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE="Joomla Plugins Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE_DESC="Allows the users in this group to create create joomla plugins"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_CREATE_DESC="Allows the users in this group to create create joomla plugins"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_DASHBOARD_LIST="Joomla Plugins Dashboard List"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_DASHBOARD_LIST="Joomla Plugins Dashboard List"
|
||||||
@ -749,11 +749,11 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN_DESC="Allows the users in this grou
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla plugins"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS="Joomla Plugins Files Folders Urls Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS="Joomla Plugins Files Folders Urls Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla plugins files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla plugins files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE="Joomla Plugins Files Folders Urls Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE="Joomla Plugins Files Folders Urls Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugins files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla plugins files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE="Joomla Plugins Files Folders Urls Create"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE="Joomla Plugins Files Folders Urls Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla plugins files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla plugins files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE="Joomla Plugins Files Folders Urls Delete"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE="Joomla Plugins Files Folders Urls Delete"
|
||||||
@ -769,13 +769,13 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Plugins Files Folders Urls Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Plugins Files Folders Urls Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Plugins Files Folders Urls Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Plugins Files Folders Urls Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins files folders urls"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla plugins files folders urls"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_ACCESS="Joomla Plugins Updates Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_ACCESS="Joomla Plugins Updates Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_ACCESS_DESC="Allows the users in this group to access access joomla plugins updates"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_ACCESS_DESC="Allows the users in this group to access access joomla plugins updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_BATCH_USE="Joomla Plugins Updates Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_BATCH_USE="Joomla Plugins Updates Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugins updates"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla plugins updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_CREATE="Joomla Plugins Updates Create"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_CREATE="Joomla Plugins Updates Create"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_CREATE_DESC="Allows the users in this group to create create joomla plugins updates"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_CREATE_DESC="Allows the users in this group to create create joomla plugins updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_DELETE="Joomla Plugins Updates Delete"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_DELETE="Joomla Plugins Updates Delete"
|
||||||
@ -791,15 +791,15 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_OWN_DESC="Allows the users in t
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_STATE="Joomla Plugins Updates Edit State"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_STATE="Joomla Plugins Updates Edit State"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin updates"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_VERSION="Joomla Plugins Updates Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_VERSION="Joomla Plugins Updates Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins updates"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_UPDATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla plugins updates"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS_DESC="Allows the users in this group to access the get boilerplate button."
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS_DESC="Allows the users in this group to access the get boilerplate button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS="Joomla Plugin Groups Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS="Joomla Plugin Groups Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS_DESC="Allows the users in this group to access access joomla plugin groups"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS_DESC="Allows the users in this group to access access joomla plugin groups"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE="Joomla Plugin Groups Batch Use"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE="Joomla Plugin Groups Batch Use"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugin groups"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch joomla plugin groups"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION="Joomla Plugin Groups Edit Version"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION="Joomla Plugin Groups Edit Version"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugin groups"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version joomla plugin groups"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS="Joomla Plugin Methods Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS="Joomla Plugin Methods Button Access"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC="Allows the users in this group to access the methods button."
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_METHODS_BUTTON_ACCESS_DESC="Allows the users in this group to access the methods button."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS="Joomla Plugin Properties Button Access"
|
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS="Joomla Plugin Properties Button Access"
|
||||||
@ -809,7 +809,7 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the
|
|||||||
COM_COMPONENTBUILDER_LANGUAGES_ACCESS="Languages Access"
|
COM_COMPONENTBUILDER_LANGUAGES_ACCESS="Languages Access"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_ACCESS_DESC="Allows the users in this group to access access languages"
|
COM_COMPONENTBUILDER_LANGUAGES_ACCESS_DESC="Allows the users in this group to access access languages"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_BATCH_USE="Languages Batch Use"
|
COM_COMPONENTBUILDER_LANGUAGES_BATCH_USE="Languages Batch Use"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch languages"
|
COM_COMPONENTBUILDER_LANGUAGES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch languages"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_CREATE="Languages Create"
|
COM_COMPONENTBUILDER_LANGUAGES_CREATE="Languages Create"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_CREATE_DESC="Allows the users in this group to create create languages"
|
COM_COMPONENTBUILDER_LANGUAGES_CREATE_DESC="Allows the users in this group to create create languages"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_DELETE="Languages Delete"
|
COM_COMPONENTBUILDER_LANGUAGES_DELETE="Languages Delete"
|
||||||
@ -821,7 +821,7 @@ COM_COMPONENTBUILDER_LANGUAGES_EDIT_OWN_DESC="Allows the users in this group to
|
|||||||
COM_COMPONENTBUILDER_LANGUAGES_EDIT_STATE="Languages Edit State"
|
COM_COMPONENTBUILDER_LANGUAGES_EDIT_STATE="Languages Edit State"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_EDIT_STATE_DESC="Allows the users in this group to update the state of the language"
|
COM_COMPONENTBUILDER_LANGUAGES_EDIT_STATE_DESC="Allows the users in this group to update the state of the language"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_EDIT_VERSION="Languages Edit Version"
|
COM_COMPONENTBUILDER_LANGUAGES_EDIT_VERSION="Languages Edit Version"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version languages"
|
COM_COMPONENTBUILDER_LANGUAGES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version languages"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_EXPORT="Languages Export"
|
COM_COMPONENTBUILDER_LANGUAGES_EXPORT="Languages Export"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_EXPORT_DESC="Allows the users in this group to export export languages"
|
COM_COMPONENTBUILDER_LANGUAGES_EXPORT_DESC="Allows the users in this group to export export languages"
|
||||||
COM_COMPONENTBUILDER_LANGUAGES_IMPORT="Languages Import"
|
COM_COMPONENTBUILDER_LANGUAGES_IMPORT="Languages Import"
|
||||||
@ -833,7 +833,7 @@ COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS_DESC="Allows the users in this
|
|||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS="Language Translations Access"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS="Language Translations Access"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS_DESC="Allows the users in this group to access access language translations"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS_DESC="Allows the users in this group to access access language translations"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_BATCH_USE="Language Translations Batch Use"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_BATCH_USE="Language Translations Batch Use"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch language translations"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch language translations"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_CREATE="Language Translations Create"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_CREATE="Language Translations Create"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_CREATE_DESC="Allows the users in this group to create create language translations"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_CREATE_DESC="Allows the users in this group to create create language translations"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_DASHBOARD_LIST="Language Translations Dashboard List"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_DASHBOARD_LIST="Language Translations Dashboard List"
|
||||||
@ -847,7 +847,7 @@ COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_OWN_DESC="Allows the users in th
|
|||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_STATE="Language Translations Edit State"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_STATE="Language Translations Edit State"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the language translation"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_STATE_DESC="Allows the users in this group to update the state of the language translation"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_VERSION="Language Translations Edit Version"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_VERSION="Language Translations Edit Version"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version language translations"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version language translations"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EXPORT="Language Translations Export"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EXPORT="Language Translations Export"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EXPORT_DESC="Allows the users in this group to export export language translations"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_EXPORT_DESC="Allows the users in this group to export export language translations"
|
||||||
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_IMPORT="Language Translations Import"
|
COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_IMPORT="Language Translations Import"
|
||||||
@ -857,7 +857,7 @@ COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_SUBMENU_DESC="Allows the users in thi
|
|||||||
COM_COMPONENTBUILDER_LAYOUTS_ACCESS="Layouts Access"
|
COM_COMPONENTBUILDER_LAYOUTS_ACCESS="Layouts Access"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_ACCESS_DESC="Allows the users in this group to access access layouts"
|
COM_COMPONENTBUILDER_LAYOUTS_ACCESS_DESC="Allows the users in this group to access access layouts"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE="Layouts Batch Use"
|
COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE="Layouts Batch Use"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch layouts"
|
COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch layouts"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_CREATE="Layouts Create"
|
COM_COMPONENTBUILDER_LAYOUTS_CREATE="Layouts Create"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_CREATE_DESC="Allows the users in this group to create create layouts"
|
COM_COMPONENTBUILDER_LAYOUTS_CREATE_DESC="Allows the users in this group to create create layouts"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST="Layouts Dashboard List"
|
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST="Layouts Dashboard List"
|
||||||
@ -871,7 +871,7 @@ COM_COMPONENTBUILDER_LAYOUTS_EDIT_OWN_DESC="Allows the users in this group to ed
|
|||||||
COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE="Layouts Edit State"
|
COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE="Layouts Edit State"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the layout"
|
COM_COMPONENTBUILDER_LAYOUTS_EDIT_STATE_DESC="Allows the users in this group to update the state of the layout"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION="Layouts Edit Version"
|
COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION="Layouts Edit Version"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version layouts"
|
COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version layouts"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_EXPORT="Layouts Export"
|
COM_COMPONENTBUILDER_LAYOUTS_EXPORT="Layouts Export"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_EXPORT_DESC="Allows the users in this group to export export layouts"
|
COM_COMPONENTBUILDER_LAYOUTS_EXPORT_DESC="Allows the users in this group to export export layouts"
|
||||||
COM_COMPONENTBUILDER_LAYOUTS_IMPORT="Layouts Import"
|
COM_COMPONENTBUILDER_LAYOUTS_IMPORT="Layouts Import"
|
||||||
@ -883,11 +883,11 @@ COM_COMPONENTBUILDER_LAYOUT_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in
|
|||||||
COM_COMPONENTBUILDER_LIBRARIES_ACCESS="Libraries Access"
|
COM_COMPONENTBUILDER_LIBRARIES_ACCESS="Libraries Access"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_ACCESS_DESC="Allows the users in this group to access access libraries"
|
COM_COMPONENTBUILDER_LIBRARIES_ACCESS_DESC="Allows the users in this group to access access libraries"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_BATCH_USE="Libraries Batch Use"
|
COM_COMPONENTBUILDER_LIBRARIES_BATCH_USE="Libraries Batch Use"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch libraries"
|
COM_COMPONENTBUILDER_LIBRARIES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch libraries"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_ACCESS="Libraries Config Access"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_ACCESS="Libraries Config Access"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_ACCESS_DESC="Allows the users in this group to access access libraries config"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_ACCESS_DESC="Allows the users in this group to access access libraries config"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_BATCH_USE="Libraries Config Batch Use"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_BATCH_USE="Libraries Config Batch Use"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch libraries config"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch libraries config"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_CREATE="Libraries Config Create"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_CREATE="Libraries Config Create"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_CREATE_DESC="Allows the users in this group to create create libraries config"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_CREATE_DESC="Allows the users in this group to create create libraries config"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_DELETE="Libraries Config Delete"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_DELETE="Libraries Config Delete"
|
||||||
@ -903,7 +903,7 @@ COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_OWN_DESC="Allows the users in this gr
|
|||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_STATE="Libraries Config Edit State"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_STATE="Libraries Config Edit State"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_STATE_DESC="Allows the users in this group to update the state of the library config"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_STATE_DESC="Allows the users in this group to update the state of the library config"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_VERSION="Libraries Config Edit Version"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_VERSION="Libraries Config Edit Version"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_VERSION_DESC="Allows users in this group to edit versions of version libraries config"
|
COM_COMPONENTBUILDER_LIBRARIES_CONFIG_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version libraries config"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CREATE="Libraries Create"
|
COM_COMPONENTBUILDER_LIBRARIES_CREATE="Libraries Create"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_CREATE_DESC="Allows the users in this group to create create libraries"
|
COM_COMPONENTBUILDER_LIBRARIES_CREATE_DESC="Allows the users in this group to create create libraries"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_DASHBOARD_LIST="Libraries Dashboard List"
|
COM_COMPONENTBUILDER_LIBRARIES_DASHBOARD_LIST="Libraries Dashboard List"
|
||||||
@ -917,11 +917,11 @@ COM_COMPONENTBUILDER_LIBRARIES_EDIT_OWN_DESC="Allows the users in this group to
|
|||||||
COM_COMPONENTBUILDER_LIBRARIES_EDIT_STATE="Libraries Edit State"
|
COM_COMPONENTBUILDER_LIBRARIES_EDIT_STATE="Libraries Edit State"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the library"
|
COM_COMPONENTBUILDER_LIBRARIES_EDIT_STATE_DESC="Allows the users in this group to update the state of the library"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_EDIT_VERSION="Libraries Edit Version"
|
COM_COMPONENTBUILDER_LIBRARIES_EDIT_VERSION="Libraries Edit Version"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version libraries"
|
COM_COMPONENTBUILDER_LIBRARIES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version libraries"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_ACCESS="Libraries Files Folders Urls Access"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_ACCESS="Libraries Files Folders Urls Access"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access libraries files folders urls"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access libraries files folders urls"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_BATCH_USE="Libraries Files Folders Urls Batch Use"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_BATCH_USE="Libraries Files Folders Urls Batch Use"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch libraries files folders urls"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch libraries files folders urls"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_CREATE="Libraries Files Folders Urls Create"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_CREATE="Libraries Files Folders Urls Create"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create libraries files folders urls"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create libraries files folders urls"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_DELETE="Libraries Files Folders Urls Delete"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_DELETE="Libraries Files Folders Urls Delete"
|
||||||
@ -937,7 +937,7 @@ COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the user
|
|||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_STATE="Libraries Files Folders Urls Edit State"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_STATE="Libraries Files Folders Urls Edit State"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the library files folders urls"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the library files folders urls"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_VERSION="Libraries Files Folders Urls Edit Version"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_VERSION="Libraries Files Folders Urls Edit Version"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version libraries files folders urls"
|
COM_COMPONENTBUILDER_LIBRARIES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version libraries files folders urls"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_SUBMENU="Libraries Submenu"
|
COM_COMPONENTBUILDER_LIBRARIES_SUBMENU="Libraries Submenu"
|
||||||
COM_COMPONENTBUILDER_LIBRARIES_SUBMENU_DESC="Allows the users in this group to submenu of library"
|
COM_COMPONENTBUILDER_LIBRARIES_SUBMENU_DESC="Allows the users in this group to submenu of library"
|
||||||
COM_COMPONENTBUILDER_LIBRARY_GET_SNIPPETS_BUTTON_ACCESS="Library Get Snippets Button Access"
|
COM_COMPONENTBUILDER_LIBRARY_GET_SNIPPETS_BUTTON_ACCESS="Library Get Snippets Button Access"
|
||||||
@ -967,7 +967,7 @@ COM_COMPONENTBUILDER_MENU_VALIDATION_RULES="Validation Rules"
|
|||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_ACCESS="Placeholders Access"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_ACCESS="Placeholders Access"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_ACCESS_DESC="Allows the users in this group to access access placeholders"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_ACCESS_DESC="Allows the users in this group to access access placeholders"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_BATCH_USE="Placeholders Batch Use"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_BATCH_USE="Placeholders Batch Use"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch placeholders"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch placeholders"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_CREATE="Placeholders Create"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_CREATE="Placeholders Create"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_CREATE_DESC="Allows the users in this group to create create placeholders"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_CREATE_DESC="Allows the users in this group to create create placeholders"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_DASHBOARD_LIST="Placeholders Dashboard List"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_DASHBOARD_LIST="Placeholders Dashboard List"
|
||||||
@ -981,7 +981,7 @@ COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_STATE="Placeholders Edit State"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_STATE="Placeholders Edit State"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the placeholder"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the placeholder"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_VERSION="Placeholders Edit Version"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_VERSION="Placeholders Edit Version"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version placeholders"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version placeholders"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT="Placeholders Export"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT="Placeholders Export"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT_DESC="Allows the users in this group to export export placeholders"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_EXPORT_DESC="Allows the users in this group to export export placeholders"
|
||||||
COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT="Placeholders Import"
|
COM_COMPONENTBUILDER_PLACEHOLDERS_IMPORT="Placeholders Import"
|
||||||
@ -991,7 +991,7 @@ COM_COMPONENTBUILDER_PLACEHOLDERS_SUBMENU_DESC="Allows the users in this group t
|
|||||||
COM_COMPONENTBUILDER_POWERS_ACCESS="Powers Access"
|
COM_COMPONENTBUILDER_POWERS_ACCESS="Powers Access"
|
||||||
COM_COMPONENTBUILDER_POWERS_ACCESS_DESC="Allows the users in this group to access access powers"
|
COM_COMPONENTBUILDER_POWERS_ACCESS_DESC="Allows the users in this group to access access powers"
|
||||||
COM_COMPONENTBUILDER_POWERS_BATCH_USE="Powers Batch Use"
|
COM_COMPONENTBUILDER_POWERS_BATCH_USE="Powers Batch Use"
|
||||||
COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch powers"
|
COM_COMPONENTBUILDER_POWERS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch powers"
|
||||||
COM_COMPONENTBUILDER_POWERS_CREATE="Powers Create"
|
COM_COMPONENTBUILDER_POWERS_CREATE="Powers Create"
|
||||||
COM_COMPONENTBUILDER_POWERS_CREATE_DESC="Allows the users in this group to create create powers"
|
COM_COMPONENTBUILDER_POWERS_CREATE_DESC="Allows the users in this group to create create powers"
|
||||||
COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST="Powers Dashboard List"
|
COM_COMPONENTBUILDER_POWERS_DASHBOARD_LIST="Powers Dashboard List"
|
||||||
@ -1009,9 +1009,13 @@ COM_COMPONENTBUILDER_POWERS_EDIT_OWN_DESC="Allows the users in this group to edi
|
|||||||
COM_COMPONENTBUILDER_POWERS_EDIT_STATE="Powers Edit State"
|
COM_COMPONENTBUILDER_POWERS_EDIT_STATE="Powers Edit State"
|
||||||
COM_COMPONENTBUILDER_POWERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the power"
|
COM_COMPONENTBUILDER_POWERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the power"
|
||||||
COM_COMPONENTBUILDER_POWERS_EDIT_VERSION="Powers Edit Version"
|
COM_COMPONENTBUILDER_POWERS_EDIT_VERSION="Powers Edit Version"
|
||||||
COM_COMPONENTBUILDER_POWERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version powers"
|
COM_COMPONENTBUILDER_POWERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version powers"
|
||||||
COM_COMPONENTBUILDER_POWERS_SUBMENU="Powers Submenu"
|
COM_COMPONENTBUILDER_POWERS_SUBMENU="Powers Submenu"
|
||||||
COM_COMPONENTBUILDER_POWERS_SUBMENU_DESC="Allows the users in this group to submenu of power"
|
COM_COMPONENTBUILDER_POWERS_SUBMENU_DESC="Allows the users in this group to submenu of power"
|
||||||
|
COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS="Power Init Button Access"
|
||||||
|
COM_COMPONENTBUILDER_POWER_INIT_BUTTON_ACCESS_DESC="Allows the users in this group to access the init button."
|
||||||
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS="Power Reset Button Access"
|
||||||
|
COM_COMPONENTBUILDER_POWER_RESET_BUTTON_ACCESS_DESC="Allows the users in this group to access the reset button."
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
|
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS="Power Run Expansion Button Access"
|
||||||
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
COM_COMPONENTBUILDER_POWER_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
||||||
COM_COMPONENTBUILDER_SEARCH_ACCESS="Search Access"
|
COM_COMPONENTBUILDER_SEARCH_ACCESS="Search Access"
|
||||||
@ -1025,7 +1029,7 @@ COM_COMPONENTBUILDER_SEARCH_SUBMENU_DESC="Allows the users in this group to subm
|
|||||||
COM_COMPONENTBUILDER_SERVERS_ACCESS="Servers Access"
|
COM_COMPONENTBUILDER_SERVERS_ACCESS="Servers Access"
|
||||||
COM_COMPONENTBUILDER_SERVERS_ACCESS_DESC="Allows the users in this group to access access servers"
|
COM_COMPONENTBUILDER_SERVERS_ACCESS_DESC="Allows the users in this group to access access servers"
|
||||||
COM_COMPONENTBUILDER_SERVERS_BATCH_USE="Servers Batch Use"
|
COM_COMPONENTBUILDER_SERVERS_BATCH_USE="Servers Batch Use"
|
||||||
COM_COMPONENTBUILDER_SERVERS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch servers"
|
COM_COMPONENTBUILDER_SERVERS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch servers"
|
||||||
COM_COMPONENTBUILDER_SERVERS_CREATE="Servers Create"
|
COM_COMPONENTBUILDER_SERVERS_CREATE="Servers Create"
|
||||||
COM_COMPONENTBUILDER_SERVERS_CREATE_DESC="Allows the users in this group to create create servers"
|
COM_COMPONENTBUILDER_SERVERS_CREATE_DESC="Allows the users in this group to create create servers"
|
||||||
COM_COMPONENTBUILDER_SERVERS_DASHBOARD_LIST="Servers Dashboard List"
|
COM_COMPONENTBUILDER_SERVERS_DASHBOARD_LIST="Servers Dashboard List"
|
||||||
@ -1043,7 +1047,7 @@ COM_COMPONENTBUILDER_SERVERS_EDIT_OWN_DESC="Allows the users in this group to ed
|
|||||||
COM_COMPONENTBUILDER_SERVERS_EDIT_STATE="Servers Edit State"
|
COM_COMPONENTBUILDER_SERVERS_EDIT_STATE="Servers Edit State"
|
||||||
COM_COMPONENTBUILDER_SERVERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the server"
|
COM_COMPONENTBUILDER_SERVERS_EDIT_STATE_DESC="Allows the users in this group to update the state of the server"
|
||||||
COM_COMPONENTBUILDER_SERVERS_EDIT_VERSION="Servers Edit Version"
|
COM_COMPONENTBUILDER_SERVERS_EDIT_VERSION="Servers Edit Version"
|
||||||
COM_COMPONENTBUILDER_SERVERS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version servers"
|
COM_COMPONENTBUILDER_SERVERS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version servers"
|
||||||
COM_COMPONENTBUILDER_SERVERS_EXPORT="Servers Export"
|
COM_COMPONENTBUILDER_SERVERS_EXPORT="Servers Export"
|
||||||
COM_COMPONENTBUILDER_SERVERS_EXPORT_DESC="Allows the users in this group to export export servers"
|
COM_COMPONENTBUILDER_SERVERS_EXPORT_DESC="Allows the users in this group to export export servers"
|
||||||
COM_COMPONENTBUILDER_SERVERS_IMPORT="Servers Import"
|
COM_COMPONENTBUILDER_SERVERS_IMPORT="Servers Import"
|
||||||
@ -1053,7 +1057,7 @@ COM_COMPONENTBUILDER_SERVERS_SUBMENU_DESC="Allows the users in this group to sub
|
|||||||
COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS="Site Views Access"
|
COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS="Site Views Access"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS_DESC="Allows the users in this group to access access site views"
|
COM_COMPONENTBUILDER_SITE_VIEWS_ACCESS_DESC="Allows the users in this group to access access site views"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE="Site Views Batch Use"
|
COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE="Site Views Batch Use"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch site views"
|
COM_COMPONENTBUILDER_SITE_VIEWS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch site views"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_CREATE="Site Views Create"
|
COM_COMPONENTBUILDER_SITE_VIEWS_CREATE="Site Views Create"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_CREATE_DESC="Allows the users in this group to create create site views"
|
COM_COMPONENTBUILDER_SITE_VIEWS_CREATE_DESC="Allows the users in this group to create create site views"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_LIST="Site Views Dashboard List"
|
COM_COMPONENTBUILDER_SITE_VIEWS_DASHBOARD_LIST="Site Views Dashboard List"
|
||||||
@ -1067,7 +1071,7 @@ COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_OWN_DESC="Allows the users in this group to
|
|||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE="Site Views Edit State"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE="Site Views Edit State"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the site view"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_STATE_DESC="Allows the users in this group to update the state of the site view"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION="Site Views Edit Version"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION="Site Views Edit Version"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version site views"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version site views"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT="Site Views Export"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT="Site Views Export"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT_DESC="Allows the users in this group to export export site views"
|
COM_COMPONENTBUILDER_SITE_VIEWS_EXPORT_DESC="Allows the users in this group to export export site views"
|
||||||
COM_COMPONENTBUILDER_SITE_VIEWS_IMPORT="Site Views Import"
|
COM_COMPONENTBUILDER_SITE_VIEWS_IMPORT="Site Views Import"
|
||||||
@ -1079,7 +1083,7 @@ COM_COMPONENTBUILDER_SITE_VIEW_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users
|
|||||||
COM_COMPONENTBUILDER_SNIPPETS_ACCESS="Snippets Access"
|
COM_COMPONENTBUILDER_SNIPPETS_ACCESS="Snippets Access"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_ACCESS_DESC="Allows the users in this group to access access snippets"
|
COM_COMPONENTBUILDER_SNIPPETS_ACCESS_DESC="Allows the users in this group to access access snippets"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE="Snippets Batch Use"
|
COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE="Snippets Batch Use"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch snippets"
|
COM_COMPONENTBUILDER_SNIPPETS_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch snippets"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_CREATE="Snippets Create"
|
COM_COMPONENTBUILDER_SNIPPETS_CREATE="Snippets Create"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_CREATE_DESC="Allows the users in this group to create create snippets"
|
COM_COMPONENTBUILDER_SNIPPETS_CREATE_DESC="Allows the users in this group to create create snippets"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_LIST="Snippets Dashboard List"
|
COM_COMPONENTBUILDER_SNIPPETS_DASHBOARD_LIST="Snippets Dashboard List"
|
||||||
@ -1093,7 +1097,7 @@ COM_COMPONENTBUILDER_SNIPPETS_EDIT_OWN_DESC="Allows the users in this group to e
|
|||||||
COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE="Snippets Edit State"
|
COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE="Snippets Edit State"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the snippet"
|
COM_COMPONENTBUILDER_SNIPPETS_EDIT_STATE_DESC="Allows the users in this group to update the state of the snippet"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION="Snippets Edit Version"
|
COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION="Snippets Edit Version"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version snippets"
|
COM_COMPONENTBUILDER_SNIPPETS_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version snippets"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_EXPORT="Snippets Export"
|
COM_COMPONENTBUILDER_SNIPPETS_EXPORT="Snippets Export"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_EXPORT_DESC="Allows the users in this group to export export snippets"
|
COM_COMPONENTBUILDER_SNIPPETS_EXPORT_DESC="Allows the users in this group to export export snippets"
|
||||||
COM_COMPONENTBUILDER_SNIPPETS_IMPORT="Snippets Import"
|
COM_COMPONENTBUILDER_SNIPPETS_IMPORT="Snippets Import"
|
||||||
@ -1107,7 +1111,7 @@ COM_COMPONENTBUILDER_SNIPPET_SHARE_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users
|
|||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_ACCESS="Snippet Types Access"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_ACCESS="Snippet Types Access"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_ACCESS_DESC="Allows the users in this group to access access snippet types"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_ACCESS_DESC="Allows the users in this group to access access snippet types"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_BATCH_USE="Snippet Types Batch Use"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_BATCH_USE="Snippet Types Batch Use"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch snippet types"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch snippet types"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_CREATE="Snippet Types Create"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_CREATE="Snippet Types Create"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_CREATE_DESC="Allows the users in this group to create create snippet types"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_CREATE_DESC="Allows the users in this group to create create snippet types"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_DELETE="Snippet Types Delete"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_DELETE="Snippet Types Delete"
|
||||||
@ -1119,11 +1123,11 @@ COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_OWN_DESC="Allows the users in this group
|
|||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_STATE="Snippet Types Edit State"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_STATE="Snippet Types Edit State"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the snippet type"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_STATE_DESC="Allows the users in this group to update the state of the snippet type"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_VERSION="Snippet Types Edit Version"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_VERSION="Snippet Types Edit Version"
|
||||||
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version snippet types"
|
COM_COMPONENTBUILDER_SNIPPET_TYPES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version snippet types"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_ACCESS="Templates Access"
|
COM_COMPONENTBUILDER_TEMPLATES_ACCESS="Templates Access"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_ACCESS_DESC="Allows the users in this group to access access templates"
|
COM_COMPONENTBUILDER_TEMPLATES_ACCESS_DESC="Allows the users in this group to access access templates"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE="Templates Batch Use"
|
COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE="Templates Batch Use"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch templates"
|
COM_COMPONENTBUILDER_TEMPLATES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch templates"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_CREATE="Templates Create"
|
COM_COMPONENTBUILDER_TEMPLATES_CREATE="Templates Create"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_CREATE_DESC="Allows the users in this group to create create templates"
|
COM_COMPONENTBUILDER_TEMPLATES_CREATE_DESC="Allows the users in this group to create create templates"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_ADD="Templates Dashboard Add"
|
COM_COMPONENTBUILDER_TEMPLATES_DASHBOARD_ADD="Templates Dashboard Add"
|
||||||
@ -1139,7 +1143,7 @@ COM_COMPONENTBUILDER_TEMPLATES_EDIT_OWN_DESC="Allows the users in this group to
|
|||||||
COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE="Templates Edit State"
|
COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE="Templates Edit State"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the template"
|
COM_COMPONENTBUILDER_TEMPLATES_EDIT_STATE_DESC="Allows the users in this group to update the state of the template"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION="Templates Edit Version"
|
COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION="Templates Edit Version"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version templates"
|
COM_COMPONENTBUILDER_TEMPLATES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version templates"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_EXPORT="Templates Export"
|
COM_COMPONENTBUILDER_TEMPLATES_EXPORT="Templates Export"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_EXPORT_DESC="Allows the users in this group to export export templates"
|
COM_COMPONENTBUILDER_TEMPLATES_EXPORT_DESC="Allows the users in this group to export export templates"
|
||||||
COM_COMPONENTBUILDER_TEMPLATES_IMPORT="Templates Import"
|
COM_COMPONENTBUILDER_TEMPLATES_IMPORT="Templates Import"
|
||||||
@ -1153,7 +1157,7 @@ COM_COMPONENTBUILDER_USE_BATCH_DESC="Allows users in this group to use batch cop
|
|||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS="Validation Rules Access"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS="Validation Rules Access"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS_DESC="Allows the users in this group to access access validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_ACCESS_DESC="Allows the users in this group to access access validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE="Validation Rules Batch Use"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE="Validation Rules Batch Use"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_BATCH_USE_DESC="Allows the users in this group to use batch copy/update method of batch validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE="Validation Rules Create"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE="Validation Rules Create"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE_DESC="Allows the users in this group to create create validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_CREATE_DESC="Allows the users in this group to create create validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_DASHBOARD_LIST="Validation Rules Dashboard List"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_DASHBOARD_LIST="Validation Rules Dashboard List"
|
||||||
@ -1167,7 +1171,7 @@ COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_OWN_DESC="Allows the users in this gr
|
|||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_STATE="Validation Rules Edit State"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_STATE="Validation Rules Edit State"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the validation rule"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_STATE_DESC="Allows the users in this group to update the state of the validation rule"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION="Validation Rules Edit Version"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION="Validation Rules Edit Version"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION_DESC="Allows users in this group to edit versions of version validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EDIT_VERSION_DESC="Allows the users in this group to edit versions of version validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EXPORT="Validation Rules Export"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EXPORT="Validation Rules Export"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_EXPORT_DESC="Allows the users in this group to export export validation rules"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_EXPORT_DESC="Allows the users in this group to export export validation rules"
|
||||||
COM_COMPONENTBUILDER_VALIDATION_RULES_IMPORT="Validation Rules Import"
|
COM_COMPONENTBUILDER_VALIDATION_RULES_IMPORT="Validation Rules Import"
|
||||||
|
@ -29,6 +29,8 @@ $fields = $displayData->get($fields_tab_layout) ?: array(
|
|||||||
'indexes',
|
'indexes',
|
||||||
'null_switch',
|
'null_switch',
|
||||||
'store',
|
'store',
|
||||||
|
'medium_encryption_note',
|
||||||
|
'basic_encryption_note',
|
||||||
'note_whmcs_encryption',
|
'note_whmcs_encryption',
|
||||||
'note_expert_field_save_mode',
|
'note_expert_field_save_mode',
|
||||||
'initiator_on_save_model',
|
'initiator_on_save_model',
|
||||||
|
@ -29,6 +29,8 @@ $fields = $displayData->get($fields_tab_layout) ?: array(
|
|||||||
'indexes',
|
'indexes',
|
||||||
'null_switch',
|
'null_switch',
|
||||||
'store',
|
'store',
|
||||||
|
'basic_encryption_note',
|
||||||
|
'medium_encryption_note',
|
||||||
'note_whmcs_encryption'
|
'note_whmcs_encryption'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
43
admin/layouts/power/super_power_left.php
Normal file
43
admin/layouts/power/super_power_left.php
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||||
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
*/
|
||||||
|
|
||||||
|
// 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(
|
||||||
|
'approved',
|
||||||
|
'approved_paths'
|
||||||
|
);
|
||||||
|
|
||||||
|
$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; ?>
|
42
admin/layouts/power/super_power_right.php
Normal file
42
admin/layouts/power/super_power_right.php
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <https://dev.vdm.io>
|
||||||
|
* @git Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||||
|
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
*/
|
||||||
|
|
||||||
|
// 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(
|
||||||
|
'note_approved_paths'
|
||||||
|
);
|
||||||
|
|
||||||
|
$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; ?>
|
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
// set the defaults
|
// set the defaults
|
||||||
$items = $displayData->vymlinked_components;
|
$items = $displayData->vymlinked_components;
|
||||||
@ -90,7 +92,7 @@ else
|
|||||||
$this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
|
$this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
|
||||||
}
|
}
|
||||||
// setup the buttons
|
// setup the buttons
|
||||||
if (!isset($_buttons) || !ComponentbuilderHelper::checkArray($_buttons))
|
if (!isset($_buttons) || !ArrayHelper::check($_buttons))
|
||||||
{
|
{
|
||||||
$_buttons = array();
|
$_buttons = array();
|
||||||
$_buttons[0] = array(
|
$_buttons[0] = array(
|
||||||
@ -201,16 +203,16 @@ else
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div><b><?php echo $this->escape($item->companyname); ?></b><br />
|
<div><b><?php echo $this->escape($item->companyname); ?></b><br />
|
||||||
<?php if (ComponentbuilderHelper::checkString($item->author)) : ?>
|
<?php if (StringHelper::check($item->author)) : ?>
|
||||||
<em><?php echo $this->escape($item->author); ?><em><br />
|
<em><?php echo $this->escape($item->author); ?><em><br />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (ComponentbuilderHelper::checkString($item->email) && ComponentbuilderHelper::checkString($item->author)) : ?>
|
<?php if (StringHelper::check($item->email) && StringHelper::check($item->author)) : ?>
|
||||||
<a href="mailto:<?php echo $this->escape($item->email); ?>" title="<?php echo JText::sprintf('COM_COMPONENTBUILDER_EMAIL_S', $item->author); ?>" target="_blank">
|
<a href="mailto:<?php echo $this->escape($item->email); ?>" title="<?php echo JText::sprintf('COM_COMPONENTBUILDER_EMAIL_S', $item->author); ?>" target="_blank">
|
||||||
<?php echo $this->escape($item->email); ?>
|
<?php echo $this->escape($item->email); ?>
|
||||||
</a>
|
</a>
|
||||||
<br />
|
<br />
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (ComponentbuilderHelper::checkString($item->website) && ComponentbuilderHelper::checkString($item->author)) : ?>
|
<?php if (StringHelper::check($item->website) && StringHelper::check($item->author)) : ?>
|
||||||
<a href="<?php echo $this->escape($item->website); ?>" title="<?php echo JText::sprintf('COM_COMPONENTBUILDER_WEBSITE_OF_S', $item->companyname); ?>" target="_blank">
|
<a href="<?php echo $this->escape($item->website); ?>" title="<?php echo JText::sprintf('COM_COMPONENTBUILDER_WEBSITE_OF_S', $item->companyname); ?>" target="_blank">
|
||||||
<?php echo $this->escape($item->website); ?>
|
<?php echo $this->escape($item->website); ?>
|
||||||
</a>
|
</a>
|
||||||
|
@ -11,15 +11,17 @@
|
|||||||
|
|
||||||
// No direct access to this file
|
// No direct access to this file
|
||||||
defined('JPATH_BASE') or die('Restricted access');
|
defined('JPATH_BASE') or die('Restricted access');
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
|
|
||||||
$table_id = (isset($displayData['id'])) ? $displayData['id'] : ComponentbuilderHelper::randomkey(7);
|
$table_id = (isset($displayData['id'])) ? $displayData['id'] : StringHelper::random(7);
|
||||||
$name = (isset($displayData['name'])) ? $displayData['name'] : false;
|
$name = (isset($displayData['name'])) ? $displayData['name'] : false;
|
||||||
|
$table_class = (isset($displayData['table_class'])) ? $displayData['table_class'] : 'uk-table';
|
||||||
$headers = (isset($displayData['headers'])) ? $displayData['headers'] : [JText::_('COM_COMPONENTBUILDER_NO'), JText::_('COM_COMPONENTBUILDER_HEADERS'), JText::_('COM_COMPONENTBUILDER_FOUND')];
|
$headers = (isset($displayData['headers'])) ? $displayData['headers'] : [JText::_('COM_COMPONENTBUILDER_NO'), JText::_('COM_COMPONENTBUILDER_HEADERS'), JText::_('COM_COMPONENTBUILDER_FOUND')];
|
||||||
$items = (isset($displayData['items'])) ? $displayData['items'] : 6;
|
$items = (isset($displayData['items'])) ? $displayData['items'] : 6;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table id="<?php echo $table_id; ?>" class="uk-table">
|
<table id="<?php echo $table_id; ?>" class="<?php echo $table_class; ?>">
|
||||||
<thead>
|
<thead>
|
||||||
<?php if (is_array($headers)): ?>
|
<?php if (is_array($headers)): ?>
|
||||||
<?php if ($name): ?>
|
<?php if ($name): ?>
|
||||||
@ -32,7 +34,7 @@ $items = (isset($displayData['items'])) ? $displayData['items'] : 6;
|
|||||||
<?php
|
<?php
|
||||||
if (is_numeric($code_name))
|
if (is_numeric($code_name))
|
||||||
{
|
{
|
||||||
$code_name = ComponentbuilderHelper::safeString($header);
|
$code_name = StringHelper::safe($header);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th data-name="<?php echo $code_name; ?>"><?php echo $header; ?></th>
|
<th data-name="<?php echo $code_name; ?>"><?php echo $header; ?></th>
|
||||||
@ -46,7 +48,7 @@ $items = (isset($displayData['items'])) ? $displayData['items'] : 6;
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr style="position: absolute; top: -9999px; left: -9999px;">
|
<tr style="position: absolute; top: -9999px; left: -9999px;">
|
||||||
<?php for( $row = 0; $row < $headers; $row++): ?>
|
<?php for( $row = 0; $row < $headers; $row++): ?>
|
||||||
<th><?php echo ComponentbuilderHelper::safeString($row); ?></th>
|
<th><?php echo StringHelper::safe($row); ?></th>
|
||||||
<?php endfor; ?>
|
<?php endfor; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -284,7 +284,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_custom_tabs.edit.state', 'com_componentbuilder');
|
return $user->authorise('admin_custom_tabs.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ class ComponentbuilderModelAdmin_fields extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields.edit.state', 'com_componentbuilder');
|
return $user->authorise('admin_fields.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields_conditions.edit.state', 'com_componentbuilder');
|
return $user->authorise('admin_fields_conditions.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ use Joomla\CMS\MVC\Model\AdminModel;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
use Joomla\String\StringHelper;
|
use Joomla\String\StringHelper;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper as UtilitiesStringHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Componentbuilder Admin_fields_relations Admin Model
|
* Componentbuilder Admin_fields_relations Admin Model
|
||||||
@ -101,7 +103,7 @@ class ComponentbuilderModelAdmin_fields_relations extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_fields_relations__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'admin_fields_relations__'.$id);
|
||||||
ComponentbuilderHelper::set('admin_fields_relations__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('admin_fields_relations__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -109,7 +111,7 @@ class ComponentbuilderModelAdmin_fields_relations extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -175,7 +177,7 @@ class ComponentbuilderModelAdmin_fields_relations extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_fields_relations__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'admin_fields_relations__'.$id);
|
||||||
ComponentbuilderHelper::set('admin_fields_relations__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('admin_fields_relations__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -183,7 +185,7 @@ class ComponentbuilderModelAdmin_fields_relations extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -367,7 +369,7 @@ class ComponentbuilderModelAdmin_fields_relations extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_fields_relations.edit.state', 'com_componentbuilder');
|
return $user->authorise('admin_fields_relations.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,6 +16,11 @@ use Joomla\CMS\MVC\Model\AdminModel;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
use Joomla\String\StringHelper;
|
use Joomla\String\StringHelper;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper as UtilitiesStringHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\GuidHelper;
|
||||||
|
use VDM\Joomla\Utilities\GetHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Componentbuilder Admin_view Admin Model
|
* Componentbuilder Admin_view Admin Model
|
||||||
@ -249,7 +254,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
||||||
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -257,7 +262,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -599,7 +604,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
||||||
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -607,7 +612,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -785,7 +790,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
// now get all the editor fields
|
// now get all the editor fields
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
// check if we found any
|
// check if we found any
|
||||||
if (ComponentbuilderHelper::checkArray($editors))
|
if (UtilitiesArrayHelper::check($editors))
|
||||||
{
|
{
|
||||||
foreach ($editors as $editor)
|
foreach ($editors as $editor)
|
||||||
{
|
{
|
||||||
@ -800,7 +805,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
// Only load the GUID if new item (or empty)
|
// Only load the GUID if new item (or empty)
|
||||||
if (0 == $id || !($val = $form->getValue('guid')))
|
if (0 == $id || !($val = $form->getValue('guid')))
|
||||||
{
|
{
|
||||||
$form->setValue('guid', null, ComponentbuilderHelper::GUID());
|
$form->setValue('guid', null, GuidHelper::get());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
@ -864,7 +869,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('admin_view.edit.state', 'com_componentbuilder');
|
return $user->authorise('admin_view.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1030,7 +1035,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we must also delete the linked tables found
|
// we must also delete the linked tables found
|
||||||
if (ComponentbuilderHelper::checkArray($pks))
|
if (UtilitiesArrayHelper::check($pks))
|
||||||
{
|
{
|
||||||
$_tablesArray = array(
|
$_tablesArray = array(
|
||||||
'admin_fields',
|
'admin_fields',
|
||||||
@ -1072,7 +1077,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// we must also update all linked tables
|
// we must also update all linked tables
|
||||||
if (ComponentbuilderHelper::checkArray($pks))
|
if (UtilitiesArrayHelper::check($pks))
|
||||||
{
|
{
|
||||||
$_tablesArray = array(
|
$_tablesArray = array(
|
||||||
'admin_fields',
|
'admin_fields',
|
||||||
@ -1482,7 +1487,7 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if system name is empty create a system name from the name_single
|
// if system name is empty create a system name from the name_single
|
||||||
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))
|
if (empty($data['system_name']) || !UtilitiesStringHelper::check($data['system_name']))
|
||||||
{
|
{
|
||||||
$data['system_name'] = $data['name_single'];
|
$data['system_name'] = $data['name_single'];
|
||||||
}
|
}
|
||||||
@ -1491,15 +1496,15 @@ class ComponentbuilderModelAdmin_view extends AdminModel
|
|||||||
if (empty($data['guid']) && $data['id'] > 0)
|
if (empty($data['guid']) && $data['id'] > 0)
|
||||||
{
|
{
|
||||||
// get the existing one
|
// get the existing one
|
||||||
$data['guid'] = (string) ComponentbuilderHelper::getVar('admin_view', $data['id'], 'id', 'guid');
|
$data['guid'] = (string) GetHelper::var('admin_view', $data['id'], 'id', 'guid');
|
||||||
}
|
|
||||||
// Set the GUID if empty or not valid
|
|
||||||
while (!ComponentbuilderHelper::validGUID($data['guid'], "admin_view", $data['id']))
|
|
||||||
{
|
|
||||||
// must always be set
|
|
||||||
$data['guid'] = (string) ComponentbuilderHelper::GUID();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set the GUID if empty or not valid
|
||||||
|
while (!GuidHelper::valid($data['guid'], "admin_view", $data['id']))
|
||||||
|
{
|
||||||
|
// must always be set
|
||||||
|
$data['guid'] = (string) GuidHelper::get();
|
||||||
|
}
|
||||||
|
|
||||||
// Set the addpermissions items to data.
|
// Set the addpermissions items to data.
|
||||||
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
|
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
|
||||||
|
@ -14,6 +14,8 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
|
|
||||||
use Joomla\CMS\MVC\Model\ListModel;
|
use Joomla\CMS\MVC\Model\ListModel;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Componentbuilder\Utilities\FilterHelper as JCBFilterHelper;
|
||||||
|
use VDM\Joomla\Utilities\FormHelper as JCBFormHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Admin_views List Model
|
* Admin_views List Model
|
||||||
@ -70,7 +72,7 @@ class ComponentbuilderModelAdmin_views extends ListModel
|
|||||||
'' => '- ' . JText::_('COM_COMPONENTBUILDER_NO_COMPONENTS_FOUND') . ' -'
|
'' => '- ' . JText::_('COM_COMPONENTBUILDER_NO_COMPONENTS_FOUND') . ' -'
|
||||||
);
|
);
|
||||||
// check if we have joomla components
|
// check if we have joomla components
|
||||||
if (($joomla_components = ComponentbuilderHelper::getByTypeTheIdsSystemNames('joomla_component')) !== false)
|
if (($joomla_components = JCBFilterHelper::names('joomla_component')) !== null)
|
||||||
{
|
{
|
||||||
$options = array(
|
$options = array(
|
||||||
'' => '- ' . JText::_('COM_COMPONENTBUILDER_SELECT_COMPONENT') . ' -'
|
'' => '- ' . JText::_('COM_COMPONENTBUILDER_SELECT_COMPONENT') . ' -'
|
||||||
@ -79,7 +81,7 @@ class ComponentbuilderModelAdmin_views extends ListModel
|
|||||||
$options = $options + $joomla_components;
|
$options = $options + $joomla_components;
|
||||||
}
|
}
|
||||||
|
|
||||||
$form->setField(ComponentbuilderHelper::getFieldXML($attributes, $options),'filter');
|
$form->setField(JCBFormHelper::xml($attributes, $options),'filter');
|
||||||
$form->setValue(
|
$form->setValue(
|
||||||
'joomla_component',
|
'joomla_component',
|
||||||
'filter',
|
'filter',
|
||||||
@ -90,6 +92,7 @@ class ComponentbuilderModelAdmin_views extends ListModel
|
|||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to auto-populate the model state.
|
* Method to auto-populate the model state.
|
||||||
*
|
*
|
||||||
@ -354,7 +357,7 @@ class ComponentbuilderModelAdmin_views extends ListModel
|
|||||||
$filter_joomla_component = $this->state->get("filter.joomla_component");
|
$filter_joomla_component = $this->state->get("filter.joomla_component");
|
||||||
if ($filter_joomla_component !== null && !empty($filter_joomla_component))
|
if ($filter_joomla_component !== null && !empty($filter_joomla_component))
|
||||||
{
|
{
|
||||||
if (($ids = ComponentbuilderHelper::getAreaLinkedIDs($filter_joomla_component, 'joomla_component_admin_views')) !== false)
|
if (($ids = JCBFilterHelper::linked((int) $filter_joomla_component, 'joomla_component_admin_views')) !== null)
|
||||||
{
|
{
|
||||||
$query->where($db->quoteName('a.id') . ' IN (' . implode(',', $ids) . ')');
|
$query->where($db->quoteName('a.id') . ' IN (' . implode(',', $ids) . ')');
|
||||||
}
|
}
|
||||||
@ -589,7 +592,7 @@ class ComponentbuilderModelAdmin_views extends ListModel
|
|||||||
$filter_joomla_component = $this->state->get("filter.joomla_component");
|
$filter_joomla_component = $this->state->get("filter.joomla_component");
|
||||||
if ($filter_joomla_component !== null && !empty($filter_joomla_component))
|
if ($filter_joomla_component !== null && !empty($filter_joomla_component))
|
||||||
{
|
{
|
||||||
if (($ids = ComponentbuilderHelper::getAreaLinkedIDs($filter_joomla_component, 'joomla_component_admin_views')) !== false)
|
if (($ids = JCBFilterHelper::linked((int) $filter_joomla_component, 'joomla_component_admin_views')) !== null)
|
||||||
{
|
{
|
||||||
$query->where($db->quoteName('a.id') . ' IN (' . implode(',', $ids) . ')');
|
$query->where($db->quoteName('a.id') . ' IN (' . implode(',', $ids) . ')');
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -16,6 +16,10 @@ use Joomla\CMS\MVC\Model\AdminModel;
|
|||||||
use Joomla\Registry\Registry;
|
use Joomla\Registry\Registry;
|
||||||
use Joomla\String\StringHelper;
|
use Joomla\String\StringHelper;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper as UtilitiesStringHelper;
|
||||||
|
use VDM\Joomla\Utilities\ObjectHelper;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper as UtilitiesArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\String\ClassfunctionHelper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Componentbuilder Class_extends Admin Model
|
* Componentbuilder Class_extends Admin Model
|
||||||
@ -104,7 +108,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'class_extends__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'class_extends__'.$id);
|
||||||
ComponentbuilderHelper::set('class_extends__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('class_extends__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -112,7 +116,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -182,7 +186,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// set the vast development method key
|
// set the vast development method key
|
||||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
$this->vastDevMod = UtilitiesStringHelper::random(50);
|
||||||
ComponentbuilderHelper::set($this->vastDevMod, 'class_extends__'.$id);
|
ComponentbuilderHelper::set($this->vastDevMod, 'class_extends__'.$id);
|
||||||
ComponentbuilderHelper::set('class_extends__'.$id, $this->vastDevMod);
|
ComponentbuilderHelper::set('class_extends__'.$id, $this->vastDevMod);
|
||||||
// set a return value if found
|
// set a return value if found
|
||||||
@ -190,7 +194,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
$return = $jinput->get('return', null, 'base64');
|
$return = $jinput->get('return', null, 'base64');
|
||||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||||
// set a GUID value if found
|
// set a GUID value if found
|
||||||
if (isset($item) && ComponentbuilderHelper::checkObject($item) && isset($item->guid)
|
if (isset($item) && ObjectHelper::check($item) && isset($item->guid)
|
||||||
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
&& method_exists('ComponentbuilderHelper', 'validGUID')
|
||||||
&& ComponentbuilderHelper::validGUID($item->guid))
|
&& ComponentbuilderHelper::validGUID($item->guid))
|
||||||
{
|
{
|
||||||
@ -316,7 +320,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
// now get all the editor fields
|
// now get all the editor fields
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
// check if we found any
|
// check if we found any
|
||||||
if (ComponentbuilderHelper::checkArray($editors))
|
if (UtilitiesArrayHelper::check($editors))
|
||||||
{
|
{
|
||||||
foreach ($editors as $editor)
|
foreach ($editors as $editor)
|
||||||
{
|
{
|
||||||
@ -388,7 +392,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// In the absense of better information, revert to the component permissions.
|
// In the absence of better information, revert to the component permissions.
|
||||||
return $user->authorise('class_extends.edit.state', 'com_componentbuilder');
|
return $user->authorise('class_extends.edit.state', 'com_componentbuilder');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -912,7 +916,7 @@ class ComponentbuilderModelClass_extends extends AdminModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
// make sure the name is safe to be used as a class name
|
// make sure the name is safe to be used as a class name
|
||||||
$data['name'] = ComponentbuilderHelper::safeClassFunctionName($data['name']);
|
$data['name'] = ClassfunctionHelper::safe($data['name']);
|
||||||
|
|
||||||
// Set the head string to base64 string.
|
// Set the head string to base64 string.
|
||||||
if (isset($data['head']))
|
if (isset($data['head']))
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user