";
+ $script['view'][] = "\t";
+ $script['view'][] = "\t\t
";
+ $script['view'][] = "\t";
+ $script['view'][] = "\nhasPackage && ###-#-#-Component###Helper::checkArray(\$this->headerList) && ###-#-#-Component###Helper::checkArray(\$this->headers)) : ?>";
+ $script['view'][] = "
";
+ $script['view'][] = "
";
+ $script['view'][] = "";
+ $script['view'][] = "\t\t 'upload')); ?>";
+ $script['view'][] = "\n";
+ $script['view'][] = "
";
+ $script['view'][] = "";
+ $script['view'][] = "\n";
+ $script['view'][] = "
";
+ $script['view'][] = "";
+ $script['view'][] = "\n";
+ $script['view'][] = "
";
+ $script['view'][] = "\n";
+ $script['view'][] = "\n";
+ $script['view'][] = "\t\t
";
+ $script['view'][] = "";
+ $script['view'][] = "
";
+ $script['view'][] = "";
+ $script['view'][] = "";
+ $script['view'][] = "
";
+ }
+ // return the needed script
+ if (isset($script[$type]))
+ {
+ return str_replace('-#-#-', '', implode("\n",$script[$type]));
+ }
+ return false;
+ }
+
public function getFieldSelectOptions($id)
{
// Get a db connection.
diff --git a/admin/models/compiler.php b/admin/models/compiler.php
index b3189202f..ef1333fdc 100644
--- a/admin/models/compiler.php
+++ b/admin/models/compiler.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php
diff --git a/admin/models/component.php b/admin/models/component.php
index d05c18297..699619fae 100644
--- a/admin/models/component.php
+++ b/admin/models/component.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.php
diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php
index 2ea947c74..88e6aa075 100644
--- a/admin/models/componentbuilder.php
+++ b/admin/models/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/models/components.php b/admin/models/components.php
index 13709406f..83daba705 100644
--- a/admin/models/components.php
+++ b/admin/models/components.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.php
diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php
index d3ed0d57e..e27513ff1 100644
--- a/admin/models/custom_admin_view.php
+++ b/admin/models/custom_admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php
diff --git a/admin/models/custom_admin_views.php b/admin/models/custom_admin_views.php
index 344008866..238d6b4a5 100644
--- a/admin/models/custom_admin_views.php
+++ b/admin/models/custom_admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php
diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php
index 0d12646d8..1f8f65fac 100644
--- a/admin/models/dynamic_get.php
+++ b/admin/models/dynamic_get.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php
diff --git a/admin/models/dynamic_gets.php b/admin/models/dynamic_gets.php
index f1969fe31..528c61cba 100644
--- a/admin/models/dynamic_gets.php
+++ b/admin/models/dynamic_gets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php
diff --git a/admin/models/field.php b/admin/models/field.php
index 91fc5ad3c..513b48a3f 100644
--- a/admin/models/field.php
+++ b/admin/models/field.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.php
diff --git a/admin/models/fields.php b/admin/models/fields.php
index eeabe4629..305944996 100644
--- a/admin/models/fields.php
+++ b/admin/models/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/models/fields/adminviews.php b/admin/models/fields/adminviews.php
index f77cd9efa..57389bf5d 100644
--- a/admin/models/fields/adminviews.php
+++ b/admin/models/fields/adminviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage adminviews.php
diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php
index 48ca0f431..210cc57b0 100644
--- a/admin/models/fields/articles.php
+++ b/admin/models/fields/articles.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage articles.php
diff --git a/admin/models/fields/customadminviews.php b/admin/models/fields/customadminviews.php
index a5ef8f121..d184a4652 100644
--- a/admin/models/fields/customadminviews.php
+++ b/admin/models/fields/customadminviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customadminviews.php
diff --git a/admin/models/fields/customfilelist.php b/admin/models/fields/customfilelist.php
index 993796bf2..49834ff75 100644
--- a/admin/models/fields/customfilelist.php
+++ b/admin/models/fields/customfilelist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfilelist.php
diff --git a/admin/models/fields/customfolderlist.php b/admin/models/fields/customfolderlist.php
index 1d07f1983..1ab63ff09 100644
--- a/admin/models/fields/customfolderlist.php
+++ b/admin/models/fields/customfolderlist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfolderlist.php
diff --git a/admin/models/fields/customgets.php b/admin/models/fields/customgets.php
index cb857b4ca..d585f5cd8 100644
--- a/admin/models/fields/customgets.php
+++ b/admin/models/fields/customgets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customgets.php
diff --git a/admin/models/fields/dbtables.php b/admin/models/fields/dbtables.php
index 28a017450..77395c514 100644
--- a/admin/models/fields/dbtables.php
+++ b/admin/models/fields/dbtables.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dbtables.php
diff --git a/admin/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php
index 2f0d41e93..34673fd71 100644
--- a/admin/models/fields/dynamicgets.php
+++ b/admin/models/fields/dynamicgets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamicgets.php
diff --git a/admin/models/fields/fields.php b/admin/models/fields/fields.php
index 863de7416..47d3ded3b 100644
--- a/admin/models/fields/fields.php
+++ b/admin/models/fields/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/models/fields/fieldsmulti.php b/admin/models/fields/fieldsmulti.php
index c23a8fe19..a63d904fd 100644
--- a/admin/models/fields/fieldsmulti.php
+++ b/admin/models/fields/fieldsmulti.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldsmulti.php
diff --git a/admin/models/fields/fieldtypes.php b/admin/models/fields/fieldtypes.php
index 4d0366dee..ddbe90778 100644
--- a/admin/models/fields/fieldtypes.php
+++ b/admin/models/fields/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php
index f23c1c4fe..a1d35d26b 100644
--- a/admin/models/fields/maingets.php
+++ b/admin/models/fields/maingets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage maingets.php
diff --git a/admin/models/fields/siteviews.php b/admin/models/fields/siteviews.php
index 21c10a506..ba76f6e50 100644
--- a/admin/models/fields/siteviews.php
+++ b/admin/models/fields/siteviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage siteviews.php
diff --git a/admin/models/fields/snippets.php b/admin/models/fields/snippets.php
index f2ea59a2e..eb24fd7c2 100644
--- a/admin/models/fields/snippets.php
+++ b/admin/models/fields/snippets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php
diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php
index 39fde081e..c01f327aa 100644
--- a/admin/models/fieldtype.php
+++ b/admin/models/fieldtype.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php
@@ -112,7 +112,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getVyvfields()
+ public function getVyyfields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -196,13 +196,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
- $item->datatype = $this->selectionTranslationVyvfields($item->datatype, 'datatype');
+ $item->datatype = $this->selectionTranslationVyyfields($item->datatype, 'datatype');
// convert indexes
- $item->indexes = $this->selectionTranslationVyvfields($item->indexes, 'indexes');
+ $item->indexes = $this->selectionTranslationVyyfields($item->indexes, 'indexes');
// convert null_switch
- $item->null_switch = $this->selectionTranslationVyvfields($item->null_switch, 'null_switch');
+ $item->null_switch = $this->selectionTranslationVyyfields($item->null_switch, 'null_switch');
// convert store
- $item->store = $this->selectionTranslationVyvfields($item->store, 'store');
+ $item->store = $this->selectionTranslationVyyfields($item->store, 'store');
}
}
@@ -216,7 +216,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return translatable string
*/
- public function selectionTranslationVyvfields($value,$name)
+ public function selectionTranslationVyyfields($value,$name)
{
// Array of datatype language strings
if ($name == 'datatype')
diff --git a/admin/models/fieldtypes.php b/admin/models/fieldtypes.php
index d5511e184..97180aac1 100644
--- a/admin/models/fieldtypes.php
+++ b/admin/models/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js
index f51af34db..343cb9e95 100644
--- a/admin/models/forms/admin_view.js
+++ b/admin/models/forms/admin_view.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.js
@@ -44,6 +44,9 @@ jform_vvvvvwyvww_required = false;
jform_vvvvvwzvwx_required = false;
jform_vvvvvxavwy_required = false;
jform_vvvvvxbvwz_required = false;
+jform_vvvvvxfvxa_required = false;
+jform_vvvvvxfvxb_required = false;
+jform_vvvvvxfvxc_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -112,6 +115,12 @@ jQuery(document).ready(function()
var source_vvvvvxd = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxd = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxd(source_vvvvvxd,add_sql_vvvvvxd);
+
+ var add_custom_import_vvvvvxf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxf(add_custom_import_vvvvvxf);
+
+ var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxg(add_custom_import_vvvvvxg);
});
// the vvvvvwi function
@@ -750,6 +759,91 @@ function vvvvvxd(source_vvvvvxd,add_sql_vvvvvxd)
}
}
+// the vvvvvxf function
+function vvvvvxf(add_custom_import_vvvvvxf)
+{
+ // set the function logic
+ if (add_custom_import_vvvvvxf == 1)
+ {
+ jQuery('#jform_html_import_view').closest('.control-group').show();
+ if (jform_vvvvvxfvxa_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_vvvvvxfvxa_required = false;
+ }
+
+ jQuery('.note_advanced_import').closest('.control-group').show();
+ jQuery('#jform_php_import_save').closest('.control-group').show();
+ if (jform_vvvvvxfvxb_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_vvvvvxfvxb_required = false;
+ }
+
+ jQuery('#jform_php_import_setdata').closest('.control-group').show();
+ if (jform_vvvvvxfvxc_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_vvvvvxfvxc_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_html_import_view').closest('.control-group').hide();
+ if (!jform_vvvvvxfvxa_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_vvvvvxfvxa_required = true;
+ }
+ jQuery('.note_advanced_import').closest('.control-group').hide();
+ jQuery('#jform_php_import_save').closest('.control-group').hide();
+ if (!jform_vvvvvxfvxb_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_vvvvvxfvxb_required = true;
+ }
+ jQuery('#jform_php_import_setdata').closest('.control-group').hide();
+ if (!jform_vvvvvxfvxc_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_vvvvvxfvxc_required = true;
+ }
+ }
+}
+
+// the vvvvvxg function
+function vvvvvxg(add_custom_import_vvvvvxg)
+{
+ // set the function logic
+ if (add_custom_import_vvvvvxg == 0)
+ {
+ jQuery('.note_beginner_import').closest('.control-group').show();
+ }
+ else
+ {
+ jQuery('.note_beginner_import').closest('.control-group').hide();
+ }
+}
+
// update required fields
function updateFieldRequired(name,status)
{
@@ -836,4 +930,51 @@ function getTableColumns(tableName,fieldKey){
jQuery('textarea#jform_addtables_fields_sourcemap-'+fieldKey).val('');
}
})
+}
+
+function getImportScripts_server(typpe){
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getImportScripts&format=json";
+ if(token.length > 0 && typpe.length > 0){
+ var request = 'token='+token+'&type='+typpe;
+ }
+ return jQuery.ajax({
+ type: 'GET',
+ url: getUrl,
+ dataType: 'jsonp',
+ data: request,
+ jsonp: 'callback'
+ });
+}
+
+function getImportScripts(id){
+ if (1 == id) {
+ // get the current values
+ var current_setdata = jQuery('textarea#jform_php_import_setdata').val();
+ var current_save = jQuery('textarea#jform_php_import_save').val();
+ var current_view = jQuery('textarea#jform_html_import_view').val();
+ // set the setData method script
+ if(current_setdata.length == 0){
+ getImportScripts_server('setdata').done(function(result) {
+ if(result){
+ jQuery('textarea#jform_php_import_setdata').val(result);
+ }
+ });
+ }
+ // set the save method script
+ if(current_save.length == 0){
+ getImportScripts_server('save').done(function(result) {
+ if(result){
+ jQuery('textarea#jform_php_import_save').val(result);
+ }
+ });
+ }
+ // set the view script
+ if(current_view.length == 0){
+ getImportScripts_server('view').done(function(result) {
+ if(result){
+ jQuery('textarea#jform_html_import_view').val(result);
+ }
+ });
+ }
+ }
}
diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml
index d533ef9bb..23036a197 100644
--- a/admin/models/forms/admin_view.xml
+++ b/admin/models/forms/admin_view.xml
@@ -143,177 +143,6 @@
message="Error! Please add some short description here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
-
-
-
-
-
-
-
-
-
-
-
-
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY
-
+
+
+
+
+
+
+
@@ -354,17 +222,17 @@
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT"
/>
-
+
@@ -375,19 +243,45 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
-
+
-
-
-
-
+ type="textarea"
+ name="php_document"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
+ rows="17"
+ cols="5"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
+ class="text_area span12"
+ filter="raw"
+ hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT"
+ required="true"
+ />
+
+
+
+
-
+
-
+
@@ -504,32 +398,32 @@
-
+
-
+
@@ -563,61 +457,34 @@
-
+
-
-
-
+
-
+ COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE
+
-
-
+
+
-
+
@@ -1416,6 +1285,195 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT"
required="true"
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?>
@@ -506,6 +516,36 @@ jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
});
+// #jform_add_custom_import listeners for add_custom_import_vvvvvxf function
+jQuery('#jform_add_custom_import').on('keyup',function()
+{
+ var add_custom_import_vvvvvxf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxf(add_custom_import_vvvvvxf);
+
+});
+jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
+{
+ e.preventDefault();
+ var add_custom_import_vvvvvxf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxf(add_custom_import_vvvvvxf);
+
+});
+
+// #jform_add_custom_import listeners for add_custom_import_vvvvvxg function
+jQuery('#jform_add_custom_import').on('keyup',function()
+{
+ var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxg(add_custom_import_vvvvvxg);
+
+});
+jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
+{
+ e.preventDefault();
+ var add_custom_import_vvvvvxg = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxg(add_custom_import_vvvvvxg);
+
+});
+
jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) {
@@ -526,5 +566,11 @@ jQuery('#jform_addtables_modal').on('show.bs.modal', function (e) {
});
});
-
+// #jform_add_custom_import listeners
+jQuery('#jform_add_custom_import').on('change',function()
+{
+ var valueSwitch = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ getImportScripts(valueSwitch);
+
+});
diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php
index 56115ec36..adfb1a243 100644
--- a/admin/views/admin_view/view.html.php
+++ b/admin/views/admin_view/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
@@ -72,7 +72,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
}
// Get Linked view data
- $this->vxafields = $this->get('Vxafields');
+ $this->vxdfields = $this->get('Vxdfields');
// Set the toolbar
$this->addToolBar();
diff --git a/admin/views/admin_views/tmpl/default.php b/admin/views/admin_views/tmpl/default.php
index 04abccd29..9343443a1 100644
--- a/admin/views/admin_views/tmpl/default.php
+++ b/admin/views/admin_views/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php
diff --git a/admin/views/admin_views/tmpl/default_batch_body.php b/admin/views/admin_views/tmpl/default_batch_body.php
index b36df9bf8..96e865482 100644
--- a/admin/views/admin_views/tmpl/default_batch_body.php
+++ b/admin/views/admin_views/tmpl/default_batch_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php
diff --git a/admin/views/admin_views/tmpl/default_batch_footer.php b/admin/views/admin_views/tmpl/default_batch_footer.php
index ba205b94e..d66c27939 100644
--- a/admin/views/admin_views/tmpl/default_batch_footer.php
+++ b/admin/views/admin_views/tmpl/default_batch_footer.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php
diff --git a/admin/views/admin_views/tmpl/default_body.php b/admin/views/admin_views/tmpl/default_body.php
index 65f769f90..fe675a98a 100644
--- a/admin/views/admin_views/tmpl/default_body.php
+++ b/admin/views/admin_views/tmpl/default_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php
diff --git a/admin/views/admin_views/tmpl/default_foot.php b/admin/views/admin_views/tmpl/default_foot.php
index 4fa1d4efa..dd9240c25 100644
--- a/admin/views/admin_views/tmpl/default_foot.php
+++ b/admin/views/admin_views/tmpl/default_foot.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php
diff --git a/admin/views/admin_views/tmpl/default_head.php b/admin/views/admin_views/tmpl/default_head.php
index 0385aa16c..2a4840e90 100644
--- a/admin/views/admin_views/tmpl/default_head.php
+++ b/admin/views/admin_views/tmpl/default_head.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php
diff --git a/admin/views/admin_views/tmpl/default_toolbar.php b/admin/views/admin_views/tmpl/default_toolbar.php
index afe590751..6822eea2e 100644
--- a/admin/views/admin_views/tmpl/default_toolbar.php
+++ b/admin/views/admin_views/tmpl/default_toolbar.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php
diff --git a/admin/views/admin_views/view.html.php b/admin/views/admin_views/view.html.php
index c24149839..95fa387ce 100644
--- a/admin/views/admin_views/view.html.php
+++ b/admin/views/admin_views/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php
index bd683e2ce..e6309af51 100644
--- a/admin/views/compiler/tmpl/default.php
+++ b/admin/views/compiler/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php
diff --git a/admin/views/compiler/view.html.php b/admin/views/compiler/view.html.php
index 772198ce1..5b9578c01 100644
--- a/admin/views/compiler/view.html.php
+++ b/admin/views/compiler/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
diff --git a/admin/views/component/submitbutton.js b/admin/views/component/submitbutton.js
index 9d5f28df3..382e8ba19 100644
--- a/admin/views/component/submitbutton.js
+++ b/admin/views/component/submitbutton.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js
diff --git a/admin/views/component/tmpl/edit.php b/admin/views/component/tmpl/edit.php
index 21e7835c3..b17559cf2 100644
--- a/admin/views/component/tmpl/edit.php
+++ b/admin/views/component/tmpl/edit.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
diff --git a/admin/views/component/view.html.php b/admin/views/component/view.html.php
index deb78ba42..5248e2027 100644
--- a/admin/views/component/view.html.php
+++ b/admin/views/component/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php
index 2fabfd489..d357c9878 100644
--- a/admin/views/componentbuilder/tmpl/default.php
+++ b/admin/views/componentbuilder/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php
diff --git a/admin/views/componentbuilder/tmpl/default_main.php b/admin/views/componentbuilder/tmpl/default_main.php
index 8468345bf..95f7c3284 100644
--- a/admin/views/componentbuilder/tmpl/default_main.php
+++ b/admin/views/componentbuilder/tmpl/default_main.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_main.php
diff --git a/admin/views/componentbuilder/tmpl/default_vdm.php b/admin/views/componentbuilder/tmpl/default_vdm.php
index 191b71548..a709612e6 100644
--- a/admin/views/componentbuilder/tmpl/default_vdm.php
+++ b/admin/views/componentbuilder/tmpl/default_vdm.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_vdm.php
diff --git a/admin/views/componentbuilder/view.html.php b/admin/views/componentbuilder/view.html.php
index 27c27258f..99674172c 100644
--- a/admin/views/componentbuilder/view.html.php
+++ b/admin/views/componentbuilder/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
diff --git a/admin/views/components/tmpl/default.php b/admin/views/components/tmpl/default.php
index 44db16970..f86f73962 100644
--- a/admin/views/components/tmpl/default.php
+++ b/admin/views/components/tmpl/default.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default.php
diff --git a/admin/views/components/tmpl/default_batch_body.php b/admin/views/components/tmpl/default_batch_body.php
index 0a85918b4..26be1c9bb 100644
--- a/admin/views/components/tmpl/default_batch_body.php
+++ b/admin/views/components/tmpl/default_batch_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php
diff --git a/admin/views/components/tmpl/default_batch_footer.php b/admin/views/components/tmpl/default_batch_footer.php
index 5b98557f2..42c56d386 100644
--- a/admin/views/components/tmpl/default_batch_footer.php
+++ b/admin/views/components/tmpl/default_batch_footer.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php
diff --git a/admin/views/components/tmpl/default_body.php b/admin/views/components/tmpl/default_body.php
index 5f9b45ede..94c72f6ec 100644
--- a/admin/views/components/tmpl/default_body.php
+++ b/admin/views/components/tmpl/default_body.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php
diff --git a/admin/views/components/tmpl/default_foot.php b/admin/views/components/tmpl/default_foot.php
index 1bf507b80..f9d7fefe3 100644
--- a/admin/views/components/tmpl/default_foot.php
+++ b/admin/views/components/tmpl/default_foot.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php
diff --git a/admin/views/components/tmpl/default_head.php b/admin/views/components/tmpl/default_head.php
index 17cd3896b..8f69a5b07 100644
--- a/admin/views/components/tmpl/default_head.php
+++ b/admin/views/components/tmpl/default_head.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php
diff --git a/admin/views/components/tmpl/default_toolbar.php b/admin/views/components/tmpl/default_toolbar.php
index 997d21fcb..f03fecb04 100644
--- a/admin/views/components/tmpl/default_toolbar.php
+++ b/admin/views/components/tmpl/default_toolbar.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php
diff --git a/admin/views/components/view.html.php b/admin/views/components/view.html.php
index cc12a514b..842beec84 100644
--- a/admin/views/components/view.html.php
+++ b/admin/views/components/view.html.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
diff --git a/admin/views/custom_admin_view/submitbutton.js b/admin/views/custom_admin_view/submitbutton.js
index 232ac1594..30697a1a8 100644
--- a/admin/views/custom_admin_view/submitbutton.js
+++ b/admin/views/custom_admin_view/submitbutton.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js
diff --git a/admin/views/custom_admin_view/tmpl/edit.php b/admin/views/custom_admin_view/tmpl/edit.php
index b98603fc2..d1684cc27 100644
--- a/admin/views/custom_admin_view/tmpl/edit.php
+++ b/admin/views/custom_admin_view/tmpl/edit.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.1.4
- @build 2nd May, 2016
+ @version 2.1.5
+ @build 4th May, 2016
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
@@ -128,123 +128,123 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');