Added Joomla Module builder - GUI
This commit is contained in:
parent
850ee4b7e9
commit
ffbb733576
15
README.md
15
README.md
@ -1,3 +1,4 @@
|
||||
|
||||
# Joomla Component Builder ([JCB](http://joomlacomponentbuilder.com))
|
||||
[](https://github.com/vdm-io/Joomla-Component-Builder/releases)
|
||||
[](https://github.com/vdm-io/Joomla-Component-Builder/releases)
|
||||
@ -11,7 +12,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 safe you lots of time and money. A real must have!
|
||||
|
||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.5) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.6) 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)
|
||||
|
||||
@ -143,14 +144,14 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 13th November, 2019
|
||||
+ *Version*: 2.10.5
|
||||
+ *Last Build*: 3rd December, 2019
|
||||
+ *Version*: 2.10.6
|
||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **255997**
|
||||
+ *Field count*: **1351**
|
||||
+ *File count*: **1614**
|
||||
+ *Folder count*: **256**
|
||||
+ *Line count*: **273117**
|
||||
+ *Field count*: **1474**
|
||||
+ *File count*: **1719**
|
||||
+ *Folder count*: **274**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
# Joomla Component Builder ([JCB](http://joomlacomponentbuilder.com))
|
||||
[](https://github.com/vdm-io/Joomla-Component-Builder/releases)
|
||||
[](https://github.com/vdm-io/Joomla-Component-Builder/releases)
|
||||
@ -11,7 +12,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 safe you lots of time and money. A real must have!
|
||||
|
||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.5) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.10.6) 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)
|
||||
|
||||
@ -143,14 +144,14 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 13th November, 2019
|
||||
+ *Version*: 2.10.5
|
||||
+ *Last Build*: 3rd December, 2019
|
||||
+ *Version*: 2.10.6
|
||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **255997**
|
||||
+ *Field count*: **1351**
|
||||
+ *File count*: **1614**
|
||||
+ *Folder count*: **256**
|
||||
+ *Line count*: **273117**
|
||||
+ *Field count*: **1474**
|
||||
+ *File count*: **1719**
|
||||
+ *Folder count*: **274**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -324,6 +324,40 @@
|
||||
<action name="joomla_component.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_component.version" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_component.submenu" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_SUBMENU_DESC" />
|
||||
<action name="joomla_module.get_snippets" title="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_GET_SNIPPETS_BUTTON_ACCESS_DESC" />
|
||||
<action name="joomla_module.run_expansion" title="COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
||||
<action name="joomla_module.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC" />
|
||||
<action name="joomla_module.batch" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_USE_DESC" />
|
||||
<action name="joomla_module.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC" />
|
||||
<action name="joomla_module.dashboard_list" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST_DESC" />
|
||||
<action name="joomla_module.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE_DESC" />
|
||||
<action name="joomla_module.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_DESC" />
|
||||
<action name="joomla_module.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.batch" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_USE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_module.submenu" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU_DESC" />
|
||||
<action name="joomla_module_updates.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS_DESC" />
|
||||
<action name="joomla_module_updates.batch" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_USE_DESC" />
|
||||
<action name="joomla_module_updates.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE_DESC" />
|
||||
<action name="joomla_module_updates.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE_DESC" />
|
||||
<action name="joomla_module_updates.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_DESC" />
|
||||
<action name="joomla_module_updates.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module_updates.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module_updates.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module_updates.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module_updates.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_plugin.get_boilerplate" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS_DESC" />
|
||||
<action name="joomla_plugin_group.access" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_ACCESS_DESC" />
|
||||
<action name="joomla_plugin_group.batch" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_BATCH_USE_DESC" />
|
||||
@ -390,7 +424,6 @@
|
||||
<action name="layout.get_snippets" title="COM_COMPONENTBUILDER_LAYOUT_GET_SNIPPETS_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_LAYOUT_GET_SNIPPETS_BUTTON_ACCESS_DESC" />
|
||||
<action name="layout.access" title="COM_COMPONENTBUILDER_LAYOUTS_ACCESS" description="COM_COMPONENTBUILDER_LAYOUTS_ACCESS_DESC" />
|
||||
<action name="layout.batch" title="COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE" description="COM_COMPONENTBUILDER_LAYOUTS_BATCH_USE_DESC" />
|
||||
<action name="layout.dashboard_add" title="COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD" description="COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD_DESC" />
|
||||
<action name="layout.dashboard_list" title="COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST_DESC" />
|
||||
<action name="layout.version" title="COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION" description="COM_COMPONENTBUILDER_LAYOUTS_EDIT_VERSION_DESC" />
|
||||
<action name="layout.export" title="COM_COMPONENTBUILDER_LAYOUTS_EXPORT" description="COM_COMPONENTBUILDER_LAYOUTS_EXPORT_DESC" />
|
||||
@ -513,6 +546,17 @@
|
||||
<action name="joomla_component.access" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_ACCESS_DESC" />
|
||||
<action name="joomla_component.version" title="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENTS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_module">
|
||||
<action name="joomla_module.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_DESC" />
|
||||
<action name="joomla_module.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_CREATE_DESC" />
|
||||
<action name="joomla_module.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE_DESC" />
|
||||
<action name="joomla_module.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_ACCESS_DESC" />
|
||||
<action name="joomla_module.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_plugin">
|
||||
<action name="joomla_plugin.edit" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_DESC" />
|
||||
<action name="joomla_plugin.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN_DESC" />
|
||||
@ -912,6 +956,28 @@
|
||||
<action name="class_extends.access" title="COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS" description="COM_COMPONENTBUILDER_CLASS_EXTENDINGS_ACCESS_DESC" />
|
||||
<action name="class_extends.version" title="COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION" description="COM_COMPONENTBUILDER_CLASS_EXTENDINGS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_module_updates">
|
||||
<action name="joomla_module_updates.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_DESC" />
|
||||
<action name="joomla_module_updates.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module_updates.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module_updates.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module_updates.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module_updates.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_CREATE_DESC" />
|
||||
<action name="joomla_module_updates.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE_DESC" />
|
||||
<action name="joomla_module_updates.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_ACCESS_DESC" />
|
||||
<action name="joomla_module_updates.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_module_files_folders_urls">
|
||||
<action name="joomla_module_files_folders_urls.edit" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.create" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_CREATE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.delete" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.access" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_ACCESS_DESC" />
|
||||
<action name="joomla_module_files_folders_urls.version" title="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_plugin_group">
|
||||
<action name="joomla_plugin_group.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
|
19
admin/assets/css/joomla_module.css
Normal file
19
admin/assets/css/joomla_module.css
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
#jform_snippet_chzn {
|
||||
width: 100% !important;
|
||||
}
|
||||
.jform_snippet_input_width {
|
||||
width: 90% !important;
|
||||
}
|
16
admin/assets/css/joomla_module_files_folders_urls.css
Normal file
16
admin/assets/css/joomla_module_files_folders_urls.css
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
.control-group, .controls, .controls input[type="url"], .controls input[type="text"], .controls input[type="number"], .controls input[type="email"], .controls select, .controls textarea {
|
||||
max-width: 100%;
|
||||
}
|
15
admin/assets/css/joomla_module_updates.css
Normal file
15
admin/assets/css/joomla_module_updates.css
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
.mysql_update { width: 100%; height: 392px; }
|
||||
.version_url { min-width: 100%; }
|
13
admin/assets/css/joomla_modules.css
Normal file
13
admin/assets/css/joomla_modules.css
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
13
admin/assets/css/joomla_modules_files_folders_urls.css
Normal file
13
admin/assets/css/joomla_modules_files_folders_urls.css
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
13
admin/assets/css/joomla_modules_updates.css
Normal file
13
admin/assets/css/joomla_modules_updates.css
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
BIN
admin/assets/images/icons/joomla_modules.png
Normal file
BIN
admin/assets/images/icons/joomla_modules.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
@ -91,6 +91,7 @@ class ComponentbuilderController extends JControllerLegacy
|
||||
// the view relationships
|
||||
$views = array(
|
||||
'joomla_component' => 'joomla_components',
|
||||
'joomla_module' => 'joomla_modules',
|
||||
'joomla_plugin' => 'joomla_plugins',
|
||||
'admin_view' => 'admin_views',
|
||||
'custom_admin_view' => 'custom_admin_views',
|
||||
@ -130,6 +131,8 @@ class ComponentbuilderController extends JControllerLegacy
|
||||
'library_config' => 'libraries_config',
|
||||
'library_files_folders_urls' => 'libraries_files_folders_urls',
|
||||
'class_extends' => 'class_extendings',
|
||||
'joomla_module_updates' => 'joomla_modules_updates',
|
||||
'joomla_module_files_folders_urls' => 'joomla_modules_files_folders_urls',
|
||||
'joomla_plugin_group' => 'joomla_plugin_groups',
|
||||
'joomla_plugin_updates' => 'joomla_plugins_updates',
|
||||
'joomla_plugin_files_folders_urls' => 'joomla_plugins_files_folders_urls'
|
||||
|
347
admin/controllers/joomla_module.php
Normal file
347
admin/controllers/joomla_module.php
Normal file
@ -0,0 +1,347 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_module Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_module extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Joomla_modules'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('joomla_module.access', 'com_componentbuilder');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('joomla_module.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('joomla_module.access', 'com_componentbuilder.joomla_module.' . (int) $recordId) && $user->authorise('joomla_module.access', 'com_componentbuilder'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('joomla_module.edit', 'com_componentbuilder.joomla_module.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('joomla_module.edit.own', 'com_componentbuilder.joomla_module.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('joomla_module.edit.own', 'com_componentbuilder'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('joomla_module.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Joomla_module', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_modules' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
// get the state object (Joomla\CMS\Object\CMSObject)
|
||||
$state = $model->get('state');
|
||||
// if we save2copy we need to also copy linked tables found!
|
||||
if ($state->task === 'save2copy' && $state->{'joomla_plugin.new'})
|
||||
{
|
||||
// get new ID
|
||||
$newID = $state->{'joomla_module.id'};
|
||||
// get old ID
|
||||
$oldID = $this->input->get('id', 0, 'INT');
|
||||
// linked tables to update
|
||||
$_tablesArray = array(
|
||||
'joomla_module_updates' => 'joomla_module',
|
||||
'joomla_module_files_folders_urls' => 'joomla_module'
|
||||
);
|
||||
foreach($_tablesArray as $_updateTable => $_key)
|
||||
{
|
||||
// get the linked ID
|
||||
if ($_value = ComponentbuilderHelper::getVar($_updateTable, $oldID, $_key, 'id'))
|
||||
{
|
||||
// copy fields to new linked table
|
||||
ComponentbuilderHelper::copyItem(/*id->*/ $_value, /*table->*/ $_updateTable, /*change->*/ array($_key => $newID));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
321
admin/controllers/joomla_module_files_folders_urls.php
Normal file
321
admin/controllers/joomla_module_files_folders_urls.php
Normal file
@ -0,0 +1,321 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_module_files_folders_urls Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_module_files_folders_urls extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Joomla_modules_files_folders_urls'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('joomla_module_files_folders_urls.access', 'com_componentbuilder');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('joomla_module_files_folders_urls.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('joomla_module_files_folders_urls.access', 'com_componentbuilder.joomla_module_files_folders_urls.' . (int) $recordId) && $user->authorise('joomla_module_files_folders_urls.access', 'com_componentbuilder'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('joomla_module_files_folders_urls.edit', 'com_componentbuilder.joomla_module_files_folders_urls.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('joomla_module_files_folders_urls.edit.own', 'com_componentbuilder.joomla_module_files_folders_urls.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('joomla_module_files_folders_urls.edit.own', 'com_componentbuilder'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('joomla_module_files_folders_urls.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Joomla_module_files_folders_urls', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_modules_files_folders_urls' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
339
admin/controllers/joomla_module_updates.php
Normal file
339
admin/controllers/joomla_module_updates.php
Normal file
@ -0,0 +1,339 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_module_updates Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_module_updates extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Joomla_modules_updates'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('joomla_module_updates.access', 'com_componentbuilder');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('joomla_module_updates.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('joomla_module_updates.access', 'com_componentbuilder.joomla_module_updates.' . (int) $recordId) && $user->authorise('joomla_module_updates.access', 'com_componentbuilder'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('joomla_module_updates.edit', 'com_componentbuilder.joomla_module_updates.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('joomla_module_updates.edit.own', 'com_componentbuilder.joomla_module_updates.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('joomla_module_updates.edit.own', 'com_componentbuilder'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('joomla_module_updates.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Joomla_module_updates', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_modules_updates' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
// update the component version to match the updated last version
|
||||
if (isset($validData['joomla_plugin']) && is_numeric($validData['joomla_plugin']) && $validData['joomla_plugin'] > 0)
|
||||
{
|
||||
$objectUpdate = new stdClass();
|
||||
$objectUpdate->id = (int) $validData['joomla_plugin'];
|
||||
if (isset($validData['version_update']) && ComponentbuilderHelper::checkArray($validData['version_update'])
|
||||
&& ($plugin_version = end($validData['version_update'])['version'])
|
||||
&& ComponentbuilderHelper::checkString($plugin_version))
|
||||
{
|
||||
$objectUpdate->plugin_version = $plugin_version;
|
||||
}
|
||||
// be sure to update the table if we have a value
|
||||
if (isset($objectUpdate->plugin_version))
|
||||
{
|
||||
JFactory::getDbo()->updateObject('#__componentbuilder_joomla_plugin', $objectUpdate, 'id');
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
52
admin/controllers/joomla_modules.php
Normal file
52
admin/controllers/joomla_modules.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_modules Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_modules extends JControllerAdmin
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_COMPONENTBUILDER_JOOMLA_MODULES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Joomla_module', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
|
||||
public function getSnippets()
|
||||
{
|
||||
// Check for request forgeries
|
||||
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
|
||||
// redirect to the import snippets custom admin view
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=get_snippets', false));
|
||||
return;
|
||||
}
|
||||
}
|
43
admin/controllers/joomla_modules_files_folders_urls.php
Normal file
43
admin/controllers/joomla_modules_files_folders_urls.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_modules_files_folders_urls Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_modules_files_folders_urls extends JControllerAdmin
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Joomla_module_files_folders_urls', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
43
admin/controllers/joomla_modules_updates.php
Normal file
43
admin/controllers/joomla_modules_updates.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
/**
|
||||
* Joomla_modules_updates Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_modules_updates extends JControllerAdmin
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Joomla_module_updates', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
@ -1602,7 +1602,7 @@ class Get
|
||||
// README
|
||||
if ($component->addreadme)
|
||||
{
|
||||
$component->readme = base64_decode($component->readme);
|
||||
$component->readme = $this->setDynamicValues(base64_decode($component->readme));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -6530,7 +6530,7 @@ class Get
|
||||
if (!isset($form['plugin']) || $form['plugin'] != 1)
|
||||
{
|
||||
// now build the form key
|
||||
$unique = $form['file'] . $form['fields_name'] . $form['fieldset'];
|
||||
$unique = $form['file'] . $form['fields_name'] . $form['fieldset'];
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -6603,7 +6603,7 @@ class Get
|
||||
}
|
||||
else
|
||||
{
|
||||
// load the cofig form
|
||||
// load the config form
|
||||
if (!isset($plugin->config_fields[$form['fields_name']]))
|
||||
{
|
||||
$plugin->config_fields[$form['fields_name']] = array();
|
||||
@ -7228,7 +7228,7 @@ class Get
|
||||
* @param string $string The code string
|
||||
* @param array $config The placeholder config values
|
||||
*
|
||||
* @return void
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
public function setGuiCodePlaceholder($string, $config)
|
||||
@ -7343,16 +7343,26 @@ class Get
|
||||
$first_line = strtok($code, PHP_EOL);
|
||||
// get the GUI target details
|
||||
$query = explode('.', trim($first_line, '.'));
|
||||
// cleanup the newlines around the code
|
||||
$code = trim(str_replace($first_line, '', $code), PHP_EOL) . PHP_EOL;
|
||||
// reverse placeholder as much as we can
|
||||
$code = $this->reversePlaceholders($code, $placeholders, $target, $query[2], $query[1], $query[0]);
|
||||
// update the GUI/Tables/Database
|
||||
$object = new stdClass();
|
||||
$object->id = (int) $query[2];
|
||||
$object->{$query[1]} = base64_encode($code); // (TODO) this may not always work...
|
||||
// update the value in GUI
|
||||
$this->db->updateObject('#__componentbuilder_' . (string) $query[0], $object, 'id');
|
||||
// only continue if we have 3 values in the query
|
||||
if (is_array($query) && count($query) == 3)
|
||||
{
|
||||
// cleanup the newlines around the code
|
||||
$code = trim(str_replace($first_line, '', $code), PHP_EOL) . PHP_EOL;
|
||||
// set the ID
|
||||
$id = (int) $query[2];
|
||||
// make the field name save
|
||||
$field = ComponentbuilderHelper::safeFieldName($query[1]);
|
||||
// make the table name save
|
||||
$table = ComponentbuilderHelper::safeString($query[0]);
|
||||
// reverse placeholder as much as we can
|
||||
$code = $this->reversePlaceholders($code, $placeholders, $target, $id, $field, $table);
|
||||
// update the GUI/Tables/Database
|
||||
$object = new stdClass();
|
||||
$object->id = $id;
|
||||
$object->{$field} = base64_encode($code); // (TODO) this may not always work...
|
||||
// update the value in GUI
|
||||
$this->db->updateObject('#__componentbuilder_' . (string) $table, $object, 'id');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -404,7 +404,7 @@ class Structure extends Get
|
||||
*
|
||||
* @param int $nr The line number
|
||||
*
|
||||
* @return void
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
private function setLine($nr)
|
||||
@ -531,10 +531,34 @@ class Structure extends Get
|
||||
// biuld basic XML
|
||||
$xml = '<?xml version="1.0" encoding="utf-8"?>';
|
||||
$xml .= PHP_EOL . '<!--' . $this->setLine(__LINE__) . ' default paths of ' . $file . ' form points to ' . $this->componentCodeName . ' -->';
|
||||
$xml .= PHP_EOL . '<form';
|
||||
$xml .= PHP_EOL . $this->_t(1) . 'addrulepath="/administrator/components/com_' . $this->componentCodeName . '/models/rules"';
|
||||
$xml .= PHP_EOL . $this->_t(1) . 'addfieldpath="/administrator/components/com_' . $this->componentCodeName . '/models/fields"';
|
||||
$xml .= PHP_EOL . '>';
|
||||
// search if we must add the component path
|
||||
$add_component_path = false;
|
||||
foreach ($fields as $field_name => $fieldsets)
|
||||
{
|
||||
if (!$add_component_path)
|
||||
{
|
||||
foreach ($fieldsets as $fieldset => $field)
|
||||
{
|
||||
if (!$add_component_path && isset($plugin->fieldsets_paths[$file . $field_name . $fieldset]) && $plugin->fieldsets_paths[$file . $field_name . $fieldset] == 1)
|
||||
{
|
||||
$add_component_path = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// only add if part of the component field types path is required
|
||||
if ($add_component_path)
|
||||
{
|
||||
$xml .= PHP_EOL . '<form';
|
||||
$xml .= PHP_EOL . $this->_t(1) . 'addrulepath="/administrator/components/com_' . $this->componentCodeName . '/models/rules"';
|
||||
$xml .= PHP_EOL . $this->_t(1) . 'addfieldpath="/administrator/components/com_' . $this->componentCodeName . '/models/fields"';
|
||||
$xml .= PHP_EOL . '>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$xml .= PHP_EOL . '<form>';
|
||||
}
|
||||
// add the fields
|
||||
foreach ($fields as $field_name => $fieldsets)
|
||||
{
|
||||
// check if we have an double fields naming set
|
||||
|
@ -18,6 +18,20 @@ defined('_JEXEC') or die('Restricted access');
|
||||
class Interpretation extends Fields
|
||||
{
|
||||
|
||||
/**
|
||||
* The global config Field Sets
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $configFieldSets = array();
|
||||
|
||||
/**
|
||||
* The global config Field Sets Custom Fields
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $configFieldSetsCustomField = array();
|
||||
|
||||
/**
|
||||
* The contributors
|
||||
*
|
||||
@ -16647,6 +16661,8 @@ function vdm_dkim() {
|
||||
$dbkey = 'yy';
|
||||
// build the xml
|
||||
$xml = '';
|
||||
// search if we must add the component path
|
||||
$add_component_path = false;
|
||||
// build the config fields
|
||||
$config_fields = array();
|
||||
if (isset($plugin->config_fields) && ComponentbuilderHelper::checkArray($plugin->config_fields))
|
||||
@ -16660,9 +16676,14 @@ function vdm_dkim() {
|
||||
// make sure the xml is set and a string
|
||||
if (isset($xmlFields) && ComponentbuilderHelper::checkString($xmlFields))
|
||||
{
|
||||
$config_fields[$field_name.$fieldset] = $xmlFields;
|
||||
$config_fields[$field_name . $fieldset] = $xmlFields;
|
||||
}
|
||||
$dbkey++;
|
||||
// check if the fieldset path requiers component paths
|
||||
if (!$add_component_path && isset($plugin->fieldsets_paths[$field_name . $fieldset]) && $plugin->fieldsets_paths[$field_name . $fieldset] == 1)
|
||||
{
|
||||
$add_component_path = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -16767,12 +16788,20 @@ function vdm_dkim() {
|
||||
if (ComponentbuilderHelper::checkArray($config_fields))
|
||||
{
|
||||
$xml .= PHP_EOL . PHP_EOL . $this->_t(1) . '<!--' . $this->setLine(__LINE__) . ' Config parameter -->';
|
||||
// add path to plugin rules and custom fields
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<config';
|
||||
$xml .= PHP_EOL . $this->_t(2) . 'addrulepath="/administrator/components/com_' . $this->componentCodeName . '/models/rules"';
|
||||
$xml .= PHP_EOL . $this->_t(2) . 'addfieldpath="/administrator/components/com_' . $this->componentCodeName . '/models/fields"';
|
||||
$xml .= PHP_EOL . $this->_t(1) . '>';
|
||||
|
||||
// only add if part of the component field types path is required
|
||||
if ($add_component_path)
|
||||
{
|
||||
// add path to plugin rules and custom fields
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<config';
|
||||
$xml .= PHP_EOL . $this->_t(2) . 'addrulepath="/administrator/components/com_' . $this->componentCodeName . '/models/rules"';
|
||||
$xml .= PHP_EOL . $this->_t(2) . 'addfieldpath="/administrator/components/com_' . $this->componentCodeName . '/models/fields"';
|
||||
$xml .= PHP_EOL . $this->_t(1) . '>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<config>';
|
||||
}
|
||||
// add the fields
|
||||
foreach ($plugin->config_fields as $field_name => $fieldsets)
|
||||
{
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<fields name="' . $field_name . '">';
|
||||
@ -16785,7 +16814,7 @@ function vdm_dkim() {
|
||||
$label = $plugin->fieldsets_label[$field_name.$fieldset];
|
||||
}
|
||||
// add path to plugin rules and custom fields
|
||||
if (isset($plugin->fieldsets_paths[$field_name.$fieldset]) && $plugin->fieldsets_paths[$field_name.$fieldset] == 2)
|
||||
if (isset($plugin->fieldsets_paths[$field_name . $fieldset]) && $plugin->fieldsets_paths[$field_name . $fieldset] == 2)
|
||||
{
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<!--' . $this->setLine(__LINE__) . ' default paths of ' . $fieldset . ' fieldset points to the plugin -->';
|
||||
$xml .= PHP_EOL . $this->_t(1) . '<fieldset name="' . $fieldset . '" label="' . $label . '"';
|
||||
|
@ -37,6 +37,7 @@ abstract class ComponentbuilderHelper
|
||||
self::loadSession();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Locked Libraries (we can not have these change)
|
||||
**/
|
||||
@ -4420,6 +4421,7 @@ abstract class ComponentbuilderHelper
|
||||
// fall back on array sum
|
||||
return array_sum($array);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* the locker
|
||||
@ -5642,6 +5644,10 @@ abstract class ComponentbuilderHelper
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_JOOMLA_COMPONENTS'), 'index.php?option=com_componentbuilder&view=joomla_components', $submenu === 'joomla_components');
|
||||
}
|
||||
if ($user->authorise('joomla_module.access', 'com_componentbuilder') && $user->authorise('joomla_module.submenu', 'com_componentbuilder'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_JOOMLA_MODULES'), 'index.php?option=com_componentbuilder&view=joomla_modules', $submenu === 'joomla_modules');
|
||||
}
|
||||
if ($user->authorise('joomla_plugin.access', 'com_componentbuilder') && $user->authorise('joomla_plugin.submenu', 'com_componentbuilder'))
|
||||
{
|
||||
JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_JOOMLA_PLUGINS'), 'index.php?option=com_componentbuilder&view=joomla_plugins', $submenu === 'joomla_plugins');
|
||||
|
@ -4266,10 +4266,10 @@ COM_COMPONENTBUILDER_DASHBOARD_GET_SNIPPETS="Get Snippets<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_HELP_DOCUMENTS="Help Documents<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_IMPORTJCBPACKAGES="Import JCB Packages<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_JOOMLA_COMPONENTS="Joomla Components<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_JOOMLA_MODULES="Joomla Modules<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_JOOMLA_PLUGINS="Joomla Plugins<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_LANGUAGE_TRANSLATIONS="Language Translations<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_LAYOUTS="Layouts<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_LAYOUT_ADD="Add Layout<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_LIBRARIES="Libraries<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_LIST_OF_RECORDS="Dashboard (list of records)"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_PLACEHOLDERS="Placeholders<br /><br />"
|
||||
@ -5386,6 +5386,8 @@ COM_COMPONENTBUILDER_JCB_COMMUNITY_PACKAGES="JCB Community Packages"
|
||||
COM_COMPONENTBUILDER_JCB_COMMUNITY_SNIPPETS="JCB Community Snippets"
|
||||
COM_COMPONENTBUILDER_JCB_PACKAGE_IMPORT="JCB Package Import"
|
||||
COM_COMPONENTBUILDER_JCB_PACKAGE_INFO_PATH_DOES_NOT_WORK_WE_ADVICE_YOU_BNOT_TO_CONTINUEB_WITH_THE_IMPORT_OF_THE_SELECTED_PACKAGE="JCB Package info path does not work, we advice you <b>not to continue</b> with the import of the selected package!"
|
||||
COM_COMPONENTBUILDER_JCB_PRO_BOARD="JCB Pro board"
|
||||
COM_COMPONENTBUILDER_JCB_PRO_NOTICE_BOARD="JCB Pro Notice Board"
|
||||
COM_COMPONENTBUILDER_JOIN_FIELDS="Join Fields"
|
||||
COM_COMPONENTBUILDER_JOIN_TYPE="Join Type"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT="Joomla Component"
|
||||
@ -5898,6 +5900,471 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_MESSAGE="Error! Please add websi
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES="Yes"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ZIP="ZIP"
|
||||
COM_COMPONENTBUILDER_JOOMLA_FIELDS="Joomla fields"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE="Joomla Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES="Joomla Modules"
|
||||
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_BATCH_OPTIONS="Batch process the selected Joomla Modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_BATCH_TIP="All changes will be applied to all selected Joomla Modules"
|
||||
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_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_DASHBOARD_LIST="Joomla Modules Dashboard List"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of joomla module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE="Joomla Modules Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE_DESC="Allows the users in this group to delete delete joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT="Joomla Modules Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY="Joomla Modules Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE="Joomla Modules Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_DESC="Allows the users in this group to edit the joomla module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN="Joomla Modules Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules created by them"
|
||||
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_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_FILES_FOLDERS_URLS="Joomla Modules Files, Folders & URLs"
|
||||
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_BATCH_OPTIONS="Batch process the selected Joomla Modules Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_BATCH_TIP="All changes will be applied to all selected 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_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_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_DELETE="Joomla Modules Files Folders Urls Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE_DESC="Allows the users in this group to delete delete joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT="Joomla Modules Files Folders Urls Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY="Joomla Modules Files Folders Urls Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE="Joomla Modules Files Folders Urls Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_DESC="Allows the users in this group to edit the joomla module files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN="Joomla Modules Files Folders Urls Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules files folders urls created by them"
|
||||
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_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_N_ITEMS_ARCHIVED="%s Joomla Modules Files, Folders & URLs archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_ARCHIVED_1="%s Joomla Module Files, Folders & URLs archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_0="No Joomla Module Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_1="%d Joomla Module Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_MORE="%d Joomla Modules Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_DELETED="%s Joomla Modules Files, Folders & URLs deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_DELETED_1="%s Joomla Module Files, Folders & URLs deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_FEATURED="%s Joomla Modules Files, Folders & URLs featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_FEATURED_1="%s Joomla Module Files, Folders & URLs featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_PUBLISHED="%s Joomla Modules Files, Folders & URLs published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_PUBLISHED_1="%s Joomla Module Files, Folders & URLs published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_TRASHED="%s Joomla Modules Files, Folders & URLs trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_TRASHED_1="%s Joomla Module Files, Folders & URLs trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED="%s Joomla Modules Files, Folders & URLs unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED_1="%s Joomla Module Files, Folders & URLs unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED="%s Joomla Modules Files, Folders & URLs unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED_1="%s Joomla Module Files, Folders & URLs unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_ARCHIVED="%s Joomla Modules archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_ARCHIVED_1="%s Joomla Module archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_CHECKED_IN_0="No Joomla Module successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_CHECKED_IN_1="%d Joomla Module successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_CHECKED_IN_MORE="%d Joomla Modules successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_DELETED="%s Joomla Modules deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_DELETED_1="%s Joomla Module deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_FEATURED="%s Joomla Modules featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_FEATURED_1="%s Joomla Module featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_PUBLISHED="%s Joomla Modules published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_PUBLISHED_1="%s Joomla Module published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_TRASHED="%s Joomla Modules trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_TRASHED_1="%s Joomla Module trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_UNFEATURED="%s Joomla Modules unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_UNFEATURED_1="%s Joomla Module unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_UNPUBLISHED="%s Joomla Modules unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_N_ITEMS_UNPUBLISHED_1="%s Joomla Module unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU="Joomla Modules Submenu"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU_DESC="Allows the users in this group to submenu of joomla module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES="Joomla Modules Updates"
|
||||
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_BATCH_OPTIONS="Batch process the selected Joomla Modules Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_BATCH_TIP="All changes will be applied to all selected Joomla Modules Updates"
|
||||
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_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_DELETE="Joomla Modules Updates Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE_DESC="Allows the users in this group to delete delete joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT="Joomla Modules Updates Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY="Joomla Modules Updates Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE="Joomla Modules Updates Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_DESC="Allows the users in this group to edit the joomla module updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN="Joomla Modules Updates Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules updates created by them"
|
||||
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_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_N_ITEMS_ARCHIVED="%s Joomla Modules Updates archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_ARCHIVED_1="%s Joomla Module Updates archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_CHECKED_IN_0="No Joomla Module Updates successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_CHECKED_IN_1="%d Joomla Module Updates successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_CHECKED_IN_MORE="%d Joomla Modules Updates successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_DELETED="%s Joomla Modules Updates deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_DELETED_1="%s Joomla Module Updates deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_FEATURED="%s Joomla Modules Updates featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_FEATURED_1="%s Joomla Module Updates featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_PUBLISHED="%s Joomla Modules Updates published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_PUBLISHED_1="%s Joomla Module Updates published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_TRASHED="%s Joomla Modules Updates trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_TRASHED_1="%s Joomla Module Updates trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_UNFEATURED="%s Joomla Modules Updates unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_UNFEATURED_1="%s Joomla Module Updates unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_UNPUBLISHED="%s Joomla Modules Updates unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_N_ITEMS_UNPUBLISHED_1="%s Joomla Module Updates unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_CODE="Abstract Class Helper Code"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_CODE_DESCRIPTION="Add the class properties & methods here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_CODE_LABEL="Abstract Class Helper Properties & Methods"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_HEADER="Abstract Class Helper Header"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_HEADER_DESCRIPTION="The class header, where JLoader, namespace and use is added."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ABSTRACT_CLASS_HELPER_HEADER_LABEL="Abstract Class Helper Header"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADDREADME="Addreadme"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADDREADME_LABEL="Add README"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_ABSTRACT_CLASS_HELPER="Add Abstract Class Helper"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_ABSTRACT_CLASS_HELPER_DESCRIPTION="You can add an abstract helper class to your module."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_ABSTRACT_CLASS_HELPER_LABEL="Add Abstract Class Helper"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_CUSTOM_ABSTRACT_CLASS_HELPER_HEADER="Add Custom Abstract Class Helper Header"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_CUSTOM_ABSTRACT_CLASS_HELPER_HEADER_DESCRIPTION="You can add your own custom abstract helper header script."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_CUSTOM_ABSTRACT_CLASS_HELPER_HEADER_LABEL="Add Custom Abstract Class Helper Header"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_METHOD_UNINSTALL="Add Php Method Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_METHOD_UNINSTALL_LABEL="Add PHP Method (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_POSTFLIGHT_INSTALL="Add Php Postflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_POSTFLIGHT_INSTALL_LABEL="Add PHP Postflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_POSTFLIGHT_UPDATE="Add Php Postflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_POSTFLIGHT_UPDATE_LABEL="Add PHP Postflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_INSTALL="Add Php Preflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_INSTALL_LABEL="Add PHP Preflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_UNINSTALL="Add Php Preflight Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_UNINSTALL_LABEL="Add PHP Preflight (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_UPDATE="Add Php Preflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_PREFLIGHT_UPDATE_LABEL="Add PHP Preflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_SCRIPT_CONSTRUCT="Add Php Script Construct"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_PHP_SCRIPT_CONSTRUCT_LABEL="Add PHP Script Construct"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SALES_SERVER="Add Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SALES_SERVER_LABEL="Add Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SQL="Add Sql"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SQL_LABEL="Add MySQL - (Install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SQL_UNINSTALL="Add Sql Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_SQL_UNINSTALL_LABEL="Add MySQL - (Uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_UPDATE_SERVER="Add Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ADD_UPDATE_SERVER_LABEL="Add Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CODE="Code"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_COMPONENT="Component"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CREATED_BY_DESC="The user that created this Joomla Module."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CREATED_BY_LABEL="Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CREATED_DATE_DESC="The date this Joomla Module was created."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CREATED_DATE_LABEL="Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_GET="Custom Get"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_GET_DESCRIPTION="Select the custom get methods"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_GET_LABEL="Custom Gets"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_DESCRIPTION="Enter custom value if needed"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_HINT="Custom Value Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_CUSTOM_VALUE_LABEL="Custom Value"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DEFAULT="Default"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DEFAULT_DESCRIPTION="Add the code here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DEFAULT_LABEL="Default View"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DESCRIPTION="Description"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DESCRIPTION_DESCRIPTION="Add Description Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DESCRIPTION_HINT="Add Description Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DESCRIPTION_LABEL="Description"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_DYNAMIC_INTEGRATION="Dynamic Integration"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_EDIT="Editing the Joomla Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ERROR_UNIQUE_ALIAS="Another Joomla Module has the same alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD="Field"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS="Fields"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDSET_DESCRIPTION="Leave default if you don't know what this should be"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDSET_HINT="basic"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDSET_LABEL="Fieldset Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_DESCRIPTION="All the field that belong to this form."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_LABEL="Related Forms"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_NAME_DESCRIPTION="Leave default if you don't know what this should be."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_NAME_HINT="params"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_NAME_LABEL="Fields Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_RULES_PATHS_DESCRIPTION="Where should the <b>custom</b> fields and rules be placed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELDS_RULES_PATHS_LABEL="Fields & Rules Paths"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_DESCRIPTION="Select a field"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FIELD_LABEL="Field"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS="Joomla Module Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILES="Addfiles"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILESFULLPATH="Addfilesfullpath"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION="Add files to this component using the full path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL="Files (full path)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION="Add custom files to this component from the custom folder. Path: /administrator/components/com_componentbuilder/custom/"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFILES_LABEL="Files (custom folder)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERS="Addfolders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH="Addfoldersfullpath"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION="Add custom folder to this component using the full path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL="Folder (full path)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION="Add custom folder to this component from the custom folder. Path: /administrator/components/com_componentbuilder/custom/"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL="Folder (custom folder)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDURLS="Addurls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION="Add urls for this library."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADDURLS_LABEL="URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ADVANCE="Advance"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_BASIC="Basic"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_CREATED_BY_DESC="The user that created this Joomla Module Files, Folders & URLs."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_CREATED_BY_LABEL="Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_CREATED_DATE_DESC="The date this Joomla Module Files, Folders & URLs was created."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_CREATED_DATE_LABEL="Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_DEFAULT_LINK="Default (link)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_EDIT="Editing the Joomla Module Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ERROR_UNIQUE_ALIAS="Another Joomla Module Files, Folders & URLs has the same alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILE="File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION="Full System Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILEPATH_HINT="/home/user/folder/file.php"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILEPATH_LABEL="File Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILEPATH_MESSAGE="Error! Please add folder path here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILE_DESCRIPTION="Add the files to custom folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FILE_LABEL="File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDER="Folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION="Full System Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDERPATH_HINT="/home/user/folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDERPATH_LABEL="Folder Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE="Error! Please add folder path here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION="Add the folder to custom folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_FOLDER_LABEL="Folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ID="Id"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_JOOMLA_MODULE="Joomla Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_JOOMLA_MODULE_LABEL="Joomla Modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC="Link & Local (dynamic)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_LOCAL_GET="Local (get)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_MODIFIED_BY_DESC="The last user that modified this Joomla Module Files, Folders & URLs."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC="The date this Joomla Module Files, Folders & URLs was modified."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NEW="A New Joomla Module Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/file.php or JPATH_ROOT/components/com_yourcomponentname/helpers/file.php"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL="Adding Custom Files"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/folder or JPATH_ROOT/components/com_yourcomponentname/helpers/folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION="You can add urls here, and it can be used in three ways. As a direct link <b>(default)</b> or to get the file content and add it to the component <b>(get)</b> or as both local and link <b>(dynamic)</b>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL="Adding Urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION="<p>// The path to the administrator folder.<br />
|
||||
<b>JPATH_ADMINISTRATOR</b><br />
|
||||
// The path to the installed Joomla! site, or JPATH_ROOT/administrator if executed from the backend.<br />
|
||||
<b>JPATH_BASE</b><br />
|
||||
// The path to the cache folder.<br />
|
||||
<b>JPATH_CACHE</b><br />
|
||||
// The path to the administration folder of JCB component.<br />
|
||||
<b>JPATH_COMPONENT_ADMINISTRATOR</b> <small>no ideal to use</small><br />
|
||||
// The path to the site folder of JCB component.<br />
|
||||
<b>JPATH_COMPONENT_SITE</b> <small>no ideal to use</small><br />
|
||||
// The path to the JCB component.<br />
|
||||
<b>JPATH_COMPONENT</b> <small>no ideal to use</small><br />
|
||||
// The path to folder containing the configuration.php file.<br />
|
||||
<b>JPATH_CONFIGURATION</b><br />
|
||||
// The path to the installation folder.<br />
|
||||
<b>JPATH_INSTALLATION</b><br />
|
||||
// The path to the libraries folder.<br />
|
||||
<b>JPATH_LIBRARIES</b><br />
|
||||
// The path to the plugins folder.<br />
|
||||
<b>JPATH_PLUGINS</b><br />
|
||||
// The path to the installed Joomla! site.<br />
|
||||
<b>JPATH_ROOT</b><br />
|
||||
// The path to the installed Joomla! site.<br />
|
||||
<b>JPATH_SITE</b><br />
|
||||
// The path to the templates folder.<br />
|
||||
<b>JPATH_THEMES</b></p>
|
||||
|
||||
<p>JPATH_SITE is meant to represent the root path of the JSite application,<br />
|
||||
just as JPATH_ADMINISTRATOR is mean to represent the root path of the JAdministrator application.<br />
|
||||
JPATH_BASE is the root path for the current requested application.... so if you are in the administrator application:<br />
|
||||
JPATH_BASE == JPATH_ADMINISTRATOR<br />
|
||||
If you are in the site application:<br />
|
||||
JPATH_BASE == JPATH_SITE<br />
|
||||
If you are in the installation application:<br />
|
||||
JPATH_BASE == JPATH_INSTALLATION.<br />
|
||||
JPATH_ROOT is the root path for the Joomla install and does not depend upon any application.</p>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL="Constant Paths"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION="Should file be updated."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_NOTNEW_LABEL="Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_ORDERING_LABEL="Ordering"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PATH_DESCRIPTION="Path in relation to the folder structure in the install package, <b>unzip the compiled zip file</b> to see the structure."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PATH_HINT="Target Path Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PATH_LABEL="Target Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PATH_MESSAGE="Error! Please add target path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PERMISSION="Permissions"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_RENAME_LABEL="Rename"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Module Files, Folders & URLs to customise the alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_TYPE_DESCRIPTION="way url is used"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_TYPE_LABEL="Type"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_URL_DESCRIPTION="Enter URL to <b>file</b>."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_URL_HINT="http://www.example.com/file.js"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_URL_LABEL="URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_VERSION_DESC="A count of the number of times this Joomla Module Files, Folders & URLs has been revised."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILES_FOLDERS_URLS_VERSION_LABEL="Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILE_DESCRIPTION="Leave default if you don't know what this should be. This field is ignored if this form belongs to the plugin config area."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILE_HINT="config"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FILE_LABEL="File Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_FORMS_FIELDS="Forms & Fields"
|
||||
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_HTML="HTML"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ID="Id"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LABEL_DESCRIPTION="Not mandatory, used to Label the Fieldset"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LABEL_HINT="Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LABEL_LABEL="Label"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LIBRARIES="Libraries"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LIBRARIES_DESCRIPTION="Select the media libraries you want to use here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_LIBRARIES_LABEL="Media Libraries"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODIFIED_BY_DESC="The last user that modified this Joomla Module."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODIFIED_DATE_DESC="The date this Joomla Module was modified."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE="Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_DESCRIPTION="Add this form the the Module Config area."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_LABEL="Add to Module Config"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_VERSION="Module Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_VERSION_DESCRIPTION="Add Version Number Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_VERSION_HINT="1.0.0"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_VERSION_LABEL="Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MODULE_VERSION_MESSAGE="Error! Please add version here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_MYSQL="MySQL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NAME="Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NAME_DESCRIPTION="Enter Name Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NAME_HINT="Name Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NAME_LABEL="Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NAME_MESSAGE="Error! Please add name here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NEW="A New Joomla Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NO="No"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_ADD_LANGUAGE_STRING_DESCRIPTION="<code><?php echo JText::_('Text'); ?></code>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_ADD_LANGUAGE_STRING_LABEL="Add Language String"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_LINKED_TO_NOTICE_DESCRIPTION="<div id='display_linked_to'>Searching the database.<span class='loading-dots'></span></div>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_LINKED_TO_NOTICE_LABEL="Linked To"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_MODEL_DESCRIPTION="<p>So over here you are able to manually code your model.</p><p>We have also added some code via the <a href='https://github.com/vdm-io/boilerplate' title='look at the boilerplate repo' target='_blank'>boilerplate repo</a> that can serve as a starting point, simple select them and it will be added to your code.</p><p><p>If you have added any fields in the Config/Params tab, these fields will be available to you in the <code>$this->params</code> object, and can be accessed via the field name <code>$this->params->get('fieldname');</code> with the get method.</p>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_MODEL_LABEL="Easy Model Build Options"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_SNIPPET_USAGE_LABEL="Snippet Usage"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UIKIT_SNIPPET_LABEL="Snippet Details"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION="During compilation the file will be moved to the server. You still need to point the above <b>update server</b> url to the xml file location on your server for it to work correctly."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL="Select the server used for your update server."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION="Not really sure what other options to add.... so let me know. For now this option does not really do anything except adding the link above to your component as an update server. So it really could be called the manual option, since you will need to set the update server your self. You still need to point the above <b>update server</b> url to the manually created xml file for it to work correctly."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL="The Other Options"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION="The update server XML file will be added to the zipped package during compilation. You still need to point the above <b>update server</b> url to the xml wherever you have placed the files online."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL="The ZIP Option"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_NOT_REQUIRED="Not Required"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ORDERING_LABEL="Ordering"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_OTHER="Other"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PERMISSION="Permissions"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_METHOD_UNINSTALL="Php Method Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_METHOD_UNINSTALL_DESCRIPTION="PHP script that should run during uninstall."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_METHOD_UNINSTALL_LABEL="PHP Method (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_INSTALL="Php Postflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_INSTALL_DESCRIPTION="PHP script that should run postflight during install."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_INSTALL_LABEL="PHP Postflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_UPDATE="Php Postflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_UPDATE_DESCRIPTION="PHP script that should run postflight during update."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_POSTFLIGHT_UPDATE_LABEL="PHP Postflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_INSTALL="Php Preflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_INSTALL_DESCRIPTION="PHP script that should run preflight during install."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_INSTALL_LABEL="PHP Preflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UNINSTALL="Php Preflight Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UNINSTALL_DESCRIPTION="PHP script that should run preflight during uninstall."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UNINSTALL_LABEL="PHP Preflight (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UPDATE="Php Preflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UPDATE_DESCRIPTION="PHP script that should run preflight during update."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_PREFLIGHT_UPDATE_LABEL="PHP Preflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_SCRIPT_CONSTRUCT="Php Script Construct"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_SCRIPT_CONSTRUCT_DESCRIPTION="PHP script that should run in __construct of script."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PHP_SCRIPT_CONSTRUCT_LABEL="PHP Script Construct"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_README="Readme"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_README_LABEL="README.md"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER="Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SALES_SERVER_LABEL="Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Module to customise the alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SCRIPT_FILE="Script File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SERVER="Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SNIPPET="Snippet"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SNIPPET_DESCRIPTION="Select a snippet you would like to use or review."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SNIPPET_LABEL="Select a Snippet"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL="Sql"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_DESCRIPTION="Add your MySQL here!"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_HINT="// Add MySQL Table Dump Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_LABEL="MySQL - (Install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_UNINSTALL="Sql Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_UNINSTALL_DESCRIPTION="Add your MySQL here for uninstall!"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_UNINSTALL_HINT="// Add MySQL to uninstall Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SQL_UNINSTALL_LABEL="MySQL - (Uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SYSTEM_NAME="System Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SYSTEM_NAME_DESCRIPTION="Used only in the system."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SYSTEM_NAME_HINT="The System Name Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SYSTEM_NAME_LABEL="System Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_SYSTEM_NAME_MESSAGE="Error! Please add some text here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES="Joomla Module Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_CREATED_BY_DESC="The user that created this Joomla Module Updates."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_CREATED_BY_LABEL="Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_CREATED_DATE_DESC="The date this Joomla Module Updates was created."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_CREATED_DATE_LABEL="Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_EDIT="Editing the Joomla Module Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_ERROR_UNIQUE_ALIAS="Another Joomla Module Updates has the same alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_ID="Id"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_JOOMLA_MODULE="Joomla Module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_JOOMLA_MODULE_LABEL="Joomla Modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MODIFIED_BY_DESC="The last user that modified this Joomla Module Updates."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MODIFIED_DATE_DESC="The date this Joomla Module Updates was modified."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MYSQL_DESCRIPTION="Update Dump"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MYSQL_HINT="// MySQL for update or blank for none"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_MYSQL_LABEL="MySQL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_NEW="A New Joomla Module Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_ORDERING_LABEL="Ordering"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_PERMISSION="Permissions"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Module Updates to customise the alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_UPDATES="Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_URL_DESCRIPTION="Enter Download Link"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_URL_HINT="http://www.example.com/file.zip"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_URL_LABEL="Version URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_DESC="A count of the number of times this Joomla Module Updates has been revised."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_DESCRIPTION="1.0.0"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_HINT="1.0.0"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_LABEL="Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_MESSAGE="Error! Please add some text here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_UPDATE="Version Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_UPDATE_DESCRIPTION="Add Version Updates Here!"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATES_VERSION_UPDATE_LABEL="Version Updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_DESCRIPTION="Select your update server for this component."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_LABEL="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_TARGET="Update Server Target"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_TARGET_DESCRIPTION="Select the type of way you would like the update server to be set."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_TARGET_LABEL="Update Server Target"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL="Update Server Url"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_DESCRIPTION="Enter Update Server URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_HINT="http://www.example.com/update/extension_name.xml"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_LABEL="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_UPDATE_SERVER_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_VERSION_DESC="A count of the number of times this Joomla Module has been revised."
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_VERSION_LABEL="Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_YES="Yes"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_ZIP="ZIP"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN="Joomla Plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS="Joomla Plugins"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_ACCESS="Joomla Plugins Access"
|
||||
@ -6591,8 +7058,6 @@ 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_CREATE="Layouts Create"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_CREATE_DESC="Allows the users in this group to create create layouts"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD="Layouts Dashboard Add"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD_DESC="Allows the users in this group to dashboard add of layout"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST="Layouts Dashboard List"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of layout"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DELETE="Layouts Delete"
|
||||
@ -8156,6 +8621,7 @@ COM_COMPONENTBUILDER_SUBMENU_FIELDTYPES="Fieldtypes"
|
||||
COM_COMPONENTBUILDER_SUBMENU_GET_SNIPPETS="Get Snippets"
|
||||
COM_COMPONENTBUILDER_SUBMENU_HELP_DOCUMENTS="Help Documents"
|
||||
COM_COMPONENTBUILDER_SUBMENU_JOOMLA_COMPONENTS="Joomla Components"
|
||||
COM_COMPONENTBUILDER_SUBMENU_JOOMLA_MODULES="Joomla Modules"
|
||||
COM_COMPONENTBUILDER_SUBMENU_JOOMLA_PLUGINS="Joomla Plugins"
|
||||
COM_COMPONENTBUILDER_SUBMENU_LANGUAGES="Languages"
|
||||
COM_COMPONENTBUILDER_SUBMENU_LANGUAGE_TRANSLATIONS="Language Translations"
|
||||
@ -8343,6 +8809,8 @@ COM_COMPONENTBUILDER_THE_KEY_OF_THIS_PACKAGE="The key of this package."
|
||||
COM_COMPONENTBUILDER_THE_LIBRARY_CONFIG_FIELDS="The library config fields"
|
||||
COM_COMPONENTBUILDER_THE_LIBRARY_FILES_FOLDERS_URLS="The library files, folders & URLs"
|
||||
COM_COMPONENTBUILDER_THE_LOGIN_TO_BSB_HAS_FAILED_PLEASE_CHECK_THAT_YOUR_DETAILS_ARE_CORRECT="The login to <b>%s</b> has failed, please check that your details are correct!"
|
||||
COM_COMPONENTBUILDER_THE_MODULE_FILES_FOLDERS="The module files & folders"
|
||||
COM_COMPONENTBUILDER_THE_MODULE_UPDATES="The module updates"
|
||||
COM_COMPONENTBUILDER_THE_NAME_OF_THIS_LIBRARY_BSB_CAN_NOT_BE_CHANGED_TO_BSB_OR_THINGS_WILL_BREAK="The name of this library (<b>%s</b>) can not be changed to <b>%s</b> or things will break."
|
||||
COM_COMPONENTBUILDER_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading"
|
||||
COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_CODESCODE="The package key is: <code>%s</code>"
|
||||
@ -8351,6 +8819,7 @@ COM_COMPONENTBUILDER_THE_PLUGIN_FILES_FOLDERS="The plugin files & folders"
|
||||
COM_COMPONENTBUILDER_THE_PLUGIN_UPDATES="The plugin updates"
|
||||
COM_COMPONENTBUILDER_THE_PRIVATE_KEY_FIELD_COULD_NOT_BE_LOADED_FOR_BSB_SERVER="The private key field could not be loaded for <b>%s</b> server!"
|
||||
COM_COMPONENTBUILDER_THE_PRIVATE_KEY_FILE_COULD_NOT_BE_LOADEDFOUND_FOR_BSB_SERVER="The private key file could not be loaded/found for <b>%s</b> server!"
|
||||
COM_COMPONENTBUILDER_THE_PRO_BOARD_IS_LOADING="The pro board is loading"
|
||||
COM_COMPONENTBUILDER_THE_README_IS_LOADING="The readme is loading"
|
||||
COM_COMPONENTBUILDER_THE_SEARCH_FOR_THE_SNIPPETS_ARE_CASE_SENSITIVE_SO_IF_YOU_CHANGED_THE_LOCAL_BNAMESB_OF_EITHER_OR_THE_BSNIPPET_LIBRARY_OR_SNIPPET_TYPESB_IN_ANY_SMALL_WAY_THE_SYSTEM_WILL_NOT_BE_ABLE_TO_CONNECT_YOUR_LOCAL_SNIPPETS_WITH_THOSE_IN_THE_COMMUNITY_REPOSITORY_SO_WE_STRONGLY_ADVICE_TO_BKEEP_TO_THE_COMMUNITY_NAMINGB_TO_AVOID_MISMATCHING_THAT_WILL_IN_TURN_CAUSE_DUPLICATION_SO_IF_YOU_CHANGED_ANY_NAMES_JUST_CHANGE_THEM_BACK_AND_ALL_WILL_AGAIN_WORK_AS_EXPECTED="The search for the snippets are case sensitive so if you changed the local <b>names</b> of either or the <b>snippet, library or snippet types</b> in any small way, the system will not be able to connect your local snippets with those in the community repository. So we strongly advice to <b>keep to the community naming</b> to avoid mismatching, that will in turn cause duplication. So if you changed any names, just change them back and all will again work as expected."
|
||||
COM_COMPONENTBUILDER_THE_SERVER_DETAILS_FOR_BID_SB_COULD_NOT_BE_RETRIEVED="The server details for <b>(ID: %s)</b> could not be retrieved!"
|
||||
@ -8407,6 +8876,9 @@ COM_COMPONENTBUILDER_TYPE_FIELD="Field"
|
||||
COM_COMPONENTBUILDER_TYPE_FIELDTYPE="Fieldtype"
|
||||
COM_COMPONENTBUILDER_TYPE_HELP_DOCUMENT="Help Document"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_COMPONENT="Joomla Component"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_MODULE="Joomla Module"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_MODULE_FILES_FOLDERS_URLS="Joomla Module Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_MODULE_UPDATES="Joomla Module Updates"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_PLUGIN="Joomla Plugin"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_PLUGIN_FILES_FOLDERS_URLS="Joomla Plugin Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_TYPE_JOOMLA_PLUGIN_GROUP="Joomla Plugin Group"
|
||||
@ -8524,6 +8996,7 @@ COM_COMPONENTBUILDER_VALIDATION_RULE_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_VALIDATION_RULE_VERSION_DESC="A count of the number of times this Validation Rule has been revised."
|
||||
COM_COMPONENTBUILDER_VALIDATION_RULE_VERSION_LABEL="Version"
|
||||
COM_COMPONENTBUILDER_VALUE="Value"
|
||||
COM_COMPONENTBUILDER_VDM_BOARD="VDM board"
|
||||
COM_COMPONENTBUILDER_VDM_NOTICE_BOARD="VDM Notice Board"
|
||||
COM_COMPONENTBUILDER_VDM_PACKAGES="VDM Packages"
|
||||
COM_COMPONENTBUILDER_VERSION="Version"
|
||||
|
@ -638,6 +638,74 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMPORT_JCB_PACKAGES_BUTTON_ACCESS="Joomla
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMPORT_JCB_PACKAGES_BUTTON_ACCESS_DESC="Allows the users in this group to access the import jcb packages button."
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_RUN_EXPANSION_BUTTON_ACCESS="Joomla Component Run Expansion Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
||||
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_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_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_DASHBOARD_LIST="Joomla Modules Dashboard List"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of joomla module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE="Joomla Modules Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_DELETE_DESC="Allows the users in this group to delete delete joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT="Joomla Modules Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY="Joomla Modules Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE="Joomla Modules Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_DESC="Allows the users in this group to edit the joomla module"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN="Joomla Modules Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules created by them"
|
||||
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_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_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_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_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_DELETE="Joomla Modules Files Folders Urls Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_DELETE_DESC="Allows the users in this group to delete delete joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT="Joomla Modules Files Folders Urls Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY="Joomla Modules Files Folders Urls Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE="Joomla Modules Files Folders Urls Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_DESC="Allows the users in this group to edit the joomla module files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN="Joomla Modules Files Folders Urls Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules files folders urls created by them"
|
||||
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_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_SUBMENU="Joomla Modules Submenu"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_SUBMENU_DESC="Allows the users in this group to submenu of joomla module"
|
||||
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_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_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_DELETE="Joomla Modules Updates Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_DELETE_DESC="Allows the users in this group to delete delete joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT="Joomla Modules Updates Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY="Joomla Modules Updates Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE="Joomla Modules Updates Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla modules updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_DESC="Allows the users in this group to edit the joomla module updates"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN="Joomla Modules Updates Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULES_UPDATES_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla modules updates created by them"
|
||||
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_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_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_RUN_EXPANSION_BUTTON_ACCESS="Joomla Module Run Expansion Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_MODULE_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
||||
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_BATCH_USE="Joomla Plugins Batch Use"
|
||||
@ -770,8 +838,6 @@ 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_CREATE="Layouts Create"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_CREATE_DESC="Allows the users in this group to create create layouts"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD="Layouts Dashboard Add"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_ADD_DESC="Allows the users in this group to dashboard add of layout"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST="Layouts Dashboard List"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DASHBOARD_LIST_DESC="Allows the users in this group to dashboard list of layout"
|
||||
COM_COMPONENTBUILDER_LAYOUTS_DELETE="Layouts Delete"
|
||||
@ -864,6 +930,7 @@ COM_COMPONENTBUILDER_MENU_FIELDS="Fields"
|
||||
COM_COMPONENTBUILDER_MENU_FIELDTYPES="Fieldtypes"
|
||||
COM_COMPONENTBUILDER_MENU_HELP_DOCUMENTS="Help Documents"
|
||||
COM_COMPONENTBUILDER_MENU_JOOMLA_COMPONENTS="Joomla Components"
|
||||
COM_COMPONENTBUILDER_MENU_JOOMLA_MODULES="Joomla Modules"
|
||||
COM_COMPONENTBUILDER_MENU_JOOMLA_PLUGINS="Joomla Plugins"
|
||||
COM_COMPONENTBUILDER_MENU_LANGUAGE_TRANSLATIONS="Language Translations"
|
||||
COM_COMPONENTBUILDER_MENU_LAYOUTS="Layouts"
|
||||
|
@ -13,7 +13,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vyifields;
|
||||
$items = $displayData->vymfields;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
|
45
admin/layouts/joomla_module/code_fullwidth.php
Normal file
45
admin/layouts/joomla_module/code_fullwidth.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'abstract_class_helper_header',
|
||||
'abstract_class_helper_code'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
43
admin/layouts/joomla_module/code_left.php
Normal file
43
admin/layouts/joomla_module/code_left.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'add_abstract_class_helper',
|
||||
'add_custom_abstract_class_helper_header'
|
||||
);
|
||||
|
||||
$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/joomla_module/code_right.php
Normal file
42
admin/layouts/joomla_module/code_right.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'custom_get'
|
||||
);
|
||||
|
||||
$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; ?>
|
50
admin/layouts/joomla_module/dynamic_integration_left.php
Normal file
50
admin/layouts/joomla_module/dynamic_integration_left.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'add_update_server',
|
||||
'update_server_url',
|
||||
'update_server_target',
|
||||
'note_update_server_note_ftp',
|
||||
'note_update_server_note_zip',
|
||||
'note_update_server_note_other',
|
||||
'update_server',
|
||||
'add_sales_server',
|
||||
'sales_server'
|
||||
);
|
||||
|
||||
$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; ?>
|
44
admin/layouts/joomla_module/forms_fields_fullwidth.php
Normal file
44
admin/layouts/joomla_module/forms_fields_fullwidth.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'fields'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
45
admin/layouts/joomla_module/html_above.php
Normal file
45
admin/layouts/joomla_module/html_above.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'system_name',
|
||||
'module_version'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
46
admin/layouts/joomla_module/html_fullwidth.php
Normal file
46
admin/layouts/joomla_module/html_fullwidth.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'default',
|
||||
'note_linked_to_notice',
|
||||
'not_required'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
46
admin/layouts/joomla_module/html_left.php
Normal file
46
admin/layouts/joomla_module/html_left.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'name',
|
||||
'description',
|
||||
'libraries',
|
||||
'note_model',
|
||||
'note_add_language_string'
|
||||
);
|
||||
|
||||
$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; ?>
|
44
admin/layouts/joomla_module/html_right.php
Normal file
44
admin/layouts/joomla_module/html_right.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'snippet',
|
||||
'note_uikit_snippet',
|
||||
'note_snippet_usage'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
1
admin/layouts/joomla_module/index.html
Normal file
1
admin/layouts/joomla_module/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
47
admin/layouts/joomla_module/mysql_fullwidth.php
Normal file
47
admin/layouts/joomla_module/mysql_fullwidth.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'add_sql',
|
||||
'sql',
|
||||
'add_sql_uninstall',
|
||||
'sql_uninstall'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
45
admin/layouts/joomla_module/publishing.php
Normal file
45
admin/layouts/joomla_module/publishing.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
47
admin/layouts/joomla_module/publlshing.php
Normal file
47
admin/layouts/joomla_module/publlshing.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
43
admin/layouts/joomla_module/readme_left.php
Normal file
43
admin/layouts/joomla_module/readme_left.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'addreadme',
|
||||
'readme'
|
||||
);
|
||||
|
||||
$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; ?>
|
57
admin/layouts/joomla_module/script_file_fullwidth.php
Normal file
57
admin/layouts/joomla_module/script_file_fullwidth.php
Normal file
@ -0,0 +1,57 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'add_php_script_construct',
|
||||
'php_script_construct',
|
||||
'add_php_preflight_install',
|
||||
'php_preflight_install',
|
||||
'add_php_preflight_update',
|
||||
'php_preflight_update',
|
||||
'add_php_preflight_uninstall',
|
||||
'php_preflight_uninstall',
|
||||
'add_php_postflight_install',
|
||||
'php_postflight_install',
|
||||
'add_php_postflight_update',
|
||||
'php_postflight_update',
|
||||
'add_php_method_uninstall',
|
||||
'php_method_uninstall'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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_add_files_fullpath',
|
||||
'addfilesfullpath',
|
||||
'note_add_folders_fullpath',
|
||||
'addfoldersfullpath',
|
||||
'note_constant_paths'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'joomla_module'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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_add_urls',
|
||||
'addurls',
|
||||
'note_add_files',
|
||||
'addfiles',
|
||||
'note_add_folders',
|
||||
'addfolders'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
1
admin/layouts/joomla_module_updates/index.html
Normal file
1
admin/layouts/joomla_module_updates/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
45
admin/layouts/joomla_module_updates/publishing.php
Normal file
45
admin/layouts/joomla_module_updates/publishing.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
47
admin/layouts/joomla_module_updates/publlshing.php
Normal file
47
admin/layouts/joomla_module_updates/publlshing.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
44
admin/layouts/joomla_module_updates/updates_above.php
Normal file
44
admin/layouts/joomla_module_updates/updates_above.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'joomla_module'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
44
admin/layouts/joomla_module_updates/updates_fullwidth.php
Normal file
44
admin/layouts/joomla_module_updates/updates_fullwidth.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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(
|
||||
'version_update'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-vertical">
|
||||
<?php foreach($fields as $field): ?>
|
||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -13,7 +13,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vyslinked_components;
|
||||
$items = $displayData->vywlinked_components;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
|
@ -2368,7 +2368,7 @@ class ComponentbuilderModelAjax extends JModelList
|
||||
'search' => array('id', 'system_name', 'php_preflight_install', 'php_postflight_install',
|
||||
'php_preflight_update', 'php_postflight_update', 'php_method_uninstall',
|
||||
'php_helper_admin', 'php_admin_event', 'php_helper_both', 'php_helper_site',
|
||||
'php_site_event', 'javascript'),
|
||||
'php_site_event', 'javascript', 'readme', 'sql', 'sql_uninstall'),
|
||||
'views' => 'joomla_components',
|
||||
'not_base64' => array(),
|
||||
'name' => 'system_name'
|
||||
|
@ -25,7 +25,7 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
$icons = array();
|
||||
// view groups array
|
||||
$viewGroups = array(
|
||||
'main' => array('png.compiler', 'png.joomla_components', 'png.joomla_plugins', 'png.admin_view.add', 'png.admin_views', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layout.add', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.field.add', 'png.fields', 'png.fields.catid', 'png.fieldtypes', 'png.fieldtypes.catid', 'png.language_translations', 'png.servers', 'png.help_documents')
|
||||
'main' => array('png.compiler', 'png.joomla_components', 'png.joomla_modules', 'png.joomla_plugins', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.field.add', 'png.fields', 'png.fields.catid', 'png.fieldtypes', 'png.fieldtypes.catid', 'png.language_translations', 'png.servers', 'png.help_documents')
|
||||
);
|
||||
// view access array
|
||||
$viewAccess = array(
|
||||
@ -38,6 +38,11 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
'joomla_component.access' => 'joomla_component.access',
|
||||
'joomla_components.submenu' => 'joomla_component.submenu',
|
||||
'joomla_components.dashboard_list' => 'joomla_component.dashboard_list',
|
||||
'joomla_module.create' => 'joomla_module.create',
|
||||
'joomla_modules.access' => 'joomla_module.access',
|
||||
'joomla_module.access' => 'joomla_module.access',
|
||||
'joomla_modules.submenu' => 'joomla_module.submenu',
|
||||
'joomla_modules.dashboard_list' => 'joomla_module.dashboard_list',
|
||||
'joomla_plugin.create' => 'joomla_plugin.create',
|
||||
'joomla_plugins.access' => 'joomla_plugin.access',
|
||||
'joomla_plugin.access' => 'joomla_plugin.access',
|
||||
@ -68,7 +73,6 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
'layout.access' => 'layout.access',
|
||||
'layouts.submenu' => 'layout.submenu',
|
||||
'layouts.dashboard_list' => 'layout.dashboard_list',
|
||||
'layout.dashboard_add' => 'layout.dashboard_add',
|
||||
'dynamic_get.create' => 'dynamic_get.create',
|
||||
'dynamic_gets.access' => 'dynamic_get.access',
|
||||
'dynamic_get.access' => 'dynamic_get.access',
|
||||
@ -192,6 +196,12 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
'class_extends.create' => 'class_extends.create',
|
||||
'class_extendings.access' => 'class_extends.access',
|
||||
'class_extends.access' => 'class_extends.access',
|
||||
'joomla_module_updates.create' => 'joomla_module_updates.create',
|
||||
'joomla_modules_updates.access' => 'joomla_module_updates.access',
|
||||
'joomla_module_updates.access' => 'joomla_module_updates.access',
|
||||
'joomla_module_files_folders_urls.create' => 'joomla_module_files_folders_urls.create',
|
||||
'joomla_modules_files_folders_urls.access' => 'joomla_module_files_folders_urls.access',
|
||||
'joomla_module_files_folders_urls.access' => 'joomla_module_files_folders_urls.access',
|
||||
'joomla_plugin_groups.access' => 'joomla_plugin_group.access',
|
||||
'joomla_plugin_group.access' => 'joomla_plugin_group.access',
|
||||
'joomla_plugin_updates.create' => 'joomla_plugin_updates.create',
|
||||
@ -497,7 +507,7 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
$document->addScript(JURI::root() . "media/com_componentbuilder/js/marked.js");
|
||||
$document->addScriptDeclaration('
|
||||
var token = "'.JSession::getFormToken().'";
|
||||
var noticeboard = "https://www.vdm.io/componentbuilder-noticeboard-md";
|
||||
var noticeboard = "https://vdm.bz/componentbuilder-noticeboard-md";
|
||||
jQuery(document).ready(function () {
|
||||
jQuery.get(noticeboard)
|
||||
.success(function(board) {
|
||||
@ -532,9 +542,9 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
// to check is READ/NEW
|
||||
function getIS(type,notice){
|
||||
if(type == 1){
|
||||
var getUrl = "index.php?option=com_componentbuilder&task=ajax.isNew&format=json";
|
||||
var getUrl = "index.php?option=com_componentbuilder&task=ajax.isNew&format=json&raw=true";
|
||||
} else if (type == 2) {
|
||||
var getUrl = "index.php?option=com_componentbuilder&task=ajax.isRead&format=json";
|
||||
var getUrl = "index.php?option=com_componentbuilder&task=ajax.isRead&format=json&raw=true";
|
||||
}
|
||||
if(token.length > 0 && notice.length){
|
||||
var request = "token="+token+"¬ice="+notice;
|
||||
@ -542,9 +552,9 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
return jQuery.ajax({
|
||||
type: "POST",
|
||||
url: getUrl,
|
||||
dataType: "jsonp",
|
||||
dataType: "json",
|
||||
data: request,
|
||||
jsonp: "callback"
|
||||
jsonp: false
|
||||
});
|
||||
}
|
||||
|
||||
@ -564,6 +574,29 @@ jQuery(document).ready( function($) {
|
||||
return '<div id="noticeboard-md">'.JText::_('COM_COMPONENTBUILDER_THE_NOTICE_BOARD_IS_LOADING').'.<span class="loading-dots">.</span></small></div>';
|
||||
}
|
||||
|
||||
public function getProboard()
|
||||
{
|
||||
// get the document to load the scripts
|
||||
$document = JFactory::getDocument();
|
||||
$document->addScriptDeclaration('
|
||||
var proboard = "https://vdm.bz/componentbuilder-pro-noticeboard-md";
|
||||
jQuery(document).ready(function () {
|
||||
jQuery.get(proboard)
|
||||
.success(function(board) {
|
||||
if (board.length > 5) {
|
||||
jQuery("#proboard-md").html(marked(board));
|
||||
} else {
|
||||
jQuery("#proboard-md").html("'.JText::_('COM_COMPONENTBUILDER_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER').'");
|
||||
}
|
||||
})
|
||||
.error(function(jqXHR, textStatus, errorThrown) {
|
||||
jQuery("#proboard-md").html("'.JText::_('COM_COMPONENTBUILDER_ALL_IS_GOOD_PLEASE_CHECK_AGAIN_LATTER').'");
|
||||
});
|
||||
});');
|
||||
|
||||
return '<div id="proboard-md">'.JText::_('COM_COMPONENTBUILDER_THE_PRO_BOARD_IS_LOADING').'.<span class="loading-dots">.</span></small></div>';
|
||||
}
|
||||
|
||||
public function getReadme()
|
||||
{
|
||||
$document = JFactory::getDocument();
|
||||
|
@ -35,22 +35,23 @@ class JFormFieldComponents extends JFormFieldList
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','components_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->components_system_name);
|
||||
}
|
||||
}
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','components_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->order('a.system_name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->components_system_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
71
admin/models/fields/joomlamodules.php
Normal file
71
admin/models/fields/joomlamodules.php
Normal file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 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');
|
||||
|
||||
// import the list field type
|
||||
jimport('joomla.form.helper');
|
||||
JFormHelper::loadFieldClass('list');
|
||||
|
||||
/**
|
||||
* Joomlamodules Form Field class for the Componentbuilder component
|
||||
*/
|
||||
class JFormFieldJoomlamodules extends JFormFieldList
|
||||
{
|
||||
/**
|
||||
* The joomlamodules field type.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $type = 'joomlamodules';
|
||||
|
||||
/**
|
||||
* Method to get a list of options for a list input.
|
||||
*
|
||||
* @return array An array of JHtml options.
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
// Get the databse object.
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.system_name'),array('id','joomla_module_system_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_module', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->order('a.system_name ASC');
|
||||
// Implement View Level Access (if set in table)
|
||||
if (!$user->authorise('core.options', 'com_componentbuilder'))
|
||||
{
|
||||
$columns = $db->getTableColumns('#__componentbuilder_joomla_module');
|
||||
if(isset($columns['access']))
|
||||
{
|
||||
$groups = implode(',', $user->getAuthorisedViewLevels());
|
||||
$query->where('a.access IN (' . $groups . ')');
|
||||
}
|
||||
}
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select a module');
|
||||
foreach($items as $item)
|
||||
{
|
||||
// set a full class name
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->joomla_module_system_name);
|
||||
}
|
||||
}
|
||||
return $options;
|
||||
}
|
||||
}
|
@ -247,7 +247,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVyifields()
|
||||
public function getVymfields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -335,13 +335,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationVyifields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationVymfields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationVyifields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationVymfields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationVyifields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationVymfields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationVyifields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationVymfields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -355,7 +355,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationVyifields($value,$name)
|
||||
public function selectionTranslationVymfields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
|
@ -9,123 +9,123 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyzvwh_required = false;
|
||||
jform_vvvvvzavwi_required = false;
|
||||
jform_vvvvvzevwj_required = false;
|
||||
jform_vvvvvzevwk_required = false;
|
||||
jform_vvvvvzevwl_required = false;
|
||||
jform_vvvvvzevwm_required = false;
|
||||
jform_vvvvvzevwn_required = false;
|
||||
jform_vvvvvzevwo_required = false;
|
||||
jform_vvvvvzevwp_required = false;
|
||||
jform_vvvvvzvvwl_required = false;
|
||||
jform_vvvvvzwvwm_required = false;
|
||||
jform_vvvvwaavwn_required = false;
|
||||
jform_vvvvwaavwo_required = false;
|
||||
jform_vvvvwaavwp_required = false;
|
||||
jform_vvvvwaavwq_required = false;
|
||||
jform_vvvvwaavwr_required = false;
|
||||
jform_vvvvwaavws_required = false;
|
||||
jform_vvvvwaavwt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_css_view_vvvvvxz = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxz(add_css_view_vvvvvxz);
|
||||
var add_css_view_vvvvvyv = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvyv(add_css_view_vvvvvyv);
|
||||
|
||||
var add_css_views_vvvvvya = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvya(add_css_views_vvvvvya);
|
||||
var add_css_views_vvvvvyw = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_views_vvvvvyw);
|
||||
|
||||
var add_javascript_view_file_vvvvvyb = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvyb(add_javascript_view_file_vvvvvyb);
|
||||
var add_javascript_view_file_vvvvvyx = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvyx(add_javascript_view_file_vvvvvyx);
|
||||
|
||||
var add_javascript_views_file_vvvvvyc = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyc(add_javascript_views_file_vvvvvyc);
|
||||
var add_javascript_views_file_vvvvvyy = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyy(add_javascript_views_file_vvvvvyy);
|
||||
|
||||
var add_javascript_view_footer_vvvvvyd = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyd(add_javascript_view_footer_vvvvvyd);
|
||||
var add_javascript_view_footer_vvvvvyz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyz(add_javascript_view_footer_vvvvvyz);
|
||||
|
||||
var add_javascript_views_footer_vvvvvye = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvye(add_javascript_views_footer_vvvvvye);
|
||||
var add_javascript_views_footer_vvvvvza = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvza(add_javascript_views_footer_vvvvvza);
|
||||
|
||||
var add_php_ajax_vvvvvyf = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_ajax_vvvvvyf);
|
||||
var add_php_ajax_vvvvvzb = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_ajax_vvvvvzb);
|
||||
|
||||
var add_php_getitem_vvvvvyg = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_getitem_vvvvvyg);
|
||||
var add_php_getitem_vvvvvzc = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvzc(add_php_getitem_vvvvvzc);
|
||||
|
||||
var add_php_getitems_vvvvvyh = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_getitems_vvvvvyh);
|
||||
var add_php_getitems_vvvvvzd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvzd(add_php_getitems_vvvvvzd);
|
||||
|
||||
var add_php_getitems_after_all_vvvvvyi = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_getitems_after_all_vvvvvyi);
|
||||
var add_php_getitems_after_all_vvvvvze = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvze(add_php_getitems_after_all_vvvvvze);
|
||||
|
||||
var add_php_getlistquery_vvvvvyj = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvyj(add_php_getlistquery_vvvvvyj);
|
||||
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvzf(add_php_getlistquery_vvvvvzf);
|
||||
|
||||
var add_php_getform_vvvvvyk = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvyk(add_php_getform_vvvvvyk);
|
||||
var add_php_getform_vvvvvzg = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_getform_vvvvvzg);
|
||||
|
||||
var add_php_before_save_vvvvvyl = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvyl(add_php_before_save_vvvvvyl);
|
||||
var add_php_before_save_vvvvvzh = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_before_save_vvvvvzh);
|
||||
|
||||
var add_php_save_vvvvvym = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_save_vvvvvym);
|
||||
var add_php_save_vvvvvzi = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_save_vvvvvzi);
|
||||
|
||||
var add_php_postsavehook_vvvvvyn = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_postsavehook_vvvvvyn);
|
||||
var add_php_postsavehook_vvvvvzj = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_postsavehook_vvvvvzj);
|
||||
|
||||
var add_php_allowadd_vvvvvyo = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_allowadd_vvvvvyo);
|
||||
var add_php_allowadd_vvvvvzk = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_allowadd_vvvvvzk);
|
||||
|
||||
var add_php_allowedit_vvvvvyp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_allowedit_vvvvvyp);
|
||||
var add_php_allowedit_vvvvvzl = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvzl(add_php_allowedit_vvvvvzl);
|
||||
|
||||
var add_php_before_cancel_vvvvvyq = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_before_cancel_vvvvvyq);
|
||||
var add_php_before_cancel_vvvvvzm = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvzm(add_php_before_cancel_vvvvvzm);
|
||||
|
||||
var add_php_after_cancel_vvvvvyr = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_after_cancel_vvvvvyr);
|
||||
var add_php_after_cancel_vvvvvzn = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvzn(add_php_after_cancel_vvvvvzn);
|
||||
|
||||
var add_php_batchcopy_vvvvvys = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvys(add_php_batchcopy_vvvvvys);
|
||||
var add_php_batchcopy_vvvvvzo = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvzo(add_php_batchcopy_vvvvvzo);
|
||||
|
||||
var add_php_batchmove_vvvvvyt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvyt(add_php_batchmove_vvvvvyt);
|
||||
var add_php_batchmove_vvvvvzp = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_batchmove_vvvvvzp);
|
||||
|
||||
var add_php_before_publish_vvvvvyu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyu(add_php_before_publish_vvvvvyu);
|
||||
var add_php_before_publish_vvvvvzq = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_before_publish_vvvvvzq);
|
||||
|
||||
var add_php_after_publish_vvvvvyv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_after_publish_vvvvvyv);
|
||||
var add_php_after_publish_vvvvvzr = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_after_publish_vvvvvzr);
|
||||
|
||||
var add_php_before_delete_vvvvvyw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_before_delete_vvvvvyw);
|
||||
var add_php_before_delete_vvvvvzs = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_before_delete_vvvvvzs);
|
||||
|
||||
var add_php_after_delete_vvvvvyx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_after_delete_vvvvvyx);
|
||||
var add_php_after_delete_vvvvvzt = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_after_delete_vvvvvzt);
|
||||
|
||||
var add_php_document_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_document_vvvvvyy);
|
||||
var add_php_document_vvvvvzu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_php_document_vvvvvzu);
|
||||
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(add_sql_vvvvvyz);
|
||||
var add_sql_vvvvvzv = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzv(add_sql_vvvvvzv);
|
||||
|
||||
var source_vvvvvza = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvza = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvza(source_vvvvvza,add_sql_vvvvvza);
|
||||
var source_vvvvvzw = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzw(source_vvvvvzw,add_sql_vvvvvzw);
|
||||
|
||||
var source_vvvvvzc = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzc(source_vvvvvzc,add_sql_vvvvvzc);
|
||||
var source_vvvvvzy = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy);
|
||||
|
||||
var add_custom_import_vvvvvze = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvze(add_custom_import_vvvvvze);
|
||||
var add_custom_import_vvvvwaa = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwaa(add_custom_import_vvvvwaa);
|
||||
|
||||
var add_custom_import_vvvvvzf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvzf(add_custom_import_vvvvvzf);
|
||||
var add_custom_import_vvvvwab = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwab(add_custom_import_vvvvwab);
|
||||
|
||||
var add_custom_button_vvvvvzg = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzg(add_custom_button_vvvvvzg);
|
||||
var add_custom_button_vvvvwac = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwac(add_custom_button_vvvvwac);
|
||||
});
|
||||
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(add_css_view_vvvvvxz)
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_css_view_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvxz == 1)
|
||||
if (add_css_view_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -135,11 +135,11 @@ function vvvvvxz(add_css_view_vvvvvxz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvya function
|
||||
function vvvvvya(add_css_views_vvvvvya)
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_css_views_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvvya == 1)
|
||||
if (add_css_views_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -149,11 +149,11 @@ function vvvvvya(add_css_views_vvvvvya)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_javascript_view_file_vvvvvyb)
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_javascript_view_file_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_file_vvvvvyb == 1)
|
||||
if (add_javascript_view_file_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -163,11 +163,11 @@ function vvvvvyb(add_javascript_view_file_vvvvvyb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_javascript_views_file_vvvvvyc)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_javascript_views_file_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_file_vvvvvyc == 1)
|
||||
if (add_javascript_views_file_vvvvvyy == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -177,11 +177,11 @@ function vvvvvyc(add_javascript_views_file_vvvvvyc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_javascript_view_footer_vvvvvyd)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_javascript_view_footer_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvvyd == 1)
|
||||
if (add_javascript_view_footer_vvvvvyz == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -191,11 +191,11 @@ function vvvvvyd(add_javascript_view_footer_vvvvvyd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_javascript_views_footer_vvvvvye)
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_javascript_views_footer_vvvvvza)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvye == 1)
|
||||
if (add_javascript_views_footer_vvvvvza == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -205,11 +205,11 @@ function vvvvvye(add_javascript_views_footer_vvvvvye)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_ajax_vvvvvyf)
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_php_ajax_vvvvvzb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyf == 1)
|
||||
if (add_php_ajax_vvvvvzb == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -221,11 +221,11 @@ function vvvvvyf(add_php_ajax_vvvvvyf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_getitem_vvvvvyg)
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_php_getitem_vvvvvzc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitem_vvvvvyg == 1)
|
||||
if (add_php_getitem_vvvvvzc == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -235,11 +235,11 @@ function vvvvvyg(add_php_getitem_vvvvvyg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_php_getitems_vvvvvyh)
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_php_getitems_vvvvvzd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_vvvvvyh == 1)
|
||||
if (add_php_getitems_vvvvvzd == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -249,11 +249,11 @@ function vvvvvyh(add_php_getitems_vvvvvyh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_php_getitems_after_all_vvvvvyi)
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_php_getitems_after_all_vvvvvze)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_after_all_vvvvvyi == 1)
|
||||
if (add_php_getitems_after_all_vvvvvze == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -263,11 +263,11 @@ function vvvvvyi(add_php_getitems_after_all_vvvvvyi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_php_getlistquery_vvvvvyj)
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_php_getlistquery_vvvvvzf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getlistquery_vvvvvyj == 1)
|
||||
if (add_php_getlistquery_vvvvvzf == 1)
|
||||
{
|
||||
jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -277,11 +277,11 @@ function vvvvvyj(add_php_getlistquery_vvvvvyj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_php_getform_vvvvvyk)
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_getform_vvvvvzg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getform_vvvvvyk == 1)
|
||||
if (add_php_getform_vvvvvzg == 1)
|
||||
{
|
||||
jQuery('#jform_php_getform-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -291,11 +291,11 @@ function vvvvvyk(add_php_getform_vvvvvyk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_php_before_save_vvvvvyl)
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_before_save_vvvvvzh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_save_vvvvvyl == 1)
|
||||
if (add_php_before_save_vvvvvzh == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -305,11 +305,11 @@ function vvvvvyl(add_php_before_save_vvvvvyl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_php_save_vvvvvym)
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_save_vvvvvzi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_save_vvvvvym == 1)
|
||||
if (add_php_save_vvvvvzi == 1)
|
||||
{
|
||||
jQuery('#jform_php_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -319,11 +319,11 @@ function vvvvvym(add_php_save_vvvvvym)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_postsavehook_vvvvvyn)
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_postsavehook_vvvvvzj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postsavehook_vvvvvyn == 1)
|
||||
if (add_php_postsavehook_vvvvvzj == 1)
|
||||
{
|
||||
jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -333,11 +333,11 @@ function vvvvvyn(add_php_postsavehook_vvvvvyn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_allowadd_vvvvvyo)
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_allowadd_vvvvvzk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowadd_vvvvvyo == 1)
|
||||
if (add_php_allowadd_vvvvvzk == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -347,11 +347,11 @@ function vvvvvyo(add_php_allowadd_vvvvvyo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_allowedit_vvvvvyp)
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_php_allowedit_vvvvvzl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowedit_vvvvvyp == 1)
|
||||
if (add_php_allowedit_vvvvvzl == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -361,11 +361,11 @@ function vvvvvyp(add_php_allowedit_vvvvvyp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_before_cancel_vvvvvyq)
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_php_before_cancel_vvvvvzm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_cancel_vvvvvyq == 1)
|
||||
if (add_php_before_cancel_vvvvvzm == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -375,11 +375,11 @@ function vvvvvyq(add_php_before_cancel_vvvvvyq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_php_after_cancel_vvvvvyr)
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_php_after_cancel_vvvvvzn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_cancel_vvvvvyr == 1)
|
||||
if (add_php_after_cancel_vvvvvzn == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -389,11 +389,11 @@ function vvvvvyr(add_php_after_cancel_vvvvvyr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_php_batchcopy_vvvvvys)
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_php_batchcopy_vvvvvzo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchcopy_vvvvvys == 1)
|
||||
if (add_php_batchcopy_vvvvvzo == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -403,11 +403,11 @@ function vvvvvys(add_php_batchcopy_vvvvvys)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_php_batchmove_vvvvvyt)
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_php_batchmove_vvvvvzp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchmove_vvvvvyt == 1)
|
||||
if (add_php_batchmove_vvvvvzp == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -417,11 +417,11 @@ function vvvvvyt(add_php_batchmove_vvvvvyt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_php_before_publish_vvvvvyu)
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_before_publish_vvvvvzq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_publish_vvvvvyu == 1)
|
||||
if (add_php_before_publish_vvvvvzq == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -431,11 +431,11 @@ function vvvvvyu(add_php_before_publish_vvvvvyu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_php_after_publish_vvvvvyv)
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(add_php_after_publish_vvvvvzr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_publish_vvvvvyv == 1)
|
||||
if (add_php_after_publish_vvvvvzr == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -445,11 +445,11 @@ function vvvvvyv(add_php_after_publish_vvvvvyv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_php_before_delete_vvvvvyw)
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_php_before_delete_vvvvvzs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_delete_vvvvvyw == 1)
|
||||
if (add_php_before_delete_vvvvvzs == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -459,11 +459,11 @@ function vvvvvyw(add_php_before_delete_vvvvvyw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_php_after_delete_vvvvvyx)
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_php_after_delete_vvvvvzt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_delete_vvvvvyx == 1)
|
||||
if (add_php_after_delete_vvvvvzt == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -473,11 +473,11 @@ function vvvvvyx(add_php_after_delete_vvvvvyx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_php_document_vvvvvyy)
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_php_document_vvvvvzu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyy == 1)
|
||||
if (add_php_document_vvvvvzu == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -487,75 +487,75 @@ function vvvvvyy(add_php_document_vvvvvyy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_sql_vvvvvyz)
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_sql_vvvvvzv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvyz == 1)
|
||||
if (add_sql_vvvvvzv == 1)
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').show();
|
||||
// add required attribute to source field
|
||||
if (jform_vvvvvyzvwh_required)
|
||||
if (jform_vvvvvzvvwl_required)
|
||||
{
|
||||
updateFieldRequired('source',0);
|
||||
jQuery('#jform_source').prop('required','required');
|
||||
jQuery('#jform_source').attr('aria-required',true);
|
||||
jQuery('#jform_source').addClass('required');
|
||||
jform_vvvvvyzvwh_required = false;
|
||||
jform_vvvvvzvvwl_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').hide();
|
||||
// remove required attribute from source field
|
||||
if (!jform_vvvvvyzvwh_required)
|
||||
if (!jform_vvvvvzvvwl_required)
|
||||
{
|
||||
updateFieldRequired('source',1);
|
||||
jQuery('#jform_source').removeAttr('required');
|
||||
jQuery('#jform_source').removeAttr('aria-required');
|
||||
jQuery('#jform_source').removeClass('required');
|
||||
jform_vvvvvyzvwh_required = true;
|
||||
jform_vvvvvzvvwl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvza function
|
||||
function vvvvvza(source_vvvvvza,add_sql_vvvvvza)
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(source_vvvvvzw,add_sql_vvvvvzw)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvza == 2 && add_sql_vvvvvza == 1)
|
||||
if (source_vvvvvzw == 2 && add_sql_vvvvvzw == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvzavwi_required)
|
||||
if (jform_vvvvvzwvwm_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvzavwi_required = false;
|
||||
jform_vvvvvzwvwm_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvzavwi_required)
|
||||
if (!jform_vvvvvzwvwm_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvzavwi_required = true;
|
||||
jform_vvvvvzwvwm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(source_vvvvvzc,add_sql_vvvvvzc)
|
||||
// the vvvvvzy function
|
||||
function vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvzc == 1 && add_sql_vvvvvzc == 1)
|
||||
if (source_vvvvvzy == 1 && add_sql_vvvvvzy == 1)
|
||||
{
|
||||
jQuery('#jform_addtables-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -565,165 +565,165 @@ function vvvvvzc(source_vvvvvzc,add_sql_vvvvvzc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_custom_import_vvvvvze)
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(add_custom_import_vvvvwaa)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvvze == 1)
|
||||
if (add_custom_import_vvvvwaa == 1)
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').show();
|
||||
// add required attribute to html_import_view field
|
||||
if (jform_vvvvvzevwj_required)
|
||||
if (jform_vvvvwaavwn_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',0);
|
||||
jQuery('#jform_html_import_view').prop('required','required');
|
||||
jQuery('#jform_html_import_view').attr('aria-required',true);
|
||||
jQuery('#jform_html_import_view').addClass('required');
|
||||
jform_vvvvvzevwj_required = false;
|
||||
jform_vvvvwaavwn_required = false;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').show();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').show();
|
||||
// add required attribute to php_import_display field
|
||||
if (jform_vvvvvzevwk_required)
|
||||
if (jform_vvvvwaavwo_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',0);
|
||||
jQuery('#jform_php_import_display').prop('required','required');
|
||||
jQuery('#jform_php_import_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_display').addClass('required');
|
||||
jform_vvvvvzevwk_required = false;
|
||||
jform_vvvvwaavwo_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').show();
|
||||
// add required attribute to php_import_ext field
|
||||
if (jform_vvvvvzevwl_required)
|
||||
if (jform_vvvvwaavwp_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',0);
|
||||
jQuery('#jform_php_import_ext').prop('required','required');
|
||||
jQuery('#jform_php_import_ext').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_ext').addClass('required');
|
||||
jform_vvvvvzevwl_required = false;
|
||||
jform_vvvvwaavwp_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').show();
|
||||
// add required attribute to php_import_headers field
|
||||
if (jform_vvvvvzevwm_required)
|
||||
if (jform_vvvvwaavwq_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',0);
|
||||
jQuery('#jform_php_import_headers').prop('required','required');
|
||||
jQuery('#jform_php_import_headers').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_headers').addClass('required');
|
||||
jform_vvvvvzevwm_required = false;
|
||||
jform_vvvvwaavwq_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').show();
|
||||
// add required attribute to php_import field
|
||||
if (jform_vvvvvzevwn_required)
|
||||
if (jform_vvvvwaavwr_required)
|
||||
{
|
||||
updateFieldRequired('php_import',0);
|
||||
jQuery('#jform_php_import').prop('required','required');
|
||||
jQuery('#jform_php_import').attr('aria-required',true);
|
||||
jQuery('#jform_php_import').addClass('required');
|
||||
jform_vvvvvzevwn_required = false;
|
||||
jform_vvvvwaavwr_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').show();
|
||||
// add required attribute to php_import_save field
|
||||
if (jform_vvvvvzevwo_required)
|
||||
if (jform_vvvvwaavws_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',0);
|
||||
jQuery('#jform_php_import_save').prop('required','required');
|
||||
jQuery('#jform_php_import_save').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_save').addClass('required');
|
||||
jform_vvvvvzevwo_required = false;
|
||||
jform_vvvvwaavws_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').show();
|
||||
// add required attribute to php_import_setdata field
|
||||
if (jform_vvvvvzevwp_required)
|
||||
if (jform_vvvvwaavwt_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',0);
|
||||
jQuery('#jform_php_import_setdata').prop('required','required');
|
||||
jQuery('#jform_php_import_setdata').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_setdata').addClass('required');
|
||||
jform_vvvvvzevwp_required = false;
|
||||
jform_vvvvwaavwt_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').hide();
|
||||
// remove required attribute from html_import_view field
|
||||
if (!jform_vvvvvzevwj_required)
|
||||
if (!jform_vvvvwaavwn_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',1);
|
||||
jQuery('#jform_html_import_view').removeAttr('required');
|
||||
jQuery('#jform_html_import_view').removeAttr('aria-required');
|
||||
jQuery('#jform_html_import_view').removeClass('required');
|
||||
jform_vvvvvzevwj_required = true;
|
||||
jform_vvvvwaavwn_required = true;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').hide();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_display field
|
||||
if (!jform_vvvvvzevwk_required)
|
||||
if (!jform_vvvvwaavwo_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',1);
|
||||
jQuery('#jform_php_import_display').removeAttr('required');
|
||||
jQuery('#jform_php_import_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_display').removeClass('required');
|
||||
jform_vvvvvzevwk_required = true;
|
||||
jform_vvvvwaavwo_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_ext field
|
||||
if (!jform_vvvvvzevwl_required)
|
||||
if (!jform_vvvvwaavwp_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',1);
|
||||
jQuery('#jform_php_import_ext').removeAttr('required');
|
||||
jQuery('#jform_php_import_ext').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_ext').removeClass('required');
|
||||
jform_vvvvvzevwl_required = true;
|
||||
jform_vvvvwaavwp_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_headers field
|
||||
if (!jform_vvvvvzevwm_required)
|
||||
if (!jform_vvvvwaavwq_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',1);
|
||||
jQuery('#jform_php_import_headers').removeAttr('required');
|
||||
jQuery('#jform_php_import_headers').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_headers').removeClass('required');
|
||||
jform_vvvvvzevwm_required = true;
|
||||
jform_vvvvwaavwq_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').hide();
|
||||
// remove required attribute from php_import field
|
||||
if (!jform_vvvvvzevwn_required)
|
||||
if (!jform_vvvvwaavwr_required)
|
||||
{
|
||||
updateFieldRequired('php_import',1);
|
||||
jQuery('#jform_php_import').removeAttr('required');
|
||||
jQuery('#jform_php_import').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import').removeClass('required');
|
||||
jform_vvvvvzevwn_required = true;
|
||||
jform_vvvvwaavwr_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_save field
|
||||
if (!jform_vvvvvzevwo_required)
|
||||
if (!jform_vvvvwaavws_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',1);
|
||||
jQuery('#jform_php_import_save').removeAttr('required');
|
||||
jQuery('#jform_php_import_save').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_save').removeClass('required');
|
||||
jform_vvvvvzevwo_required = true;
|
||||
jform_vvvvwaavws_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_setdata field
|
||||
if (!jform_vvvvvzevwp_required)
|
||||
if (!jform_vvvvwaavwt_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',1);
|
||||
jQuery('#jform_php_import_setdata').removeAttr('required');
|
||||
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_setdata').removeClass('required');
|
||||
jform_vvvvvzevwp_required = true;
|
||||
jform_vvvvwaavwt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_custom_import_vvvvvzf)
|
||||
// the vvvvwab function
|
||||
function vvvvwab(add_custom_import_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvvzf == 0)
|
||||
if (add_custom_import_vvvvwab == 0)
|
||||
{
|
||||
jQuery('.note_beginner_import').closest('.control-group').show();
|
||||
}
|
||||
@ -733,11 +733,11 @@ function vvvvvzf(add_custom_import_vvvvvzf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_custom_button_vvvvvzg)
|
||||
// the vvvvwac function
|
||||
function vvvvwac(add_custom_button_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvzg == 1)
|
||||
if (add_custom_button_vvvvwac == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbkvxi_required = false;
|
||||
jform_vvvvwcgvxm_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwbk = jQuery("#jform_extension_type").val();
|
||||
vvvvwbk(extension_type_vvvvwbk);
|
||||
var extension_type_vvvvwcg = jQuery("#jform_extension_type").val();
|
||||
vvvvwcg(extension_type_vvvvwcg);
|
||||
});
|
||||
|
||||
// the vvvvwbk function
|
||||
function vvvvwbk(extension_type_vvvvwbk)
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(extension_type_vvvvwcg)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwbk) && extension_type_vvvvwbk.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwcg) && extension_type_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbk = extension_type_vvvvwbk;
|
||||
var extension_type_vvvvwbk = [];
|
||||
extension_type_vvvvwbk.push(temp_vvvvwbk);
|
||||
var temp_vvvvwcg = extension_type_vvvvwcg;
|
||||
var extension_type_vvvvwcg = [];
|
||||
extension_type_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwbk))
|
||||
else if (!isSet(extension_type_vvvvwcg))
|
||||
{
|
||||
var extension_type_vvvvwbk = [];
|
||||
var extension_type_vvvvwcg = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwbk.some(extension_type_vvvvwbk_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwcg.some(extension_type_vvvvwcg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwbk(extension_type_vvvvwbk)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwbkvxi_required)
|
||||
if (jform_vvvvwcgvxm_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwbkvxi_required = false;
|
||||
jform_vvvvwcgvxm_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwbkvxi_required)
|
||||
if (!jform_vvvvwcgvxm_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwbkvxi_required = true;
|
||||
jform_vvvvwcgvxm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbk Some function
|
||||
function extension_type_vvvvwbk_SomeFunc(extension_type_vvvvwbk)
|
||||
// the vvvvwcg Some function
|
||||
function extension_type_vvvvwcg_SomeFunc(extension_type_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwbk == 'plugins' || extension_type_vvvvwbk == 'plugin')
|
||||
if (extension_type_vvvvwcg == 'plugins' || extension_type_vvvvwcg == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbjvxh_required = false;
|
||||
jform_vvvvwcfvxl_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwbj = jQuery("#jform_extension_type").val();
|
||||
vvvvwbj(extension_type_vvvvwbj);
|
||||
var extension_type_vvvvwcf = jQuery("#jform_extension_type").val();
|
||||
vvvvwcf(extension_type_vvvvwcf);
|
||||
});
|
||||
|
||||
// the vvvvwbj function
|
||||
function vvvvwbj(extension_type_vvvvwbj)
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(extension_type_vvvvwcf)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwbj) && extension_type_vvvvwbj.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwcf) && extension_type_vvvvwcf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbj = extension_type_vvvvwbj;
|
||||
var extension_type_vvvvwbj = [];
|
||||
extension_type_vvvvwbj.push(temp_vvvvwbj);
|
||||
var temp_vvvvwcf = extension_type_vvvvwcf;
|
||||
var extension_type_vvvvwcf = [];
|
||||
extension_type_vvvvwcf.push(temp_vvvvwcf);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwbj))
|
||||
else if (!isSet(extension_type_vvvvwcf))
|
||||
{
|
||||
var extension_type_vvvvwbj = [];
|
||||
var extension_type_vvvvwcf = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwbj.some(extension_type_vvvvwbj_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwcf.some(extension_type_vvvvwcf_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwbj(extension_type_vvvvwbj)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwbjvxh_required)
|
||||
if (jform_vvvvwcfvxl_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwbjvxh_required = false;
|
||||
jform_vvvvwcfvxl_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwbjvxh_required)
|
||||
if (!jform_vvvvwcfvxl_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwbjvxh_required = true;
|
||||
jform_vvvvwcfvxl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbj Some function
|
||||
function extension_type_vvvvwbj_SomeFunc(extension_type_vvvvwbj)
|
||||
// the vvvvwcf Some function
|
||||
function extension_type_vvvvwcf_SomeFunc(extension_type_vvvvwcf)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwbj == 'plugins' || extension_type_vvvvwbj == 'plugin')
|
||||
if (extension_type_vvvvwcf == 'plugins' || extension_type_vvvvwcf == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,42 +11,42 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_view_vvvvvzh);
|
||||
var add_php_view_vvvvwad = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwad(add_php_view_vvvvwad);
|
||||
|
||||
var add_php_jview_display_vvvvvzi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_jview_display_vvvvvzi);
|
||||
var add_php_jview_display_vvvvwae = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvwae(add_php_jview_display_vvvvwae);
|
||||
|
||||
var add_php_jview_vvvvvzj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_jview_vvvvvzj);
|
||||
var add_php_jview_vvvvwaf = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwaf(add_php_jview_vvvvwaf);
|
||||
|
||||
var add_php_document_vvvvvzk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_document_vvvvvzk);
|
||||
var add_php_document_vvvvwag = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwag(add_php_document_vvvvwag);
|
||||
|
||||
var add_css_document_vvvvvzl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzl(add_css_document_vvvvvzl);
|
||||
var add_css_document_vvvvwah = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwah(add_css_document_vvvvwah);
|
||||
|
||||
var add_javascript_file_vvvvvzm = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzm(add_javascript_file_vvvvvzm);
|
||||
var add_javascript_file_vvvvwai = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwai(add_javascript_file_vvvvwai);
|
||||
|
||||
var add_js_document_vvvvvzn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzn(add_js_document_vvvvvzn);
|
||||
var add_js_document_vvvvwaj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwaj(add_js_document_vvvvwaj);
|
||||
|
||||
var add_custom_button_vvvvvzo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzo(add_custom_button_vvvvvzo);
|
||||
var add_custom_button_vvvvwak = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwak(add_custom_button_vvvvwak);
|
||||
|
||||
var add_css_vvvvvzp = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzp(add_css_vvvvvzp);
|
||||
var add_css_vvvvwal = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwal(add_css_vvvvwal);
|
||||
|
||||
var add_php_ajax_vvvvvzq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_ajax_vvvvvzq);
|
||||
var add_php_ajax_vvvvwam = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwam(add_php_ajax_vvvvwam);
|
||||
});
|
||||
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_view_vvvvvzh)
|
||||
// the vvvvwad function
|
||||
function vvvvwad(add_php_view_vvvvwad)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvzh == 1)
|
||||
if (add_php_view_vvvvwad == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -56,11 +56,11 @@ function vvvvvzh(add_php_view_vvvvvzh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_jview_display_vvvvvzi)
|
||||
// the vvvvwae function
|
||||
function vvvvwae(add_php_jview_display_vvvvwae)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvzi == 1)
|
||||
if (add_php_jview_display_vvvvwae == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -70,11 +70,11 @@ function vvvvvzi(add_php_jview_display_vvvvvzi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_jview_vvvvvzj)
|
||||
// the vvvvwaf function
|
||||
function vvvvwaf(add_php_jview_vvvvwaf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvzj == 1)
|
||||
if (add_php_jview_vvvvwaf == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -84,11 +84,11 @@ function vvvvvzj(add_php_jview_vvvvvzj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_document_vvvvvzk)
|
||||
// the vvvvwag function
|
||||
function vvvvwag(add_php_document_vvvvwag)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvzk == 1)
|
||||
if (add_php_document_vvvvwag == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -98,11 +98,11 @@ function vvvvvzk(add_php_document_vvvvvzk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_css_document_vvvvvzl)
|
||||
// the vvvvwah function
|
||||
function vvvvwah(add_css_document_vvvvwah)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvzl == 1)
|
||||
if (add_css_document_vvvvwah == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -112,11 +112,11 @@ function vvvvvzl(add_css_document_vvvvvzl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_javascript_file_vvvvvzm)
|
||||
// the vvvvwai function
|
||||
function vvvvwai(add_javascript_file_vvvvwai)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvzm == 1)
|
||||
if (add_javascript_file_vvvvwai == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -126,11 +126,11 @@ function vvvvvzm(add_javascript_file_vvvvvzm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_js_document_vvvvvzn)
|
||||
// the vvvvwaj function
|
||||
function vvvvwaj(add_js_document_vvvvwaj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvzn == 1)
|
||||
if (add_js_document_vvvvwaj == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -140,11 +140,11 @@ function vvvvvzn(add_js_document_vvvvvzn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_custom_button_vvvvvzo)
|
||||
// the vvvvwak function
|
||||
function vvvvwak(add_custom_button_vvvvwak)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvzo == 1)
|
||||
if (add_custom_button_vvvvwak == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -158,11 +158,11 @@ function vvvvvzo(add_custom_button_vvvvvzo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_css_vvvvvzp)
|
||||
// the vvvvwal function
|
||||
function vvvvwal(add_css_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvzp == 1)
|
||||
if (add_css_vvvvwal == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -172,11 +172,11 @@ function vvvvvzp(add_css_vvvvvzp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_ajax_vvvvvzq)
|
||||
// the vvvvwam function
|
||||
function vvvvwam(add_php_ajax_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvzq == 1)
|
||||
if (add_php_ajax_vvvvwam == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
|
@ -9,44 +9,44 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbfvxd_required = false;
|
||||
jform_vvvvwbgvxe_required = false;
|
||||
jform_vvvvwbgvxf_required = false;
|
||||
jform_vvvvwbgvxg_required = false;
|
||||
jform_vvvvwcbvxh_required = false;
|
||||
jform_vvvvwccvxi_required = false;
|
||||
jform_vvvvwccvxj_required = false;
|
||||
jform_vvvvwccvxk_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var target_vvvvwbf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbf(target_vvvvwbf);
|
||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcb(target_vvvvwcb);
|
||||
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg);
|
||||
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcc(target_vvvvwcc);
|
||||
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbh(target_vvvvwbh,type_vvvvwbh);
|
||||
var target_vvvvwcd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwcd = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwcd(target_vvvvwcd,type_vvvvwcd);
|
||||
|
||||
var type_vvvvwbi = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbi = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbi(type_vvvvwbi,target_vvvvwbi);
|
||||
var type_vvvvwce = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwce = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwce(type_vvvvwce,target_vvvvwce);
|
||||
});
|
||||
|
||||
// the vvvvwbf function
|
||||
function vvvvwbf(target_vvvvwbf)
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(target_vvvvwcb)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbf == 2)
|
||||
if (target_vvvvwcb == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
// add required attribute to function_name field
|
||||
if (jform_vvvvwbfvxd_required)
|
||||
if (jform_vvvvwcbvxh_required)
|
||||
{
|
||||
updateFieldRequired('function_name',0);
|
||||
jQuery('#jform_function_name').prop('required','required');
|
||||
jQuery('#jform_function_name').attr('aria-required',true);
|
||||
jQuery('#jform_function_name').addClass('required');
|
||||
jform_vvvvwbfvxd_required = false;
|
||||
jform_vvvvwcbvxh_required = false;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
jQuery('#jform_system_name').closest('.control-group').show();
|
||||
@ -55,102 +55,102 @@ function vvvvwbf(target_vvvvwbf)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||
// remove required attribute from function_name field
|
||||
if (!jform_vvvvwbfvxd_required)
|
||||
if (!jform_vvvvwcbvxh_required)
|
||||
{
|
||||
updateFieldRequired('function_name',1);
|
||||
jQuery('#jform_function_name').removeAttr('required');
|
||||
jQuery('#jform_function_name').removeAttr('aria-required');
|
||||
jQuery('#jform_function_name').removeClass('required');
|
||||
jform_vvvvwbfvxd_required = true;
|
||||
jform_vvvvwcbvxh_required = true;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(target_vvvvwbg)
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(target_vvvvwcc)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbg == 1)
|
||||
if (target_vvvvwcc == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
// add required attribute to component field
|
||||
if (jform_vvvvwbgvxe_required)
|
||||
if (jform_vvvvwccvxi_required)
|
||||
{
|
||||
updateFieldRequired('component',0);
|
||||
jQuery('#jform_component').prop('required','required');
|
||||
jQuery('#jform_component').attr('aria-required',true);
|
||||
jQuery('#jform_component').addClass('required');
|
||||
jform_vvvvwbgvxe_required = false;
|
||||
jform_vvvvwccvxi_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwbgvxf_required)
|
||||
if (jform_vvvvwccvxj_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwbgvxf_required = false;
|
||||
jform_vvvvwccvxj_required = false;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').show();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
// add required attribute to type field
|
||||
if (jform_vvvvwbgvxg_required)
|
||||
if (jform_vvvvwccvxk_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwbgvxg_required = false;
|
||||
jform_vvvvwccvxk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
// remove required attribute from component field
|
||||
if (!jform_vvvvwbgvxe_required)
|
||||
if (!jform_vvvvwccvxi_required)
|
||||
{
|
||||
updateFieldRequired('component',1);
|
||||
jQuery('#jform_component').removeAttr('required');
|
||||
jQuery('#jform_component').removeAttr('aria-required');
|
||||
jQuery('#jform_component').removeClass('required');
|
||||
jform_vvvvwbgvxe_required = true;
|
||||
jform_vvvvwccvxi_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwbgvxf_required)
|
||||
if (!jform_vvvvwccvxj_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwbgvxf_required = true;
|
||||
jform_vvvvwccvxj_required = true;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').hide();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
||||
jQuery('#jform_to_line').closest('.control-group').hide();
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
// remove required attribute from type field
|
||||
if (!jform_vvvvwbgvxg_required)
|
||||
if (!jform_vvvvwccvxk_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwbgvxg_required = true;
|
||||
jform_vvvvwccvxk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(target_vvvvwbh,type_vvvvwbh)
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(target_vvvvwcd,type_vvvvwcd)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbh == 1 && type_vvvvwbh == 1)
|
||||
if (target_vvvvwcd == 1 && type_vvvvwcd == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -162,11 +162,11 @@ function vvvvwbh(target_vvvvwbh,type_vvvvwbh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(type_vvvvwbi,target_vvvvwbi)
|
||||
// the vvvvwce function
|
||||
function vvvvwce(type_vvvvwce,target_vvvvwce)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbi == 1 && target_vvvvwbi == 1)
|
||||
if (type_vvvvwce == 1 && target_vvvvwce == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,77 +9,77 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcdvxn_required = false;
|
||||
jform_vvvvwcevxo_required = false;
|
||||
jform_vvvvwcfvxp_required = false;
|
||||
jform_vvvvwcgvxq_required = false;
|
||||
jform_vvvvwchvxr_required = false;
|
||||
jform_vvvvwckvxs_required = false;
|
||||
jform_vvvvwckvxt_required = false;
|
||||
jform_vvvvwckvxu_required = false;
|
||||
jform_vvvvwckvxv_required = false;
|
||||
jform_vvvvwclvxw_required = false;
|
||||
jform_vvvvwclvxx_required = false;
|
||||
jform_vvvvwclvxy_required = false;
|
||||
jform_vvvvwclvxz_required = false;
|
||||
jform_vvvvwczvxr_required = false;
|
||||
jform_vvvvwdavxs_required = false;
|
||||
jform_vvvvwdbvxt_required = false;
|
||||
jform_vvvvwdcvxu_required = false;
|
||||
jform_vvvvwddvxv_required = false;
|
||||
jform_vvvvwdgvxw_required = false;
|
||||
jform_vvvvwdgvxx_required = false;
|
||||
jform_vvvvwdgvxy_required = false;
|
||||
jform_vvvvwdgvxz_required = false;
|
||||
jform_vvvvwdhvya_required = false;
|
||||
jform_vvvvwdhvyb_required = false;
|
||||
jform_vvvvwdhvyc_required = false;
|
||||
jform_vvvvwdhvyd_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwcd = jQuery("#jform_datalenght").val();
|
||||
vvvvwcd(datalenght_vvvvwcd);
|
||||
var datalenght_vvvvwcz = jQuery("#jform_datalenght").val();
|
||||
vvvvwcz(datalenght_vvvvwcz);
|
||||
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
vvvvwce(datadefault_vvvvwce);
|
||||
var datadefault_vvvvwda = jQuery("#jform_datadefault").val();
|
||||
vvvvwda(datadefault_vvvvwda);
|
||||
|
||||
var datatype_vvvvwcf = jQuery("#jform_datatype").val();
|
||||
vvvvwcf(datatype_vvvvwcf);
|
||||
var datatype_vvvvwdb = jQuery("#jform_datatype").val();
|
||||
vvvvwdb(datatype_vvvvwdb);
|
||||
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
vvvvwcg(datatype_vvvvwcg);
|
||||
var datatype_vvvvwdc = jQuery("#jform_datatype").val();
|
||||
vvvvwdc(datatype_vvvvwdc);
|
||||
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(datatype_vvvvwch);
|
||||
var datatype_vvvvwdd = jQuery("#jform_datatype").val();
|
||||
vvvvwdd(datatype_vvvvwdd);
|
||||
|
||||
var store_vvvvwci = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
vvvvwci(store_vvvvwci,datatype_vvvvwci);
|
||||
var store_vvvvwde = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwde = jQuery("#jform_datatype").val();
|
||||
vvvvwde(store_vvvvwde,datatype_vvvvwde);
|
||||
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck);
|
||||
var store_vvvvwdg = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwdg = jQuery("#jform_datatype").val();
|
||||
vvvvwdg(store_vvvvwdg,datatype_vvvvwdg);
|
||||
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl);
|
||||
var datatype_vvvvwdh = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwdh = jQuery("#jform_store").val();
|
||||
vvvvwdh(datatype_vvvvwdh,store_vvvvwdh);
|
||||
|
||||
var add_css_view_vvvvwcm = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwcm(add_css_view_vvvvwcm);
|
||||
var add_css_view_vvvvwdi = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwdi(add_css_view_vvvvwdi);
|
||||
|
||||
var add_css_views_vvvvwcn = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwcn(add_css_views_vvvvwcn);
|
||||
var add_css_views_vvvvwdj = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwdj(add_css_views_vvvvwdj);
|
||||
|
||||
var add_javascript_view_footer_vvvvwco = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwco(add_javascript_view_footer_vvvvwco);
|
||||
var add_javascript_view_footer_vvvvwdk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwdk(add_javascript_view_footer_vvvvwdk);
|
||||
|
||||
var add_javascript_views_footer_vvvvwcp = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwcp(add_javascript_views_footer_vvvvwcp);
|
||||
var add_javascript_views_footer_vvvvwdl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwdl(add_javascript_views_footer_vvvvwdl);
|
||||
});
|
||||
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(datalenght_vvvvwcd)
|
||||
// the vvvvwcz function
|
||||
function vvvvwcz(datalenght_vvvvwcz)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwcd) && datalenght_vvvvwcd.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwcz) && datalenght_vvvvwcz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcd = datalenght_vvvvwcd;
|
||||
var datalenght_vvvvwcd = [];
|
||||
datalenght_vvvvwcd.push(temp_vvvvwcd);
|
||||
var temp_vvvvwcz = datalenght_vvvvwcz;
|
||||
var datalenght_vvvvwcz = [];
|
||||
datalenght_vvvvwcz.push(temp_vvvvwcz);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwcd))
|
||||
else if (!isSet(datalenght_vvvvwcz))
|
||||
{
|
||||
var datalenght_vvvvwcd = [];
|
||||
var datalenght_vvvvwcz = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwcd.some(datalenght_vvvvwcd_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwcz.some(datalenght_vvvvwcz_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -87,55 +87,55 @@ function vvvvwcd(datalenght_vvvvwcd)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
// add required attribute to datalenght_other field
|
||||
if (jform_vvvvwcdvxn_required)
|
||||
if (jform_vvvvwczvxr_required)
|
||||
{
|
||||
updateFieldRequired('datalenght_other',0);
|
||||
jQuery('#jform_datalenght_other').prop('required','required');
|
||||
jQuery('#jform_datalenght_other').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght_other').addClass('required');
|
||||
jform_vvvvwcdvxn_required = false;
|
||||
jform_vvvvwczvxr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwcdvxn_required)
|
||||
if (!jform_vvvvwczvxr_required)
|
||||
{
|
||||
updateFieldRequired('datalenght_other',1);
|
||||
jQuery('#jform_datalenght_other').removeAttr('required');
|
||||
jQuery('#jform_datalenght_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght_other').removeClass('required');
|
||||
jform_vvvvwcdvxn_required = true;
|
||||
jform_vvvvwczvxr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcd Some function
|
||||
function datalenght_vvvvwcd_SomeFunc(datalenght_vvvvwcd)
|
||||
// the vvvvwcz Some function
|
||||
function datalenght_vvvvwcz_SomeFunc(datalenght_vvvvwcz)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwcd == 'Other')
|
||||
if (datalenght_vvvvwcz == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwce function
|
||||
function vvvvwce(datadefault_vvvvwce)
|
||||
// the vvvvwda function
|
||||
function vvvvwda(datadefault_vvvvwda)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwce) && datadefault_vvvvwce.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwda) && datadefault_vvvvwda.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwce = datadefault_vvvvwce;
|
||||
var datadefault_vvvvwce = [];
|
||||
datadefault_vvvvwce.push(temp_vvvvwce);
|
||||
var temp_vvvvwda = datadefault_vvvvwda;
|
||||
var datadefault_vvvvwda = [];
|
||||
datadefault_vvvvwda.push(temp_vvvvwda);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwce))
|
||||
else if (!isSet(datadefault_vvvvwda))
|
||||
{
|
||||
var datadefault_vvvvwce = [];
|
||||
var datadefault_vvvvwda = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwce.some(datadefault_vvvvwce_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwda.some(datadefault_vvvvwda_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -143,55 +143,55 @@ function vvvvwce(datadefault_vvvvwce)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwcevxo_required)
|
||||
if (jform_vvvvwdavxs_required)
|
||||
{
|
||||
updateFieldRequired('datadefault_other',0);
|
||||
jQuery('#jform_datadefault_other').prop('required','required');
|
||||
jQuery('#jform_datadefault_other').attr('aria-required',true);
|
||||
jQuery('#jform_datadefault_other').addClass('required');
|
||||
jform_vvvvwcevxo_required = false;
|
||||
jform_vvvvwdavxs_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwcevxo_required)
|
||||
if (!jform_vvvvwdavxs_required)
|
||||
{
|
||||
updateFieldRequired('datadefault_other',1);
|
||||
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datadefault_other').removeClass('required');
|
||||
jform_vvvvwcevxo_required = true;
|
||||
jform_vvvvwdavxs_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwce Some function
|
||||
function datadefault_vvvvwce_SomeFunc(datadefault_vvvvwce)
|
||||
// the vvvvwda Some function
|
||||
function datadefault_vvvvwda_SomeFunc(datadefault_vvvvwda)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwce == 'Other')
|
||||
if (datadefault_vvvvwda == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(datatype_vvvvwcf)
|
||||
// the vvvvwdb function
|
||||
function vvvvwdb(datatype_vvvvwdb)
|
||||
{
|
||||
if (isSet(datatype_vvvvwcf) && datatype_vvvvwcf.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwdb) && datatype_vvvvwdb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcf = datatype_vvvvwcf;
|
||||
var datatype_vvvvwcf = [];
|
||||
datatype_vvvvwcf.push(temp_vvvvwcf);
|
||||
var temp_vvvvwdb = datatype_vvvvwdb;
|
||||
var datatype_vvvvwdb = [];
|
||||
datatype_vvvvwdb.push(temp_vvvvwdb);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwcf))
|
||||
else if (!isSet(datatype_vvvvwdb))
|
||||
{
|
||||
var datatype_vvvvwcf = [];
|
||||
var datatype_vvvvwdb = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwcf.some(datatype_vvvvwcf_SomeFunc);
|
||||
var datatype = datatype_vvvvwdb.some(datatype_vvvvwdb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -200,13 +200,13 @@ function vvvvwcf(datatype_vvvvwcf)
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwcfvxp_required)
|
||||
if (jform_vvvvwdbvxt_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwcfvxp_required = false;
|
||||
jform_vvvvwdbvxt_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -214,42 +214,42 @@ function vvvvwcf(datatype_vvvvwcf)
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwcfvxp_required)
|
||||
if (!jform_vvvvwdbvxt_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwcfvxp_required = true;
|
||||
jform_vvvvwdbvxt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcf Some function
|
||||
function datatype_vvvvwcf_SomeFunc(datatype_vvvvwcf)
|
||||
// the vvvvwdb Some function
|
||||
function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwcf == 'CHAR' || datatype_vvvvwcf == 'VARCHAR' || datatype_vvvvwcf == 'DATETIME' || datatype_vvvvwcf == 'DATE' || datatype_vvvvwcf == 'TIME' || datatype_vvvvwcf == 'INT' || datatype_vvvvwcf == 'TINYINT' || datatype_vvvvwcf == 'BIGINT' || datatype_vvvvwcf == 'FLOAT' || datatype_vvvvwcf == 'DECIMAL' || datatype_vvvvwcf == 'DOUBLE')
|
||||
if (datatype_vvvvwdb == 'CHAR' || datatype_vvvvwdb == 'VARCHAR' || datatype_vvvvwdb == 'DATETIME' || datatype_vvvvwdb == 'DATE' || datatype_vvvvwdb == 'TIME' || datatype_vvvvwdb == 'INT' || datatype_vvvvwdb == 'TINYINT' || datatype_vvvvwdb == 'BIGINT' || datatype_vvvvwdb == 'FLOAT' || datatype_vvvvwdb == 'DECIMAL' || datatype_vvvvwdb == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(datatype_vvvvwcg)
|
||||
// the vvvvwdc function
|
||||
function vvvvwdc(datatype_vvvvwdc)
|
||||
{
|
||||
if (isSet(datatype_vvvvwcg) && datatype_vvvvwcg.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwdc) && datatype_vvvvwdc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcg = datatype_vvvvwcg;
|
||||
var datatype_vvvvwcg = [];
|
||||
datatype_vvvvwcg.push(temp_vvvvwcg);
|
||||
var temp_vvvvwdc = datatype_vvvvwdc;
|
||||
var datatype_vvvvwdc = [];
|
||||
datatype_vvvvwdc.push(temp_vvvvwdc);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwcg))
|
||||
else if (!isSet(datatype_vvvvwdc))
|
||||
{
|
||||
var datatype_vvvvwcg = [];
|
||||
var datatype_vvvvwdc = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwcg.some(datatype_vvvvwcg_SomeFunc);
|
||||
var datatype = datatype_vvvvwdc.some(datatype_vvvvwdc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -257,55 +257,55 @@ function vvvvwcg(datatype_vvvvwcg)
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
// add required attribute to datalenght field
|
||||
if (jform_vvvvwcgvxq_required)
|
||||
if (jform_vvvvwdcvxu_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',0);
|
||||
jQuery('#jform_datalenght').prop('required','required');
|
||||
jQuery('#jform_datalenght').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght').addClass('required');
|
||||
jform_vvvvwcgvxq_required = false;
|
||||
jform_vvvvwdcvxu_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght field
|
||||
if (!jform_vvvvwcgvxq_required)
|
||||
if (!jform_vvvvwdcvxu_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',1);
|
||||
jQuery('#jform_datalenght').removeAttr('required');
|
||||
jQuery('#jform_datalenght').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght').removeClass('required');
|
||||
jform_vvvvwcgvxq_required = true;
|
||||
jform_vvvvwdcvxu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcg Some function
|
||||
function datatype_vvvvwcg_SomeFunc(datatype_vvvvwcg)
|
||||
// the vvvvwdc Some function
|
||||
function datatype_vvvvwdc_SomeFunc(datatype_vvvvwdc)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwcg == 'CHAR' || datatype_vvvvwcg == 'VARCHAR' || datatype_vvvvwcg == 'INT' || datatype_vvvvwcg == 'TINYINT' || datatype_vvvvwcg == 'BIGINT' || datatype_vvvvwcg == 'FLOAT' || datatype_vvvvwcg == 'DECIMAL' || datatype_vvvvwcg == 'DOUBLE')
|
||||
if (datatype_vvvvwdc == 'CHAR' || datatype_vvvvwdc == 'VARCHAR' || datatype_vvvvwdc == 'INT' || datatype_vvvvwdc == 'TINYINT' || datatype_vvvvwdc == 'BIGINT' || datatype_vvvvwdc == 'FLOAT' || datatype_vvvvwdc == 'DECIMAL' || datatype_vvvvwdc == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwch function
|
||||
function vvvvwch(datatype_vvvvwch)
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(datatype_vvvvwdd)
|
||||
{
|
||||
if (isSet(datatype_vvvvwch) && datatype_vvvvwch.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwdd) && datatype_vvvvwdd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwch = datatype_vvvvwch;
|
||||
var datatype_vvvvwch = [];
|
||||
datatype_vvvvwch.push(temp_vvvvwch);
|
||||
var temp_vvvvwdd = datatype_vvvvwdd;
|
||||
var datatype_vvvvwdd = [];
|
||||
datatype_vvvvwdd.push(temp_vvvvwdd);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwch))
|
||||
else if (!isSet(datatype_vvvvwdd))
|
||||
{
|
||||
var datatype_vvvvwch = [];
|
||||
var datatype_vvvvwdd = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwch.some(datatype_vvvvwch_SomeFunc);
|
||||
var datatype = datatype_vvvvwdd.some(datatype_vvvvwdd_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -313,67 +313,67 @@ function vvvvwch(datatype_vvvvwch)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
// add required attribute to store field
|
||||
if (jform_vvvvwchvxr_required)
|
||||
if (jform_vvvvwddvxv_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwchvxr_required = false;
|
||||
jform_vvvvwddvxv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
// remove required attribute from store field
|
||||
if (!jform_vvvvwchvxr_required)
|
||||
if (!jform_vvvvwddvxv_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwchvxr_required = true;
|
||||
jform_vvvvwddvxv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwch Some function
|
||||
function datatype_vvvvwch_SomeFunc(datatype_vvvvwch)
|
||||
// the vvvvwdd Some function
|
||||
function datatype_vvvvwdd_SomeFunc(datatype_vvvvwdd)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwch == 'CHAR' || datatype_vvvvwch == 'VARCHAR' || datatype_vvvvwch == 'TEXT' || datatype_vvvvwch == 'MEDIUMTEXT' || datatype_vvvvwch == 'LONGTEXT' || datatype_vvvvwch == 'BLOB' || datatype_vvvvwch == 'TINYBLOB' || datatype_vvvvwch == 'MEDIUMBLOB' || datatype_vvvvwch == 'LONGBLOB')
|
||||
if (datatype_vvvvwdd == 'CHAR' || datatype_vvvvwdd == 'VARCHAR' || datatype_vvvvwdd == 'TEXT' || datatype_vvvvwdd == 'MEDIUMTEXT' || datatype_vvvvwdd == 'LONGTEXT' || datatype_vvvvwdd == 'BLOB' || datatype_vvvvwdd == 'TINYBLOB' || datatype_vvvvwdd == 'MEDIUMBLOB' || datatype_vvvvwdd == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwci function
|
||||
function vvvvwci(store_vvvvwci,datatype_vvvvwci)
|
||||
// the vvvvwde function
|
||||
function vvvvwde(store_vvvvwde,datatype_vvvvwde)
|
||||
{
|
||||
if (isSet(store_vvvvwci) && store_vvvvwci.constructor !== Array)
|
||||
if (isSet(store_vvvvwde) && store_vvvvwde.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwci = store_vvvvwci;
|
||||
var store_vvvvwci = [];
|
||||
store_vvvvwci.push(temp_vvvvwci);
|
||||
var temp_vvvvwde = store_vvvvwde;
|
||||
var store_vvvvwde = [];
|
||||
store_vvvvwde.push(temp_vvvvwde);
|
||||
}
|
||||
else if (!isSet(store_vvvvwci))
|
||||
else if (!isSet(store_vvvvwde))
|
||||
{
|
||||
var store_vvvvwci = [];
|
||||
var store_vvvvwde = [];
|
||||
}
|
||||
var store = store_vvvvwci.some(store_vvvvwci_SomeFunc);
|
||||
var store = store_vvvvwde.some(store_vvvvwde_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwci) && datatype_vvvvwci.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwde) && datatype_vvvvwde.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwci = datatype_vvvvwci;
|
||||
var datatype_vvvvwci = [];
|
||||
datatype_vvvvwci.push(temp_vvvvwci);
|
||||
var temp_vvvvwde = datatype_vvvvwde;
|
||||
var datatype_vvvvwde = [];
|
||||
datatype_vvvvwde.push(temp_vvvvwde);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwci))
|
||||
else if (!isSet(datatype_vvvvwde))
|
||||
{
|
||||
var datatype_vvvvwci = [];
|
||||
var datatype_vvvvwde = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwci.some(datatype_vvvvwci_SomeFunc);
|
||||
var datatype = datatype_vvvvwde.some(datatype_vvvvwde_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -387,54 +387,54 @@ function vvvvwci(store_vvvvwci,datatype_vvvvwci)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwci Some function
|
||||
function store_vvvvwci_SomeFunc(store_vvvvwci)
|
||||
// the vvvvwde Some function
|
||||
function store_vvvvwde_SomeFunc(store_vvvvwde)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwci == 4)
|
||||
if (store_vvvvwde == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwci Some function
|
||||
function datatype_vvvvwci_SomeFunc(datatype_vvvvwci)
|
||||
// the vvvvwde Some function
|
||||
function datatype_vvvvwde_SomeFunc(datatype_vvvvwde)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwci == 'CHAR' || datatype_vvvvwci == 'VARCHAR' || datatype_vvvvwci == 'TEXT' || datatype_vvvvwci == 'MEDIUMTEXT' || datatype_vvvvwci == 'LONGTEXT' || datatype_vvvvwci == 'BLOB' || datatype_vvvvwci == 'TINYBLOB' || datatype_vvvvwci == 'MEDIUMBLOB' || datatype_vvvvwci == 'LONGBLOB')
|
||||
if (datatype_vvvvwde == 'CHAR' || datatype_vvvvwde == 'VARCHAR' || datatype_vvvvwde == 'TEXT' || datatype_vvvvwde == 'MEDIUMTEXT' || datatype_vvvvwde == 'LONGTEXT' || datatype_vvvvwde == 'BLOB' || datatype_vvvvwde == 'TINYBLOB' || datatype_vvvvwde == 'MEDIUMBLOB' || datatype_vvvvwde == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwck function
|
||||
function vvvvwck(store_vvvvwck,datatype_vvvvwck)
|
||||
// the vvvvwdg function
|
||||
function vvvvwdg(store_vvvvwdg,datatype_vvvvwdg)
|
||||
{
|
||||
if (isSet(store_vvvvwck) && store_vvvvwck.constructor !== Array)
|
||||
if (isSet(store_vvvvwdg) && store_vvvvwdg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwck = store_vvvvwck;
|
||||
var store_vvvvwck = [];
|
||||
store_vvvvwck.push(temp_vvvvwck);
|
||||
var temp_vvvvwdg = store_vvvvwdg;
|
||||
var store_vvvvwdg = [];
|
||||
store_vvvvwdg.push(temp_vvvvwdg);
|
||||
}
|
||||
else if (!isSet(store_vvvvwck))
|
||||
else if (!isSet(store_vvvvwdg))
|
||||
{
|
||||
var store_vvvvwck = [];
|
||||
var store_vvvvwdg = [];
|
||||
}
|
||||
var store = store_vvvvwck.some(store_vvvvwck_SomeFunc);
|
||||
var store = store_vvvvwdg.some(store_vvvvwdg_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwck) && datatype_vvvvwck.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwdg) && datatype_vvvvwdg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwck = datatype_vvvvwck;
|
||||
var datatype_vvvvwck = [];
|
||||
datatype_vvvvwck.push(temp_vvvvwck);
|
||||
var temp_vvvvwdg = datatype_vvvvwdg;
|
||||
var datatype_vvvvwdg = [];
|
||||
datatype_vvvvwdg.push(temp_vvvvwdg);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwck))
|
||||
else if (!isSet(datatype_vvvvwdg))
|
||||
{
|
||||
var datatype_vvvvwck = [];
|
||||
var datatype_vvvvwdg = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwck.some(datatype_vvvvwck_SomeFunc);
|
||||
var datatype = datatype_vvvvwdg.some(datatype_vvvvwdg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -442,140 +442,140 @@ function vvvvwck(store_vvvvwck,datatype_vvvvwck)
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_get_model field
|
||||
if (jform_vvvvwckvxs_required)
|
||||
if (jform_vvvvwdgvxw_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',0);
|
||||
jQuery('#jform_initiator_on_get_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_get_model').addClass('required');
|
||||
jform_vvvvwckvxs_required = false;
|
||||
jform_vvvvwdgvxw_required = false;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_save_model field
|
||||
if (jform_vvvvwckvxt_required)
|
||||
if (jform_vvvvwdgvxx_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',0);
|
||||
jQuery('#jform_initiator_on_save_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_save_model').addClass('required');
|
||||
jform_vvvvwckvxt_required = false;
|
||||
jform_vvvvwdgvxx_required = false;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_save_model_field field
|
||||
if (jform_vvvvwckvxu_required)
|
||||
if (jform_vvvvwdgvxy_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',0);
|
||||
jQuery('#jform_on_save_model_field').prop('required','required');
|
||||
jQuery('#jform_on_save_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_save_model_field').addClass('required');
|
||||
jform_vvvvwckvxu_required = false;
|
||||
jform_vvvvwdgvxy_required = false;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_get_model_field field
|
||||
if (jform_vvvvwckvxv_required)
|
||||
if (jform_vvvvwdgvxz_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',0);
|
||||
jQuery('#jform_on_get_model_field').prop('required','required');
|
||||
jQuery('#jform_on_get_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_get_model_field').addClass('required');
|
||||
jform_vvvvwckvxv_required = false;
|
||||
jform_vvvvwdgvxz_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_get_model field
|
||||
if (!jform_vvvvwckvxs_required)
|
||||
if (!jform_vvvvwdgvxw_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',1);
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_get_model').removeClass('required');
|
||||
jform_vvvvwckvxs_required = true;
|
||||
jform_vvvvwdgvxw_required = true;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_save_model field
|
||||
if (!jform_vvvvwckvxt_required)
|
||||
if (!jform_vvvvwdgvxx_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',1);
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_save_model').removeClass('required');
|
||||
jform_vvvvwckvxt_required = true;
|
||||
jform_vvvvwdgvxx_required = true;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_save_model_field field
|
||||
if (!jform_vvvvwckvxu_required)
|
||||
if (!jform_vvvvwdgvxy_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',1);
|
||||
jQuery('#jform_on_save_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_save_model_field').removeClass('required');
|
||||
jform_vvvvwckvxu_required = true;
|
||||
jform_vvvvwdgvxy_required = true;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_get_model_field field
|
||||
if (!jform_vvvvwckvxv_required)
|
||||
if (!jform_vvvvwdgvxz_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',1);
|
||||
jQuery('#jform_on_get_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_get_model_field').removeClass('required');
|
||||
jform_vvvvwckvxv_required = true;
|
||||
jform_vvvvwdgvxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwck Some function
|
||||
function store_vvvvwck_SomeFunc(store_vvvvwck)
|
||||
// the vvvvwdg Some function
|
||||
function store_vvvvwdg_SomeFunc(store_vvvvwdg)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwck == 6)
|
||||
if (store_vvvvwdg == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwck Some function
|
||||
function datatype_vvvvwck_SomeFunc(datatype_vvvvwck)
|
||||
// the vvvvwdg Some function
|
||||
function datatype_vvvvwdg_SomeFunc(datatype_vvvvwdg)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwck == 'CHAR' || datatype_vvvvwck == 'VARCHAR' || datatype_vvvvwck == 'TEXT' || datatype_vvvvwck == 'MEDIUMTEXT' || datatype_vvvvwck == 'LONGTEXT' || datatype_vvvvwck == 'BLOB' || datatype_vvvvwck == 'TINYBLOB' || datatype_vvvvwck == 'MEDIUMBLOB' || datatype_vvvvwck == 'LONGBLOB')
|
||||
if (datatype_vvvvwdg == 'CHAR' || datatype_vvvvwdg == 'VARCHAR' || datatype_vvvvwdg == 'TEXT' || datatype_vvvvwdg == 'MEDIUMTEXT' || datatype_vvvvwdg == 'LONGTEXT' || datatype_vvvvwdg == 'BLOB' || datatype_vvvvwdg == 'TINYBLOB' || datatype_vvvvwdg == 'MEDIUMBLOB' || datatype_vvvvwdg == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl function
|
||||
function vvvvwcl(datatype_vvvvwcl,store_vvvvwcl)
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(datatype_vvvvwdh,store_vvvvwdh)
|
||||
{
|
||||
if (isSet(datatype_vvvvwcl) && datatype_vvvvwcl.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwdh) && datatype_vvvvwdh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcl = datatype_vvvvwcl;
|
||||
var datatype_vvvvwcl = [];
|
||||
datatype_vvvvwcl.push(temp_vvvvwcl);
|
||||
var temp_vvvvwdh = datatype_vvvvwdh;
|
||||
var datatype_vvvvwdh = [];
|
||||
datatype_vvvvwdh.push(temp_vvvvwdh);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwcl))
|
||||
else if (!isSet(datatype_vvvvwdh))
|
||||
{
|
||||
var datatype_vvvvwcl = [];
|
||||
var datatype_vvvvwdh = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwcl.some(datatype_vvvvwcl_SomeFunc);
|
||||
var datatype = datatype_vvvvwdh.some(datatype_vvvvwdh_SomeFunc);
|
||||
|
||||
if (isSet(store_vvvvwcl) && store_vvvvwcl.constructor !== Array)
|
||||
if (isSet(store_vvvvwdh) && store_vvvvwdh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcl = store_vvvvwcl;
|
||||
var store_vvvvwcl = [];
|
||||
store_vvvvwcl.push(temp_vvvvwcl);
|
||||
var temp_vvvvwdh = store_vvvvwdh;
|
||||
var store_vvvvwdh = [];
|
||||
store_vvvvwdh.push(temp_vvvvwdh);
|
||||
}
|
||||
else if (!isSet(store_vvvvwcl))
|
||||
else if (!isSet(store_vvvvwdh))
|
||||
{
|
||||
var store_vvvvwcl = [];
|
||||
var store_vvvvwdh = [];
|
||||
}
|
||||
var store = store_vvvvwcl.some(store_vvvvwcl_SomeFunc);
|
||||
var store = store_vvvvwdh.some(store_vvvvwdh_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -583,119 +583,119 @@ function vvvvwcl(datatype_vvvvwcl,store_vvvvwcl)
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_get_model field
|
||||
if (jform_vvvvwclvxw_required)
|
||||
if (jform_vvvvwdhvya_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',0);
|
||||
jQuery('#jform_initiator_on_get_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_get_model').addClass('required');
|
||||
jform_vvvvwclvxw_required = false;
|
||||
jform_vvvvwdhvya_required = false;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_save_model field
|
||||
if (jform_vvvvwclvxx_required)
|
||||
if (jform_vvvvwdhvyb_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',0);
|
||||
jQuery('#jform_initiator_on_save_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_save_model').addClass('required');
|
||||
jform_vvvvwclvxx_required = false;
|
||||
jform_vvvvwdhvyb_required = false;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_save_model_field field
|
||||
if (jform_vvvvwclvxy_required)
|
||||
if (jform_vvvvwdhvyc_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',0);
|
||||
jQuery('#jform_on_save_model_field').prop('required','required');
|
||||
jQuery('#jform_on_save_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_save_model_field').addClass('required');
|
||||
jform_vvvvwclvxy_required = false;
|
||||
jform_vvvvwdhvyc_required = false;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_get_model_field field
|
||||
if (jform_vvvvwclvxz_required)
|
||||
if (jform_vvvvwdhvyd_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',0);
|
||||
jQuery('#jform_on_get_model_field').prop('required','required');
|
||||
jQuery('#jform_on_get_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_get_model_field').addClass('required');
|
||||
jform_vvvvwclvxz_required = false;
|
||||
jform_vvvvwdhvyd_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_get_model field
|
||||
if (!jform_vvvvwclvxw_required)
|
||||
if (!jform_vvvvwdhvya_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',1);
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_get_model').removeClass('required');
|
||||
jform_vvvvwclvxw_required = true;
|
||||
jform_vvvvwdhvya_required = true;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_save_model field
|
||||
if (!jform_vvvvwclvxx_required)
|
||||
if (!jform_vvvvwdhvyb_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',1);
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_save_model').removeClass('required');
|
||||
jform_vvvvwclvxx_required = true;
|
||||
jform_vvvvwdhvyb_required = true;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_save_model_field field
|
||||
if (!jform_vvvvwclvxy_required)
|
||||
if (!jform_vvvvwdhvyc_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',1);
|
||||
jQuery('#jform_on_save_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_save_model_field').removeClass('required');
|
||||
jform_vvvvwclvxy_required = true;
|
||||
jform_vvvvwdhvyc_required = true;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_get_model_field field
|
||||
if (!jform_vvvvwclvxz_required)
|
||||
if (!jform_vvvvwdhvyd_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',1);
|
||||
jQuery('#jform_on_get_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_get_model_field').removeClass('required');
|
||||
jform_vvvvwclvxz_required = true;
|
||||
jform_vvvvwdhvyd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcl Some function
|
||||
function datatype_vvvvwcl_SomeFunc(datatype_vvvvwcl)
|
||||
// the vvvvwdh Some function
|
||||
function datatype_vvvvwdh_SomeFunc(datatype_vvvvwdh)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwcl == 'CHAR' || datatype_vvvvwcl == 'VARCHAR' || datatype_vvvvwcl == 'TEXT' || datatype_vvvvwcl == 'MEDIUMTEXT' || datatype_vvvvwcl == 'LONGTEXT' || datatype_vvvvwcl == 'BLOB' || datatype_vvvvwcl == 'TINYBLOB' || datatype_vvvvwcl == 'MEDIUMBLOB' || datatype_vvvvwcl == 'LONGBLOB')
|
||||
if (datatype_vvvvwdh == 'CHAR' || datatype_vvvvwdh == 'VARCHAR' || datatype_vvvvwdh == 'TEXT' || datatype_vvvvwdh == 'MEDIUMTEXT' || datatype_vvvvwdh == 'LONGTEXT' || datatype_vvvvwdh == 'BLOB' || datatype_vvvvwdh == 'TINYBLOB' || datatype_vvvvwdh == 'MEDIUMBLOB' || datatype_vvvvwdh == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl Some function
|
||||
function store_vvvvwcl_SomeFunc(store_vvvvwcl)
|
||||
// the vvvvwdh Some function
|
||||
function store_vvvvwdh_SomeFunc(store_vvvvwdh)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwcl == 6)
|
||||
if (store_vvvvwdh == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcm function
|
||||
function vvvvwcm(add_css_view_vvvvwcm)
|
||||
// the vvvvwdi function
|
||||
function vvvvwdi(add_css_view_vvvvwdi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwcm == 1)
|
||||
if (add_css_view_vvvvwdi == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -705,11 +705,11 @@ function vvvvwcm(add_css_view_vvvvwcm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcn function
|
||||
function vvvvwcn(add_css_views_vvvvwcn)
|
||||
// the vvvvwdj function
|
||||
function vvvvwdj(add_css_views_vvvvwdj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwcn == 1)
|
||||
if (add_css_views_vvvvwdj == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -719,11 +719,11 @@ function vvvvwcn(add_css_views_vvvvwcn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwco function
|
||||
function vvvvwco(add_javascript_view_footer_vvvvwco)
|
||||
// the vvvvwdk function
|
||||
function vvvvwdk(add_javascript_view_footer_vvvvwdk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwco == 1)
|
||||
if (add_javascript_view_footer_vvvvwdk == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -733,11 +733,11 @@ function vvvvwco(add_javascript_view_footer_vvvvwco)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcp function
|
||||
function vvvvwcp(add_javascript_views_footer_vvvvwcp)
|
||||
// the vvvvwdl function
|
||||
function vvvvwdl(add_javascript_views_footer_vvvvwdl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwcp == 1)
|
||||
if (add_javascript_views_footer_vvvvwdl == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,112 +9,112 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwdovyt_required = false;
|
||||
jform_vvvvwdpvyu_required = false;
|
||||
jform_vvvvwdqvyv_required = false;
|
||||
jform_vvvvwdrvyw_required = false;
|
||||
jform_vvvvwdtvyx_required = false;
|
||||
jform_vvvvwekvyx_required = false;
|
||||
jform_vvvvwelvyy_required = false;
|
||||
jform_vvvvwemvyz_required = false;
|
||||
jform_vvvvwenvza_required = false;
|
||||
jform_vvvvwepvzb_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwdo = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdo(location_vvvvwdo);
|
||||
var location_vvvvwek = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwek(location_vvvvwek);
|
||||
|
||||
var location_vvvvwdp = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdp(location_vvvvwdp);
|
||||
var location_vvvvwel = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwel(location_vvvvwel);
|
||||
|
||||
var type_vvvvwdq = jQuery("#jform_type").val();
|
||||
vvvvwdq(type_vvvvwdq);
|
||||
var type_vvvvwem = jQuery("#jform_type").val();
|
||||
vvvvwem(type_vvvvwem);
|
||||
|
||||
var type_vvvvwdr = jQuery("#jform_type").val();
|
||||
vvvvwdr(type_vvvvwdr);
|
||||
var type_vvvvwen = jQuery("#jform_type").val();
|
||||
vvvvwen(type_vvvvwen);
|
||||
|
||||
var type_vvvvwds = jQuery("#jform_type").val();
|
||||
vvvvwds(type_vvvvwds);
|
||||
var type_vvvvweo = jQuery("#jform_type").val();
|
||||
vvvvweo(type_vvvvweo);
|
||||
|
||||
var target_vvvvwdt = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwdt(target_vvvvwdt);
|
||||
var target_vvvvwep = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwep(target_vvvvwep);
|
||||
});
|
||||
|
||||
// the vvvvwdo function
|
||||
function vvvvwdo(location_vvvvwdo)
|
||||
// the vvvvwek function
|
||||
function vvvvwek(location_vvvvwek)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwdo == 1)
|
||||
if (location_vvvvwek == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
// add required attribute to admin_view field
|
||||
if (jform_vvvvwdovyt_required)
|
||||
if (jform_vvvvwekvyx_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',0);
|
||||
jQuery('#jform_admin_view').prop('required','required');
|
||||
jQuery('#jform_admin_view').attr('aria-required',true);
|
||||
jQuery('#jform_admin_view').addClass('required');
|
||||
jform_vvvvwdovyt_required = false;
|
||||
jform_vvvvwekvyx_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
// remove required attribute from admin_view field
|
||||
if (!jform_vvvvwdovyt_required)
|
||||
if (!jform_vvvvwekvyx_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',1);
|
||||
jQuery('#jform_admin_view').removeAttr('required');
|
||||
jQuery('#jform_admin_view').removeAttr('aria-required');
|
||||
jQuery('#jform_admin_view').removeClass('required');
|
||||
jform_vvvvwdovyt_required = true;
|
||||
jform_vvvvwekvyx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdp function
|
||||
function vvvvwdp(location_vvvvwdp)
|
||||
// the vvvvwel function
|
||||
function vvvvwel(location_vvvvwel)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwdp == 2)
|
||||
if (location_vvvvwel == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
// add required attribute to site_view field
|
||||
if (jform_vvvvwdpvyu_required)
|
||||
if (jform_vvvvwelvyy_required)
|
||||
{
|
||||
updateFieldRequired('site_view',0);
|
||||
jQuery('#jform_site_view').prop('required','required');
|
||||
jQuery('#jform_site_view').attr('aria-required',true);
|
||||
jQuery('#jform_site_view').addClass('required');
|
||||
jform_vvvvwdpvyu_required = false;
|
||||
jform_vvvvwelvyy_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
// remove required attribute from site_view field
|
||||
if (!jform_vvvvwdpvyu_required)
|
||||
if (!jform_vvvvwelvyy_required)
|
||||
{
|
||||
updateFieldRequired('site_view',1);
|
||||
jQuery('#jform_site_view').removeAttr('required');
|
||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||
jQuery('#jform_site_view').removeClass('required');
|
||||
jform_vvvvwdpvyu_required = true;
|
||||
jform_vvvvwelvyy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdq function
|
||||
function vvvvwdq(type_vvvvwdq)
|
||||
// the vvvvwem function
|
||||
function vvvvwem(type_vvvvwem)
|
||||
{
|
||||
if (isSet(type_vvvvwdq) && type_vvvvwdq.constructor !== Array)
|
||||
if (isSet(type_vvvvwem) && type_vvvvwem.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdq = type_vvvvwdq;
|
||||
var type_vvvvwdq = [];
|
||||
type_vvvvwdq.push(temp_vvvvwdq);
|
||||
var temp_vvvvwem = type_vvvvwem;
|
||||
var type_vvvvwem = [];
|
||||
type_vvvvwem.push(temp_vvvvwem);
|
||||
}
|
||||
else if (!isSet(type_vvvvwdq))
|
||||
else if (!isSet(type_vvvvwem))
|
||||
{
|
||||
var type_vvvvwdq = [];
|
||||
var type_vvvvwem = [];
|
||||
}
|
||||
var type = type_vvvvwdq.some(type_vvvvwdq_SomeFunc);
|
||||
var type = type_vvvvwem.some(type_vvvvwem_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -122,55 +122,55 @@ function vvvvwdq(type_vvvvwdq)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwdqvyv_required)
|
||||
if (jform_vvvvwemvyz_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwdqvyv_required = false;
|
||||
jform_vvvvwemvyz_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwdqvyv_required)
|
||||
if (!jform_vvvvwemvyz_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwdqvyv_required = true;
|
||||
jform_vvvvwemvyz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdq Some function
|
||||
function type_vvvvwdq_SomeFunc(type_vvvvwdq)
|
||||
// the vvvvwem Some function
|
||||
function type_vvvvwem_SomeFunc(type_vvvvwem)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwdq == 3)
|
||||
if (type_vvvvwem == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdr function
|
||||
function vvvvwdr(type_vvvvwdr)
|
||||
// the vvvvwen function
|
||||
function vvvvwen(type_vvvvwen)
|
||||
{
|
||||
if (isSet(type_vvvvwdr) && type_vvvvwdr.constructor !== Array)
|
||||
if (isSet(type_vvvvwen) && type_vvvvwen.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdr = type_vvvvwdr;
|
||||
var type_vvvvwdr = [];
|
||||
type_vvvvwdr.push(temp_vvvvwdr);
|
||||
var temp_vvvvwen = type_vvvvwen;
|
||||
var type_vvvvwen = [];
|
||||
type_vvvvwen.push(temp_vvvvwen);
|
||||
}
|
||||
else if (!isSet(type_vvvvwdr))
|
||||
else if (!isSet(type_vvvvwen))
|
||||
{
|
||||
var type_vvvvwdr = [];
|
||||
var type_vvvvwen = [];
|
||||
}
|
||||
var type = type_vvvvwdr.some(type_vvvvwdr_SomeFunc);
|
||||
var type = type_vvvvwen.some(type_vvvvwen_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -178,55 +178,55 @@ function vvvvwdr(type_vvvvwdr)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwdrvyw_required)
|
||||
if (jform_vvvvwenvza_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwdrvyw_required = false;
|
||||
jform_vvvvwenvza_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwdrvyw_required)
|
||||
if (!jform_vvvvwenvza_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwdrvyw_required = true;
|
||||
jform_vvvvwenvza_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdr Some function
|
||||
function type_vvvvwdr_SomeFunc(type_vvvvwdr)
|
||||
// the vvvvwen Some function
|
||||
function type_vvvvwen_SomeFunc(type_vvvvwen)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwdr == 1)
|
||||
if (type_vvvvwen == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwds function
|
||||
function vvvvwds(type_vvvvwds)
|
||||
// the vvvvweo function
|
||||
function vvvvweo(type_vvvvweo)
|
||||
{
|
||||
if (isSet(type_vvvvwds) && type_vvvvwds.constructor !== Array)
|
||||
if (isSet(type_vvvvweo) && type_vvvvweo.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwds = type_vvvvwds;
|
||||
var type_vvvvwds = [];
|
||||
type_vvvvwds.push(temp_vvvvwds);
|
||||
var temp_vvvvweo = type_vvvvweo;
|
||||
var type_vvvvweo = [];
|
||||
type_vvvvweo.push(temp_vvvvweo);
|
||||
}
|
||||
else if (!isSet(type_vvvvwds))
|
||||
else if (!isSet(type_vvvvweo))
|
||||
{
|
||||
var type_vvvvwds = [];
|
||||
var type_vvvvweo = [];
|
||||
}
|
||||
var type = type_vvvvwds.some(type_vvvvwds_SomeFunc);
|
||||
var type = type_vvvvweo.some(type_vvvvweo_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -240,45 +240,45 @@ function vvvvwds(type_vvvvwds)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwds Some function
|
||||
function type_vvvvwds_SomeFunc(type_vvvvwds)
|
||||
// the vvvvweo Some function
|
||||
function type_vvvvweo_SomeFunc(type_vvvvweo)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwds == 2)
|
||||
if (type_vvvvweo == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdt function
|
||||
function vvvvwdt(target_vvvvwdt)
|
||||
// the vvvvwep function
|
||||
function vvvvwep(target_vvvvwep)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwdt == 1)
|
||||
if (target_vvvvwep == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
// add required attribute to groups field
|
||||
if (jform_vvvvwdtvyx_required)
|
||||
if (jform_vvvvwepvzb_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwdtvyx_required = false;
|
||||
jform_vvvvwepvzb_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
// remove required attribute from groups field
|
||||
if (!jform_vvvvwdtvyx_required)
|
||||
if (!jform_vvvvwepvzb_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwdtvyx_required = true;
|
||||
jform_vvvvwepvzb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
652
admin/models/forms/joomla_module.js
Normal file
652
admin/models/forms/joomla_module.js
Normal file
@ -0,0 +1,652 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvxbvwd_required = false;
|
||||
jform_vvvvvxrvwe_required = false;
|
||||
jform_vvvvvxsvwf_required = false;
|
||||
jform_vvvvvxtvwg_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_custom_abstract_class_helper_header_vvvvvxb = jQuery("#jform_add_custom_abstract_class_helper_header input[type='radio']:checked").val();
|
||||
var add_abstract_class_helper_vvvvvxb = jQuery("#jform_add_abstract_class_helper input[type='radio']:checked").val();
|
||||
vvvvvxb(add_custom_abstract_class_helper_header_vvvvvxb,add_abstract_class_helper_vvvvvxb);
|
||||
|
||||
var add_abstract_class_helper_vvvvvxd = jQuery("#jform_add_abstract_class_helper input[type='radio']:checked").val();
|
||||
vvvvvxd(add_abstract_class_helper_vvvvvxd);
|
||||
|
||||
var add_php_script_construct_vvvvvxe = jQuery("#jform_add_php_script_construct input[type='radio']:checked").val();
|
||||
vvvvvxe(add_php_script_construct_vvvvvxe);
|
||||
|
||||
var add_php_preflight_install_vvvvvxf = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvxf(add_php_preflight_install_vvvvvxf);
|
||||
|
||||
var add_php_preflight_update_vvvvvxg = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvxg(add_php_preflight_update_vvvvvxg);
|
||||
|
||||
var add_php_preflight_uninstall_vvvvvxh = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxh(add_php_preflight_uninstall_vvvvvxh);
|
||||
|
||||
var add_php_postflight_install_vvvvvxi = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvxi(add_php_postflight_install_vvvvvxi);
|
||||
|
||||
var add_php_postflight_update_vvvvvxj = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_postflight_update_vvvvvxj);
|
||||
|
||||
var add_php_method_uninstall_vvvvvxk = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_method_uninstall_vvvvvxk);
|
||||
|
||||
var update_server_target_vvvvvxl = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxl = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxl(update_server_target_vvvvvxl,add_update_server_vvvvvxl);
|
||||
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxm(add_update_server_vvvvvxm,update_server_target_vvvvvxm);
|
||||
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxn(update_server_target_vvvvvxn,add_update_server_vvvvvxn);
|
||||
|
||||
var update_server_target_vvvvvxp = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxp = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxp(update_server_target_vvvvvxp,add_update_server_vvvvvxp);
|
||||
|
||||
var add_update_server_vvvvvxr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxr(add_update_server_vvvvvxr);
|
||||
|
||||
var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvxs(add_sql_vvvvvxs);
|
||||
|
||||
var add_sql_uninstall_vvvvvxt = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxt(add_sql_uninstall_vvvvvxt);
|
||||
|
||||
var add_update_server_vvvvvxu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxu(add_update_server_vvvvvxu);
|
||||
|
||||
var add_sales_server_vvvvvxv = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvxv(add_sales_server_vvvvvxv);
|
||||
|
||||
var addreadme_vvvvvxw = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvxw(addreadme_vvvvvxw);
|
||||
});
|
||||
|
||||
// the vvvvvxb function
|
||||
function vvvvvxb(add_custom_abstract_class_helper_header_vvvvvxb,add_abstract_class_helper_vvvvvxb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_abstract_class_helper_header_vvvvvxb == 1 && add_abstract_class_helper_vvvvvxb == 1)
|
||||
{
|
||||
jQuery('#jform_abstract_class_helper_header-lbl').closest('.control-group').show();
|
||||
// add required attribute to abstract_class_helper_header field
|
||||
if (jform_vvvvvxbvwd_required)
|
||||
{
|
||||
updateFieldRequired('abstract_class_helper_header',0);
|
||||
jQuery('#jform_abstract_class_helper_header').prop('required','required');
|
||||
jQuery('#jform_abstract_class_helper_header').attr('aria-required',true);
|
||||
jQuery('#jform_abstract_class_helper_header').addClass('required');
|
||||
jform_vvvvvxbvwd_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_abstract_class_helper_header-lbl').closest('.control-group').hide();
|
||||
// remove required attribute from abstract_class_helper_header field
|
||||
if (!jform_vvvvvxbvwd_required)
|
||||
{
|
||||
updateFieldRequired('abstract_class_helper_header',1);
|
||||
jQuery('#jform_abstract_class_helper_header').removeAttr('required');
|
||||
jQuery('#jform_abstract_class_helper_header').removeAttr('aria-required');
|
||||
jQuery('#jform_abstract_class_helper_header').removeClass('required');
|
||||
jform_vvvvvxbvwd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxd function
|
||||
function vvvvvxd(add_abstract_class_helper_vvvvvxd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_abstract_class_helper_vvvvvxd == 1)
|
||||
{
|
||||
jQuery('#jform_abstract_class_helper_code-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_add_custom_abstract_class_helper_header').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_abstract_class_helper_code-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_add_custom_abstract_class_helper_header').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxe function
|
||||
function vvvvvxe(add_php_script_construct_vvvvvxe)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_script_construct_vvvvvxe == 1)
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxf function
|
||||
function vvvvvxf(add_php_preflight_install_vvvvvxf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvxf == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxg function
|
||||
function vvvvvxg(add_php_preflight_update_vvvvvxg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvxg == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxh function
|
||||
function vvvvvxh(add_php_preflight_uninstall_vvvvvxh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_uninstall_vvvvvxh == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxi function
|
||||
function vvvvvxi(add_php_postflight_install_vvvvvxi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvxi == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxj function
|
||||
function vvvvvxj(add_php_postflight_update_vvvvvxj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvxj == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxk function
|
||||
function vvvvvxk(add_php_method_uninstall_vvvvvxk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvxk == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxl function
|
||||
function vvvvvxl(update_server_target_vvvvvxl,add_update_server_vvvvvxl)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxl == 1 && add_update_server_vvvvvxl == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxm function
|
||||
function vvvvvxm(add_update_server_vvvvvxm,update_server_target_vvvvvxm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxm == 1 && update_server_target_vvvvvxm == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxn function
|
||||
function vvvvvxn(update_server_target_vvvvvxn,add_update_server_vvvvvxn)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxn == 2 && add_update_server_vvvvvxn == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxp function
|
||||
function vvvvvxp(update_server_target_vvvvvxp,add_update_server_vvvvvxp)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxp == 3 && add_update_server_vvvvvxp == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxr function
|
||||
function vvvvvxr(add_update_server_vvvvvxr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxr == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
// add required attribute to update_server_target field
|
||||
if (jform_vvvvvxrvwe_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvxrvwe_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
// remove required attribute from update_server_target field
|
||||
if (!jform_vvvvvxrvwe_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvxrvwe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxs function
|
||||
function vvvvvxs(add_sql_vvvvvxs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvxs == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvxsvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvxsvwf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvxsvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvxsvwf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxt function
|
||||
function vvvvvxt(add_sql_uninstall_vvvvvxt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_uninstall_vvvvvxt == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
// add required attribute to sql_uninstall field
|
||||
if (jform_vvvvvxtvwg_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvxtvwg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
// remove required attribute from sql_uninstall field
|
||||
if (!jform_vvvvvxtvwg_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||