forked from joomla/Component-Builder
Added the option to use advance field modeling to store data in other tables in combination with the field being set to not be stored in the view/table in the admin view. Fixed gh-487 yet once again to allow the datalength to be stored everytime, and not get dropped. Imporved the JCB way of conditions field behavior.
This commit is contained in:
parent
a2db06fb43
commit
aae9ffb6e0
@ -144,11 +144,11 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 17th February, 2020
|
+ *Last Build*: 27th February, 2020
|
||||||
+ *Version*: 2.10.11
|
+ *Version*: 2.10.11
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **278479**
|
+ *Line count*: **278669**
|
||||||
+ *Field count*: **1505**
|
+ *Field count*: **1505**
|
||||||
+ *File count*: **1756**
|
+ *File count*: **1756**
|
||||||
+ *Folder count*: **278**
|
+ *Folder count*: **278**
|
||||||
|
@ -144,11 +144,11 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 17th February, 2020
|
+ *Last Build*: 27th February, 2020
|
||||||
+ *Version*: 2.10.11
|
+ *Version*: 2.10.11
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **278479**
|
+ *Line count*: **278669**
|
||||||
+ *Field count*: **1505**
|
+ *Field count*: **1505**
|
||||||
+ *File count*: **1756**
|
+ *File count*: **1756**
|
||||||
+ *Folder count*: **278**
|
+ *Folder count*: **278**
|
||||||
|
@ -2987,7 +2987,9 @@ class Fields extends Structure
|
|||||||
$this->checkboxBuilder[$view_name_single][] = $name;
|
$this->checkboxBuilder[$view_name_single][] = $name;
|
||||||
}
|
}
|
||||||
// setup checkboxes and other json items for this view
|
// setup checkboxes and other json items for this view
|
||||||
if ($dbSwitch && (($typeName === 'subform' || $typeName === 'checkboxes' || $multiple || $field['settings']->store != 0) && $typeName != 'tag'))
|
// if we have advance field modeling and the field is not being set in the DB
|
||||||
|
// this could mean that field is modeled manually (so we add it)
|
||||||
|
if (($dbSwitch || $field['settings']->store == 6) && (($typeName === 'subform' || $typeName === 'checkboxes' || $multiple || $field['settings']->store != 0) && $typeName != 'tag'))
|
||||||
{
|
{
|
||||||
$subformJsonSwitch = true;
|
$subformJsonSwitch = true;
|
||||||
switch ($field['settings']->store)
|
switch ($field['settings']->store)
|
||||||
@ -3069,8 +3071,8 @@ class Fields extends Structure
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// subform house keeping
|
// subform house keeping (only if not advance modeling)
|
||||||
if ('subform' === $typeName)
|
if ('subform' === $typeName && $field['settings']->store != 6)
|
||||||
{
|
{
|
||||||
// the values must revert to array
|
// the values must revert to array
|
||||||
$this->jsonItemBuilderArray[$view_name_single][] = $name;
|
$this->jsonItemBuilderArray[$view_name_single][] = $name;
|
||||||
|
@ -10091,29 +10091,41 @@ class Interpretation extends Fields
|
|||||||
// add the needed validation to file
|
// add the needed validation to file
|
||||||
if (isset($this->validationFixBuilder[$viewName]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$viewName]))
|
if (isset($this->validationFixBuilder[$viewName]) && ComponentbuilderHelper::checkArray($this->validationFixBuilder[$viewName]))
|
||||||
{
|
{
|
||||||
$validation .= PHP_EOL . "// update required fields";
|
$validation .= PHP_EOL . "// update fields required";
|
||||||
$validation .= PHP_EOL . "function updateFieldRequired(name,status)";
|
$validation .= PHP_EOL . "function updateFieldRequired(name, status) {";
|
||||||
$validation .= PHP_EOL . "{";
|
$validation .= PHP_EOL . $this->_t(1) . "// check if not_required exist";
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "var not_required = jQuery('#jform_not_required').val();";
|
$validation .= PHP_EOL . $this->_t(1) . "if (jQuery('#jform_not_required').length > 0) {";
|
||||||
$validation .= PHP_EOL . PHP_EOL . $this->_t(1) . "if(status == 1)";
|
$validation .= PHP_EOL . $this->_t(2) . "var not_required = jQuery('#jform_not_required').val().split(\",\");";
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "{";
|
$validation .= PHP_EOL . PHP_EOL . $this->_t(2) . "if(status == 1)";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "if (isSet(not_required) && not_required != 0)";
|
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "{";
|
$validation .= PHP_EOL . $this->_t(2) . "{";
|
||||||
$validation .= PHP_EOL . $this->_t(3) . "not_required = not_required+','+name;";
|
$validation .= PHP_EOL . $this->_t(3) . "not_required.push(name);";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "}";
|
$validation .= PHP_EOL . $this->_t(2) . "}";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "else";
|
$validation .= PHP_EOL . $this->_t(2) . "else";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "{";
|
$validation .= PHP_EOL . $this->_t(2) . "{";
|
||||||
$validation .= PHP_EOL . $this->_t(3) . "not_required = ','+name;";
|
$validation .= PHP_EOL . $this->_t(3) . "not_required = removeFieldFromNotRequired(not_required, name);";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "}";
|
$validation .= PHP_EOL . $this->_t(2) . "}";
|
||||||
|
$validation .= PHP_EOL . PHP_EOL . $this->_t(2) . "jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());";
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "}";
|
$validation .= PHP_EOL . $this->_t(1) . "}";
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "else";
|
$validation .= PHP_EOL . "}" . PHP_EOL;
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "{";
|
$validation .= PHP_EOL . "// remove field from not_required";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "if (isSet(not_required) && not_required != 0)";
|
$validation .= PHP_EOL . "function removeFieldFromNotRequired(array, what) {";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "{";
|
$validation .= PHP_EOL . $this->_t(1) . "return array.filter(function(element){";
|
||||||
$validation .= PHP_EOL . $this->_t(3) . "not_required = not_required.replace(','+name,'');";
|
$validation .= PHP_EOL . $this->_t(2) . "return element !== what;";
|
||||||
$validation .= PHP_EOL . $this->_t(2) . "}";
|
$validation .= PHP_EOL . $this->_t(1) . "});";
|
||||||
$validation .= PHP_EOL . $this->_t(1) . "}";
|
$validation .= PHP_EOL . "}" . PHP_EOL;
|
||||||
$validation .= PHP_EOL . PHP_EOL . $this->_t(1) . "jQuery('#jform_not_required').val(not_required);";
|
$validation .= PHP_EOL . "// fix not required array";
|
||||||
|
$validation .= PHP_EOL . "function fixNotRequiredArray(array) {";
|
||||||
|
$validation .= PHP_EOL . $this->_t(1) . "var seen = {};";
|
||||||
|
$validation .= PHP_EOL . $this->_t(1) . "return removeEmptyFromNotRequiredArray(array).filter(function(item) {";
|
||||||
|
$validation .= PHP_EOL . $this->_t(2) . "return seen.hasOwnProperty(item) ? false : (seen[item] = true);";
|
||||||
|
$validation .= PHP_EOL . $this->_t(1) . "});";
|
||||||
|
$validation .= PHP_EOL . "}" . PHP_EOL;
|
||||||
|
$validation .= PHP_EOL . "// remove empty from not_required array";
|
||||||
|
$validation .= PHP_EOL . "function removeEmptyFromNotRequiredArray(array) {";
|
||||||
|
$validation .= PHP_EOL . $this->_t(1) . "return array.filter(function (el) {";
|
||||||
|
$validation .= PHP_EOL . $this->_t(2) . "// remove ( 一_一) as well - lol";
|
||||||
|
$validation .= PHP_EOL . $this->_t(2) . "return (el.length > 0 && '一_一' !== el);";
|
||||||
|
$validation .= PHP_EOL . $this->_t(1) . "});";
|
||||||
$validation .= PHP_EOL . "}" . PHP_EOL;
|
$validation .= PHP_EOL . "}" . PHP_EOL;
|
||||||
}
|
}
|
||||||
// set the isSet function
|
// set the isSet function
|
||||||
|
@ -755,31 +755,46 @@ function vvvvwac(add_custom_button_vvvvwac)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -379,7 +379,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Sql Field. Type: Textarea. (joomla) -->
|
<!-- Sql Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -74,31 +74,46 @@ function extension_type_vvvvwcg_SomeFunc(extension_type_vvvvwcg)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -74,31 +74,46 @@ function extension_type_vvvvwcf_SomeFunc(extension_type_vvvvwcf)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -310,7 +310,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Add_js_document Field. Type: Radio. (joomla) -->
|
<!-- Add_js_document Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -178,31 +178,46 @@ function vvvvwce(type_vvvvwce,target_vvvvwce)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Function_name Field. Type: Text. (joomla) -->
|
<!-- Function_name Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -1349,31 +1349,46 @@ function gettype_vvvvwca_SomeFunc(gettype_vvvvwca)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -682,7 +682,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Add_php_before_getitems Field. Type: Radio. (joomla) -->
|
<!-- Add_php_before_getitems Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -671,31 +671,46 @@ function vvvvwdl(add_javascript_views_footer_vvvvwdl)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -469,7 +469,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
|
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -846,31 +846,46 @@ function vvvvwdz(has_defaults_vvvvwdz)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -295,7 +295,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Properties Field. Type: Subform. (joomla) -->
|
<!-- Properties Field. Type: Subform. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -283,31 +283,46 @@ function vvvvwep(target_vvvvwep)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -165,7 +165,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Content Field. Type: Editor. (joomla) -->
|
<!-- Content Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -726,31 +726,46 @@ function translation_tool_vvvvvxa_SomeFunc(translation_tool_vvvvvxa)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -768,7 +768,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Crowdin_project_identifier Field. Type: Text. (joomla) -->
|
<!-- Crowdin_project_identifier Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -476,31 +476,46 @@ function vvvvvxw(addreadme_vvvvvxw)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -303,7 +303,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_update_server_note_zip" label="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
<field type="note" name="note_update_server_note_zip" label="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_MODULE_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
||||||
|
@ -612,31 +612,46 @@ function vvvvvyu(addreadme_vvvvvyu)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -378,7 +378,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Php_postflight_install Field. Type: Editor. (joomla) -->
|
<!-- Php_postflight_install Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Layout Field. Type: Editor. (joomla) -->
|
<!-- Layout Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -795,31 +795,46 @@ function vvvvwcy(target_vvvvwcy)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -173,7 +173,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_yes_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_yes_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_one" />
|
<field type="note" name="note_yes_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_one" />
|
||||||
|
@ -539,31 +539,46 @@ function authentication_vvvvwei_SomeFunc(authentication_vvvvwei)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update required fields
|
// update fields required
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name, status) {
|
||||||
{
|
// check if not_required exist
|
||||||
var not_required = jQuery('#jform_not_required').val();
|
if (jQuery('#jform_not_required').length > 0) {
|
||||||
|
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||||
|
|
||||||
if(status == 1)
|
if(status == 1)
|
||||||
{
|
{
|
||||||
if (isSet(not_required) && not_required != 0)
|
not_required.push(name);
|
||||||
{
|
|
||||||
not_required = not_required+','+name;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
not_required = ','+name;
|
not_required = removeFieldFromNotRequired(not_required, name);
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (isSet(not_required) && not_required != 0)
|
|
||||||
{
|
|
||||||
not_required = not_required.replace(','+name,'');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jQuery('#jform_not_required').val(not_required);
|
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove field from not_required
|
||||||
|
function removeFieldFromNotRequired(array, what) {
|
||||||
|
return array.filter(function(element){
|
||||||
|
return element !== what;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// fix not required array
|
||||||
|
function fixNotRequiredArray(array) {
|
||||||
|
var seen = {};
|
||||||
|
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||||
|
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// remove empty from not_required array
|
||||||
|
function removeEmptyFromNotRequiredArray(array) {
|
||||||
|
return array.filter(function (el) {
|
||||||
|
// remove ( 一_一) as well - lol
|
||||||
|
return (el.length > 0 && '一_一' !== el);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// the isSet function
|
// the isSet function
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_ftp_signature Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_ftp_signature" label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION" heading="h4" class="alert alert-success note_ftp_signature" />
|
<field type="note" name="note_ftp_signature" label="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_LABEL" description="COM_COMPONENTBUILDER_SERVER_NOTE_FTP_SIGNATURE_DESCRIPTION" heading="h4" class="alert alert-success note_ftp_signature" />
|
||||||
|
@ -249,7 +249,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Default Field. Type: Editor. (joomla) -->
|
<!-- Default Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -164,7 +164,7 @@
|
|||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="一_一"
|
||||||
/>
|
/>
|
||||||
<!-- Template Field. Type: Editor. (joomla) -->
|
<!-- Template Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
|
@ -485,7 +485,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
|
|||||||
`libraries` TEXT NOT NULL,
|
`libraries` TEXT NOT NULL,
|
||||||
`main_get` INT(11) NOT NULL DEFAULT 0,
|
`main_get` INT(11) NOT NULL DEFAULT 0,
|
||||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
|
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
|
||||||
`php_controller` MEDIUMTEXT NOT NULL,
|
`php_controller` MEDIUMTEXT NOT NULL,
|
||||||
`php_document` MEDIUMTEXT NOT NULL,
|
`php_document` MEDIUMTEXT NOT NULL,
|
||||||
@ -561,7 +560,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
|
|||||||
`libraries` TEXT NOT NULL,
|
`libraries` TEXT NOT NULL,
|
||||||
`main_get` INT(11) NOT NULL DEFAULT 0,
|
`main_get` INT(11) NOT NULL DEFAULT 0,
|
||||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
|
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
|
||||||
`php_controller` MEDIUMTEXT NOT NULL,
|
`php_controller` MEDIUMTEXT NOT NULL,
|
||||||
`php_document` MEDIUMTEXT NOT NULL,
|
`php_document` MEDIUMTEXT NOT NULL,
|
||||||
@ -702,7 +700,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
|
|||||||
`join_view_table` TEXT NOT NULL,
|
`join_view_table` TEXT NOT NULL,
|
||||||
`main_source` TINYINT(1) NOT NULL DEFAULT 0,
|
`main_source` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`order` TEXT NOT NULL,
|
`order` TEXT NOT NULL,
|
||||||
`pagination` TINYINT(1) NOT NULL DEFAULT 1,
|
`pagination` TINYINT(1) NOT NULL DEFAULT 1,
|
||||||
`php_after_getitem` MEDIUMTEXT NOT NULL,
|
`php_after_getitem` MEDIUMTEXT NOT NULL,
|
||||||
@ -761,7 +758,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
|
|||||||
`function_name` VARCHAR(255) NOT NULL DEFAULT '',
|
`function_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`hashendtarget` VARCHAR(64) NOT NULL DEFAULT '',
|
`hashendtarget` VARCHAR(64) NOT NULL DEFAULT '',
|
||||||
`hashtarget` VARCHAR(64) NOT NULL DEFAULT '',
|
`hashtarget` VARCHAR(64) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`path` TEXT NOT NULL,
|
`path` TEXT NOT NULL,
|
||||||
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
|
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`target` TINYINT(1) NOT NULL DEFAULT 0,
|
`target` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
@ -897,7 +893,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
|
|||||||
`how` TINYINT(1) NOT NULL DEFAULT 1,
|
`how` TINYINT(1) NOT NULL DEFAULT 1,
|
||||||
`libraries` TEXT NOT NULL,
|
`libraries` TEXT NOT NULL,
|
||||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`php_setdocument` MEDIUMTEXT NOT NULL,
|
`php_setdocument` MEDIUMTEXT NOT NULL,
|
||||||
`target` TINYINT(1) NOT NULL DEFAULT 1,
|
`target` TINYINT(1) NOT NULL DEFAULT 1,
|
||||||
`type` TINYINT(1) NOT NULL DEFAULT 0,
|
`type` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
@ -1162,7 +1157,6 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
|
|||||||
`authentication` TINYINT(1) NOT NULL DEFAULT 0,
|
`authentication` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
`host` TEXT NOT NULL,
|
`host` TEXT NOT NULL,
|
||||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`not_required` INT(1) NOT NULL DEFAULT 0,
|
|
||||||
`password` TEXT NOT NULL,
|
`password` TEXT NOT NULL,
|
||||||
`path` TEXT NOT NULL,
|
`path` TEXT NOT NULL,
|
||||||
`port` TEXT NOT NULL,
|
`port` TEXT NOT NULL,
|
||||||
@ -1922,9 +1916,9 @@ INSERT INTO `#__componentbuilder_admin_view` (`id`, `add_css_view`, `add_css_vie
|
|||||||
-- Dumping data for table `#__componentbuilder_site_view`
|
-- Dumping data for table `#__componentbuilder_site_view`
|
||||||
--
|
--
|
||||||
|
|
||||||
INSERT INTO `#__componentbuilder_site_view` (`id`, `add_css_document`, `add_css`, `add_js_document`, `add_php_document`, `add_php_jview`, `add_php_jview_display`, `add_php_view`, `add_php_ajax`, `add_custom_button`, `custom_button`, `button_position`, `php_controller`, `php_model`, `ajax_input`, `php_ajaxmethod`, `codename`, `css_document`, `css`, `custom_get`, `default`, `description`, `dynamic_get`, `js_document`, `main_get`, `name`, `system_name`, `not_required`, `php_document`, `php_jview`, `php_jview_display`, `php_view`, `snippet`, `params`, `published`, `created`, `modified`, `version`, `hits`, `ordering`, `guid`) VALUES
|
INSERT INTO `#__componentbuilder_site_view` (`id`, `add_css_document`, `add_css`, `add_js_document`, `add_php_document`, `add_php_jview`, `add_php_jview_display`, `add_php_view`, `add_php_ajax`, `add_custom_button`, `custom_button`, `button_position`, `php_controller`, `php_model`, `ajax_input`, `php_ajaxmethod`, `codename`, `css_document`, `css`, `custom_get`, `default`, `description`, `dynamic_get`, `js_document`, `main_get`, `name`, `system_name`, `php_document`, `php_jview`, `php_jview_display`, `php_view`, `snippet`, `params`, `published`, `created`, `modified`, `version`, `hits`, `ordering`, `guid`) VALUES
|
||||||
(23, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'looks', '', '', '', 'PHRhYmxlIGNsYXNzPSJ1ay10YWJsZSB1ay10YWJsZS1ob3ZlciI+DQogICAgPGNhcHRpb24+PD9waHAgZWNobyBKVGV4dDo6XygnTGlzdCBvZiBhbGwgbG9va3MnKTsgPz48L2NhcHRpb24+DQogICAgPHRoZWFkPg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZScpOyA/PjwvdGg+DQogICAgICAgICAgICA8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnRGVzY3JpcHRpb24nKTsgPz48L3RoPg0KICAgICAgICA8L3RyPg0KICAgIDwvdGhlYWQ+DQogICAgPHRib2R5Pg0KICAgICAgICA8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQ+PGEgaHJlZj0iPD9waHAgZWNobyAgW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldExvb2tpbmdSb3V0ZSgkaXRlbS0+c2x1Zyk7ID8+IiA+PD9waHAgZWNobyAkaXRlbS0+bmFtZTsgPz48L2E+PC90ZD4NCiAgICAgICAgICAgIDx0ZD48P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCAxMjApOyA/Pjw/cGhwIGVjaG8gJGl0ZW0tPmVkaXRMaW5rOyA/PjwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDw/cGhwIGVuZGZvcmVhY2g7ID8+DQogICAgPC90Ym9keT4NCjwvdGFibGU+', 'The List of all published looks', 36, '', 36, 'Looks', 'Looks', '', '', '', '', '', '', '', 1, '2016-04-05 14:31:59', '2016-10-20 15:57:24', 9, '', 14, 'b2dce59e-e3b8-4467-bcb5-8f2df4bdfeb7'),
|
(23, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'looks', '', '', '', 'PHRhYmxlIGNsYXNzPSJ1ay10YWJsZSB1ay10YWJsZS1ob3ZlciI+DQogICAgPGNhcHRpb24+PD9waHAgZWNobyBKVGV4dDo6XygnTGlzdCBvZiBhbGwgbG9va3MnKTsgPz48L2NhcHRpb24+DQogICAgPHRoZWFkPg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnTmFtZScpOyA/PjwvdGg+DQogICAgICAgICAgICA8dGg+PD9waHAgZWNobyBKVGV4dDo6XygnRGVzY3JpcHRpb24nKTsgPz48L3RoPg0KICAgICAgICA8L3RyPg0KICAgIDwvdGhlYWQ+DQogICAgPHRib2R5Pg0KICAgICAgICA8P3BocCBmb3JlYWNoICgkdGhpcy0+aXRlbXMgYXMgJGl0ZW0pOiA/Pg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQ+PGEgaHJlZj0iPD9waHAgZWNobyAgW1tbQ29tcG9uZW50XV1dSGVscGVyUm91dGU6OmdldExvb2tpbmdSb3V0ZSgkaXRlbS0+c2x1Zyk7ID8+IiA+PD9waHAgZWNobyAkaXRlbS0+bmFtZTsgPz48L2E+PC90ZD4NCiAgICAgICAgICAgIDx0ZD48P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJGl0ZW0tPmRlc2NyaXB0aW9uLCB0cnVlLCAxMjApOyA/Pjw/cGhwIGVjaG8gJGl0ZW0tPmVkaXRMaW5rOyA/PjwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDw/cGhwIGVuZGZvcmVhY2g7ID8+DQogICAgPC90Ym9keT4NCjwvdGFibGU+', 'The List of all published looks', 36, '', 36, 'Looks', 'Looks', '', '', '', '', '', '', 1, '2016-04-05 14:31:59', '2016-10-20 15:57:24', 9, '', 14, 'b2dce59e-e3b8-4467-bcb5-8f2df4bdfeb7'),
|
||||||
(25, '', '', '', '', 1, 1, '', '', '', '', 1, '', '', '', '', 'looking', '', '', '', 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KICAgIDxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCiAgICAgICAgPGltZyBjbGFzcz0idWstY29tbWVudC1hdmF0YXIiIHNyYz0ie2ltYWdldXJsfSIgYWx0PSIiPg0KICAgICAgICA8aDQgY2xhc3M9InVrLWNvbW1lbnQtdGl0bGUiPjw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+bmFtZSk7ID8+PC9oND4NCiAgICAgICAgPGRpdiBjbGFzcz0idWstY29tbWVudC1tZXRhIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5oaXRzOyA/PjwvZGl2Pg0KICAgIDwvaGVhZGVyPg0KICAgIDxkaXYgY2xhc3M9InVrLWNvbW1lbnQtYm9keSI+DQogICAgICAgIDw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmRlc2NyaXB0aW9uOyA/Pg0KICAgICAgICA8P3BocCBpZiAoJHRoaXMtPml0ZW0tPmFkZCk6ID8+DQogICAgICAgICAgICA8YnIgLz4NCiAgICAgICAgICAgIDwhLS0gVGhpcyBpcyBhIGJ1dHRvbiB0b2dnbGluZyB0aGUgbW9kYWwgLS0+DQogICAgICAgICAgICA8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iIGRhdGEtdWstbW9kYWw9Int0YXJnZXQ6JyNtb3JlLWRldGFpbHMtMDkwJ30iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ01vcmUgRGV0YWlscycpOyA/PjwvYnV0dG9uPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICA8L2Rpdj4NCjwvYXJ0aWNsZT4NCjw/cGhwIGlmICgkdGhpcy0+aXRlbS0+YWRkKTogPz4NCjwhLS0gVGhpcyBpcyB0aGUgbW9kYWwgLS0+DQo8ZGl2IGlkPSJtb3JlLWRldGFpbHMtMDkwIiBjbGFzcz0idWstbW9kYWwiPg0KICAgIDxkaXYgY2xhc3M9InVrLW1vZGFsLWRpYWxvZyI+DQogICAgICAgIDxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KICAgICAgICA8ZGwgY2xhc3M9InVrLWRlc2NyaXB0aW9uLWxpc3QtaG9yaXpvbnRhbCI+DQogICAgICAgIDw/cGhwIGlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCR0aGlzLT5pdGVtLT5kYXRlb2ZiaXJ0aCkpOiA/Pg0KICAgICAgICAgICAgPGR0Pjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0JpcnRoIGRheScpOyA/PjwvZHQ+PGRkPjw/cGhwIGVjaG8gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpmYW5jeURhdGUoJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+ZGF0ZW9mYmlydGgpKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPmVtYWlsKSk6ID8+DQogICAgICAgICAgICA8ZHQ+PD9waHAgZWNobyBKVGV4dDo6XygnRW1haWwnKTsgPz48L2R0PjxkZD48P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJHRoaXMtPml0ZW0tPmVtYWlsKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPm1vYmlsZV9waG9uZSkpOiA/Pg0KICAgICAgICAgICAgPGR0Pjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ01vYmlsZScpOyA/PjwvZHQ+PGRkPjw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+bW9iaWxlX3Bob25lKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPndlYnNpdGUpKTogPz4NCiAgICAgICAgICAgIDxkdD48P3BocCBlY2hvIEpUZXh0OjpfKCdXZWJzaXRlJyk7ID8+PC9kdD48ZGQ+PD9waHAgZWNobyAkdGhpcy0+ZXNjYXBlKCR0aGlzLT5pdGVtLT53ZWJzaXRlKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPC9kbD4NCiAgICA8L2Rpdj4NCjwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', 'Looking at a look', 39, '', 39, 'Looking', 'Looking', '', '', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgcHJlYWNoZXIuDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBwcmVhY2hlciB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fbG9vaycpKS0+c2V0KCRmaWVsZHMpLT53aGVyZSgkY29uZGl0aW9ucyk7DQoNCgkJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJCXJldHVybiAkZGItPmV4ZWN1dGUoKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBsb29rDQppZiAoJHRoaXMtPmhpdCgkdGhpcy0+aXRlbS0+aWQpKQ0Kew0KCSR0aGlzLT5pdGVtLT5oaXRzKys7DQp9', '', '', '', 1, '2016-10-20 15:11:29', '2016-10-20 17:10:58', 16, '', 14, '851ed44e-5431-4951-876f-4b62a4c56ad2');
|
(25, '', '', '', '', 1, 1, '', '', '', '', 1, '', '', '', '', 'looking', '', '', '', 'PGFydGljbGUgY2xhc3M9InVrLWNvbW1lbnQiPg0KICAgIDxoZWFkZXIgY2xhc3M9InVrLWNvbW1lbnQtaGVhZGVyIj4NCiAgICAgICAgPGltZyBjbGFzcz0idWstY29tbWVudC1hdmF0YXIiIHNyYz0ie2ltYWdldXJsfSIgYWx0PSIiPg0KICAgICAgICA8aDQgY2xhc3M9InVrLWNvbW1lbnQtdGl0bGUiPjw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+bmFtZSk7ID8+PC9oND4NCiAgICAgICAgPGRpdiBjbGFzcz0idWstY29tbWVudC1tZXRhIj48P3BocCBlY2hvIEpUZXh0OjpfKCdIaXRzJyk7ID8+OiA8P3BocCBlY2hvICR0aGlzLT5pdGVtLT5oaXRzOyA/PjwvZGl2Pg0KICAgIDwvaGVhZGVyPg0KICAgIDxkaXYgY2xhc3M9InVrLWNvbW1lbnQtYm9keSI+DQogICAgICAgIDw/cGhwIGVjaG8gJHRoaXMtPml0ZW0tPmRlc2NyaXB0aW9uOyA/Pg0KICAgICAgICA8P3BocCBpZiAoJHRoaXMtPml0ZW0tPmFkZCk6ID8+DQogICAgICAgICAgICA8YnIgLz4NCiAgICAgICAgICAgIDwhLS0gVGhpcyBpcyBhIGJ1dHRvbiB0b2dnbGluZyB0aGUgbW9kYWwgLS0+DQogICAgICAgICAgICA8YnV0dG9uIGNsYXNzPSJ1ay1idXR0b24iIGRhdGEtdWstbW9kYWw9Int0YXJnZXQ6JyNtb3JlLWRldGFpbHMtMDkwJ30iPjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ01vcmUgRGV0YWlscycpOyA/PjwvYnV0dG9uPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICA8L2Rpdj4NCjwvYXJ0aWNsZT4NCjw/cGhwIGlmICgkdGhpcy0+aXRlbS0+YWRkKTogPz4NCjwhLS0gVGhpcyBpcyB0aGUgbW9kYWwgLS0+DQo8ZGl2IGlkPSJtb3JlLWRldGFpbHMtMDkwIiBjbGFzcz0idWstbW9kYWwiPg0KICAgIDxkaXYgY2xhc3M9InVrLW1vZGFsLWRpYWxvZyI+DQogICAgICAgIDxhIGNsYXNzPSJ1ay1tb2RhbC1jbG9zZSB1ay1jbG9zZSI+PC9hPg0KICAgICAgICA8ZGwgY2xhc3M9InVrLWRlc2NyaXB0aW9uLWxpc3QtaG9yaXpvbnRhbCI+DQogICAgICAgIDw/cGhwIGlmIChbW1tDb21wb25lbnRdXV1IZWxwZXI6OmNoZWNrU3RyaW5nKCR0aGlzLT5pdGVtLT5kYXRlb2ZiaXJ0aCkpOiA/Pg0KICAgICAgICAgICAgPGR0Pjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ0JpcnRoIGRheScpOyA/PjwvZHQ+PGRkPjw/cGhwIGVjaG8gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpmYW5jeURhdGUoJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+ZGF0ZW9mYmlydGgpKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPmVtYWlsKSk6ID8+DQogICAgICAgICAgICA8ZHQ+PD9waHAgZWNobyBKVGV4dDo6XygnRW1haWwnKTsgPz48L2R0PjxkZD48P3BocCBlY2hvICR0aGlzLT5lc2NhcGUoJHRoaXMtPml0ZW0tPmVtYWlsKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPm1vYmlsZV9waG9uZSkpOiA/Pg0KICAgICAgICAgICAgPGR0Pjw/cGhwIGVjaG8gSlRleHQ6Ol8oJ01vYmlsZScpOyA/PjwvZHQ+PGRkPjw/cGhwIGVjaG8gJHRoaXMtPmVzY2FwZSgkdGhpcy0+aXRlbS0+bW9iaWxlX3Bob25lKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPD9waHAgaWYgKFtbW0NvbXBvbmVudF1dXUhlbHBlcjo6Y2hlY2tTdHJpbmcoJHRoaXMtPml0ZW0tPndlYnNpdGUpKTogPz4NCiAgICAgICAgICAgIDxkdD48P3BocCBlY2hvIEpUZXh0OjpfKCdXZWJzaXRlJyk7ID8+PC9kdD48ZGQ+PD9waHAgZWNobyAkdGhpcy0+ZXNjYXBlKCR0aGlzLT5pdGVtLT53ZWJzaXRlKTsgPz48L2RkPg0KICAgICAgICA8P3BocCBlbmRpZjsgPz4NCiAgICAgICAgPC9kbD4NCiAgICA8L2Rpdj4NCjwvZGl2Pg0KPD9waHAgZW5kaWY7ID8+', 'Looking at a look', 39, '', 39, 'Looking', 'Looking', '', 'CSAvKioNCgkgKiBJbmNyZW1lbnQgdGhlIGhpdCBjb3VudGVyIGZvciB0aGUgcHJlYWNoZXIuDQoJICoNCgkgKiBAcGFyYW0gICBpbnRlZ2VyICAkcGsgIFByaW1hcnkga2V5IG9mIHRoZSBwcmVhY2hlciB0byBpbmNyZW1lbnQuDQoJICoNCgkgKiBAcmV0dXJuICBib29sZWFuICBUcnVlIGlmIHN1Y2Nlc3NmdWw7DQoJICovDQoJcHVibGljIGZ1bmN0aW9uIGhpdCgkcGsgPSAwKQ0KCXsNCgkJaWYgKCRwaykNCgkJew0KCQkJJGRiID0gSkZhY3Rvcnk6OmdldERibygpOw0KCQkJJHF1ZXJ5ID0gJGRiLT5nZXRRdWVyeSh0cnVlKTsNCg0KCQkJLy8gRmllbGRzIHRvIHVwZGF0ZS4NCgkJCSRmaWVsZHMgPSBhcnJheSgNCgkJCSAgICAkZGItPnF1b3RlTmFtZSgnaGl0cycpIC4gJyA9ICcuJGRiLT5xdW90ZU5hbWUoJ2hpdHMnKS4nICsgMScNCgkJCSk7DQoNCgkJCS8vIENvbmRpdGlvbnMgZm9yIHdoaWNoIHJlY29yZHMgc2hvdWxkIGJlIHVwZGF0ZWQuDQoJCQkkY29uZGl0aW9ucyA9IGFycmF5KA0KCQkJICAgICRkYi0+cXVvdGVOYW1lKCdpZCcpIC4gJyA9ICcgLiAkcGsNCgkJCSk7DQoNCgkJCSRxdWVyeS0+dXBkYXRlKCRkYi0+cXVvdGVOYW1lKCcjX19bW1tjb21wb25lbnRdXV1fbG9vaycpKS0+c2V0KCRmaWVsZHMpLT53aGVyZSgkY29uZGl0aW9ucyk7DQoNCgkJCSRkYi0+c2V0UXVlcnkoJHF1ZXJ5KTsNCgkJCXJldHVybiAkZGItPmV4ZWN1dGUoKTsNCgkJfQ0KCQlyZXR1cm4gZmFsc2U7DQoJfQ==', 'Ly8gYWRkIGEgaGl0IHRvIHRoZSBsb29rDQppZiAoJHRoaXMtPmhpdCgkdGhpcy0+aXRlbS0+aWQpKQ0Kew0KCSR0aGlzLT5pdGVtLT5oaXRzKys7DQp9', '', '', '', 1, '2016-10-20 15:11:29', '2016-10-20 17:10:58', 16, '', 14, '851ed44e-5431-4951-876f-4b62a4c56ad2');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1934,9 +1928,9 @@ INSERT INTO `#__componentbuilder_site_view` (`id`, `add_css_document`, `add_css`
|
|||||||
-- Dumping data for table `#__componentbuilder_dynamic_get`
|
-- Dumping data for table `#__componentbuilder_dynamic_get`
|
||||||
--
|
--
|
||||||
|
|
||||||
INSERT INTO `#__componentbuilder_dynamic_get` (`id`, `add_php_after_getitem`, `add_php_before_getitem`, `add_php_after_getitems`, `add_php_before_getitems`, `add_php_getlistquery`, `php_after_getitem`, `php_before_getitem`, `php_before_getitems`, `php_getlistquery`, `php_after_getitems`, `pagination`, `addcalculation`, `db_selection`, `db_table_main`, `filter`, `getcustom`, `gettype`, `global`, `join_db_table`, `join_view_table`, `main_source`, `name`, `not_required`, `order`, `php_calculation`, `php_custom_get`, `view_selection`, `view_table_main`, `where`, `params`, `published`, `version`, `hits`, `ordering`, `guid`) VALUES
|
INSERT INTO `#__componentbuilder_dynamic_get` (`id`, `add_php_after_getitem`, `add_php_before_getitem`, `add_php_after_getitems`, `add_php_before_getitems`, `add_php_getlistquery`, `php_after_getitem`, `php_before_getitem`, `php_before_getitems`, `php_getlistquery`, `php_after_getitems`, `pagination`, `addcalculation`, `db_selection`, `db_table_main`, `filter`, `getcustom`, `gettype`, `global`, `join_db_table`, `join_view_table`, `main_source`, `name`, `order`, `php_calculation`, `php_custom_get`, `view_selection`, `view_table_main`, `where`, `params`, `published`, `version`, `hits`, `ordering`, `guid`) VALUES
|
||||||
(36, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCBlZGl0IGxpbmtzIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGNhbkRvID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRBY3Rpb25zKCdsb29rJywkaXRlbSwnbG9va3MnKTsNCgkJCQlpZiAoJGNhbkRvLT5nZXQoJ2xvb2suZWRpdCcpKQ0KCQkJCXsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rID0gJzxiciAvPjxiciAvPjxhIGNsYXNzPSJ1ay1idXR0b24gdWstYnV0dG9uLXByaW1hcnkgdWstd2lkdGgtMS0xIiBocmVmPSInOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdmlldz1sb29rJnRhc2s9bG9vay5lZGl0JmlkPScgLiAkaXRlbS0+aWQpOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gJyI+PGkgY2xhc3M9InVrLWljb24tcGVuY2lsIj48L2k+PHNwYW4gY2xhc3M9InVrLWhpZGRlbi1zbWFsbCI+JzsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49IEpUZXh0OjpfKCdFZGl0IExvb2snKTsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49ICc8L3NwYW4+PC9hPic7DQoJCQkJfQ0KCQkJCWVsc2UNCgkJCQl7DQoJCQkJCSRpdGVtLT5lZGl0TGluayA9ICcnOw0KCQkJCX0NCgkJCX0NCgkJfQ==', 1, '', '', '', '', '', 2, '', '', '', 1, 'Looks', '', '{\"order0\":{\"table_key\":\"a.name\",\"direction\":\"ASC\"}}', '', '', 'a.*', 109, '{\"where0\":{\"table_key\":\"a.published\",\"operator\":\"1\",\"value_key\":\"1\"}}', '', 1, 12, '', 13, '32b3ae7d-8aa8-47f1-ab2e-30076ddaa029'),
|
(36, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCBlZGl0IGxpbmtzIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGNhbkRvID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRBY3Rpb25zKCdsb29rJywkaXRlbSwnbG9va3MnKTsNCgkJCQlpZiAoJGNhbkRvLT5nZXQoJ2xvb2suZWRpdCcpKQ0KCQkJCXsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rID0gJzxiciAvPjxiciAvPjxhIGNsYXNzPSJ1ay1idXR0b24gdWstYnV0dG9uLXByaW1hcnkgdWstd2lkdGgtMS0xIiBocmVmPSInOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdmlldz1sb29rJnRhc2s9bG9vay5lZGl0JmlkPScgLiAkaXRlbS0+aWQpOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gJyI+PGkgY2xhc3M9InVrLWljb24tcGVuY2lsIj48L2k+PHNwYW4gY2xhc3M9InVrLWhpZGRlbi1zbWFsbCI+JzsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49IEpUZXh0OjpfKCdFZGl0IExvb2snKTsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49ICc8L3NwYW4+PC9hPic7DQoJCQkJfQ0KCQkJCWVsc2UNCgkJCQl7DQoJCQkJCSRpdGVtLT5lZGl0TGluayA9ICcnOw0KCQkJCX0NCgkJCX0NCgkJfQ==', 1, '', '', '', '', '', 2, '', '', '', 1, 'Looks', '{\"order0\":{\"table_key\":\"a.name\",\"direction\":\"ASC\"}}', '', '', 'a.*', 109, '{\"where0\":{\"table_key\":\"a.published\",\"operator\":\"1\",\"value_key\":\"1\"}}', '', 1, 12, '', 13, '32b3ae7d-8aa8-47f1-ab2e-30076ddaa029'),
|
||||||
(39, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter0\":{\"filter_type\":\"1\",\"state_key\":\"id\",\"operator\":\"1\",\"table_key\":\"a.id\"}}', '', 1, '', '', '', 1, 'Looking', '', '', '', '', 'a.id AS id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.add AS add\r\na.email AS email\r\na.mobile_phone AS mobile_phone\r\na.dateofbirth AS dateofbirth\r\na.image AS image\r\na.website AS website\r\na.published AS published\r\na.hits AS hits\r\na.created_by AS created_by', 109, '', '', 1, 8, '', '', '98e6ea56-0911-4d89-b1f4-8f0bb1e4aa5a');
|
(39, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter0\":{\"filter_type\":\"1\",\"state_key\":\"id\",\"operator\":\"1\",\"table_key\":\"a.id\"}}', '', 1, '', '', '', 1, 'Looking', '', '', '', 'a.id AS id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.add AS add\r\na.email AS email\r\na.mobile_phone AS mobile_phone\r\na.dateofbirth AS dateofbirth\r\na.image AS image\r\na.website AS website\r\na.published AS published\r\na.hits AS hits\r\na.created_by AS created_by', 109, '', '', 1, 8, '', '', '98e6ea56-0911-4d89-b1f4-8f0bb1e4aa5a');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -2122,7 +2116,7 @@ INSERT INTO `#__componentbuilder_field` (`id`, `add_css_view`, `add_css_views`,
|
|||||||
(158, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Image', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"image\\\" \\r\\n\\tlabel=\\\"Image\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', 1, '2015-04-29 14:00:56', '2015-08-25 21:15:22', 1, '', 45, '0d6970af-b361-4f65-84f6-0eb0c5f09bad'),
|
(158, '', '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Image', 'NOT NULL', '', 12, '\"<field \\r\\n\\ttype=\\\"media\\\" \\r\\n\\tname=\\\"image\\\" \\r\\n\\tlabel=\\\"Image\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tdirectory=\\\"\\\" \\r\\n\\/>\"', 1, '2015-04-29 14:00:56', '2015-08-25 21:15:22', 1, '', 45, '0d6970af-b361-4f65-84f6-0eb0c5f09bad'),
|
||||||
(196, '', '', '', '', '', '', '', '', '', 64, '', 'VARCHAR', '', '', '', 'Mobile Phone', 'NOT NULL', '', 23, '\"<field type=\\\"text\\\" \\r\\nname=\\\"mobile_phone\\\" \\r\\nlabel=\\\"Mobile Phone\\\" \\r\\nsize=\\\"10\\\" \\r\\nmaxlength=\\\"50\\\" \\r\\ndefault=\\\"\\\" \\r\\ndescription=\\\"Enter Mobile Phone Number\\\" \\r\\nclass=\\\"text_area\\\" \\r\\nfilter=\\\"STRING\\\" \\r\\nvalidated=\\\"tel\\\" \\r\\nrequired=\\\"true\\\" \\r\\nmessage=\\\"Error! Please add mobile phone number here.\\\" \\r\\nhint=\\\"Mobile Phone Here\\\" \\/>\"', 1, '2015-04-07 22:12:58', '2016-03-28 14:00:02', 2, '', 7, '65933a19-243a-48b2-aae9-34e2da710051'),
|
(196, '', '', '', '', '', '', '', '', '', 64, '', 'VARCHAR', '', '', '', 'Mobile Phone', 'NOT NULL', '', 23, '\"<field type=\\\"text\\\" \\r\\nname=\\\"mobile_phone\\\" \\r\\nlabel=\\\"Mobile Phone\\\" \\r\\nsize=\\\"10\\\" \\r\\nmaxlength=\\\"50\\\" \\r\\ndefault=\\\"\\\" \\r\\ndescription=\\\"Enter Mobile Phone Number\\\" \\r\\nclass=\\\"text_area\\\" \\r\\nfilter=\\\"STRING\\\" \\r\\nvalidated=\\\"tel\\\" \\r\\nrequired=\\\"true\\\" \\r\\nmessage=\\\"Error! Please add mobile phone number here.\\\" \\r\\nhint=\\\"Mobile Phone Here\\\" \\/>\"', 1, '2015-04-07 22:12:58', '2016-03-28 14:00:02', 2, '', 7, '65933a19-243a-48b2-aae9-34e2da710051'),
|
||||||
(199, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'Name', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name\\\" \\r\\n\\tlabel=\\\"Name\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Name Here\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add name here.\\\" \\r\\n\\thint=\\\"Name Here\\\" \\r\\n\\/>\"', 1, '2015-03-19 17:30:59', '2017-10-25 20:26:02', 8, '', 4, '5d3d34dd-4876-4c6a-86ab-b4e162f22c08'),
|
(199, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', 2, '', '', 'Name', 'NOT NULL', '', 24, '\"<field\\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"name\\\" \\r\\n\\tlabel=\\\"Name\\\" \\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\" \\r\\n\\tdescription=\\\"Enter Name Here\\\" \\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\"\\r\\n\\tfilter=\\\"STRING\\\" \\r\\n\\tmessage=\\\"Error! Please add name here.\\\" \\r\\n\\thint=\\\"Name Here\\\" \\r\\n\\/>\"', 1, '2015-03-19 17:30:59', '2017-10-25 20:26:02', 8, '', 4, '5d3d34dd-4876-4c6a-86ab-b4e162f22c08'),
|
||||||
(203, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Not Required', 'NOT NULL', '', 9, '\"<field \\r\\n\\ttype=\\\"hidden\\\" \\r\\n\\tname=\\\"not_required\\\" \\r\\n\\tdefault=\\\"[]\\\" \\r\\n\\/>\"', 1, '2015-05-08 16:19:16', '2015-08-25 21:15:22', 1, '', 19, 'da5e6901-6958-40e5-a4f5-6822d6fe57ac'),
|
(203, '', '', '', '', '', '', '', '', '', 1, '', 'INT', '', '', '', 'Not Required', 'NOT NULL', '', 9, '\"<field\\n\\ttype=\\\"hidden\\\"\\n\\tname=\\\"not_required\\\"\\n\\tdefault=\\\"\\u4e00_\\u4e00\\\"\\n\\/>\"', 1, '2015-05-08 16:19:16', '2020-02-27 20:17:33', 13, '', 19, 'da5e6901-6958-40e5-a4f5-6822d6fe57ac'),
|
||||||
(280, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Website', 'NOT NULL', '', 27, '\"<field\\n\\ttype=\\\"url\\\"\\n\\tname=\\\"website\\\"\\n\\tlabel=\\\"Website\\\"\\n\\tsize=\\\"60\\\"\\n\\tmaxlength=\\\"150\\\"\\n\\tdescription=\\\"Enter website address\\\"\\n\\tclass=\\\"text_area\\\"\\n\\tfilter=\\\"url\\\"\\n\\tvalidated=\\\"url\\\"\\n\\tmessage=\\\"Error! Please add website here.\\\"\\n\\thint=\\\"http:\\/\\/www.example.com\\\"\\n\\tscheme=\\\"http,https\\\"\\n\\/>\"', 1, '2015-04-08 00:36:16', '2018-07-08 00:11:05', 2, '', 105, '6c3a6983-d1bf-4e5e-9e99-deea00b0cefd'),
|
(280, '', '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Website', 'NOT NULL', '', 27, '\"<field\\n\\ttype=\\\"url\\\"\\n\\tname=\\\"website\\\"\\n\\tlabel=\\\"Website\\\"\\n\\tsize=\\\"60\\\"\\n\\tmaxlength=\\\"150\\\"\\n\\tdescription=\\\"Enter website address\\\"\\n\\tclass=\\\"text_area\\\"\\n\\tfilter=\\\"url\\\"\\n\\tvalidated=\\\"url\\\"\\n\\tmessage=\\\"Error! Please add website here.\\\"\\n\\thint=\\\"http:\\/\\/www.example.com\\\"\\n\\tscheme=\\\"http,https\\\"\\n\\/>\"', 1, '2015-04-08 00:36:16', '2018-07-08 00:11:05', 2, '', 105, '6c3a6983-d1bf-4e5e-9e99-deea00b0cefd'),
|
||||||
(682, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add More', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add\\\" \\r\\n\\tlabel=\\\"Add More\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', 1, '2015-08-05 01:18:20', '2018-03-30 09:30:45', 4, '', 196, 'a66389aa-2323-4f44-8c23-ff44969639be'),
|
(682, '', '', '', '', '', '', '', '', '', 1, '', 'TINYINT', 2, '', '', 'Add More', 'NOT NULL', '', 17, '\"<field \\r\\n\\ttype=\\\"radio\\\" \\r\\n\\tname=\\\"add\\\" \\r\\n\\tlabel=\\\"Add More\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\tclass=\\\"btn-group btn-group-yesno\\\" \\r\\n\\toption=\\\"1|Yes,0|No\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\/>\"', 1, '2015-08-05 01:18:20', '2018-03-30 09:30:45', 4, '', 196, 'a66389aa-2323-4f44-8c23-ff44969639be'),
|
||||||
(1011, '', '', '', '', '', '', '', 'Other', '0000-00-00', '', '', 'DATE', '', '', '', 'Date of Birth', 'NOT NULL', '', 1, '\"<field\\n\\ttype=\\\"calendar\\\"\\n\\tname=\\\"dateofbirth\\\"\\n\\tlabel=\\\"Date of Birth\\\"\\n\\tdefault=\\\"1970-01-01\\\"\\n\\tdescription=\\\"Your date of birth\\\"\\n\\tformat=\\\"%Y-%m-%d\\\"\\n\\tminyear=\\\"-120\\\"\\n\\tmaxyear=\\\"-1\\\"\\n\\tfilter=\\\"STRING\\\"\\n\\ttodaybutton=\\\"false\\\"\\n\\trequired=\\\"true\\\"\\n\\/>\"', 1, '2015-12-07 01:47:32', '2018-08-03 09:56:07', 4, '', 649, 'cb2bdf20-8800-407b-a4f6-250152a0bdfb');
|
(1011, '', '', '', '', '', '', '', 'Other', '0000-00-00', '', '', 'DATE', '', '', '', 'Date of Birth', 'NOT NULL', '', 1, '\"<field\\n\\ttype=\\\"calendar\\\"\\n\\tname=\\\"dateofbirth\\\"\\n\\tlabel=\\\"Date of Birth\\\"\\n\\tdefault=\\\"1970-01-01\\\"\\n\\tdescription=\\\"Your date of birth\\\"\\n\\tformat=\\\"%Y-%m-%d\\\"\\n\\tminyear=\\\"-120\\\"\\n\\tmaxyear=\\\"-1\\\"\\n\\tfilter=\\\"STRING\\\"\\n\\ttodaybutton=\\\"false\\\"\\n\\trequired=\\\"true\\\"\\n\\/>\"', 1, '2015-12-07 01:47:32', '2018-08-03 09:56:07', 4, '', 649, 'cb2bdf20-8800-407b-a4f6-250152a0bdfb');
|
||||||
@ -2415,7 +2409,8 @@ INSERT INTO `#__componentbuilder_library_files_folders_urls` (`id`, `addfiles`,
|
|||||||
(2, '', '', '{\"addurls0\":{\"url\":\"https:\\/\\/maxcdn.bootstrapcdn.com\\/bootstrap\\/4.0.0-alpha.6\\/js\\/bootstrap.min.js\",\"type\":\"2\"},\"addurls1\":{\"url\":\"https:\\/\\/maxcdn.bootstrapcdn.com\\/bootstrap\\/4.0.0-alpha.6\\/css\\/bootstrap.min.css\",\"type\":\"2\"}}', 2, '', 1, '2017-11-25 16:17:36', '2018-05-02 23:29:05', 11, '', 2),
|
(2, '', '', '{\"addurls0\":{\"url\":\"https:\\/\\/maxcdn.bootstrapcdn.com\\/bootstrap\\/4.0.0-alpha.6\\/js\\/bootstrap.min.js\",\"type\":\"2\"},\"addurls1\":{\"url\":\"https:\\/\\/maxcdn.bootstrapcdn.com\\/bootstrap\\/4.0.0-alpha.6\\/css\\/bootstrap.min.css\",\"type\":\"2\"}}', 2, '', 1, '2017-11-25 16:17:36', '2018-05-02 23:29:05', 11, '', 2),
|
||||||
(3, '', '', '{\"addurls0\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/js\\/uikit.min.js\",\"type\":\"2\"},\"addurls2\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/js\\/uikit-icons.min.js\",\"type\":\"2\"},\"addurls4\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/css\\/uikit.min.css\",\"type\":\"2\"}}', 3, '', 1, '2017-11-25 21:47:40', '2018-09-19 14:22:09', 10, '', 3),
|
(3, '', '', '{\"addurls0\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/js\\/uikit.min.js\",\"type\":\"2\"},\"addurls2\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/js\\/uikit-icons.min.js\",\"type\":\"2\"},\"addurls4\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/uikit\\/3.0.0-rc.16\\/css\\/uikit.min.css\",\"type\":\"2\"}}', 3, '', 1, '2017-11-25 21:47:40', '2018-09-19 14:22:09', 10, '', 3),
|
||||||
(4, '{}', '{\"addfolders0\":{\"folder\":\"file_icon_vectors\",\"path\":\"\\/media\\/vector\",\"rename\":\"1\"}}', '{}', 7, '', 1, '2019-10-03 09:24:30', '2019-10-03 09:25:39', 2, '', 4),
|
(4, '{}', '{\"addfolders0\":{\"folder\":\"file_icon_vectors\",\"path\":\"\\/media\\/vector\",\"rename\":\"1\"}}', '{}', 7, '', 1, '2019-10-03 09:24:30', '2019-10-03 09:25:39', 2, '', 4),
|
||||||
(5, '{}', '{}', '{\"addurls0\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/grapesjs\\/0.14.15\\/css\\/grapes.min.css\",\"type\":2},\"addurls2\":{\"url\":\"https:\\/\\/raw.githubusercontent.com\\/artf\\/grapesjs-preset-webpage\\/master\\/dist\\/grapesjs-preset-webpage.min.css\",\"type\":2},\"addurls1\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/grapesjs\\/0.14.15\\/grapes.min.js\",\"type\":2},\"addurls3\":{\"url\":\"https:\\/\\/raw.githubusercontent.com\\/artf\\/grapesjs-preset-webpage\\/master\\/dist\\/grapesjs-preset-webpage.min.js\",\"type\":2}}', 8, '', 1, '2020-02-10 21:34:33', '2020-02-12 13:57:06', 4, '', 5);
|
(5, '{}', '{}', '{\"addurls0\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/grapesjs\\/0.14.15\\/css\\/grapes.min.css\",\"type\":2},\"addurls2\":{\"url\":\"https:\\/\\/cdnjs.cloudflare.com\\/ajax\\/libs\\/grapesjs\\/0.14.15\\/grapes.min.js\",\"type\":2}}', 8, '', 1, '2020-02-10 21:34:33', '2020-02-18 21:12:35', 5, '', 5),
|
||||||
|
(6, '{}', '{}', '{\"addurls0\":{\"url\":\"https:\\/\\/raw.githubusercontent.com\\/artf\\/grapesjs-preset-webpage\\/master\\/dist\\/grapesjs-preset-webpage.min.css\",\"type\":2},\"addurls1\":{\"url\":\"https:\\/\\/raw.githubusercontent.com\\/artf\\/grapesjs-preset-webpage\\/master\\/dist\\/grapesjs-preset-webpage.min.js\",\"type\":2},\"addurls2\":{\"url\":\"https:\\/\\/static.filestackapi.com\\/v3\\/filestack-0.1.10.js\",\"type\":2}}', 9, '', 1, '2020-02-18 21:13:16', '2020-02-18 21:14:11', 2, '', 5);
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_external_code` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_external_code` (
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -75,8 +75,8 @@ if ($this->saveOrder)
|
|||||||
$this->loadTemplate('batch_body')
|
$this->loadTemplate('batch_body')
|
||||||
); ?>
|
); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<input type="hidden" name="filter_order" value="" />
|
<input type="hidden" name="filter_order" value="<?php echo $this->listOrder; ?>" />
|
||||||
<input type="hidden" name="filter_order_Dir" value="" />
|
<input type="hidden" name="filter_order_Dir" value="<?php echo $this->listDirn; ?>" />
|
||||||
<input type="hidden" name="boxchecked" value="0" />
|
<input type="hidden" name="boxchecked" value="0" />
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="3.2" method="upgrade">
|
<extension type="component" version="3.2" method="upgrade">
|
||||||
<name>COM_COMPONENTBUILDER</name>
|
<name>COM_COMPONENTBUILDER</name>
|
||||||
<creationDate>17th February, 2020</creationDate>
|
<creationDate>27th February, 2020</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||||
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
||||||
|
24
script.php
24
script.php
@ -5976,7 +5976,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "css_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","css_document":"css_document","css":"css","js_document":"js_document","javascript_file":"javascript_file","codename":"codename","default":"default","snippet":"snippet","icon":"icon","add_php_jview":"add_php_jview","context":"context","not_required":"not_required","add_js_document":"add_js_document","custom_get":"custom_get","add_javascript_file":"add_javascript_file","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","add_php_document":"add_php_document","add_css":"add_css","add_php_view":"add_php_view","add_php_ajax":"add_php_ajax","libraries":"libraries","dynamic_get":"dynamic_get","php_document":"php_document","php_view":"php_view","add_custom_button":"add_custom_button","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
$custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "css_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","css_document":"css_document","css":"css","js_document":"js_document","javascript_file":"javascript_file","codename":"codename","default":"default","snippet":"snippet","icon":"icon","add_php_jview":"add_php_jview","context":"context","not_required":"not_required","add_js_document":"add_js_document","custom_get":"custom_get","add_javascript_file":"add_javascript_file","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","add_php_document":"add_php_document","add_css":"add_css","add_php_view":"add_php_view","add_php_ajax":"add_php_ajax","libraries":"libraries","dynamic_get":"dynamic_get","php_document":"php_document","php_view":"php_view","add_custom_button":"add_custom_button","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
||||||
$custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute';
|
$custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute';
|
||||||
$custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","snippet","add_php_jview","not_required","add_js_document","add_javascript_file","add_css_document","add_php_document","add_css","add_php_view","add_php_ajax","dynamic_get","add_custom_button"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
$custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","snippet","add_php_jview","add_js_document","add_javascript_file","add_css_document","add_php_document","add_css","add_php_view","add_php_ajax","dynamic_get","add_custom_button"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$custom_admin_view_Inserted = $db->insertObject('#__content_types', $custom_admin_view);
|
$custom_admin_view_Inserted = $db->insertObject('#__content_types', $custom_admin_view);
|
||||||
@ -5988,7 +5988,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "js_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","add_php_document":"add_php_document","add_php_view":"add_php_view","js_document":"js_document","codename":"codename","javascript_file":"javascript_file","context":"context","not_required":"not_required","default":"default","snippet":"snippet","add_php_jview":"add_php_jview","custom_get":"custom_get","css_document":"css_document","add_javascript_file":"add_javascript_file","css":"css","add_js_document":"add_js_document","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","libraries":"libraries","add_css":"add_css","dynamic_get":"dynamic_get","add_php_ajax":"add_php_ajax","add_custom_button":"add_custom_button","php_document":"php_document","button_position":"button_position","php_view":"php_view","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
$site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "js_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","add_php_document":"add_php_document","add_php_view":"add_php_view","js_document":"js_document","codename":"codename","javascript_file":"javascript_file","context":"context","not_required":"not_required","default":"default","snippet":"snippet","add_php_jview":"add_php_jview","custom_get":"custom_get","css_document":"css_document","add_javascript_file":"add_javascript_file","css":"css","add_js_document":"add_js_document","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","libraries":"libraries","add_css":"add_css","dynamic_get":"dynamic_get","add_php_ajax":"add_php_ajax","add_custom_button":"add_custom_button","php_document":"php_document","button_position":"button_position","php_view":"php_view","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
||||||
$site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute';
|
$site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute';
|
||||||
$site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","add_php_document","add_php_view","not_required","snippet","add_php_jview","add_javascript_file","add_js_document","add_css_document","add_css","dynamic_get","add_php_ajax","add_custom_button","button_position"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
$site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","add_php_document","add_php_view","snippet","add_php_jview","add_javascript_file","add_js_document","add_css_document","add_css","dynamic_get","add_php_ajax","add_custom_button","button_position"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$site_view_Inserted = $db->insertObject('#__content_types', $site_view);
|
$site_view_Inserted = $db->insertObject('#__content_types', $site_view);
|
||||||
@ -6024,7 +6024,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_before_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","php_router_parse":"php_router_parse","php_before_getitems":"php_before_getitems","php_after_getitems":"php_after_getitems","php_after_getitem":"php_after_getitem","php_getlistquery":"php_getlistquery","view_selection":"view_selection","db_table_main":"db_table_main","php_custom_get":"php_custom_get","plugin_events":"plugin_events","db_selection":"db_selection","php_calculation":"php_calculation","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","select_all":"select_all","add_php_before_getitem":"add_php_before_getitem","getcustom":"getcustom","add_php_after_getitem":"add_php_after_getitem","pagination":"pagination","add_php_getlistquery":"add_php_getlistquery","not_required":"not_required","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","add_php_router_parse":"add_php_router_parse","addcalculation":"addcalculation","guid":"guid"}}';
|
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_before_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","php_router_parse":"php_router_parse","php_before_getitems":"php_before_getitems","php_after_getitems":"php_after_getitems","php_after_getitem":"php_after_getitem","php_getlistquery":"php_getlistquery","view_selection":"view_selection","db_table_main":"db_table_main","php_custom_get":"php_custom_get","plugin_events":"plugin_events","db_selection":"db_selection","php_calculation":"php_calculation","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","select_all":"select_all","add_php_before_getitem":"add_php_before_getitem","getcustom":"getcustom","add_php_after_getitem":"add_php_after_getitem","pagination":"pagination","add_php_getlistquery":"add_php_getlistquery","not_required":"not_required","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","add_php_router_parse":"add_php_router_parse","addcalculation":"addcalculation","guid":"guid"}}';
|
||||||
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
||||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","view_table_main","select_all","add_php_before_getitem","add_php_after_getitem","pagination","add_php_getlistquery","not_required","add_php_before_getitems","add_php_after_getitems","add_php_router_parse"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","view_table_main","select_all","add_php_before_getitem","add_php_after_getitem","pagination","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","add_php_router_parse"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$dynamic_get_Inserted = $db->insertObject('#__content_types', $dynamic_get);
|
$dynamic_get_Inserted = $db->insertObject('#__content_types', $dynamic_get);
|
||||||
@ -6036,7 +6036,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$custom_code->table = '{"special": {"dbtable": "#__componentbuilder_custom_code","key": "id","type": "Custom_code","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$custom_code->table = '{"special": {"dbtable": "#__componentbuilder_custom_code","key": "id","type": "Custom_code","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$custom_code->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "component","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"component":"component","path":"path","target":"target","type":"type","comment_type":"comment_type","not_required":"not_required","function_name":"function_name","system_name":"system_name","code":"code","hashendtarget":"hashendtarget","to_line":"to_line","from_line":"from_line","hashtarget":"hashtarget"}}';
|
$custom_code->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "component","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"component":"component","path":"path","target":"target","type":"type","comment_type":"comment_type","not_required":"not_required","function_name":"function_name","system_name":"system_name","code":"code","hashendtarget":"hashendtarget","to_line":"to_line","from_line":"from_line","hashtarget":"hashtarget"}}';
|
||||||
$custom_code->router = 'ComponentbuilderHelperRoute::getCustom_codeRoute';
|
$custom_code->router = 'ComponentbuilderHelperRoute::getCustom_codeRoute';
|
||||||
$custom_code->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_code.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","component","target","type","comment_type","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "component","targetTable": "#__componentbuilder_joomla_component","targetColumn": "id","displayColumn": "system_name"}]}';
|
$custom_code->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_code.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","component","target","type","comment_type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "component","targetTable": "#__componentbuilder_joomla_component","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$custom_code_Inserted = $db->insertObject('#__content_types', $custom_code);
|
$custom_code_Inserted = $db->insertObject('#__content_types', $custom_code);
|
||||||
@ -6084,7 +6084,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$library->table = '{"special": {"dbtable": "#__componentbuilder_library","key": "id","type": "Library","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$library->table = '{"special": {"dbtable": "#__componentbuilder_library","key": "id","type": "Library","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$library->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","target":"target","how":"how","type":"type","description":"description","not_required":"not_required","libraries":"libraries","php_setdocument":"php_setdocument","guid":"guid"}}';
|
$library->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","target":"target","how":"how","type":"type","description":"description","not_required":"not_required","libraries":"libraries","php_setdocument":"php_setdocument","guid":"guid"}}';
|
||||||
$library->router = 'ComponentbuilderHelperRoute::getLibraryRoute';
|
$library->router = 'ComponentbuilderHelperRoute::getLibraryRoute';
|
||||||
$library->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/library.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","target","how","type","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"}]}';
|
$library->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/library.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","target","how","type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$library_Inserted = $db->insertObject('#__content_types', $library);
|
$library_Inserted = $db->insertObject('#__content_types', $library);
|
||||||
@ -6192,7 +6192,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$server->table = '{"special": {"dbtable": "#__componentbuilder_server","key": "id","type": "Server","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$server->table = '{"special": {"dbtable": "#__componentbuilder_server","key": "id","type": "Server","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$server->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","protocol":"protocol","not_required":"not_required","signature":"signature","private_key":"private_key","secret":"secret","password":"password","private":"private","authentication":"authentication","path":"path","port":"port","host":"host","username":"username"}}';
|
$server->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","protocol":"protocol","not_required":"not_required","signature":"signature","private_key":"private_key","secret":"secret","password":"password","private":"private","authentication":"authentication","path":"path","port":"port","host":"host","username":"username"}}';
|
||||||
$server->router = 'ComponentbuilderHelperRoute::getServerRoute';
|
$server->router = 'ComponentbuilderHelperRoute::getServerRoute';
|
||||||
$server->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/server.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","protocol","not_required","authentication"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
$server->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/server.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","protocol","authentication"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$server_Inserted = $db->insertObject('#__content_types', $server);
|
$server_Inserted = $db->insertObject('#__content_types', $server);
|
||||||
@ -7469,7 +7469,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$custom_admin_view->table = '{"special": {"dbtable": "#__componentbuilder_custom_admin_view","key": "id","type": "Custom_admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "css_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","css_document":"css_document","css":"css","js_document":"js_document","javascript_file":"javascript_file","codename":"codename","default":"default","snippet":"snippet","icon":"icon","add_php_jview":"add_php_jview","context":"context","not_required":"not_required","add_js_document":"add_js_document","custom_get":"custom_get","add_javascript_file":"add_javascript_file","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","add_php_document":"add_php_document","add_css":"add_css","add_php_view":"add_php_view","add_php_ajax":"add_php_ajax","libraries":"libraries","dynamic_get":"dynamic_get","php_document":"php_document","php_view":"php_view","add_custom_button":"add_custom_button","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
$custom_admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "css_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","css_document":"css_document","css":"css","js_document":"js_document","javascript_file":"javascript_file","codename":"codename","default":"default","snippet":"snippet","icon":"icon","add_php_jview":"add_php_jview","context":"context","not_required":"not_required","add_js_document":"add_js_document","custom_get":"custom_get","add_javascript_file":"add_javascript_file","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","add_php_document":"add_php_document","add_css":"add_css","add_php_view":"add_php_view","add_php_ajax":"add_php_ajax","libraries":"libraries","dynamic_get":"dynamic_get","php_document":"php_document","php_view":"php_view","add_custom_button":"add_custom_button","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
||||||
$custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute';
|
$custom_admin_view->router = 'ComponentbuilderHelperRoute::getCustom_admin_viewRoute';
|
||||||
$custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","snippet","add_php_jview","not_required","add_js_document","add_javascript_file","add_css_document","add_php_document","add_css","add_php_view","add_php_ajax","dynamic_get","add_custom_button"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
$custom_admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","snippet","add_php_jview","add_js_document","add_javascript_file","add_css_document","add_php_document","add_css","add_php_view","add_php_ajax","dynamic_get","add_custom_button"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Check if custom_admin_view type is already in content_type DB.
|
// Check if custom_admin_view type is already in content_type DB.
|
||||||
$custom_admin_view_id = null;
|
$custom_admin_view_id = null;
|
||||||
@ -7498,7 +7498,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$site_view->table = '{"special": {"dbtable": "#__componentbuilder_site_view","key": "id","type": "Site_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "js_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","add_php_document":"add_php_document","add_php_view":"add_php_view","js_document":"js_document","codename":"codename","javascript_file":"javascript_file","context":"context","not_required":"not_required","default":"default","snippet":"snippet","add_php_jview":"add_php_jview","custom_get":"custom_get","css_document":"css_document","add_javascript_file":"add_javascript_file","css":"css","add_js_document":"add_js_document","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","libraries":"libraries","add_css":"add_css","dynamic_get":"dynamic_get","add_php_ajax":"add_php_ajax","add_custom_button":"add_custom_button","php_document":"php_document","button_position":"button_position","php_view":"php_view","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
$site_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "js_document","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name":"name","description":"description","main_get":"main_get","add_php_jview_display":"add_php_jview_display","add_php_document":"add_php_document","add_php_view":"add_php_view","js_document":"js_document","codename":"codename","javascript_file":"javascript_file","context":"context","not_required":"not_required","default":"default","snippet":"snippet","add_php_jview":"add_php_jview","custom_get":"custom_get","css_document":"css_document","add_javascript_file":"add_javascript_file","css":"css","add_js_document":"add_js_document","php_ajaxmethod":"php_ajaxmethod","add_css_document":"add_css_document","libraries":"libraries","add_css":"add_css","dynamic_get":"dynamic_get","add_php_ajax":"add_php_ajax","add_custom_button":"add_custom_button","php_document":"php_document","button_position":"button_position","php_view":"php_view","php_jview_display":"php_jview_display","php_jview":"php_jview","php_controller":"php_controller","guid":"guid","php_model":"php_model"}}';
|
||||||
$site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute';
|
$site_view->router = 'ComponentbuilderHelperRoute::getSite_viewRoute';
|
||||||
$site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","add_php_document","add_php_view","not_required","snippet","add_php_jview","add_javascript_file","add_js_document","add_css_document","add_css","dynamic_get","add_php_ajax","add_custom_button","button_position"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
$site_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/site_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_get","add_php_jview_display","add_php_document","add_php_view","snippet","add_php_jview","add_javascript_file","add_js_document","add_css_document","add_css","dynamic_get","add_php_ajax","add_custom_button","button_position"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "main_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "snippet","targetTable": "#__componentbuilder_snippet","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "custom_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dynamic_get","targetTable": "#__componentbuilder_dynamic_get","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Check if site_view type is already in content_type DB.
|
// Check if site_view type is already in content_type DB.
|
||||||
$site_view_id = null;
|
$site_view_id = null;
|
||||||
@ -7585,7 +7585,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_before_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","php_router_parse":"php_router_parse","php_before_getitems":"php_before_getitems","php_after_getitems":"php_after_getitems","php_after_getitem":"php_after_getitem","php_getlistquery":"php_getlistquery","view_selection":"view_selection","db_table_main":"db_table_main","php_custom_get":"php_custom_get","plugin_events":"plugin_events","db_selection":"db_selection","php_calculation":"php_calculation","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","select_all":"select_all","add_php_before_getitem":"add_php_before_getitem","getcustom":"getcustom","add_php_after_getitem":"add_php_after_getitem","pagination":"pagination","add_php_getlistquery":"add_php_getlistquery","not_required":"not_required","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","add_php_router_parse":"add_php_router_parse","addcalculation":"addcalculation","guid":"guid"}}';
|
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_before_getitems","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","php_router_parse":"php_router_parse","php_before_getitems":"php_before_getitems","php_after_getitems":"php_after_getitems","php_after_getitem":"php_after_getitem","php_getlistquery":"php_getlistquery","view_selection":"view_selection","db_table_main":"db_table_main","php_custom_get":"php_custom_get","plugin_events":"plugin_events","db_selection":"db_selection","php_calculation":"php_calculation","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","select_all":"select_all","add_php_before_getitem":"add_php_before_getitem","getcustom":"getcustom","add_php_after_getitem":"add_php_after_getitem","pagination":"pagination","add_php_getlistquery":"add_php_getlistquery","not_required":"not_required","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","add_php_router_parse":"add_php_router_parse","addcalculation":"addcalculation","guid":"guid"}}';
|
||||||
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
||||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","view_table_main","select_all","add_php_before_getitem","add_php_after_getitem","pagination","add_php_getlistquery","not_required","add_php_before_getitems","add_php_after_getitems","add_php_router_parse"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","view_table_main","select_all","add_php_before_getitem","add_php_after_getitem","pagination","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","add_php_router_parse"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Check if dynamic_get type is already in content_type DB.
|
// Check if dynamic_get type is already in content_type DB.
|
||||||
$dynamic_get_id = null;
|
$dynamic_get_id = null;
|
||||||
@ -7614,7 +7614,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$custom_code->table = '{"special": {"dbtable": "#__componentbuilder_custom_code","key": "id","type": "Custom_code","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$custom_code->table = '{"special": {"dbtable": "#__componentbuilder_custom_code","key": "id","type": "Custom_code","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$custom_code->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "component","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"component":"component","path":"path","target":"target","type":"type","comment_type":"comment_type","not_required":"not_required","function_name":"function_name","system_name":"system_name","code":"code","hashendtarget":"hashendtarget","to_line":"to_line","from_line":"from_line","hashtarget":"hashtarget"}}';
|
$custom_code->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "component","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"component":"component","path":"path","target":"target","type":"type","comment_type":"comment_type","not_required":"not_required","function_name":"function_name","system_name":"system_name","code":"code","hashendtarget":"hashendtarget","to_line":"to_line","from_line":"from_line","hashtarget":"hashtarget"}}';
|
||||||
$custom_code->router = 'ComponentbuilderHelperRoute::getCustom_codeRoute';
|
$custom_code->router = 'ComponentbuilderHelperRoute::getCustom_codeRoute';
|
||||||
$custom_code->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_code.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","component","target","type","comment_type","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "component","targetTable": "#__componentbuilder_joomla_component","targetColumn": "id","displayColumn": "system_name"}]}';
|
$custom_code->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/custom_code.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","component","target","type","comment_type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "component","targetTable": "#__componentbuilder_joomla_component","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Check if custom_code type is already in content_type DB.
|
// Check if custom_code type is already in content_type DB.
|
||||||
$custom_code_id = null;
|
$custom_code_id = null;
|
||||||
@ -7730,7 +7730,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$library->table = '{"special": {"dbtable": "#__componentbuilder_library","key": "id","type": "Library","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$library->table = '{"special": {"dbtable": "#__componentbuilder_library","key": "id","type": "Library","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$library->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","target":"target","how":"how","type":"type","description":"description","not_required":"not_required","libraries":"libraries","php_setdocument":"php_setdocument","guid":"guid"}}';
|
$library->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","target":"target","how":"how","type":"type","description":"description","not_required":"not_required","libraries":"libraries","php_setdocument":"php_setdocument","guid":"guid"}}';
|
||||||
$library->router = 'ComponentbuilderHelperRoute::getLibraryRoute';
|
$library->router = 'ComponentbuilderHelperRoute::getLibraryRoute';
|
||||||
$library->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/library.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","target","how","type","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"}]}';
|
$library->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/library.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","target","how","type"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "libraries","targetTable": "#__componentbuilder_library","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Check if library type is already in content_type DB.
|
// Check if library type is already in content_type DB.
|
||||||
$library_id = null;
|
$library_id = null;
|
||||||
@ -7991,7 +7991,7 @@ class com_componentbuilderInstallerScript
|
|||||||
$server->table = '{"special": {"dbtable": "#__componentbuilder_server","key": "id","type": "Server","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$server->table = '{"special": {"dbtable": "#__componentbuilder_server","key": "id","type": "Server","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$server->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","protocol":"protocol","not_required":"not_required","signature":"signature","private_key":"private_key","secret":"secret","password":"password","private":"private","authentication":"authentication","path":"path","port":"port","host":"host","username":"username"}}';
|
$server->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","protocol":"protocol","not_required":"not_required","signature":"signature","private_key":"private_key","secret":"secret","password":"password","private":"private","authentication":"authentication","path":"path","port":"port","host":"host","username":"username"}}';
|
||||||
$server->router = 'ComponentbuilderHelperRoute::getServerRoute';
|
$server->router = 'ComponentbuilderHelperRoute::getServerRoute';
|
||||||
$server->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/server.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","protocol","not_required","authentication"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
$server->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/server.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","protocol","authentication"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||||
|
|
||||||
// Check if server type is already in content_type DB.
|
// Check if server type is already in content_type DB.
|
||||||
$server_id = null;
|
$server_id = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user