Moves all JavaScript files that where placed in the model/form folder out of the admin area, into the media folder.

This commit is contained in:
Llewellyn van der Merwe 2021-03-17 01:14:54 +02:00
parent 2562473f8c
commit be0d4d8aeb
Signed by untrusted user: Llewellyn
GPG Key ID: EFC0C720A240551C
100 changed files with 53 additions and 53 deletions

View File

@ -143,7 +143,7 @@ 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*: 10th March, 2021
+ *Last Build*: 16th March, 2021
+ *Version*: 2.12.9
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -143,7 +143,7 @@ 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*: 10th March, 2021
+ *Last Build*: 16th March, 2021
+ *Version*: 2.12.9
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt

View File

@ -127,7 +127,7 @@ class ###Component###Model###View### extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_###component###/models/forms/###view###.js';
return 'media/com_###component###/js/###view###.js';
}
/**

View File

@ -127,7 +127,7 @@ class ###Component###Model###View### extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_###component###/models/forms/###view###.js';
return 'media/com_###component###/js/###view###.js';
}
/**

View File

@ -280,7 +280,7 @@
"type": "single"
},
"module_forms.js": {
"path": "c0mp0n3nt/admin/models/forms",
"path": "c0mp0n3nt/media/js",
"rename": "module_forms",
"type": "single"
},

View File

@ -238,7 +238,7 @@ class ComponentbuilderModelAdmin_custom_tabs extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/admin_custom_tabs.js';
return 'media/com_componentbuilder/js/admin_custom_tabs.js';
}
/**

View File

@ -259,7 +259,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/admin_fields.js';
return 'media/com_componentbuilder/js/admin_fields.js';
}
/**

View File

@ -259,7 +259,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/admin_fields_conditions.js';
return 'media/com_componentbuilder/js/admin_fields_conditions.js';
}
/**

View File

@ -321,7 +321,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/admin_fields_relations.js';
return 'media/com_componentbuilder/js/admin_fields_relations.js';
}
/**

View File

@ -818,7 +818,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/admin_view.js';
return 'media/com_componentbuilder/js/admin_view.js';
}
/**

View File

@ -342,7 +342,7 @@ class ComponentbuilderModelClass_extends extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/class_extends.js';
return 'media/com_componentbuilder/js/class_extends.js';
}
/**

View File

@ -358,7 +358,7 @@ class ComponentbuilderModelClass_method extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/class_method.js';
return 'media/com_componentbuilder/js/class_method.js';
}
/**

View File

@ -349,7 +349,7 @@ class ComponentbuilderModelClass_property extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/class_property.js';
return 'media/com_componentbuilder/js/class_property.js';
}
/**

View File

@ -270,7 +270,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_admin_views.js';
return 'media/com_componentbuilder/js/component_admin_views.js';
}
/**

View File

@ -266,7 +266,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_config.js';
return 'media/com_componentbuilder/js/component_config.js';
}
/**

View File

@ -266,7 +266,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_custom_admin_menus.js';
return 'media/com_componentbuilder/js/component_custom_admin_menus.js';
}
/**

View File

@ -270,7 +270,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_custom_admin_views.js';
return 'media/com_componentbuilder/js/component_custom_admin_views.js';
}
/**

View File

@ -355,7 +355,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_dashboard.js';
return 'media/com_componentbuilder/js/component_dashboard.js';
}
/**

View File

@ -303,7 +303,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_files_folders.js';
return 'media/com_componentbuilder/js/component_files_folders.js';
}
/**

View File

@ -236,7 +236,7 @@ class ComponentbuilderModelComponent_modules extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_modules.js';
return 'media/com_componentbuilder/js/component_modules.js';
}
/**

View File

@ -266,7 +266,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_mysql_tweaks.js';
return 'media/com_componentbuilder/js/component_mysql_tweaks.js';
}
/**

View File

@ -235,7 +235,7 @@ class ComponentbuilderModelComponent_placeholders extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_placeholders.js';
return 'media/com_componentbuilder/js/component_placeholders.js';
}
/**

View File

@ -236,7 +236,7 @@ class ComponentbuilderModelComponent_plugins extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_plugins.js';
return 'media/com_componentbuilder/js/component_plugins.js';
}
/**

View File

@ -270,7 +270,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_site_views.js';
return 'media/com_componentbuilder/js/component_site_views.js';
}
/**

View File

@ -266,7 +266,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/component_updates.js';
return 'media/com_componentbuilder/js/component_updates.js';
}
/**

View File

@ -522,7 +522,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/custom_admin_view.js';
return 'media/com_componentbuilder/js/custom_admin_view.js';
}
/**

View File

@ -351,7 +351,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/custom_code.js';
return 'media/com_componentbuilder/js/custom_code.js';
}
/**

View File

@ -542,7 +542,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/dynamic_get.js';
return 'media/com_componentbuilder/js/dynamic_get.js';
}
/**

View File

@ -435,7 +435,7 @@ class ComponentbuilderModelField extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/field.js';
return 'media/com_componentbuilder/js/field.js';
}
/**

View File

@ -614,7 +614,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/fieldtype.js';
return 'media/com_componentbuilder/js/fieldtype.js';
}
/**

View File

@ -247,7 +247,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/help_document.js';
return 'media/com_componentbuilder/js/help_document.js';
}
/**

View File

@ -712,7 +712,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_component.js';
return 'media/com_componentbuilder/js/joomla_component.js';
}
/**

View File

@ -530,7 +530,7 @@ class ComponentbuilderModelJoomla_module extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_module.js';
return 'media/com_componentbuilder/js/joomla_module.js';
}
/**

View File

@ -281,7 +281,7 @@ class ComponentbuilderModelJoomla_module_files_folders_urls extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_module_files_folders_urls.js';
return 'media/com_componentbuilder/js/joomla_module_files_folders_urls.js';
}
/**

View File

@ -235,7 +235,7 @@ class ComponentbuilderModelJoomla_module_updates extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_module_updates.js';
return 'media/com_componentbuilder/js/joomla_module_updates.js';
}
/**

View File

@ -495,7 +495,7 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_plugin.js';
return 'media/com_componentbuilder/js/joomla_plugin.js';
}
/**

View File

@ -281,7 +281,7 @@ class ComponentbuilderModelJoomla_plugin_files_folders_urls extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_plugin_files_folders_urls.js';
return 'media/com_componentbuilder/js/joomla_plugin_files_folders_urls.js';
}
/**

View File

@ -225,7 +225,7 @@ class ComponentbuilderModelJoomla_plugin_group extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_plugin_group.js';
return 'media/com_componentbuilder/js/joomla_plugin_group.js';
}
/**

View File

@ -235,7 +235,7 @@ class ComponentbuilderModelJoomla_plugin_updates extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/joomla_plugin_updates.js';
return 'media/com_componentbuilder/js/joomla_plugin_updates.js';
}
/**

View File

@ -225,7 +225,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/language.js';
return 'media/com_componentbuilder/js/language.js';
}
/**

View File

@ -322,7 +322,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/language_translation.js';
return 'media/com_componentbuilder/js/language_translation.js';
}
/**

View File

@ -367,7 +367,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/layout.js';
return 'media/com_componentbuilder/js/layout.js';
}
/**

View File

@ -374,7 +374,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/library.js';
return 'media/com_componentbuilder/js/library.js';
}
/**

View File

@ -235,7 +235,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/library_config.js';
return 'media/com_componentbuilder/js/library_config.js';
}
/**

View File

@ -281,7 +281,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/library_files_folders_urls.js';
return 'media/com_componentbuilder/js/library_files_folders_urls.js';
}
/**

View File

@ -316,7 +316,7 @@ class ComponentbuilderModelPlaceholder extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/placeholder.js';
return 'media/com_componentbuilder/js/placeholder.js';
}
/**

View File

@ -397,7 +397,7 @@ class ComponentbuilderModelServer extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/server.js';
return 'media/com_componentbuilder/js/server.js';
}
/**

View File

@ -543,7 +543,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/site_view.js';
return 'media/com_componentbuilder/js/site_view.js';
}
/**

View File

@ -259,7 +259,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/snippet.js';
return 'media/com_componentbuilder/js/snippet.js';
}
/**

View File

@ -225,7 +225,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/snippet_type.js';
return 'media/com_componentbuilder/js/snippet_type.js';
}
/**

View File

@ -367,7 +367,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/template.js';
return 'media/com_componentbuilder/js/template.js';
}
/**

View File

@ -319,7 +319,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
*/
public function getScript()
{
return 'administrator/components/com_componentbuilder/models/forms/validation_rule.js';
return 'media/com_componentbuilder/js/validation_rule.js';
}
/**

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name>
<creationDate>10th March, 2021</creationDate>
<creationDate>16th March, 2021</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>