Added Dynamic Router Implementation to resolve gh-74

This commit is contained in:
2018-01-24 00:05:57 +02:00
parent 850b5867e1
commit 1c20e2ef8b
39 changed files with 1648 additions and 1097 deletions

View File

@ -333,10 +333,10 @@ class ComponentbuilderModelAjax extends JModelList
return '';
}
public static function getImportScripts($type)
public static function getDynamicScripts($type)
{
// get from global helper
return ComponentbuilderHelper::getImportScripts($type);
return ComponentbuilderHelper::getDynamicScripts($type);
}
protected $functionArray = array(
@ -1881,7 +1881,7 @@ class ComponentbuilderModelAjax extends JModelList
$query['c']['table'] = 'custom_admin_view';
$query['c']['view'] = 'custom_admin_views';
$query['c']['select'] = array('id', 'system_name', 'default','php_view','php_jview','php_jview_display','php_document',
'js_document','css_document','css','php_model','php_controller');
'js_document','css_document','css','php_ajaxmethod','php_model','php_controller');
$query['c']['not_base64'] = array();
$query['c']['name'] = 'system_name';

View File

@ -100,14 +100,6 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$item->metadata = $registry->toArray();
}
if (!empty($item->join_view_table))
{
// Convert the join_view_table field to an array.
$join_view_table = new Registry;
$join_view_table->loadString($item->join_view_table);
$item->join_view_table = $join_view_table->toArray();
}
if (!empty($item->join_db_table))
{
// Convert the join_db_table field to an array.
@ -148,6 +140,14 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$item->global = $global->toArray();
}
if (!empty($item->join_view_table))
{
// Convert the join_view_table field to an array.
$join_view_table = new Registry;
$join_view_table->loadString($item->join_view_table);
$item->join_view_table = $join_view_table->toArray();
}
if (!empty($item->php_custom_get))
{
// base64 Decode php_custom_get.
@ -184,6 +184,12 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$item->php_after_getitems = base64_decode($item->php_after_getitems);
}
if (!empty($item->php_router_parse))
{
// base64 Decode php_router_parse.
$item->php_router_parse = base64_decode($item->php_router_parse);
}
if (!empty($item->php_calculation))
{
// base64 Decode php_calculation.
@ -970,19 +976,6 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$data['metadata'] = (string) $metadata;
}
// Set the join_view_table items to data.
if (isset($data['join_view_table']) && is_array($data['join_view_table']))
{
$join_view_table = new JRegistry;
$join_view_table->loadArray($data['join_view_table']);
$data['join_view_table'] = (string) $join_view_table;
}
elseif (!isset($data['join_view_table']))
{
// Set the empty join_view_table to data
$data['join_view_table'] = '';
}
// Set the join_db_table items to data.
if (isset($data['join_db_table']) && is_array($data['join_db_table']))
{
@ -1048,6 +1041,19 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$data['global'] = '';
}
// Set the join_view_table items to data.
if (isset($data['join_view_table']) && is_array($data['join_view_table']))
{
$join_view_table = new JRegistry;
$join_view_table->loadArray($data['join_view_table']);
$data['join_view_table'] = (string) $join_view_table;
}
elseif (!isset($data['join_view_table']))
{
// Set the empty join_view_table to data
$data['join_view_table'] = '';
}
// Set the php_custom_get string to base64 string.
if (isset($data['php_custom_get']))
{
@ -1084,6 +1090,12 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
$data['php_after_getitems'] = base64_encode($data['php_after_getitems']);
}
// Set the php_router_parse string to base64 string.
if (isset($data['php_router_parse']))
{
$data['php_router_parse'] = base64_encode($data['php_router_parse']);
}
// Set the php_calculation string to base64 string.
if (isset($data['php_calculation']))
{

View File

@ -333,6 +333,8 @@ class ComponentbuilderModelDynamic_gets extends JModelList
$item->php_before_getitems = base64_decode($item->php_before_getitems);
// decode php_after_getitems
$item->php_after_getitems = base64_decode($item->php_after_getitems);
// decode php_router_parse
$item->php_router_parse = base64_decode($item->php_router_parse);
// decode php_calculation
$item->php_calculation = base64_decode($item->php_calculation);
// unset the values we don't want exported.

View File

@ -139,7 +139,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getWabfields()
public function getWadfields()
{
// Get the user object.
$user = JFactory::getUser();
@ -223,13 +223,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
$item->datatype = $this->selectionTranslationWabfields($item->datatype, 'datatype');
$item->datatype = $this->selectionTranslationWadfields($item->datatype, 'datatype');
// convert indexes
$item->indexes = $this->selectionTranslationWabfields($item->indexes, 'indexes');
$item->indexes = $this->selectionTranslationWadfields($item->indexes, 'indexes');
// convert null_switch
$item->null_switch = $this->selectionTranslationWabfields($item->null_switch, 'null_switch');
$item->null_switch = $this->selectionTranslationWadfields($item->null_switch, 'null_switch');
// convert store
$item->store = $this->selectionTranslationWabfields($item->store, 'store');
$item->store = $this->selectionTranslationWadfields($item->store, 'store');
}
}
@ -243,7 +243,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return translatable string
*/
public function selectionTranslationWabfields($value,$name)
public function selectionTranslationWadfields($value,$name)
{
// Array of datatype language strings
if ($name === 'datatype')

View File

@ -1203,7 +1203,7 @@ jQuery(document).ready(function()
// set button
addButtonID('admin_fields','create_edit_buttons', 1); // <-- first
var valueSwitch = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
getImportScripts(valueSwitch);
getDynamicScripts(valueSwitch);
// now load the fields
getAjaxDisplay('admin_fields');
getAjaxDisplay('admin_fields_conditions');
@ -1340,8 +1340,8 @@ function getTableColumns(fieldKey, table_, nr_){
}
}
function getImportScripts_server(typpe){
var getUrl = "index.php?option=com_componentbuilder&task=ajax.getImportScripts&format=json&vdm="+vastDevMod;
function getDynamicScripts_server(typpe){
var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&vdm="+vastDevMod;
if(token.length > 0 && typpe.length > 0){
var request = 'token='+token+'&type='+typpe;
}
@ -1354,7 +1354,7 @@ function getImportScripts_server(typpe){
});
}
function getImportScripts(id){
function getDynamicScripts(id){
if (1 == id) {
// get the current values
var current_import_display = jQuery('textarea#jform_php_import_display').val();
@ -1366,7 +1366,7 @@ function getImportScripts(id){
var current_ext = jQuery('textarea#jform_php_import_ext').val();
// set the display method script
if(current_import_display.length == 0){
getImportScripts_server('display').done(function(result) {
getDynamicScripts_server('display').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_display').val(result);
}
@ -1374,7 +1374,7 @@ function getImportScripts(id){
}
// set the import method script
if(current_import.length == 0){
getImportScripts_server('import').done(function(result) {
getDynamicScripts_server('import').done(function(result) {
if(result){
jQuery('textarea#jform_php_import').val(result);
}
@ -1382,7 +1382,7 @@ function getImportScripts(id){
}
// set the headers method script
if(current_headers.length == 0){
getImportScripts_server('headers').done(function(result) {
getDynamicScripts_server('headers').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_headers').val(result);
}
@ -1390,7 +1390,7 @@ function getImportScripts(id){
}
// set the setData method script
if(current_setdata.length == 0){
getImportScripts_server('setdata').done(function(result) {
getDynamicScripts_server('setdata').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_setdata').val(result);
}
@ -1398,7 +1398,7 @@ function getImportScripts(id){
}
// set the save method script
if(current_save.length == 0){
getImportScripts_server('save').done(function(result) {
getDynamicScripts_server('save').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_save').val(result);
}
@ -1406,7 +1406,7 @@ function getImportScripts(id){
}
// set the view script
if(current_view.length == 0){
getImportScripts_server('view').done(function(result) {
getDynamicScripts_server('view').done(function(result) {
if(result){
jQuery('textarea#jform_html_import_view').val(result);
}
@ -1414,7 +1414,7 @@ function getImportScripts(id){
}
// set the import ext script
if(current_ext.length == 0){
getImportScripts_server('ext').done(function(result) {
getDynamicScripts_server('ext').done(function(result) {
if(result){
jQuery('textarea#jform_php_import_ext').val(result);
}

View File

@ -23,43 +23,43 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvzuvzn_required = false;
jform_vvvvvzvvzo_required = false;
jform_vvvvvzvvzp_required = false;
jform_vvvvvzvvzq_required = false;
jform_vvvvvzxvzp_required = false;
jform_vvvvvzyvzq_required = false;
jform_vvvvvzyvzr_required = false;
jform_vvvvvzyvzs_required = false;
// Initial Script
jQuery(document).ready(function()
{
var target_vvvvvzu = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzu(target_vvvvvzu);
var target_vvvvvzv = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzv(target_vvvvvzv);
var target_vvvvvzw = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvvzw = jQuery("#jform_type input[type='radio']:checked").val();
vvvvvzw(target_vvvvvzw,type_vvvvvzw);
var type_vvvvvzx = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvvzx = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzx(type_vvvvvzx,target_vvvvvzx);
vvvvvzx(target_vvvvvzx);
var target_vvvvvzy = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzy(target_vvvvvzy);
var target_vvvvvzz = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvvzz = jQuery("#jform_type input[type='radio']:checked").val();
vvvvvzz(target_vvvvvzz,type_vvvvvzz);
var type_vvvvwaa = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaa(type_vvvvwaa,target_vvvvwaa);
});
// the vvvvvzu function
function vvvvvzu(target_vvvvvzu)
// the vvvvvzx function
function vvvvvzx(target_vvvvvzx)
{
// set the function logic
if (target_vvvvvzu == 2)
if (target_vvvvvzx == 2)
{
jQuery('#jform_function_name').closest('.control-group').show();
if (jform_vvvvvzuvzn_required)
if (jform_vvvvvzxvzp_required)
{
updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required');
jform_vvvvvzuvzn_required = false;
jform_vvvvvzxvzp_required = false;
}
jQuery('.note_jcb_placeholder').closest('.control-group').show();
@ -68,99 +68,99 @@ function vvvvvzu(target_vvvvvzu)
else
{
jQuery('#jform_function_name').closest('.control-group').hide();
if (!jform_vvvvvzuvzn_required)
if (!jform_vvvvvzxvzp_required)
{
updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required');
jform_vvvvvzuvzn_required = true;
jform_vvvvvzxvzp_required = true;
}
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide();
}
}
// the vvvvvzv function
function vvvvvzv(target_vvvvvzv)
// the vvvvvzy function
function vvvvvzy(target_vvvvvzy)
{
// set the function logic
if (target_vvvvvzv == 1)
if (target_vvvvvzy == 1)
{
jQuery('#jform_component').closest('.control-group').show();
if (jform_vvvvvzvvzo_required)
if (jform_vvvvvzyvzq_required)
{
updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required');
jform_vvvvvzvvzo_required = false;
jform_vvvvvzyvzq_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
if (jform_vvvvvzvvzp_required)
if (jform_vvvvvzyvzr_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvvzvvzp_required = false;
jform_vvvvvzyvzr_required = false;
}
jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show();
if (jform_vvvvvzvvzq_required)
if (jform_vvvvvzyvzs_required)
{
updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required');
jform_vvvvvzvvzq_required = false;
jform_vvvvvzyvzs_required = false;
}
}
else
{
jQuery('#jform_component').closest('.control-group').hide();
if (!jform_vvvvvzvvzo_required)
if (!jform_vvvvvzyvzq_required)
{
updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required');
jform_vvvvvzvvzo_required = true;
jform_vvvvvzyvzq_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
if (!jform_vvvvvzvvzp_required)
if (!jform_vvvvvzyvzr_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvvzvvzp_required = true;
jform_vvvvvzyvzr_required = true;
}
jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide();
if (!jform_vvvvvzvvzq_required)
if (!jform_vvvvvzyvzs_required)
{
updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required');
jform_vvvvvzvvzq_required = true;
jform_vvvvvzyvzs_required = true;
}
}
}
// the vvvvvzw function
function vvvvvzw(target_vvvvvzw,type_vvvvvzw)
// the vvvvvzz function
function vvvvvzz(target_vvvvvzz,type_vvvvvzz)
{
// set the function logic
if (target_vvvvvzw == 1 && type_vvvvvzw == 1)
if (target_vvvvvzz == 1 && type_vvvvvzz == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
@ -172,11 +172,11 @@ function vvvvvzw(target_vvvvvzw,type_vvvvvzw)
}
}
// the vvvvvzx function
function vvvvvzx(type_vvvvvzx,target_vvvvvzx)
// the vvvvwaa function
function vvvvwaa(type_vvvvwaa,target_vvvvwaa)
{
// set the function logic
if (type_vvvvvzx == 1 && target_vvvvvzx == 1)
if (type_vvvvwaa == 1 && target_vvvvwaa == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();

View File

@ -41,6 +41,8 @@ jform_vvvvvzsvzj_required = false;
jform_vvvvvzsvzk_required = false;
jform_vvvvvzsvzl_required = false;
jform_vvvvvztvzm_required = false;
jform_vvvvvzuvzn_required = false;
jform_vvvvvzvvzo_required = false;
// Initial Script
jQuery(document).ready(function()
@ -105,6 +107,13 @@ jQuery(document).ready(function()
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(gettype_vvvvvzt);
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
vvvvvzu(gettype_vvvvvzu);
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvvzv = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvvzv(gettype_vvvvvzv,add_php_router_parse_vvvvvzv);
});
// the vvvvvyy function
@ -1250,6 +1259,139 @@ function gettype_vvvvvzt_SomeFunc(gettype_vvvvvzt)
return false;
}
// the vvvvvzu function
function vvvvvzu(gettype_vvvvvzu)
{
if (isSet(gettype_vvvvvzu) && gettype_vvvvvzu.constructor !== Array)
{
var temp_vvvvvzu = gettype_vvvvvzu;
var gettype_vvvvvzu = [];
gettype_vvvvvzu.push(temp_vvvvvzu);
}
else if (!isSet(gettype_vvvvvzu))
{
var gettype_vvvvvzu = [];
}
var gettype = gettype_vvvvvzu.some(gettype_vvvvvzu_SomeFunc);
// set this function logic
if (gettype)
{
jQuery('#jform_add_php_router_parse').closest('.control-group').show();
if (jform_vvvvvzuvzn_required)
{
updateFieldRequired('add_php_router_parse',0);
jQuery('#jform_add_php_router_parse').prop('required','required');
jQuery('#jform_add_php_router_parse').attr('aria-required',true);
jQuery('#jform_add_php_router_parse').addClass('required');
jform_vvvvvzuvzn_required = false;
}
}
else
{
jQuery('#jform_add_php_router_parse').closest('.control-group').hide();
if (!jform_vvvvvzuvzn_required)
{
updateFieldRequired('add_php_router_parse',1);
jQuery('#jform_add_php_router_parse').removeAttr('required');
jQuery('#jform_add_php_router_parse').removeAttr('aria-required');
jQuery('#jform_add_php_router_parse').removeClass('required');
jform_vvvvvzuvzn_required = true;
}
}
}
// the vvvvvzu Some function
function gettype_vvvvvzu_SomeFunc(gettype_vvvvvzu)
{
// set the function logic
if (gettype_vvvvvzu == 1 || gettype_vvvvvzu == 2)
{
return true;
}
return false;
}
// the vvvvvzv function
function vvvvvzv(gettype_vvvvvzv,add_php_router_parse_vvvvvzv)
{
if (isSet(gettype_vvvvvzv) && gettype_vvvvvzv.constructor !== Array)
{
var temp_vvvvvzv = gettype_vvvvvzv;
var gettype_vvvvvzv = [];
gettype_vvvvvzv.push(temp_vvvvvzv);
}
else if (!isSet(gettype_vvvvvzv))
{
var gettype_vvvvvzv = [];
}
var gettype = gettype_vvvvvzv.some(gettype_vvvvvzv_SomeFunc);
if (isSet(add_php_router_parse_vvvvvzv) && add_php_router_parse_vvvvvzv.constructor !== Array)
{
var temp_vvvvvzv = add_php_router_parse_vvvvvzv;
var add_php_router_parse_vvvvvzv = [];
add_php_router_parse_vvvvvzv.push(temp_vvvvvzv);
}
else if (!isSet(add_php_router_parse_vvvvvzv))
{
var add_php_router_parse_vvvvvzv = [];
}
var add_php_router_parse = add_php_router_parse_vvvvvzv.some(add_php_router_parse_vvvvvzv_SomeFunc);
// set this function logic
if (gettype && add_php_router_parse)
{
jQuery('#jform_php_router_parse').closest('.control-group').show();
if (jform_vvvvvzvvzo_required)
{
updateFieldRequired('php_router_parse',0);
jQuery('#jform_php_router_parse').prop('required','required');
jQuery('#jform_php_router_parse').attr('aria-required',true);
jQuery('#jform_php_router_parse').addClass('required');
jform_vvvvvzvvzo_required = false;
}
}
else
{
jQuery('#jform_php_router_parse').closest('.control-group').hide();
if (!jform_vvvvvzvvzo_required)
{
updateFieldRequired('php_router_parse',1);
jQuery('#jform_php_router_parse').removeAttr('required');
jQuery('#jform_php_router_parse').removeAttr('aria-required');
jQuery('#jform_php_router_parse').removeClass('required');
jform_vvvvvzvvzo_required = true;
}
}
}
// the vvvvvzv Some function
function gettype_vvvvvzv_SomeFunc(gettype_vvvvvzv)
{
// set the function logic
if (gettype_vvvvvzv == 1 || gettype_vvvvvzv == 2)
{
return true;
}
return false;
}
// the vvvvvzv Some function
function add_php_router_parse_vvvvvzv_SomeFunc(add_php_router_parse_vvvvvzv)
{
// set the function logic
if (add_php_router_parse_vvvvvzv == 1)
{
return true;
}
return false;
}
// update required fields
function updateFieldRequired(name,status)
{
@ -1290,6 +1432,8 @@ jQuery(document).ready(function()
{
// get the linked details
getLinked();
var valueSwitch = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
getDynamicScripts(valueSwitch);
});
function getLinked_server(type){
@ -1433,4 +1577,33 @@ function updateSubItems(fieldName, fieldNr, table_, nr_){
}
});
}
}
function getDynamicScripts_server(typpe){
var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&vdm="+vastDevMod;
if(token.length > 0 && typpe.length > 0){
var request = 'token='+token+'&type='+typpe;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
dataType: 'jsonp',
data: request,
jsonp: 'callback'
});
}
function getDynamicScripts(id){
if (1 == id) {
// get the current values
var current_router_parse = jQuery('textarea#jform_php_router_parse').val();
// set the router parse method script
if(current_router_parse.length == 0){
getDynamicScripts_server('routerparse').done(function(result) {
if(result){
jQuery('textarea#jform_php_router_parse').val(result);
}
});
}
}
}

View File

@ -143,11 +143,18 @@
filter="HTML"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT"
required="true" />
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_calculation_items"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION"
class="note_calculation_items" />
<!-- Addcalculation Field. Type: Radio. (joomla)-->
<field type="radio"
name="addcalculation"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
<option value="0">COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
</field>
<!-- Php_custom_get Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_custom_get"
@ -177,182 +184,13 @@
description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_LINKED_TO_NOTICE_DESCRIPTION"
heading="h4"
class="note_linked_to_notice" />
<!-- Join_view_table Field. Type: Subform. (joomla)-->
<field type="subform"
name="join_view_table"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_DESCRIPTION"
icon="list"
maximum="50">
<form hidden="true"
name="list_join_view_table_modal"
repeat="true">
<!-- View_table Field. Type: Adminviews. (custom)-->
<field type="adminviews"
name="view_table"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION"
multiple="false"
required="false"
button="false" />
<!-- Row_type Field. Type: List. (joomla)-->
<field type="list"
name="row_type"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE</option>
</field>
<!-- As Field. Type: List. (joomla)-->
<field type="list"
name="as"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL"
class="list_class fieldSmall"
multiple="false"
filter="WORD"
required="false"
default="b">
<!-- Option Set.-->
<option value="b">COM_COMPONENTBUILDER_DYNAMIC_GET_B</option>
<option value="c">COM_COMPONENTBUILDER_DYNAMIC_GET_C</option>
<option value="d">COM_COMPONENTBUILDER_DYNAMIC_GET_D</option>
<option value="e">COM_COMPONENTBUILDER_DYNAMIC_GET_E</option>
<option value="f">COM_COMPONENTBUILDER_DYNAMIC_GET_F</option>
<option value="g">COM_COMPONENTBUILDER_DYNAMIC_GET_G</option>
<option value="h">COM_COMPONENTBUILDER_DYNAMIC_GET_H</option>
<option value="i">COM_COMPONENTBUILDER_DYNAMIC_GET_I</option>
<option value="j">COM_COMPONENTBUILDER_DYNAMIC_GET_J</option>
<option value="k">COM_COMPONENTBUILDER_DYNAMIC_GET_K</option>
<option value="l">COM_COMPONENTBUILDER_DYNAMIC_GET_L</option>
<option value="m">COM_COMPONENTBUILDER_DYNAMIC_GET_M</option>
<option value="n">COM_COMPONENTBUILDER_DYNAMIC_GET_N</option>
<option value="o">COM_COMPONENTBUILDER_DYNAMIC_GET_O</option>
<option value="p">COM_COMPONENTBUILDER_DYNAMIC_GET_P</option>
<option value="q">COM_COMPONENTBUILDER_DYNAMIC_GET_Q</option>
<option value="r">COM_COMPONENTBUILDER_DYNAMIC_GET_R</option>
<option value="s">COM_COMPONENTBUILDER_DYNAMIC_GET_S</option>
<option value="t">COM_COMPONENTBUILDER_DYNAMIC_GET_T</option>
<option value="u">COM_COMPONENTBUILDER_DYNAMIC_GET_U</option>
<option value="v">COM_COMPONENTBUILDER_DYNAMIC_GET_V</option>
<option value="w">COM_COMPONENTBUILDER_DYNAMIC_GET_W</option>
<option value="x">COM_COMPONENTBUILDER_DYNAMIC_GET_X</option>
<option value="y">COM_COMPONENTBUILDER_DYNAMIC_GET_Y</option>
<option value="z">COM_COMPONENTBUILDER_DYNAMIC_GET_Z</option>
<option value="aa">COM_COMPONENTBUILDER_DYNAMIC_GET_AA</option>
<option value="bb">COM_COMPONENTBUILDER_DYNAMIC_GET_BB</option>
<option value="cc">COM_COMPONENTBUILDER_DYNAMIC_GET_CC</option>
<option value="dd">COM_COMPONENTBUILDER_DYNAMIC_GET_DD</option>
<option value="ee">COM_COMPONENTBUILDER_DYNAMIC_GET_EE</option>
<option value="ff">COM_COMPONENTBUILDER_DYNAMIC_GET_FF</option>
<option value="gg">COM_COMPONENTBUILDER_DYNAMIC_GET_GG</option>
<option value="hh">COM_COMPONENTBUILDER_DYNAMIC_GET_HH</option>
<option value="ii">COM_COMPONENTBUILDER_DYNAMIC_GET_II</option>
<option value="jj">COM_COMPONENTBUILDER_DYNAMIC_GET_JJ</option>
<option value="kk">COM_COMPONENTBUILDER_DYNAMIC_GET_KK</option>
<option value="ll">COM_COMPONENTBUILDER_DYNAMIC_GET_LL</option>
<option value="mm">COM_COMPONENTBUILDER_DYNAMIC_GET_MM</option>
<option value="nn">COM_COMPONENTBUILDER_DYNAMIC_GET_NN</option>
<option value="oo">COM_COMPONENTBUILDER_DYNAMIC_GET_OO</option>
<option value="pp">COM_COMPONENTBUILDER_DYNAMIC_GET_PP</option>
<option value="qq">COM_COMPONENTBUILDER_DYNAMIC_GET_QQ</option>
<option value="rr">COM_COMPONENTBUILDER_DYNAMIC_GET_RR</option>
<option value="ss">COM_COMPONENTBUILDER_DYNAMIC_GET_SS</option>
<option value="tt">COM_COMPONENTBUILDER_DYNAMIC_GET_TT</option>
<option value="uu">COM_COMPONENTBUILDER_DYNAMIC_GET_UU</option>
<option value="vv">COM_COMPONENTBUILDER_DYNAMIC_GET_VV</option>
<option value="ww">COM_COMPONENTBUILDER_DYNAMIC_GET_WW</option>
<option value="xx">COM_COMPONENTBUILDER_DYNAMIC_GET_XX</option>
<option value="yy">COM_COMPONENTBUILDER_DYNAMIC_GET_YY</option>
<option value="zz">COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ</option>
</field>
<!-- Type Field. Type: List. (joomla)-->
<field type="list"
name="type"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT_OUTER</option>
<option value="3">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_INNER</option>
<option value="4">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT</option>
<option value="5">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT_OUTER</option>
</field>
<!-- On_field Field. Type: Text. (joomla)-->
<field type="text"
name="on_field"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_DESCRIPTION"
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_MESSAGE"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT" />
<!-- Operator Field. Type: List. (joomla)-->
<field type="list"
name="operator"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option>
<option value="3">COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option>
<option value="4">COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option>
<option value="5">COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option>
<option value="6">COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option>
<option value="7">COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option>
<option value="8">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option>
<option value="9">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option>
<option value="10">COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option>
<option value="11">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option>
</field>
<!-- Join_field Field. Type: Text. (joomla)-->
<field type="text"
name="join_field"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_DESCRIPTION"
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_MESSAGE"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT" />
<!-- Selection Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="selection"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION"
class="text_area span12"
filter="HTML"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT"
required="false" />
</form>
</field>
<!-- View_table_main Field. Type: Adminviews. (custom)-->
<field type="adminviews"
name="view_table_main"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
multiple="false"
required="true" />
<!-- View_selection Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="view_selection"
@ -386,11 +224,11 @@
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
<option value="0">COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
</field>
<!-- Addcalculation Field. Type: Radio. (joomla)-->
<!-- Add_php_router_parse Field. Type: Radio. (joomla)-->
<field type="radio"
name="addcalculation"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
name="add_php_router_parse"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -409,13 +247,11 @@
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
<option value="0">COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
</field>
<!-- View_table_main Field. Type: Adminviews. (custom)-->
<field type="adminviews"
name="view_table_main"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
multiple="false"
required="true" />
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_calculation_items"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION"
class="note_calculation_items" />
<!-- Add_php_getlistquery Field. Type: Radio. (joomla)-->
<field type="radio"
name="add_php_getlistquery"
@ -882,11 +718,17 @@
</field>
</form>
</field>
<!-- Note_calculation_item Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_calculation_item"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION"
class="note_calculation_item" />
<!-- Php_router_parse Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_router_parse"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE_HINT"
required="true" />
<!-- Global Field. Type: Subform. (joomla)-->
<field type="subform"
name="global"
@ -1002,6 +844,187 @@
</field>
</form>
</field>
<!-- Note_calculation_item Field. Type: Note. A None Database Field. (joomla)-->
<field type="note"
name="note_calculation_item"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEM_DESCRIPTION"
class="note_calculation_item" />
<!-- Join_view_table Field. Type: Subform. (joomla)-->
<field type="subform"
name="join_view_table"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_VIEW_TABLE_DESCRIPTION"
icon="list"
maximum="50">
<form hidden="true"
name="list_join_view_table_modal"
repeat="true">
<!-- View_table Field. Type: Adminviews. (custom)-->
<field type="adminviews"
name="view_table"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_DESCRIPTION"
multiple="false"
required="false"
button="false" />
<!-- Row_type Field. Type: List. (joomla)-->
<field type="list"
name="row_type"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ROW_TYPE_DESCRIPTION"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_MULTIPLE</option>
</field>
<!-- As Field. Type: List. (joomla)-->
<field type="list"
name="as"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_AS_LABEL"
class="list_class fieldSmall"
multiple="false"
filter="WORD"
required="false"
default="b">
<!-- Option Set.-->
<option value="b">COM_COMPONENTBUILDER_DYNAMIC_GET_B</option>
<option value="c">COM_COMPONENTBUILDER_DYNAMIC_GET_C</option>
<option value="d">COM_COMPONENTBUILDER_DYNAMIC_GET_D</option>
<option value="e">COM_COMPONENTBUILDER_DYNAMIC_GET_E</option>
<option value="f">COM_COMPONENTBUILDER_DYNAMIC_GET_F</option>
<option value="g">COM_COMPONENTBUILDER_DYNAMIC_GET_G</option>
<option value="h">COM_COMPONENTBUILDER_DYNAMIC_GET_H</option>
<option value="i">COM_COMPONENTBUILDER_DYNAMIC_GET_I</option>
<option value="j">COM_COMPONENTBUILDER_DYNAMIC_GET_J</option>
<option value="k">COM_COMPONENTBUILDER_DYNAMIC_GET_K</option>
<option value="l">COM_COMPONENTBUILDER_DYNAMIC_GET_L</option>
<option value="m">COM_COMPONENTBUILDER_DYNAMIC_GET_M</option>
<option value="n">COM_COMPONENTBUILDER_DYNAMIC_GET_N</option>
<option value="o">COM_COMPONENTBUILDER_DYNAMIC_GET_O</option>
<option value="p">COM_COMPONENTBUILDER_DYNAMIC_GET_P</option>
<option value="q">COM_COMPONENTBUILDER_DYNAMIC_GET_Q</option>
<option value="r">COM_COMPONENTBUILDER_DYNAMIC_GET_R</option>
<option value="s">COM_COMPONENTBUILDER_DYNAMIC_GET_S</option>
<option value="t">COM_COMPONENTBUILDER_DYNAMIC_GET_T</option>
<option value="u">COM_COMPONENTBUILDER_DYNAMIC_GET_U</option>
<option value="v">COM_COMPONENTBUILDER_DYNAMIC_GET_V</option>
<option value="w">COM_COMPONENTBUILDER_DYNAMIC_GET_W</option>
<option value="x">COM_COMPONENTBUILDER_DYNAMIC_GET_X</option>
<option value="y">COM_COMPONENTBUILDER_DYNAMIC_GET_Y</option>
<option value="z">COM_COMPONENTBUILDER_DYNAMIC_GET_Z</option>
<option value="aa">COM_COMPONENTBUILDER_DYNAMIC_GET_AA</option>
<option value="bb">COM_COMPONENTBUILDER_DYNAMIC_GET_BB</option>
<option value="cc">COM_COMPONENTBUILDER_DYNAMIC_GET_CC</option>
<option value="dd">COM_COMPONENTBUILDER_DYNAMIC_GET_DD</option>
<option value="ee">COM_COMPONENTBUILDER_DYNAMIC_GET_EE</option>
<option value="ff">COM_COMPONENTBUILDER_DYNAMIC_GET_FF</option>
<option value="gg">COM_COMPONENTBUILDER_DYNAMIC_GET_GG</option>
<option value="hh">COM_COMPONENTBUILDER_DYNAMIC_GET_HH</option>
<option value="ii">COM_COMPONENTBUILDER_DYNAMIC_GET_II</option>
<option value="jj">COM_COMPONENTBUILDER_DYNAMIC_GET_JJ</option>
<option value="kk">COM_COMPONENTBUILDER_DYNAMIC_GET_KK</option>
<option value="ll">COM_COMPONENTBUILDER_DYNAMIC_GET_LL</option>
<option value="mm">COM_COMPONENTBUILDER_DYNAMIC_GET_MM</option>
<option value="nn">COM_COMPONENTBUILDER_DYNAMIC_GET_NN</option>
<option value="oo">COM_COMPONENTBUILDER_DYNAMIC_GET_OO</option>
<option value="pp">COM_COMPONENTBUILDER_DYNAMIC_GET_PP</option>
<option value="qq">COM_COMPONENTBUILDER_DYNAMIC_GET_QQ</option>
<option value="rr">COM_COMPONENTBUILDER_DYNAMIC_GET_RR</option>
<option value="ss">COM_COMPONENTBUILDER_DYNAMIC_GET_SS</option>
<option value="tt">COM_COMPONENTBUILDER_DYNAMIC_GET_TT</option>
<option value="uu">COM_COMPONENTBUILDER_DYNAMIC_GET_UU</option>
<option value="vv">COM_COMPONENTBUILDER_DYNAMIC_GET_VV</option>
<option value="ww">COM_COMPONENTBUILDER_DYNAMIC_GET_WW</option>
<option value="xx">COM_COMPONENTBUILDER_DYNAMIC_GET_XX</option>
<option value="yy">COM_COMPONENTBUILDER_DYNAMIC_GET_YY</option>
<option value="zz">COM_COMPONENTBUILDER_DYNAMIC_GET_ZZ</option>
</field>
<!-- Type Field. Type: List. (joomla)-->
<field type="list"
name="type"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_TYPE_LABEL"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="1">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_LEFT_OUTER</option>
<option value="3">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_INNER</option>
<option value="4">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT</option>
<option value="5">COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_RIGHT_OUTER</option>
</field>
<!-- On_field Field. Type: Text. (joomla)-->
<field type="text"
name="on_field"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_DESCRIPTION"
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_MESSAGE"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_ON_FIELD_HINT" />
<!-- Operator Field. Type: List. (joomla)-->
<field type="list"
name="operator"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_LABEL"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_OPERATOR_DESCRIPTION"
class="list_class fieldMedium"
multiple="false"
filter="INT"
required="false"
default="0">
<!-- Option Set.-->
<option value="1">COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL</option>
<option value="2">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_EQUAL</option>
<option value="3">COM_COMPONENTBUILDER_DYNAMIC_GET_EQUAL_OR_NOT</option>
<option value="4">COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN</option>
<option value="5">COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN</option>
<option value="6">COM_COMPONENTBUILDER_DYNAMIC_GET_GREATER_THAN_OR_EQUAL</option>
<option value="7">COM_COMPONENTBUILDER_DYNAMIC_GET_LESS_THAN_OR_EQUAL_TO</option>
<option value="8">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_LESS_THAN</option>
<option value="9">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_GREATER_THAN</option>
<option value="10">COM_COMPONENTBUILDER_DYNAMIC_GET_IN</option>
<option value="11">COM_COMPONENTBUILDER_DYNAMIC_GET_NOT_IN</option>
</field>
<!-- Join_field Field. Type: Text. (joomla)-->
<field type="text"
name="join_field"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_LABEL"
size="40"
maxlength="150"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_DESCRIPTION"
class="text_area fieldMedium"
readonly="false"
disabled="false"
required="false"
filter="CMD"
message="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_MESSAGE"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_JOIN_FIELD_HINT" />
<!-- Selection Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="selection"
label="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION"
class="text_area span12"
filter="HTML"
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT"
required="false" />
</form>
</field>
<!-- Php_calculation Field. Type: Textarea. (joomla)-->
<field type="textarea"
name="php_calculation"

View File

@ -23,171 +23,171 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvwagvzt_required = false;
jform_vvvvwahvzu_required = false;
jform_vvvvwaivzv_required = false;
jform_vvvvwajvzw_required = false;
jform_vvvvwamvzx_required = false;
jform_vvvvwanvzy_required = false;
jform_vvvvwaovzz_required = false;
jform_vvvvwapwaa_required = false;
jform_vvvvwajvzv_required = false;
jform_vvvvwakvzw_required = false;
jform_vvvvwalvzx_required = false;
jform_vvvvwamvzy_required = false;
jform_vvvvwapvzz_required = false;
jform_vvvvwaqwaa_required = false;
jform_vvvvwarwab_required = false;
jform_vvvvwaswac_required = false;
// Initial Script
jQuery(document).ready(function()
{
var datalenght_vvvvwag = jQuery("#jform_datalenght").val();
vvvvwag(datalenght_vvvvwag);
var datalenght_vvvvwaj = jQuery("#jform_datalenght").val();
vvvvwaj(datalenght_vvvvwaj);
var datadefault_vvvvwah = jQuery("#jform_datadefault").val();
vvvvwah(datadefault_vvvvwah);
var datadefault_vvvvwak = jQuery("#jform_datadefault").val();
vvvvwak(datadefault_vvvvwak);
var datatype_vvvvwai = jQuery("#jform_datatype").val();
vvvvwai(datatype_vvvvwai);
var datatype_vvvvwal = jQuery("#jform_datatype").val();
vvvvwal(datatype_vvvvwal);
var datatype_vvvvwaj = jQuery("#jform_datatype").val();
vvvvwaj(datatype_vvvvwaj);
var datatype_vvvvwam = jQuery("#jform_datatype").val();
vvvvwam(datatype_vvvvwam);
var store_vvvvwak = jQuery("#jform_store").val();
var datatype_vvvvwak = jQuery("#jform_datatype").val();
vvvvwak(store_vvvvwak,datatype_vvvvwak);
var store_vvvvwan = jQuery("#jform_store").val();
var datatype_vvvvwan = jQuery("#jform_datatype").val();
vvvvwan(store_vvvvwan,datatype_vvvvwan);
var add_css_view_vvvvwam = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwam(add_css_view_vvvvwam);
var add_css_view_vvvvwap = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwap(add_css_view_vvvvwap);
var add_css_views_vvvvwan = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwan(add_css_views_vvvvwan);
var add_css_views_vvvvwaq = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwaq(add_css_views_vvvvwaq);
var add_javascript_view_footer_vvvvwao = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwao(add_javascript_view_footer_vvvvwao);
var add_javascript_view_footer_vvvvwar = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwar(add_javascript_view_footer_vvvvwar);
var add_javascript_views_footer_vvvvwap = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwap(add_javascript_views_footer_vvvvwap);
var add_javascript_views_footer_vvvvwas = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwas(add_javascript_views_footer_vvvvwas);
});
// the vvvvwag function
function vvvvwag(datalenght_vvvvwag)
// the vvvvwaj function
function vvvvwaj(datalenght_vvvvwaj)
{
if (isSet(datalenght_vvvvwag) && datalenght_vvvvwag.constructor !== Array)
if (isSet(datalenght_vvvvwaj) && datalenght_vvvvwaj.constructor !== Array)
{
var temp_vvvvwag = datalenght_vvvvwag;
var datalenght_vvvvwag = [];
datalenght_vvvvwag.push(temp_vvvvwag);
var temp_vvvvwaj = datalenght_vvvvwaj;
var datalenght_vvvvwaj = [];
datalenght_vvvvwaj.push(temp_vvvvwaj);
}
else if (!isSet(datalenght_vvvvwag))
else if (!isSet(datalenght_vvvvwaj))
{
var datalenght_vvvvwag = [];
var datalenght_vvvvwaj = [];
}
var datalenght = datalenght_vvvvwag.some(datalenght_vvvvwag_SomeFunc);
var datalenght = datalenght_vvvvwaj.some(datalenght_vvvvwaj_SomeFunc);
// set this function logic
if (datalenght)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvwagvzt_required)
if (jform_vvvvwajvzv_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvwagvzt_required = false;
jform_vvvvwajvzv_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvwagvzt_required)
if (!jform_vvvvwajvzv_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwagvzt_required = true;
jform_vvvvwajvzv_required = true;
}
}
}
// the vvvvwag Some function
function datalenght_vvvvwag_SomeFunc(datalenght_vvvvwag)
// the vvvvwaj Some function
function datalenght_vvvvwaj_SomeFunc(datalenght_vvvvwaj)
{
// set the function logic
if (datalenght_vvvvwag == 'Other')
if (datalenght_vvvvwaj == 'Other')
{
return true;
}
return false;
}
// the vvvvwah function
function vvvvwah(datadefault_vvvvwah)
// the vvvvwak function
function vvvvwak(datadefault_vvvvwak)
{
if (isSet(datadefault_vvvvwah) && datadefault_vvvvwah.constructor !== Array)
if (isSet(datadefault_vvvvwak) && datadefault_vvvvwak.constructor !== Array)
{
var temp_vvvvwah = datadefault_vvvvwah;
var datadefault_vvvvwah = [];
datadefault_vvvvwah.push(temp_vvvvwah);
var temp_vvvvwak = datadefault_vvvvwak;
var datadefault_vvvvwak = [];
datadefault_vvvvwak.push(temp_vvvvwak);
}
else if (!isSet(datadefault_vvvvwah))
else if (!isSet(datadefault_vvvvwak))
{
var datadefault_vvvvwah = [];
var datadefault_vvvvwak = [];
}
var datadefault = datadefault_vvvvwah.some(datadefault_vvvvwah_SomeFunc);
var datadefault = datadefault_vvvvwak.some(datadefault_vvvvwak_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvwahvzu_required)
if (jform_vvvvwakvzw_required)
{
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwahvzu_required = false;
jform_vvvvwakvzw_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvwahvzu_required)
if (!jform_vvvvwakvzw_required)
{
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwahvzu_required = true;
jform_vvvvwakvzw_required = true;
}
}
}
// the vvvvwah Some function
function datadefault_vvvvwah_SomeFunc(datadefault_vvvvwah)
// the vvvvwak Some function
function datadefault_vvvvwak_SomeFunc(datadefault_vvvvwak)
{
// set the function logic
if (datadefault_vvvvwah == 'Other')
if (datadefault_vvvvwak == 'Other')
{
return true;
}
return false;
}
// the vvvvwai function
function vvvvwai(datatype_vvvvwai)
// the vvvvwal function
function vvvvwal(datatype_vvvvwal)
{
if (isSet(datatype_vvvvwai) && datatype_vvvvwai.constructor !== Array)
if (isSet(datatype_vvvvwal) && datatype_vvvvwal.constructor !== Array)
{
var temp_vvvvwai = datatype_vvvvwai;
var datatype_vvvvwai = [];
datatype_vvvvwai.push(temp_vvvvwai);
var temp_vvvvwal = datatype_vvvvwal;
var datatype_vvvvwal = [];
datatype_vvvvwal.push(temp_vvvvwal);
}
else if (!isSet(datatype_vvvvwai))
else if (!isSet(datatype_vvvvwal))
{
var datatype_vvvvwai = [];
var datatype_vvvvwal = [];
}
var datatype = datatype_vvvvwai.some(datatype_vvvvwai_SomeFunc);
var datatype = datatype_vvvvwal.some(datatype_vvvvwal_SomeFunc);
// set this function logic
@ -196,13 +196,13 @@ function vvvvwai(datatype_vvvvwai)
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvwaivzv_required)
if (jform_vvvvwalvzx_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwaivzv_required = false;
jform_vvvvwalvzx_required = false;
}
}
@ -211,109 +211,109 @@ function vvvvwai(datatype_vvvvwai)
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvwaivzv_required)
if (!jform_vvvvwalvzx_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwaivzv_required = true;
jform_vvvvwalvzx_required = true;
}
}
}
// the vvvvwai Some function
function datatype_vvvvwai_SomeFunc(datatype_vvvvwai)
// the vvvvwal Some function
function datatype_vvvvwal_SomeFunc(datatype_vvvvwal)
{
// set the function logic
if (datatype_vvvvwai == 'CHAR' || datatype_vvvvwai == 'VARCHAR' || datatype_vvvvwai == 'DATETIME' || datatype_vvvvwai == 'DATE' || datatype_vvvvwai == 'TIME' || datatype_vvvvwai == 'INT' || datatype_vvvvwai == 'TINYINT' || datatype_vvvvwai == 'BIGINT' || datatype_vvvvwai == 'FLOAT' || datatype_vvvvwai == 'DECIMAL' || datatype_vvvvwai == 'DOUBLE')
if (datatype_vvvvwal == 'CHAR' || datatype_vvvvwal == 'VARCHAR' || datatype_vvvvwal == 'DATETIME' || datatype_vvvvwal == 'DATE' || datatype_vvvvwal == 'TIME' || datatype_vvvvwal == 'INT' || datatype_vvvvwal == 'TINYINT' || datatype_vvvvwal == 'BIGINT' || datatype_vvvvwal == 'FLOAT' || datatype_vvvvwal == 'DECIMAL' || datatype_vvvvwal == 'DOUBLE')
{
return true;
}
return false;
}
// the vvvvwaj function
function vvvvwaj(datatype_vvvvwaj)
// the vvvvwam function
function vvvvwam(datatype_vvvvwam)
{
if (isSet(datatype_vvvvwaj) && datatype_vvvvwaj.constructor !== Array)
if (isSet(datatype_vvvvwam) && datatype_vvvvwam.constructor !== Array)
{
var temp_vvvvwaj = datatype_vvvvwaj;
var datatype_vvvvwaj = [];
datatype_vvvvwaj.push(temp_vvvvwaj);
var temp_vvvvwam = datatype_vvvvwam;
var datatype_vvvvwam = [];
datatype_vvvvwam.push(temp_vvvvwam);
}
else if (!isSet(datatype_vvvvwaj))
else if (!isSet(datatype_vvvvwam))
{
var datatype_vvvvwaj = [];
var datatype_vvvvwam = [];
}
var datatype = datatype_vvvvwaj.some(datatype_vvvvwaj_SomeFunc);
var datatype = datatype_vvvvwam.some(datatype_vvvvwam_SomeFunc);
// set this function logic
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvwajvzw_required)
if (jform_vvvvwamvzy_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwajvzw_required = false;
jform_vvvvwamvzy_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvwajvzw_required)
if (!jform_vvvvwamvzy_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwajvzw_required = true;
jform_vvvvwamvzy_required = true;
}
}
}
// the vvvvwaj Some function
function datatype_vvvvwaj_SomeFunc(datatype_vvvvwaj)
// the vvvvwam Some function
function datatype_vvvvwam_SomeFunc(datatype_vvvvwam)
{
// set the function logic
if (datatype_vvvvwaj == 'CHAR' || datatype_vvvvwaj == 'VARCHAR' || datatype_vvvvwaj == 'TEXT' || datatype_vvvvwaj == 'MEDIUMTEXT' || datatype_vvvvwaj == 'LONGTEXT')
if (datatype_vvvvwam == 'CHAR' || datatype_vvvvwam == 'VARCHAR' || datatype_vvvvwam == 'TEXT' || datatype_vvvvwam == 'MEDIUMTEXT' || datatype_vvvvwam == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvwak function
function vvvvwak(store_vvvvwak,datatype_vvvvwak)
// the vvvvwan function
function vvvvwan(store_vvvvwan,datatype_vvvvwan)
{
if (isSet(store_vvvvwak) && store_vvvvwak.constructor !== Array)
if (isSet(store_vvvvwan) && store_vvvvwan.constructor !== Array)
{
var temp_vvvvwak = store_vvvvwak;
var store_vvvvwak = [];
store_vvvvwak.push(temp_vvvvwak);
var temp_vvvvwan = store_vvvvwan;
var store_vvvvwan = [];
store_vvvvwan.push(temp_vvvvwan);
}
else if (!isSet(store_vvvvwak))
else if (!isSet(store_vvvvwan))
{
var store_vvvvwak = [];
var store_vvvvwan = [];
}
var store = store_vvvvwak.some(store_vvvvwak_SomeFunc);
var store = store_vvvvwan.some(store_vvvvwan_SomeFunc);
if (isSet(datatype_vvvvwak) && datatype_vvvvwak.constructor !== Array)
if (isSet(datatype_vvvvwan) && datatype_vvvvwan.constructor !== Array)
{
var temp_vvvvwak = datatype_vvvvwak;
var datatype_vvvvwak = [];
datatype_vvvvwak.push(temp_vvvvwak);
var temp_vvvvwan = datatype_vvvvwan;
var datatype_vvvvwan = [];
datatype_vvvvwan.push(temp_vvvvwan);
}
else if (!isSet(datatype_vvvvwak))
else if (!isSet(datatype_vvvvwan))
{
var datatype_vvvvwak = [];
var datatype_vvvvwan = [];
}
var datatype = datatype_vvvvwak.some(datatype_vvvvwak_SomeFunc);
var datatype = datatype_vvvvwan.some(datatype_vvvvwan_SomeFunc);
// set this function logic
@ -327,148 +327,148 @@ function vvvvwak(store_vvvvwak,datatype_vvvvwak)
}
}
// the vvvvwak Some function
function store_vvvvwak_SomeFunc(store_vvvvwak)
// the vvvvwan Some function
function store_vvvvwan_SomeFunc(store_vvvvwan)
{
// set the function logic
if (store_vvvvwak == 4)
if (store_vvvvwan == 4)
{
return true;
}
return false;
}
// the vvvvwak Some function
function datatype_vvvvwak_SomeFunc(datatype_vvvvwak)
// the vvvvwan Some function
function datatype_vvvvwan_SomeFunc(datatype_vvvvwan)
{
// set the function logic
if (datatype_vvvvwak == 'CHAR' || datatype_vvvvwak == 'VARCHAR' || datatype_vvvvwak == 'TEXT' || datatype_vvvvwak == 'MEDIUMTEXT' || datatype_vvvvwak == 'LONGTEXT')
if (datatype_vvvvwan == 'CHAR' || datatype_vvvvwan == 'VARCHAR' || datatype_vvvvwan == 'TEXT' || datatype_vvvvwan == 'MEDIUMTEXT' || datatype_vvvvwan == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvwam function
function vvvvwam(add_css_view_vvvvwam)
// the vvvvwap function
function vvvvwap(add_css_view_vvvvwap)
{
// set the function logic
if (add_css_view_vvvvwam == 1)
if (add_css_view_vvvvwap == 1)
{
jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvwamvzx_required)
if (jform_vvvvwapvzz_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
jform_vvvvwamvzx_required = false;
jform_vvvvwapvzz_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvwamvzx_required)
if (!jform_vvvvwapvzz_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwamvzx_required = true;
jform_vvvvwapvzz_required = true;
}
}
}
// the vvvvwan function
function vvvvwan(add_css_views_vvvvwan)
// the vvvvwaq function
function vvvvwaq(add_css_views_vvvvwaq)
{
// set the function logic
if (add_css_views_vvvvwan == 1)
if (add_css_views_vvvvwaq == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvwanvzy_required)
if (jform_vvvvwaqwaa_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwanvzy_required = false;
jform_vvvvwaqwaa_required = false;
}
}
else
{
jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvwanvzy_required)
if (!jform_vvvvwaqwaa_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvwanvzy_required = true;
jform_vvvvwaqwaa_required = true;
}
}
}
// the vvvvwao function
function vvvvwao(add_javascript_view_footer_vvvvwao)
// the vvvvwar function
function vvvvwar(add_javascript_view_footer_vvvvwar)
{
// set the function logic
if (add_javascript_view_footer_vvvvwao == 1)
if (add_javascript_view_footer_vvvvwar == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvwaovzz_required)
if (jform_vvvvwarwab_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwaovzz_required = false;
jform_vvvvwarwab_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvwaovzz_required)
if (!jform_vvvvwarwab_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwaovzz_required = true;
jform_vvvvwarwab_required = true;
}
}
}
// the vvvvwap function
function vvvvwap(add_javascript_views_footer_vvvvwap)
// the vvvvwas function
function vvvvwas(add_javascript_views_footer_vvvvwas)
{
// set the function logic
if (add_javascript_views_footer_vvvvwap == 1)
if (add_javascript_views_footer_vvvvwas == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvwapwaa_required)
if (jform_vvvvwaswac_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwapwaa_required = false;
jform_vvvvwaswac_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvwapwaa_required)
if (!jform_vvvvwaswac_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwapwaa_required = true;
jform_vvvvwaswac_required = true;
}
}
}

View File

@ -23,289 +23,289 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvwaqwad_required = false;
jform_vvvvwarwae_required = false;
jform_vvvvwaswaf_required = false;
jform_vvvvwatwag_required = false;
jform_vvvvwauwah_required = false;
jform_vvvvwavwai_required = false;
jform_vvvvwatwaf_required = false;
jform_vvvvwauwag_required = false;
jform_vvvvwavwah_required = false;
jform_vvvvwawwai_required = false;
jform_vvvvwaxwaj_required = false;
jform_vvvvwaywak_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvwaq = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwaq(location_vvvvwaq);
var location_vvvvwat = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwat(location_vvvvwat);
var location_vvvvwar = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwar(location_vvvvwar);
var location_vvvvwau = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwau(location_vvvvwau);
var type_vvvvwas = jQuery("#jform_type").val();
vvvvwas(type_vvvvwas);
var type_vvvvwav = jQuery("#jform_type").val();
vvvvwav(type_vvvvwav);
var type_vvvvwat = jQuery("#jform_type").val();
vvvvwat(type_vvvvwat);
var type_vvvvwaw = jQuery("#jform_type").val();
vvvvwaw(type_vvvvwaw);
var type_vvvvwau = jQuery("#jform_type").val();
vvvvwau(type_vvvvwau);
var type_vvvvwax = jQuery("#jform_type").val();
vvvvwax(type_vvvvwax);
var target_vvvvwav = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwav(target_vvvvwav);
var target_vvvvway = jQuery("#jform_target input[type='radio']:checked").val();
vvvvway(target_vvvvway);
});
// the vvvvwaq function
function vvvvwaq(location_vvvvwaq)
// the vvvvwat function
function vvvvwat(location_vvvvwat)
{
// set the function logic
if (location_vvvvwaq == 1)
if (location_vvvvwat == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwaqwad_required)
if (jform_vvvvwatwaf_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvwaqwad_required = false;
jform_vvvvwatwaf_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwaqwad_required)
if (!jform_vvvvwatwaf_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwaqwad_required = true;
jform_vvvvwatwaf_required = true;
}
}
}
// the vvvvwar function
function vvvvwar(location_vvvvwar)
// the vvvvwau function
function vvvvwau(location_vvvvwau)
{
// set the function logic
if (location_vvvvwar == 2)
if (location_vvvvwau == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
if (jform_vvvvwarwae_required)
if (jform_vvvvwauwag_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
jform_vvvvwarwae_required = false;
jform_vvvvwauwag_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvwarwae_required)
if (!jform_vvvvwauwag_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
jform_vvvvwarwae_required = true;
jform_vvvvwauwag_required = true;
}
}
}
// the vvvvwas function
function vvvvwas(type_vvvvwas)
// the vvvvwav function
function vvvvwav(type_vvvvwav)
{
if (isSet(type_vvvvwas) && type_vvvvwas.constructor !== Array)
if (isSet(type_vvvvwav) && type_vvvvwav.constructor !== Array)
{
var temp_vvvvwas = type_vvvvwas;
var type_vvvvwas = [];
type_vvvvwas.push(temp_vvvvwas);
var temp_vvvvwav = type_vvvvwav;
var type_vvvvwav = [];
type_vvvvwav.push(temp_vvvvwav);
}
else if (!isSet(type_vvvvwas))
else if (!isSet(type_vvvvwav))
{
var type_vvvvwas = [];
var type_vvvvwav = [];
}
var type = type_vvvvwas.some(type_vvvvwas_SomeFunc);
var type = type_vvvvwav.some(type_vvvvwav_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvwaswaf_required)
if (jform_vvvvwavwah_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwaswaf_required = false;
jform_vvvvwavwah_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvwaswaf_required)
if (!jform_vvvvwavwah_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwaswaf_required = true;
jform_vvvvwavwah_required = true;
}
}
}
// the vvvvwas Some function
function type_vvvvwas_SomeFunc(type_vvvvwas)
// the vvvvwav Some function
function type_vvvvwav_SomeFunc(type_vvvvwav)
{
// set the function logic
if (type_vvvvwas == 3)
if (type_vvvvwav == 3)
{
return true;
}
return false;
}
// the vvvvwat function
function vvvvwat(type_vvvvwat)
// the vvvvwaw function
function vvvvwaw(type_vvvvwaw)
{
if (isSet(type_vvvvwat) && type_vvvvwat.constructor !== Array)
if (isSet(type_vvvvwaw) && type_vvvvwaw.constructor !== Array)
{
var temp_vvvvwat = type_vvvvwat;
var type_vvvvwat = [];
type_vvvvwat.push(temp_vvvvwat);
var temp_vvvvwaw = type_vvvvwaw;
var type_vvvvwaw = [];
type_vvvvwaw.push(temp_vvvvwaw);
}
else if (!isSet(type_vvvvwat))
else if (!isSet(type_vvvvwaw))
{
var type_vvvvwat = [];
var type_vvvvwaw = [];
}
var type = type_vvvvwat.some(type_vvvvwat_SomeFunc);
var type = type_vvvvwaw.some(type_vvvvwaw_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvwatwag_required)
if (jform_vvvvwawwai_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwatwag_required = false;
jform_vvvvwawwai_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvwatwag_required)
if (!jform_vvvvwawwai_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwatwag_required = true;
jform_vvvvwawwai_required = true;
}
}
}
// the vvvvwat Some function
function type_vvvvwat_SomeFunc(type_vvvvwat)
// the vvvvwaw Some function
function type_vvvvwaw_SomeFunc(type_vvvvwaw)
{
// set the function logic
if (type_vvvvwat == 1)
if (type_vvvvwaw == 1)
{
return true;
}
return false;
}
// the vvvvwau function
function vvvvwau(type_vvvvwau)
// the vvvvwax function
function vvvvwax(type_vvvvwax)
{
if (isSet(type_vvvvwau) && type_vvvvwau.constructor !== Array)
if (isSet(type_vvvvwax) && type_vvvvwax.constructor !== Array)
{
var temp_vvvvwau = type_vvvvwau;
var type_vvvvwau = [];
type_vvvvwau.push(temp_vvvvwau);
var temp_vvvvwax = type_vvvvwax;
var type_vvvvwax = [];
type_vvvvwax.push(temp_vvvvwax);
}
else if (!isSet(type_vvvvwau))
else if (!isSet(type_vvvvwax))
{
var type_vvvvwau = [];
var type_vvvvwax = [];
}
var type = type_vvvvwau.some(type_vvvvwau_SomeFunc);
var type = type_vvvvwax.some(type_vvvvwax_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvwauwah_required)
if (jform_vvvvwaxwaj_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvwauwah_required = false;
jform_vvvvwaxwaj_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvwauwah_required)
if (!jform_vvvvwaxwaj_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwauwah_required = true;
jform_vvvvwaxwaj_required = true;
}
}
}
// the vvvvwau Some function
function type_vvvvwau_SomeFunc(type_vvvvwau)
// the vvvvwax Some function
function type_vvvvwax_SomeFunc(type_vvvvwax)
{
// set the function logic
if (type_vvvvwau == 2)
if (type_vvvvwax == 2)
{
return true;
}
return false;
}
// the vvvvwav function
function vvvvwav(target_vvvvwav)
// the vvvvway function
function vvvvway(target_vvvvway)
{
// set the function logic
if (target_vvvvwav == 1)
if (target_vvvvway == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvwavwai_required)
if (jform_vvvvwaywak_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwavwai_required = false;
jform_vvvvwaywak_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvwavwai_required)
if (!jform_vvvvwaywak_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvwavwai_required = true;
jform_vvvvwaywak_required = true;
}
}
}

View File

@ -23,21 +23,12 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvzzvzr_required = false;
jform_vvvvwafvzs_required = false;
jform_vvvvwacvzt_required = false;
jform_vvvvwaivzu_required = false;
// Initial Script
jQuery(document).ready(function()
{
var how_vvvvvzy = jQuery("#jform_how").val();
vvvvvzy(how_vvvvvzy);
var how_vvvvvzz = jQuery("#jform_how").val();
vvvvvzz(how_vvvvvzz);
var how_vvvvwaa = jQuery("#jform_how").val();
vvvvwaa(how_vvvvwaa);
var how_vvvvwab = jQuery("#jform_how").val();
vvvvwab(how_vvvvwab);
@ -50,141 +41,19 @@ jQuery(document).ready(function()
var how_vvvvwae = jQuery("#jform_how").val();
vvvvwae(how_vvvvwae);
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf);
var how_vvvvwaf = jQuery("#jform_how").val();
vvvvwaf(how_vvvvwaf);
var how_vvvvwag = jQuery("#jform_how").val();
vvvvwag(how_vvvvwag);
var how_vvvvwah = jQuery("#jform_how").val();
vvvvwah(how_vvvvwah);
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwai(type_vvvvwai);
});
// the vvvvvzy function
function vvvvvzy(how_vvvvvzy)
{
if (isSet(how_vvvvvzy) && how_vvvvvzy.constructor !== Array)
{
var temp_vvvvvzy = how_vvvvvzy;
var how_vvvvvzy = [];
how_vvvvvzy.push(temp_vvvvvzy);
}
else if (!isSet(how_vvvvvzy))
{
var how_vvvvvzy = [];
}
var how = how_vvvvvzy.some(how_vvvvvzy_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
// the vvvvvzy Some function
function how_vvvvvzy_SomeFunc(how_vvvvvzy)
{
// set the function logic
if (how_vvvvvzy == 2)
{
return true;
}
return false;
}
// the vvvvvzz function
function vvvvvzz(how_vvvvvzz)
{
if (isSet(how_vvvvvzz) && how_vvvvvzz.constructor !== Array)
{
var temp_vvvvvzz = how_vvvvvzz;
var how_vvvvvzz = [];
how_vvvvvzz.push(temp_vvvvvzz);
}
else if (!isSet(how_vvvvvzz))
{
var how_vvvvvzz = [];
}
var how = how_vvvvvzz.some(how_vvvvvzz_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_php_setdocument').closest('.control-group').show();
if (jform_vvvvvzzvzr_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvvzzvzr_required = false;
}
}
else
{
jQuery('#jform_php_setdocument').closest('.control-group').hide();
if (!jform_vvvvvzzvzr_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvvzzvzr_required = true;
}
}
}
// the vvvvvzz Some function
function how_vvvvvzz_SomeFunc(how_vvvvvzz)
{
// set the function logic
if (how_vvvvvzz == 3)
{
return true;
}
return false;
}
// the vvvvwaa function
function vvvvwaa(how_vvvvwaa)
{
if (isSet(how_vvvvwaa) && how_vvvvwaa.constructor !== Array)
{
var temp_vvvvwaa = how_vvvvwaa;
var how_vvvvwaa = [];
how_vvvvwaa.push(temp_vvvvwaa);
}
else if (!isSet(how_vvvvwaa))
{
var how_vvvvwaa = [];
}
var how = how_vvvvwaa.some(how_vvvvwaa_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
// the vvvvwaa Some function
function how_vvvvwaa_SomeFunc(how_vvvvwaa)
{
// set the function logic
if (how_vvvvwaa == 2 || how_vvvvwaa == 3)
{
return true;
}
return false;
}
// the vvvvwab function
function vvvvwab(how_vvvvwab)
{
@ -204,11 +73,11 @@ function vvvvwab(how_vvvvwab)
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
@ -216,7 +85,7 @@ function vvvvwab(how_vvvvwab)
function how_vvvvwab_SomeFunc(how_vvvvwab)
{
// set the function logic
if (how_vvvvwab == 1 || how_vvvvwab == 2 || how_vvvvwab == 3)
if (how_vvvvwab == 2)
{
return true;
}
@ -242,15 +111,28 @@ function vvvvwac(how_vvvvwac)
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
jQuery('#jform_php_setdocument').closest('.control-group').show();
if (jform_vvvvwacvzt_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvwacvzt_required = false;
}
}
else
{
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
jQuery('#jform_php_setdocument').closest('.control-group').hide();
if (!jform_vvvvwacvzt_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvwacvzt_required = true;
}
}
}
@ -258,7 +140,7 @@ function vvvvwac(how_vvvvwac)
function how_vvvvwac_SomeFunc(how_vvvvwac)
{
// set the function logic
if (how_vvvvwac == 0)
if (how_vvvvwac == 3)
{
return true;
}
@ -284,13 +166,11 @@ function vvvvwad(how_vvvvwad)
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
@ -298,7 +178,7 @@ function vvvvwad(how_vvvvwad)
function how_vvvvwad_SomeFunc(how_vvvvwad)
{
// set the function logic
if (how_vvvvwad == 1)
if (how_vvvvwad == 2 || how_vvvvwad == 3)
{
return true;
}
@ -321,6 +201,126 @@ function vvvvwae(how_vvvvwae)
var how = how_vvvvwae.some(how_vvvvwae_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
// the vvvvwae Some function
function how_vvvvwae_SomeFunc(how_vvvvwae)
{
// set the function logic
if (how_vvvvwae == 1 || how_vvvvwae == 2 || how_vvvvwae == 3)
{
return true;
}
return false;
}
// the vvvvwaf function
function vvvvwaf(how_vvvvwaf)
{
if (isSet(how_vvvvwaf) && how_vvvvwaf.constructor !== Array)
{
var temp_vvvvwaf = how_vvvvwaf;
var how_vvvvwaf = [];
how_vvvvwaf.push(temp_vvvvwaf);
}
else if (!isSet(how_vvvvwaf))
{
var how_vvvvwaf = [];
}
var how = how_vvvvwaf.some(how_vvvvwaf_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
// the vvvvwaf Some function
function how_vvvvwaf_SomeFunc(how_vvvvwaf)
{
// set the function logic
if (how_vvvvwaf == 0)
{
return true;
}
return false;
}
// the vvvvwag function
function vvvvwag(how_vvvvwag)
{
if (isSet(how_vvvvwag) && how_vvvvwag.constructor !== Array)
{
var temp_vvvvwag = how_vvvvwag;
var how_vvvvwag = [];
how_vvvvwag.push(temp_vvvvwag);
}
else if (!isSet(how_vvvvwag))
{
var how_vvvvwag = [];
}
var how = how_vvvvwag.some(how_vvvvwag_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
}
}
// the vvvvwag Some function
function how_vvvvwag_SomeFunc(how_vvvvwag)
{
// set the function logic
if (how_vvvvwag == 1)
{
return true;
}
return false;
}
// the vvvvwah function
function vvvvwah(how_vvvvwah)
{
if (isSet(how_vvvvwah) && how_vvvvwah.constructor !== Array)
{
var temp_vvvvwah = how_vvvvwah;
var how_vvvvwah = [];
how_vvvvwah.push(temp_vvvvwah);
}
else if (!isSet(how_vvvvwah))
{
var how_vvvvwah = [];
}
var how = how_vvvvwah.some(how_vvvvwah_SomeFunc);
// set this function logic
if (how)
{
@ -336,44 +336,44 @@ function vvvvwae(how_vvvvwae)
}
}
// the vvvvwae Some function
function how_vvvvwae_SomeFunc(how_vvvvwae)
// the vvvvwah Some function
function how_vvvvwah_SomeFunc(how_vvvvwah)
{
// set the function logic
if (how_vvvvwae == 4)
if (how_vvvvwah == 4)
{
return true;
}
return false;
}
// the vvvvwaf function
function vvvvwaf(type_vvvvwaf)
// the vvvvwai function
function vvvvwai(type_vvvvwai)
{
// set the function logic
if (type_vvvvwaf == 2)
if (type_vvvvwai == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
if (jform_vvvvwafvzs_required)
if (jform_vvvvwaivzu_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
jform_vvvvwafvzs_required = false;
jform_vvvvwaivzu_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
if (!jform_vvvvwafvzs_required)
if (!jform_vvvvwaivzu_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
jform_vvvvwafvzs_required = true;
jform_vvvvwaivzu_required = true;
}
}
}

View File

@ -122,7 +122,7 @@ class ComponentbuilderModelFtp extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getWaclinked_components()
public function getWaelinked_components()
{
// Get the user object.
$user = JFactory::getUser();