forked from joomla/Component-Builder
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:
parent
2562473f8c
commit
be0d4d8aeb
@ -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
|
||||
|
@ -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
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -280,7 +280,7 @@
|
||||
"type": "single"
|
||||
},
|
||||
"module_forms.js": {
|
||||
"path": "c0mp0n3nt/admin/models/forms",
|
||||
"path": "c0mp0n3nt/media/js",
|
||||
"rename": "module_forms",
|
||||
"type": "single"
|
||||
},
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user