Moved the phpseclib files to their own folder in libraries. Improved the composer autoloader in JCB. Improved the phpseclib class implementation. Added a new Expert Mode to field modeling under the database tab in the field area.
This commit is contained in:
@ -2365,7 +2365,7 @@ class ComponentbuilderModelAjax extends JModelList
|
||||
),
|
||||
// #__componentbuilder_field (i)
|
||||
'field' => array(
|
||||
'search' => array('id', 'name', 'xml', 'javascript_view_footer', 'javascript_views_footer'),
|
||||
'search' => array('id', 'name', 'xml', 'javascript_view_footer', 'javascript_views_footer', 'on_save_model_field', 'on_get_model_field', 'initiator_on_save_model', 'initiator_on_get_model'),
|
||||
'views' => 'fields',
|
||||
'not_base64' => array('xml' => 'json'),
|
||||
'base64_search' => array('xml' => array('start' => 'type_php', '_start' => '="', 'end' => '"')),
|
||||
|
@ -51,7 +51,12 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
'indexes',
|
||||
'null_switch',
|
||||
'store',
|
||||
'note_whmcs_encryption'
|
||||
'note_whmcs_encryption',
|
||||
'note_expert_field_save_mode',
|
||||
'initiator_on_save_model',
|
||||
'initiator_on_get_model',
|
||||
'on_save_model_field',
|
||||
'on_get_model_field'
|
||||
),
|
||||
'fullwidth' => array(
|
||||
'note_no_database_settings_needed',
|
||||
@ -154,10 +159,22 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->css_views))
|
||||
if (!empty($item->on_get_model_field))
|
||||
{
|
||||
// base64 Decode css_views.
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
// base64 Decode on_get_model_field.
|
||||
$item->on_get_model_field = base64_decode($item->on_get_model_field);
|
||||
}
|
||||
|
||||
if (!empty($item->on_save_model_field))
|
||||
{
|
||||
// base64 Decode on_save_model_field.
|
||||
$item->on_save_model_field = base64_decode($item->on_save_model_field);
|
||||
}
|
||||
|
||||
if (!empty($item->initiator_on_get_model))
|
||||
{
|
||||
// base64 Decode initiator_on_get_model.
|
||||
$item->initiator_on_get_model = base64_decode($item->initiator_on_get_model);
|
||||
}
|
||||
|
||||
if (!empty($item->css_view))
|
||||
@ -166,6 +183,12 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
$item->css_view = base64_decode($item->css_view);
|
||||
}
|
||||
|
||||
if (!empty($item->css_views))
|
||||
{
|
||||
// base64 Decode css_views.
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript_view_footer))
|
||||
{
|
||||
// base64 Decode javascript_view_footer.
|
||||
@ -178,6 +201,12 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||
}
|
||||
|
||||
if (!empty($item->initiator_on_save_model))
|
||||
{
|
||||
// base64 Decode initiator_on_save_model.
|
||||
$item->initiator_on_save_model = base64_decode($item->initiator_on_save_model);
|
||||
}
|
||||
|
||||
if (!empty($item->xml))
|
||||
{
|
||||
// JSON Decode xml.
|
||||
@ -1067,10 +1096,22 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
$data['xml'] = (string) json_encode($data['xml']);
|
||||
}
|
||||
|
||||
// Set the css_views string to base64 string.
|
||||
if (isset($data['css_views']))
|
||||
// Set the on_get_model_field string to base64 string.
|
||||
if (isset($data['on_get_model_field']))
|
||||
{
|
||||
$data['css_views'] = base64_encode($data['css_views']);
|
||||
$data['on_get_model_field'] = base64_encode($data['on_get_model_field']);
|
||||
}
|
||||
|
||||
// Set the on_save_model_field string to base64 string.
|
||||
if (isset($data['on_save_model_field']))
|
||||
{
|
||||
$data['on_save_model_field'] = base64_encode($data['on_save_model_field']);
|
||||
}
|
||||
|
||||
// Set the initiator_on_get_model string to base64 string.
|
||||
if (isset($data['initiator_on_get_model']))
|
||||
{
|
||||
$data['initiator_on_get_model'] = base64_encode($data['initiator_on_get_model']);
|
||||
}
|
||||
|
||||
// Set the css_view string to base64 string.
|
||||
@ -1079,6 +1120,12 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
$data['css_view'] = base64_encode($data['css_view']);
|
||||
}
|
||||
|
||||
// Set the css_views string to base64 string.
|
||||
if (isset($data['css_views']))
|
||||
{
|
||||
$data['css_views'] = base64_encode($data['css_views']);
|
||||
}
|
||||
|
||||
// Set the javascript_view_footer string to base64 string.
|
||||
if (isset($data['javascript_view_footer']))
|
||||
{
|
||||
@ -1089,6 +1136,12 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
if (isset($data['javascript_views_footer']))
|
||||
{
|
||||
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
|
||||
}
|
||||
|
||||
// Set the initiator_on_save_model string to base64 string.
|
||||
if (isset($data['initiator_on_save_model']))
|
||||
{
|
||||
$data['initiator_on_save_model'] = base64_encode($data['initiator_on_save_model']);
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
|
@ -233,7 +233,8 @@ class ComponentbuilderModelFields extends JModelList
|
||||
2 => 'COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR',
|
||||
3 => 'COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY',
|
||||
5 => 'COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY',
|
||||
4 => 'COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION'
|
||||
4 => 'COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION',
|
||||
6 => 'COM_COMPONENTBUILDER_FIELD_EXPERT_MODE_CUSTOM'
|
||||
);
|
||||
// Now check if value is found in this array
|
||||
if (isset($storeArray[$value]) && ComponentbuilderHelper::checkString($storeArray[$value]))
|
||||
@ -428,14 +429,22 @@ class ComponentbuilderModelFields extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode css_views
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
// decode on_get_model_field
|
||||
$item->on_get_model_field = base64_decode($item->on_get_model_field);
|
||||
// decode on_save_model_field
|
||||
$item->on_save_model_field = base64_decode($item->on_save_model_field);
|
||||
// decode initiator_on_get_model
|
||||
$item->initiator_on_get_model = base64_decode($item->initiator_on_get_model);
|
||||
// decode css_view
|
||||
$item->css_view = base64_decode($item->css_view);
|
||||
// decode css_views
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
// decode javascript_view_footer
|
||||
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
||||
// decode javascript_views_footer
|
||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||
// decode initiator_on_save_model
|
||||
$item->initiator_on_save_model = base64_decode($item->initiator_on_save_model);
|
||||
// unset the values we don't want exported.
|
||||
unset($item->asset_id);
|
||||
unset($item->checked_out);
|
||||
|
@ -139,22 +139,24 @@ class JFormFieldLibraries extends JFormFieldList
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','libraries_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->libraries_name);
|
||||
}
|
||||
}
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','libraries_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->where($db->quoteName('a.target') . ' = 1');
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->libraries_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
@ -139,30 +139,32 @@ class JFormFieldLibrariesx extends JFormFieldList
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
// get the input from url
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
// get the library id
|
||||
$libID = $jinput->getInt('id', 0);
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','libraries_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
// get the input from url
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
// get the library id
|
||||
$libID = $jinput->getInt('id', 0);
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','libraries_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->where($db->quoteName('a.target') . ' = 1');
|
||||
if ($libID > 0)
|
||||
{
|
||||
$query->where($db->quoteName('a.id') . ' != ' . (int) $libID);
|
||||
}
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->libraries_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->libraries_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
@ -139,24 +139,25 @@ class JFormFieldLibrary extends JFormFieldList
|
||||
*/
|
||||
protected function getOptions()
|
||||
{
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','library_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('a.id','a.name'),array('id','library_name')));
|
||||
$query->from($db->quoteName('#__componentbuilder_library', 'a'));
|
||||
$query->where($db->quoteName('a.published') . ' >= 1');
|
||||
$query->where($db->quoteName('a.type') . ' = 1');
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->library_name);
|
||||
}
|
||||
}
|
||||
$query->where($db->quoteName('a.type') . ' = 1');
|
||||
$query->order('a.name ASC');
|
||||
$db->setQuery((string)$query);
|
||||
$items = $db->loadObjectList();
|
||||
$options = array();
|
||||
if ($items)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', '', 'Select an option');
|
||||
foreach($items as $item)
|
||||
{
|
||||
$options[] = JHtml::_('select.option', $item->id, $item->library_name);
|
||||
}
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVxyfields()
|
||||
public function getVyifields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -291,13 +291,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationVxyfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationVyifields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationVxyfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationVyifields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationVxyfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationVyifields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationVxyfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationVyifields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -311,7 +311,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationVxyfields($value,$name)
|
||||
public function selectionTranslationVyifields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
@ -379,7 +379,8 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
2 => 'COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR',
|
||||
3 => 'COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY',
|
||||
5 => 'COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY',
|
||||
4 => 'COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION'
|
||||
4 => 'COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION',
|
||||
6 => 'COM_COMPONENTBUILDER_FIELD_EXPERT_MODE_CUSTOM'
|
||||
);
|
||||
// Now check if value is found in this array
|
||||
if (isset($storeArray[$value]) && ComponentbuilderHelper::checkString($storeArray[$value]))
|
||||
|
@ -9,61 +9,77 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbtvxl_required = false;
|
||||
jform_vvvvwbuvxm_required = false;
|
||||
jform_vvvvwbvvxn_required = false;
|
||||
jform_vvvvwbwvxo_required = false;
|
||||
jform_vvvvwbxvxp_required = false;
|
||||
jform_vvvvwccvxn_required = false;
|
||||
jform_vvvvwcdvxo_required = false;
|
||||
jform_vvvvwcevxp_required = false;
|
||||
jform_vvvvwcfvxq_required = false;
|
||||
jform_vvvvwcgvxr_required = false;
|
||||
jform_vvvvwcjvxs_required = false;
|
||||
jform_vvvvwcjvxt_required = false;
|
||||
jform_vvvvwcjvxu_required = false;
|
||||
jform_vvvvwcjvxv_required = false;
|
||||
jform_vvvvwckvxw_required = false;
|
||||
jform_vvvvwckvxx_required = false;
|
||||
jform_vvvvwckvxy_required = false;
|
||||
jform_vvvvwckvxz_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwbt = jQuery("#jform_datalenght").val();
|
||||
vvvvwbt(datalenght_vvvvwbt);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
vvvvwcc(datalenght_vvvvwcc);
|
||||
|
||||
var datadefault_vvvvwbu = jQuery("#jform_datadefault").val();
|
||||
vvvvwbu(datadefault_vvvvwbu);
|
||||
var datadefault_vvvvwcd = jQuery("#jform_datadefault").val();
|
||||
vvvvwcd(datadefault_vvvvwcd);
|
||||
|
||||
var datatype_vvvvwbv = jQuery("#jform_datatype").val();
|
||||
vvvvwbv(datatype_vvvvwbv);
|
||||
var datatype_vvvvwce = jQuery("#jform_datatype").val();
|
||||
vvvvwce(datatype_vvvvwce);
|
||||
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(datatype_vvvvwbw);
|
||||
var datatype_vvvvwcf = jQuery("#jform_datatype").val();
|
||||
vvvvwcf(datatype_vvvvwcf);
|
||||
|
||||
var datatype_vvvvwbx = jQuery("#jform_datatype").val();
|
||||
vvvvwbx(datatype_vvvvwbx);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
vvvvwcg(datatype_vvvvwcg);
|
||||
|
||||
var store_vvvvwby = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwby = jQuery("#jform_datatype").val();
|
||||
vvvvwby(store_vvvvwby,datatype_vvvvwby);
|
||||
var store_vvvvwch = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(store_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
var add_css_view_vvvvwca = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwca(add_css_view_vvvvwca);
|
||||
var store_vvvvwcj = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcj = jQuery("#jform_datatype").val();
|
||||
vvvvwcj(store_vvvvwcj,datatype_vvvvwcj);
|
||||
|
||||
var add_css_views_vvvvwcb = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwcb(add_css_views_vvvvwcb);
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
vvvvwck(datatype_vvvvwck,store_vvvvwck);
|
||||
|
||||
var add_javascript_view_footer_vvvvwcc = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwcc(add_javascript_view_footer_vvvvwcc);
|
||||
var add_css_view_vvvvwcl = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwcl(add_css_view_vvvvwcl);
|
||||
|
||||
var add_javascript_views_footer_vvvvwcd = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwcd(add_javascript_views_footer_vvvvwcd);
|
||||
var add_css_views_vvvvwcm = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwcm(add_css_views_vvvvwcm);
|
||||
|
||||
var add_javascript_view_footer_vvvvwcn = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwcn(add_javascript_view_footer_vvvvwcn);
|
||||
|
||||
var add_javascript_views_footer_vvvvwco = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwco(add_javascript_views_footer_vvvvwco);
|
||||
});
|
||||
|
||||
// the vvvvwbt function
|
||||
function vvvvwbt(datalenght_vvvvwbt)
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(datalenght_vvvvwcc)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwbt) && datalenght_vvvvwbt.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwcc) && datalenght_vvvvwcc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = datalenght_vvvvwbt;
|
||||
var datalenght_vvvvwbt = [];
|
||||
datalenght_vvvvwbt.push(temp_vvvvwbt);
|
||||
var temp_vvvvwcc = datalenght_vvvvwcc;
|
||||
var datalenght_vvvvwcc = [];
|
||||
datalenght_vvvvwcc.push(temp_vvvvwcc);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwbt))
|
||||
else if (!isSet(datalenght_vvvvwcc))
|
||||
{
|
||||
var datalenght_vvvvwbt = [];
|
||||
var datalenght_vvvvwcc = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwbt.some(datalenght_vvvvwbt_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwcc.some(datalenght_vvvvwcc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -71,55 +87,55 @@ function vvvvwbt(datalenght_vvvvwbt)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
// add required attribute to datalenght_other field
|
||||
if (jform_vvvvwbtvxl_required)
|
||||
if (jform_vvvvwccvxn_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_vvvvwbtvxl_required = false;
|
||||
jform_vvvvwccvxn_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwbtvxl_required)
|
||||
if (!jform_vvvvwccvxn_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_vvvvwbtvxl_required = true;
|
||||
jform_vvvvwccvxn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbt Some function
|
||||
function datalenght_vvvvwbt_SomeFunc(datalenght_vvvvwbt)
|
||||
// the vvvvwcc Some function
|
||||
function datalenght_vvvvwcc_SomeFunc(datalenght_vvvvwcc)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwbt == 'Other')
|
||||
if (datalenght_vvvvwcc == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu function
|
||||
function vvvvwbu(datadefault_vvvvwbu)
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(datadefault_vvvvwcd)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwbu) && datadefault_vvvvwbu.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwcd) && datadefault_vvvvwcd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = datadefault_vvvvwbu;
|
||||
var datadefault_vvvvwbu = [];
|
||||
datadefault_vvvvwbu.push(temp_vvvvwbu);
|
||||
var temp_vvvvwcd = datadefault_vvvvwcd;
|
||||
var datadefault_vvvvwcd = [];
|
||||
datadefault_vvvvwcd.push(temp_vvvvwcd);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwbu))
|
||||
else if (!isSet(datadefault_vvvvwcd))
|
||||
{
|
||||
var datadefault_vvvvwbu = [];
|
||||
var datadefault_vvvvwcd = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwbu.some(datadefault_vvvvwbu_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwcd.some(datadefault_vvvvwcd_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -127,55 +143,55 @@ function vvvvwbu(datadefault_vvvvwbu)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwbuvxm_required)
|
||||
if (jform_vvvvwcdvxo_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_vvvvwbuvxm_required = false;
|
||||
jform_vvvvwcdvxo_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwbuvxm_required)
|
||||
if (!jform_vvvvwcdvxo_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_vvvvwbuvxm_required = true;
|
||||
jform_vvvvwcdvxo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbu Some function
|
||||
function datadefault_vvvvwbu_SomeFunc(datadefault_vvvvwbu)
|
||||
// the vvvvwcd Some function
|
||||
function datadefault_vvvvwcd_SomeFunc(datadefault_vvvvwcd)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwbu == 'Other')
|
||||
if (datadefault_vvvvwcd == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbv function
|
||||
function vvvvwbv(datatype_vvvvwbv)
|
||||
// the vvvvwce function
|
||||
function vvvvwce(datatype_vvvvwce)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbv) && datatype_vvvvwbv.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwce) && datatype_vvvvwce.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbv = datatype_vvvvwbv;
|
||||
var datatype_vvvvwbv = [];
|
||||
datatype_vvvvwbv.push(temp_vvvvwbv);
|
||||
var temp_vvvvwce = datatype_vvvvwce;
|
||||
var datatype_vvvvwce = [];
|
||||
datatype_vvvvwce.push(temp_vvvvwce);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbv))
|
||||
else if (!isSet(datatype_vvvvwce))
|
||||
{
|
||||
var datatype_vvvvwbv = [];
|
||||
var datatype_vvvvwce = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbv.some(datatype_vvvvwbv_SomeFunc);
|
||||
var datatype = datatype_vvvvwce.some(datatype_vvvvwce_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -184,13 +200,13 @@ function vvvvwbv(datatype_vvvvwbv)
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwbvvxn_required)
|
||||
if (jform_vvvvwcevxp_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwbvvxn_required = false;
|
||||
jform_vvvvwcevxp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -198,42 +214,42 @@ function vvvvwbv(datatype_vvvvwbv)
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwbvvxn_required)
|
||||
if (!jform_vvvvwcevxp_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwbvvxn_required = true;
|
||||
jform_vvvvwcevxp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbv Some function
|
||||
function datatype_vvvvwbv_SomeFunc(datatype_vvvvwbv)
|
||||
// the vvvvwce Some function
|
||||
function datatype_vvvvwce_SomeFunc(datatype_vvvvwce)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbv == 'CHAR' || datatype_vvvvwbv == 'VARCHAR' || datatype_vvvvwbv == 'DATETIME' || datatype_vvvvwbv == 'DATE' || datatype_vvvvwbv == 'TIME' || datatype_vvvvwbv == 'INT' || datatype_vvvvwbv == 'TINYINT' || datatype_vvvvwbv == 'BIGINT' || datatype_vvvvwbv == 'FLOAT' || datatype_vvvvwbv == 'DECIMAL' || datatype_vvvvwbv == 'DOUBLE')
|
||||
if (datatype_vvvvwce == 'CHAR' || datatype_vvvvwce == 'VARCHAR' || datatype_vvvvwce == 'DATETIME' || datatype_vvvvwce == 'DATE' || datatype_vvvvwce == 'TIME' || datatype_vvvvwce == 'INT' || datatype_vvvvwce == 'TINYINT' || datatype_vvvvwce == 'BIGINT' || datatype_vvvvwce == 'FLOAT' || datatype_vvvvwce == 'DECIMAL' || datatype_vvvvwce == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbw function
|
||||
function vvvvwbw(datatype_vvvvwbw)
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(datatype_vvvvwcf)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbw) && datatype_vvvvwbw.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwcf) && datatype_vvvvwcf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbw = datatype_vvvvwbw;
|
||||
var datatype_vvvvwbw = [];
|
||||
datatype_vvvvwbw.push(temp_vvvvwbw);
|
||||
var temp_vvvvwcf = datatype_vvvvwcf;
|
||||
var datatype_vvvvwcf = [];
|
||||
datatype_vvvvwcf.push(temp_vvvvwcf);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbw))
|
||||
else if (!isSet(datatype_vvvvwcf))
|
||||
{
|
||||
var datatype_vvvvwbw = [];
|
||||
var datatype_vvvvwcf = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbw.some(datatype_vvvvwbw_SomeFunc);
|
||||
var datatype = datatype_vvvvwcf.some(datatype_vvvvwcf_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -241,55 +257,55 @@ function vvvvwbw(datatype_vvvvwbw)
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
// add required attribute to datalenght field
|
||||
if (jform_vvvvwbwvxo_required)
|
||||
if (jform_vvvvwcfvxq_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',0);
|
||||
jQuery('#jform_datalenght').prop('required','required');
|
||||
jQuery('#jform_datalenght').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght').addClass('required');
|
||||
jform_vvvvwbwvxo_required = false;
|
||||
jform_vvvvwcfvxq_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght field
|
||||
if (!jform_vvvvwbwvxo_required)
|
||||
if (!jform_vvvvwcfvxq_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',1);
|
||||
jQuery('#jform_datalenght').removeAttr('required');
|
||||
jQuery('#jform_datalenght').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght').removeClass('required');
|
||||
jform_vvvvwbwvxo_required = true;
|
||||
jform_vvvvwcfvxq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbw Some function
|
||||
function datatype_vvvvwbw_SomeFunc(datatype_vvvvwbw)
|
||||
// the vvvvwcf Some function
|
||||
function datatype_vvvvwcf_SomeFunc(datatype_vvvvwcf)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbw == 'CHAR' || datatype_vvvvwbw == 'VARCHAR' || datatype_vvvvwbw == 'INT' || datatype_vvvvwbw == 'TINYINT' || datatype_vvvvwbw == 'BIGINT' || datatype_vvvvwbw == 'FLOAT' || datatype_vvvvwbw == 'DECIMAL' || datatype_vvvvwbw == 'DOUBLE')
|
||||
if (datatype_vvvvwcf == 'CHAR' || datatype_vvvvwcf == 'VARCHAR' || datatype_vvvvwcf == 'INT' || datatype_vvvvwcf == 'TINYINT' || datatype_vvvvwcf == 'BIGINT' || datatype_vvvvwcf == 'FLOAT' || datatype_vvvvwcf == 'DECIMAL' || datatype_vvvvwcf == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbx function
|
||||
function vvvvwbx(datatype_vvvvwbx)
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(datatype_vvvvwcg)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbx) && datatype_vvvvwbx.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwcg) && datatype_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbx = datatype_vvvvwbx;
|
||||
var datatype_vvvvwbx = [];
|
||||
datatype_vvvvwbx.push(temp_vvvvwbx);
|
||||
var temp_vvvvwcg = datatype_vvvvwcg;
|
||||
var datatype_vvvvwcg = [];
|
||||
datatype_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbx))
|
||||
else if (!isSet(datatype_vvvvwcg))
|
||||
{
|
||||
var datatype_vvvvwbx = [];
|
||||
var datatype_vvvvwcg = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbx.some(datatype_vvvvwbx_SomeFunc);
|
||||
var datatype = datatype_vvvvwcg.some(datatype_vvvvwcg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -297,67 +313,67 @@ function vvvvwbx(datatype_vvvvwbx)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
// add required attribute to store field
|
||||
if (jform_vvvvwbxvxp_required)
|
||||
if (jform_vvvvwcgvxr_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwbxvxp_required = false;
|
||||
jform_vvvvwcgvxr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
// remove required attribute from store field
|
||||
if (!jform_vvvvwbxvxp_required)
|
||||
if (!jform_vvvvwcgvxr_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwbxvxp_required = true;
|
||||
jform_vvvvwcgvxr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbx Some function
|
||||
function datatype_vvvvwbx_SomeFunc(datatype_vvvvwbx)
|
||||
// the vvvvwcg Some function
|
||||
function datatype_vvvvwcg_SomeFunc(datatype_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbx == 'CHAR' || datatype_vvvvwbx == 'VARCHAR' || datatype_vvvvwbx == 'TEXT' || datatype_vvvvwbx == 'MEDIUMTEXT' || datatype_vvvvwbx == 'LONGTEXT' || datatype_vvvvwbx == 'BLOB' || datatype_vvvvwbx == 'TINYBLOB' || datatype_vvvvwbx == 'MEDIUMBLOB' || datatype_vvvvwbx == 'LONGBLOB')
|
||||
if (datatype_vvvvwcg == 'CHAR' || datatype_vvvvwcg == 'VARCHAR' || datatype_vvvvwcg == 'TEXT' || datatype_vvvvwcg == 'MEDIUMTEXT' || datatype_vvvvwcg == 'LONGTEXT' || datatype_vvvvwcg == 'BLOB' || datatype_vvvvwcg == 'TINYBLOB' || datatype_vvvvwcg == 'MEDIUMBLOB' || datatype_vvvvwcg == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby function
|
||||
function vvvvwby(store_vvvvwby,datatype_vvvvwby)
|
||||
// the vvvvwch function
|
||||
function vvvvwch(store_vvvvwch,datatype_vvvvwch)
|
||||
{
|
||||
if (isSet(store_vvvvwby) && store_vvvvwby.constructor !== Array)
|
||||
if (isSet(store_vvvvwch) && store_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = store_vvvvwby;
|
||||
var store_vvvvwby = [];
|
||||
store_vvvvwby.push(temp_vvvvwby);
|
||||
var temp_vvvvwch = store_vvvvwch;
|
||||
var store_vvvvwch = [];
|
||||
store_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(store_vvvvwby))
|
||||
else if (!isSet(store_vvvvwch))
|
||||
{
|
||||
var store_vvvvwby = [];
|
||||
var store_vvvvwch = [];
|
||||
}
|
||||
var store = store_vvvvwby.some(store_vvvvwby_SomeFunc);
|
||||
var store = store_vvvvwch.some(store_vvvvwch_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwby) && datatype_vvvvwby.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwch) && datatype_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = datatype_vvvvwby;
|
||||
var datatype_vvvvwby = [];
|
||||
datatype_vvvvwby.push(temp_vvvvwby);
|
||||
var temp_vvvvwch = datatype_vvvvwch;
|
||||
var datatype_vvvvwch = [];
|
||||
datatype_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwby))
|
||||
else if (!isSet(datatype_vvvvwch))
|
||||
{
|
||||
var datatype_vvvvwby = [];
|
||||
var datatype_vvvvwch = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwby.some(datatype_vvvvwby_SomeFunc);
|
||||
var datatype = datatype_vvvvwch.some(datatype_vvvvwch_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -371,33 +387,315 @@ function vvvvwby(store_vvvvwby,datatype_vvvvwby)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function store_vvvvwby_SomeFunc(store_vvvvwby)
|
||||
// the vvvvwch Some function
|
||||
function store_vvvvwch_SomeFunc(store_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwby == 4)
|
||||
if (store_vvvvwch == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function datatype_vvvvwby_SomeFunc(datatype_vvvvwby)
|
||||
// the vvvvwch Some function
|
||||
function datatype_vvvvwch_SomeFunc(datatype_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwby == 'CHAR' || datatype_vvvvwby == 'VARCHAR' || datatype_vvvvwby == 'TEXT' || datatype_vvvvwby == 'MEDIUMTEXT' || datatype_vvvvwby == 'LONGTEXT' || datatype_vvvvwby == 'BLOB' || datatype_vvvvwby == 'TINYBLOB' || datatype_vvvvwby == 'MEDIUMBLOB' || datatype_vvvvwby == 'LONGBLOB')
|
||||
if (datatype_vvvvwch == 'CHAR' || datatype_vvvvwch == 'VARCHAR' || datatype_vvvvwch == 'TEXT' || datatype_vvvvwch == 'MEDIUMTEXT' || datatype_vvvvwch == 'LONGTEXT' || datatype_vvvvwch == 'BLOB' || datatype_vvvvwch == 'TINYBLOB' || datatype_vvvvwch == 'MEDIUMBLOB' || datatype_vvvvwch == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwca function
|
||||
function vvvvwca(add_css_view_vvvvwca)
|
||||
// the vvvvwcj function
|
||||
function vvvvwcj(store_vvvvwcj,datatype_vvvvwcj)
|
||||
{
|
||||
if (isSet(store_vvvvwcj) && store_vvvvwcj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcj = store_vvvvwcj;
|
||||
var store_vvvvwcj = [];
|
||||
store_vvvvwcj.push(temp_vvvvwcj);
|
||||
}
|
||||
else if (!isSet(store_vvvvwcj))
|
||||
{
|
||||
var store_vvvvwcj = [];
|
||||
}
|
||||
var store = store_vvvvwcj.some(store_vvvvwcj_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwcj) && datatype_vvvvwcj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcj = datatype_vvvvwcj;
|
||||
var datatype_vvvvwcj = [];
|
||||
datatype_vvvvwcj.push(temp_vvvvwcj);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwcj))
|
||||
{
|
||||
var datatype_vvvvwcj = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwcj.some(datatype_vvvvwcj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_get_model field
|
||||
if (jform_vvvvwcjvxs_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',0);
|
||||
jQuery('#jform_initiator_on_get_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_get_model').addClass('required');
|
||||
jform_vvvvwcjvxs_required = false;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_save_model field
|
||||
if (jform_vvvvwcjvxt_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',0);
|
||||
jQuery('#jform_initiator_on_save_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_save_model').addClass('required');
|
||||
jform_vvvvwcjvxt_required = false;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_save_model_field field
|
||||
if (jform_vvvvwcjvxu_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',0);
|
||||
jQuery('#jform_on_save_model_field').prop('required','required');
|
||||
jQuery('#jform_on_save_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_save_model_field').addClass('required');
|
||||
jform_vvvvwcjvxu_required = false;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_get_model_field field
|
||||
if (jform_vvvvwcjvxv_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',0);
|
||||
jQuery('#jform_on_get_model_field').prop('required','required');
|
||||
jQuery('#jform_on_get_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_get_model_field').addClass('required');
|
||||
jform_vvvvwcjvxv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_get_model field
|
||||
if (!jform_vvvvwcjvxs_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',1);
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_get_model').removeClass('required');
|
||||
jform_vvvvwcjvxs_required = true;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_save_model field
|
||||
if (!jform_vvvvwcjvxt_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',1);
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_save_model').removeClass('required');
|
||||
jform_vvvvwcjvxt_required = true;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_save_model_field field
|
||||
if (!jform_vvvvwcjvxu_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',1);
|
||||
jQuery('#jform_on_save_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_save_model_field').removeClass('required');
|
||||
jform_vvvvwcjvxu_required = true;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_get_model_field field
|
||||
if (!jform_vvvvwcjvxv_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',1);
|
||||
jQuery('#jform_on_get_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_get_model_field').removeClass('required');
|
||||
jform_vvvvwcjvxv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcj Some function
|
||||
function store_vvvvwcj_SomeFunc(store_vvvvwcj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwca == 1)
|
||||
if (store_vvvvwcj == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcj Some function
|
||||
function datatype_vvvvwcj_SomeFunc(datatype_vvvvwcj)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwcj == 'CHAR' || datatype_vvvvwcj == 'VARCHAR' || datatype_vvvvwcj == 'TEXT' || datatype_vvvvwcj == 'MEDIUMTEXT' || datatype_vvvvwcj == 'LONGTEXT' || datatype_vvvvwcj == 'BLOB' || datatype_vvvvwcj == 'TINYBLOB' || datatype_vvvvwcj == 'MEDIUMBLOB' || datatype_vvvvwcj == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwck function
|
||||
function vvvvwck(datatype_vvvvwck,store_vvvvwck)
|
||||
{
|
||||
if (isSet(datatype_vvvvwck) && datatype_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwck = datatype_vvvvwck;
|
||||
var datatype_vvvvwck = [];
|
||||
datatype_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwck))
|
||||
{
|
||||
var datatype_vvvvwck = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwck.some(datatype_vvvvwck_SomeFunc);
|
||||
|
||||
if (isSet(store_vvvvwck) && store_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwck = store_vvvvwck;
|
||||
var store_vvvvwck = [];
|
||||
store_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(store_vvvvwck))
|
||||
{
|
||||
var store_vvvvwck = [];
|
||||
}
|
||||
var store = store_vvvvwck.some(store_vvvvwck_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datatype && store)
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_get_model field
|
||||
if (jform_vvvvwckvxw_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',0);
|
||||
jQuery('#jform_initiator_on_get_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_get_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_get_model').addClass('required');
|
||||
jform_vvvvwckvxw_required = false;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').show();
|
||||
// add required attribute to initiator_on_save_model field
|
||||
if (jform_vvvvwckvxx_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',0);
|
||||
jQuery('#jform_initiator_on_save_model').prop('required','required');
|
||||
jQuery('#jform_initiator_on_save_model').attr('aria-required',true);
|
||||
jQuery('#jform_initiator_on_save_model').addClass('required');
|
||||
jform_vvvvwckvxx_required = false;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_save_model_field field
|
||||
if (jform_vvvvwckvxy_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',0);
|
||||
jQuery('#jform_on_save_model_field').prop('required','required');
|
||||
jQuery('#jform_on_save_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_save_model_field').addClass('required');
|
||||
jform_vvvvwckvxy_required = false;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_get_model_field field
|
||||
if (jform_vvvvwckvxz_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',0);
|
||||
jQuery('#jform_on_get_model_field').prop('required','required');
|
||||
jQuery('#jform_on_get_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_get_model_field').addClass('required');
|
||||
jform_vvvvwckvxz_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_initiator_on_get_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_get_model field
|
||||
if (!jform_vvvvwckvxw_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_get_model',1);
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_get_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_get_model').removeClass('required');
|
||||
jform_vvvvwckvxw_required = true;
|
||||
}
|
||||
jQuery('#jform_initiator_on_save_model').closest('.control-group').hide();
|
||||
// remove required attribute from initiator_on_save_model field
|
||||
if (!jform_vvvvwckvxx_required)
|
||||
{
|
||||
updateFieldRequired('initiator_on_save_model',1);
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('required');
|
||||
jQuery('#jform_initiator_on_save_model').removeAttr('aria-required');
|
||||
jQuery('#jform_initiator_on_save_model').removeClass('required');
|
||||
jform_vvvvwckvxx_required = true;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_save_model_field field
|
||||
if (!jform_vvvvwckvxy_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',1);
|
||||
jQuery('#jform_on_save_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_save_model_field').removeClass('required');
|
||||
jform_vvvvwckvxy_required = true;
|
||||
}
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_get_model_field field
|
||||
if (!jform_vvvvwckvxz_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',1);
|
||||
jQuery('#jform_on_get_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_get_model_field').removeClass('required');
|
||||
jform_vvvvwckvxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwck Some function
|
||||
function datatype_vvvvwck_SomeFunc(datatype_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwck == 'CHAR' || datatype_vvvvwck == 'VARCHAR' || datatype_vvvvwck == 'TEXT' || datatype_vvvvwck == 'MEDIUMTEXT' || datatype_vvvvwck == 'LONGTEXT' || datatype_vvvvwck == 'BLOB' || datatype_vvvvwck == 'TINYBLOB' || datatype_vvvvwck == 'MEDIUMBLOB' || datatype_vvvvwck == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwck Some function
|
||||
function store_vvvvwck_SomeFunc(store_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwck == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl function
|
||||
function vvvvwcl(add_css_view_vvvvwcl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwcl == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -407,11 +705,11 @@ function vvvvwca(add_css_view_vvvvwca)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(add_css_views_vvvvwcb)
|
||||
// the vvvvwcm function
|
||||
function vvvvwcm(add_css_views_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwcb == 1)
|
||||
if (add_css_views_vvvvwcm == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -421,11 +719,11 @@ function vvvvwcb(add_css_views_vvvvwcb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(add_javascript_view_footer_vvvvwcc)
|
||||
// the vvvvwcn function
|
||||
function vvvvwcn(add_javascript_view_footer_vvvvwcn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwcc == 1)
|
||||
if (add_javascript_view_footer_vvvvwcn == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -435,11 +733,11 @@ function vvvvwcc(add_javascript_view_footer_vvvvwcc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(add_javascript_views_footer_vvvvwcd)
|
||||
// the vvvvwco function
|
||||
function vvvvwco(add_javascript_views_footer_vvvvwco)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwcd == 1)
|
||||
if (add_javascript_views_footer_vvvvwco == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -219,6 +219,8 @@
|
||||
COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_FIELD_WHMCSKEY_ENCRYPTION</option>
|
||||
<option value="6">
|
||||
COM_COMPONENTBUILDER_FIELD_EXPERT_MODE_CUSTOM</option>
|
||||
</field>
|
||||
<!-- Catid Field. Type: Category. (joomla) -->
|
||||
<field
|
||||
@ -230,68 +232,51 @@
|
||||
description="COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
<!-- Css_views Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="css"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Add_css_views Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Css_view Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="css"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Add_css_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Note_database_settings_needed Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_database_settings_needed" label="COM_COMPONENTBUILDER_FIELD_NOTE_DATABASE_SETTINGS_NEEDED_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_DATABASE_SETTINGS_NEEDED_DESCRIPTION" heading="h4" class="alert alert-info note_database_settings_needed" />
|
||||
<!-- Note_no_database_settings_needed Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_database_settings_needed" label="COM_COMPONENTBUILDER_FIELD_NOTE_NO_DATABASE_SETTINGS_NEEDED_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_NO_DATABASE_SETTINGS_NEEDED_DESCRIPTION" heading="h4" class="alert alert-info note_no_database_settings_needed" />
|
||||
<!-- On_get_model_field Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="on_get_model_field"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ON_GET_MODEL_FIELD_LABEL"
|
||||
rows="5"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELD_ON_GET_MODEL_FIELD_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_ON_GET_MODEL_FIELD_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- On_save_model_field Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="on_save_model_field"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ON_SAVE_MODEL_FIELD_LABEL"
|
||||
rows="3"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELD_ON_SAVE_MODEL_FIELD_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_ON_SAVE_MODEL_FIELD_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Initiator_on_get_model Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="initiator_on_get_model"
|
||||
label="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_GET_MODEL_LABEL"
|
||||
rows="5"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_GET_MODEL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_GET_MODEL_HINT"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_filter_information" description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" class="note_filter_information" />
|
||||
<!-- Datalenght Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
@ -342,10 +327,34 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Note_filter_information Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_filter_information" description="COM_COMPONENTBUILDER_FIELD_NOTE_FILTER_INFORMATION_DESCRIPTION" class="note_filter_information" />
|
||||
<!-- Helpnote Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="helpnote" label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL" class="helpNote helpnote" />
|
||||
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Add_css_views Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEWS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_FIELD_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Datadefault_other Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -399,11 +408,11 @@
|
||||
message="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_DATALENGHT_OTHER_HINT"
|
||||
/>
|
||||
<!-- Add_javascript_view_footer Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_css_view Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_javascript_view_footer"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL"
|
||||
name="add_css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_ADD_CSS_VIEW_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -413,6 +422,46 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_FIELD_NO</option>
|
||||
</field>
|
||||
<!-- Helpnote Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="helpnote" label="COM_COMPONENTBUILDER_FIELD_HELPNOTE_LABEL" class="helpNote helpnote" />
|
||||
<!-- Css_view Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="css_view"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="css"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Css_views Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="css_views"
|
||||
label="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="css"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Note_whmcs_encryption Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_whmcs_encryption" label="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_WHMCS_ENCRYPTION_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_encryption" />
|
||||
<!-- Javascript_view_footer Field. Type: Editor. (joomla) -->
|
||||
@ -431,8 +480,8 @@
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Note_no_database_settings_needed Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_database_settings_needed" label="COM_COMPONENTBUILDER_FIELD_NOTE_NO_DATABASE_SETTINGS_NEEDED_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_NO_DATABASE_SETTINGS_NEEDED_DESCRIPTION" heading="h4" class="alert alert-info note_no_database_settings_needed" />
|
||||
<!-- Note_expert_field_save_mode Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_expert_field_save_mode" label="COM_COMPONENTBUILDER_FIELD_NOTE_EXPERT_FIELD_SAVE_MODE_LABEL" description="COM_COMPONENTBUILDER_FIELD_NOTE_EXPERT_FIELD_SAVE_MODE_DESCRIPTION" heading="h4" class="alert alert-success note_expert_encryption note_expert_field_save_mode" />
|
||||
<!-- Javascript_views_footer Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
@ -449,11 +498,18 @@
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<!-- Initiator_on_save_model Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
type="textarea"
|
||||
name="initiator_on_save_model"
|
||||
label="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_SAVE_MODEL_LABEL"
|
||||
rows="5"
|
||||
cols="10"
|
||||
description="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_SAVE_MODEL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_FIELD_INITIATOR_ON_SAVE_MODEL_HINT"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Xml Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -375,6 +375,8 @@
|
||||
COM_COMPONENTBUILDER_FIELDTYPE_MEDIUM_ENCRYPTION_LOCALFILEKEY</option>
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_FIELDTYPE_WHMCSKEY_ENCRYPTION</option>
|
||||
<option value="6">
|
||||
COM_COMPONENTBUILDER_FIELDTYPE_EXPERT_MODE_CUSTOM</option>
|
||||
</field>
|
||||
<!-- Datatype Field. Type: List. (joomla) -->
|
||||
<field
|
||||
|
@ -9,112 +9,112 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwdcvyj_required = false;
|
||||
jform_vvvvwddvyk_required = false;
|
||||
jform_vvvvwdevyl_required = false;
|
||||
jform_vvvvwdfvym_required = false;
|
||||
jform_vvvvwdhvyn_required = false;
|
||||
jform_vvvvwdnvyt_required = false;
|
||||
jform_vvvvwdovyu_required = false;
|
||||
jform_vvvvwdpvyv_required = false;
|
||||
jform_vvvvwdqvyw_required = false;
|
||||
jform_vvvvwdsvyx_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwdc = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdc(location_vvvvwdc);
|
||||
var location_vvvvwdn = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdn(location_vvvvwdn);
|
||||
|
||||
var location_vvvvwdd = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdd(location_vvvvwdd);
|
||||
var location_vvvvwdo = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwdo(location_vvvvwdo);
|
||||
|
||||
var type_vvvvwde = jQuery("#jform_type").val();
|
||||
vvvvwde(type_vvvvwde);
|
||||
var type_vvvvwdp = jQuery("#jform_type").val();
|
||||
vvvvwdp(type_vvvvwdp);
|
||||
|
||||
var type_vvvvwdf = jQuery("#jform_type").val();
|
||||
vvvvwdf(type_vvvvwdf);
|
||||
var type_vvvvwdq = jQuery("#jform_type").val();
|
||||
vvvvwdq(type_vvvvwdq);
|
||||
|
||||
var type_vvvvwdg = jQuery("#jform_type").val();
|
||||
vvvvwdg(type_vvvvwdg);
|
||||
var type_vvvvwdr = jQuery("#jform_type").val();
|
||||
vvvvwdr(type_vvvvwdr);
|
||||
|
||||
var target_vvvvwdh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwdh(target_vvvvwdh);
|
||||
var target_vvvvwds = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwds(target_vvvvwds);
|
||||
});
|
||||
|
||||
// the vvvvwdc function
|
||||
function vvvvwdc(location_vvvvwdc)
|
||||
// the vvvvwdn function
|
||||
function vvvvwdn(location_vvvvwdn)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwdc == 1)
|
||||
if (location_vvvvwdn == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
// add required attribute to admin_view field
|
||||
if (jform_vvvvwdcvyj_required)
|
||||
if (jform_vvvvwdnvyt_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_vvvvwdcvyj_required = false;
|
||||
jform_vvvvwdnvyt_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
// remove required attribute from admin_view field
|
||||
if (!jform_vvvvwdcvyj_required)
|
||||
if (!jform_vvvvwdnvyt_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_vvvvwdcvyj_required = true;
|
||||
jform_vvvvwdnvyt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(location_vvvvwdd)
|
||||
// the vvvvwdo function
|
||||
function vvvvwdo(location_vvvvwdo)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwdd == 2)
|
||||
if (location_vvvvwdo == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
// add required attribute to site_view field
|
||||
if (jform_vvvvwddvyk_required)
|
||||
if (jform_vvvvwdovyu_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_vvvvwddvyk_required = false;
|
||||
jform_vvvvwdovyu_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
// remove required attribute from site_view field
|
||||
if (!jform_vvvvwddvyk_required)
|
||||
if (!jform_vvvvwdovyu_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_vvvvwddvyk_required = true;
|
||||
jform_vvvvwdovyu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwde function
|
||||
function vvvvwde(type_vvvvwde)
|
||||
// the vvvvwdp function
|
||||
function vvvvwdp(type_vvvvwdp)
|
||||
{
|
||||
if (isSet(type_vvvvwde) && type_vvvvwde.constructor !== Array)
|
||||
if (isSet(type_vvvvwdp) && type_vvvvwdp.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwde = type_vvvvwde;
|
||||
var type_vvvvwde = [];
|
||||
type_vvvvwde.push(temp_vvvvwde);
|
||||
var temp_vvvvwdp = type_vvvvwdp;
|
||||
var type_vvvvwdp = [];
|
||||
type_vvvvwdp.push(temp_vvvvwdp);
|
||||
}
|
||||
else if (!isSet(type_vvvvwde))
|
||||
else if (!isSet(type_vvvvwdp))
|
||||
{
|
||||
var type_vvvvwde = [];
|
||||
var type_vvvvwdp = [];
|
||||
}
|
||||
var type = type_vvvvwde.some(type_vvvvwde_SomeFunc);
|
||||
var type = type_vvvvwdp.some(type_vvvvwdp_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -122,55 +122,55 @@ function vvvvwde(type_vvvvwde)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwdevyl_required)
|
||||
if (jform_vvvvwdpvyv_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwdevyl_required = false;
|
||||
jform_vvvvwdpvyv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwdevyl_required)
|
||||
if (!jform_vvvvwdpvyv_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwdevyl_required = true;
|
||||
jform_vvvvwdpvyv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwde Some function
|
||||
function type_vvvvwde_SomeFunc(type_vvvvwde)
|
||||
// the vvvvwdp Some function
|
||||
function type_vvvvwdp_SomeFunc(type_vvvvwdp)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwde == 3)
|
||||
if (type_vvvvwdp == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdf function
|
||||
function vvvvwdf(type_vvvvwdf)
|
||||
// the vvvvwdq function
|
||||
function vvvvwdq(type_vvvvwdq)
|
||||
{
|
||||
if (isSet(type_vvvvwdf) && type_vvvvwdf.constructor !== Array)
|
||||
if (isSet(type_vvvvwdq) && type_vvvvwdq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdf = type_vvvvwdf;
|
||||
var type_vvvvwdf = [];
|
||||
type_vvvvwdf.push(temp_vvvvwdf);
|
||||
var temp_vvvvwdq = type_vvvvwdq;
|
||||
var type_vvvvwdq = [];
|
||||
type_vvvvwdq.push(temp_vvvvwdq);
|
||||
}
|
||||
else if (!isSet(type_vvvvwdf))
|
||||
else if (!isSet(type_vvvvwdq))
|
||||
{
|
||||
var type_vvvvwdf = [];
|
||||
var type_vvvvwdq = [];
|
||||
}
|
||||
var type = type_vvvvwdf.some(type_vvvvwdf_SomeFunc);
|
||||
var type = type_vvvvwdq.some(type_vvvvwdq_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -178,55 +178,55 @@ function vvvvwdf(type_vvvvwdf)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwdfvym_required)
|
||||
if (jform_vvvvwdqvyw_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwdfvym_required = false;
|
||||
jform_vvvvwdqvyw_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwdfvym_required)
|
||||
if (!jform_vvvvwdqvyw_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwdfvym_required = true;
|
||||
jform_vvvvwdqvyw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdf Some function
|
||||
function type_vvvvwdf_SomeFunc(type_vvvvwdf)
|
||||
// the vvvvwdq Some function
|
||||
function type_vvvvwdq_SomeFunc(type_vvvvwdq)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwdf == 1)
|
||||
if (type_vvvvwdq == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdg function
|
||||
function vvvvwdg(type_vvvvwdg)
|
||||
// the vvvvwdr function
|
||||
function vvvvwdr(type_vvvvwdr)
|
||||
{
|
||||
if (isSet(type_vvvvwdg) && type_vvvvwdg.constructor !== Array)
|
||||
if (isSet(type_vvvvwdr) && type_vvvvwdr.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdg = type_vvvvwdg;
|
||||
var type_vvvvwdg = [];
|
||||
type_vvvvwdg.push(temp_vvvvwdg);
|
||||
var temp_vvvvwdr = type_vvvvwdr;
|
||||
var type_vvvvwdr = [];
|
||||
type_vvvvwdr.push(temp_vvvvwdr);
|
||||
}
|
||||
else if (!isSet(type_vvvvwdg))
|
||||
else if (!isSet(type_vvvvwdr))
|
||||
{
|
||||
var type_vvvvwdg = [];
|
||||
var type_vvvvwdr = [];
|
||||
}
|
||||
var type = type_vvvvwdg.some(type_vvvvwdg_SomeFunc);
|
||||
var type = type_vvvvwdr.some(type_vvvvwdr_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -240,45 +240,45 @@ function vvvvwdg(type_vvvvwdg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdg Some function
|
||||
function type_vvvvwdg_SomeFunc(type_vvvvwdg)
|
||||
// the vvvvwdr Some function
|
||||
function type_vvvvwdr_SomeFunc(type_vvvvwdr)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwdg == 2)
|
||||
if (type_vvvvwdr == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(target_vvvvwdh)
|
||||
// the vvvvwds function
|
||||
function vvvvwds(target_vvvvwds)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwdh == 1)
|
||||
if (target_vvvvwds == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
// add required attribute to groups field
|
||||
if (jform_vvvvwdhvyn_required)
|
||||
if (jform_vvvvwdsvyx_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwdhvyn_required = false;
|
||||
jform_vvvvwdsvyx_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
// remove required attribute from groups field
|
||||
if (!jform_vvvvwdhvyn_required)
|
||||
if (!jform_vvvvwdsvyx_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwdhvyn_required = true;
|
||||
jform_vvvvwdsvyx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,39 +9,64 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbmvxj_required = false;
|
||||
jform_vvvvwbsvxk_required = false;
|
||||
jform_vvvvwbnvxj_required = false;
|
||||
jform_vvvvwbzvxk_required = false;
|
||||
jform_vvvvwcbvxl_required = false;
|
||||
jform_vvvvwcbvxm_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var how_vvvvwbl = jQuery("#jform_how").val();
|
||||
vvvvwbl(how_vvvvwbl);
|
||||
|
||||
var how_vvvvwbm = jQuery("#jform_how").val();
|
||||
vvvvwbm(how_vvvvwbm);
|
||||
var target_vvvvwbl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbl(how_vvvvwbl,target_vvvvwbl);
|
||||
|
||||
var how_vvvvwbn = jQuery("#jform_how").val();
|
||||
vvvvwbn(how_vvvvwbn);
|
||||
|
||||
var how_vvvvwbo = jQuery("#jform_how").val();
|
||||
vvvvwbo(how_vvvvwbo);
|
||||
var target_vvvvwbn = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbn(how_vvvvwbn,target_vvvvwbn);
|
||||
|
||||
var how_vvvvwbp = jQuery("#jform_how").val();
|
||||
vvvvwbp(how_vvvvwbp);
|
||||
|
||||
var how_vvvvwbq = jQuery("#jform_how").val();
|
||||
vvvvwbq(how_vvvvwbq);
|
||||
var target_vvvvwbp = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbp(how_vvvvwbp,target_vvvvwbp);
|
||||
|
||||
var how_vvvvwbr = jQuery("#jform_how").val();
|
||||
vvvvwbr(how_vvvvwbr);
|
||||
var target_vvvvwbr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbr(how_vvvvwbr,target_vvvvwbr);
|
||||
|
||||
var type_vvvvwbs = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbs(type_vvvvwbs);
|
||||
var how_vvvvwbt = jQuery("#jform_how").val();
|
||||
var target_vvvvwbt = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbt(how_vvvvwbt,target_vvvvwbt);
|
||||
|
||||
var target_vvvvwbu = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwbu = jQuery("#jform_how").val();
|
||||
vvvvwbu(target_vvvvwbu,how_vvvvwbu);
|
||||
|
||||
var how_vvvvwbv = jQuery("#jform_how").val();
|
||||
var target_vvvvwbv = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbv(how_vvvvwbv,target_vvvvwbv);
|
||||
|
||||
var target_vvvvwbw = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwbw = jQuery("#jform_how").val();
|
||||
vvvvwbw(target_vvvvwbw,how_vvvvwbw);
|
||||
|
||||
var how_vvvvwbx = jQuery("#jform_how").val();
|
||||
var target_vvvvwbx = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbx(how_vvvvwbx,target_vvvvwbx);
|
||||
|
||||
var target_vvvvwby = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwby = jQuery("#jform_how").val();
|
||||
vvvvwby(target_vvvvwby,how_vvvvwby);
|
||||
|
||||
var target_vvvvwbz = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbz = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbz(target_vvvvwbz,type_vvvvwbz);
|
||||
|
||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcb(target_vvvvwcb);
|
||||
});
|
||||
|
||||
// the vvvvwbl function
|
||||
function vvvvwbl(how_vvvvwbl)
|
||||
function vvvvwbl(how_vvvvwbl,target_vvvvwbl)
|
||||
{
|
||||
if (isSet(how_vvvvwbl) && how_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
@ -55,9 +80,21 @@ function vvvvwbl(how_vvvvwbl)
|
||||
}
|
||||
var how = how_vvvvwbl.some(how_vvvvwbl_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbl) && target_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbl = target_vvvvwbl;
|
||||
var target_vvvvwbl = [];
|
||||
target_vvvvwbl.push(temp_vvvvwbl);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbl))
|
||||
{
|
||||
var target_vvvvwbl = [];
|
||||
}
|
||||
var target = target_vvvvwbl.some(target_vvvvwbl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
if (how && target)
|
||||
{
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -78,56 +115,11 @@ function how_vvvvwbl_SomeFunc(how_vvvvwbl)
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbm function
|
||||
function vvvvwbm(how_vvvvwbm)
|
||||
{
|
||||
if (isSet(how_vvvvwbm) && how_vvvvwbm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbm = how_vvvvwbm;
|
||||
var how_vvvvwbm = [];
|
||||
how_vvvvwbm.push(temp_vvvvwbm);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbm))
|
||||
{
|
||||
var how_vvvvwbm = [];
|
||||
}
|
||||
var how = how_vvvvwbm.some(how_vvvvwbm_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
// add required attribute to php_setdocument field
|
||||
if (jform_vvvvwbmvxj_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_vvvvwbmvxj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
// remove required attribute from php_setdocument field
|
||||
if (!jform_vvvvwbmvxj_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_vvvvwbmvxj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbm Some function
|
||||
function how_vvvvwbm_SomeFunc(how_vvvvwbm)
|
||||
// the vvvvwbl Some function
|
||||
function target_vvvvwbl_SomeFunc(target_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbm == 3)
|
||||
if (target_vvvvwbl == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -135,7 +127,7 @@ function how_vvvvwbm_SomeFunc(how_vvvvwbm)
|
||||
}
|
||||
|
||||
// the vvvvwbn function
|
||||
function vvvvwbn(how_vvvvwbn)
|
||||
function vvvvwbn(how_vvvvwbn,target_vvvvwbn)
|
||||
{
|
||||
if (isSet(how_vvvvwbn) && how_vvvvwbn.constructor !== Array)
|
||||
{
|
||||
@ -149,15 +141,45 @@ function vvvvwbn(how_vvvvwbn)
|
||||
}
|
||||
var how = how_vvvvwbn.some(how_vvvvwbn_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbn) && target_vvvvwbn.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbn = target_vvvvwbn;
|
||||
var target_vvvvwbn = [];
|
||||
target_vvvvwbn.push(temp_vvvvwbn);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbn))
|
||||
{
|
||||
var target_vvvvwbn = [];
|
||||
}
|
||||
var target = target_vvvvwbn.some(target_vvvvwbn_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
if (how && target)
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
// add required attribute to php_setdocument field
|
||||
if (jform_vvvvwbnvxj_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_vvvvwbnvxj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
// remove required attribute from php_setdocument field
|
||||
if (!jform_vvvvwbnvxj_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_vvvvwbnvxj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -165,45 +187,18 @@ function vvvvwbn(how_vvvvwbn)
|
||||
function how_vvvvwbn_SomeFunc(how_vvvvwbn)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbn == 2 || how_vvvvwbn == 3)
|
||||
if (how_vvvvwbn == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbo function
|
||||
function vvvvwbo(how_vvvvwbo)
|
||||
{
|
||||
if (isSet(how_vvvvwbo) && how_vvvvwbo.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbo = how_vvvvwbo;
|
||||
var how_vvvvwbo = [];
|
||||
how_vvvvwbo.push(temp_vvvvwbo);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbo))
|
||||
{
|
||||
var how_vvvvwbo = [];
|
||||
}
|
||||
var how = how_vvvvwbo.some(how_vvvvwbo_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 vvvvwbo Some function
|
||||
function how_vvvvwbo_SomeFunc(how_vvvvwbo)
|
||||
// the vvvvwbn Some function
|
||||
function target_vvvvwbn_SomeFunc(target_vvvvwbn)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbo == 1 || how_vvvvwbo == 2 || how_vvvvwbo == 3)
|
||||
if (target_vvvvwbn == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -211,7 +206,7 @@ function how_vvvvwbo_SomeFunc(how_vvvvwbo)
|
||||
}
|
||||
|
||||
// the vvvvwbp function
|
||||
function vvvvwbp(how_vvvvwbp)
|
||||
function vvvvwbp(how_vvvvwbp,target_vvvvwbp)
|
||||
{
|
||||
if (isSet(how_vvvvwbp) && how_vvvvwbp.constructor !== Array)
|
||||
{
|
||||
@ -225,19 +220,27 @@ function vvvvwbp(how_vvvvwbp)
|
||||
}
|
||||
var how = how_vvvvwbp.some(how_vvvvwbp_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbp) && target_vvvvwbp.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbp = target_vvvvwbp;
|
||||
var target_vvvvwbp = [];
|
||||
target_vvvvwbp.push(temp_vvvvwbp);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbp))
|
||||
{
|
||||
var target_vvvvwbp = [];
|
||||
}
|
||||
var target = target_vvvvwbp.some(target_vvvvwbp_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
if (how && target)
|
||||
{
|
||||
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('.note_display_library_config').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();
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -245,47 +248,18 @@ function vvvvwbp(how_vvvvwbp)
|
||||
function how_vvvvwbp_SomeFunc(how_vvvvwbp)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbp == 0)
|
||||
if (how_vvvvwbp == 2 || how_vvvvwbp == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbq function
|
||||
function vvvvwbq(how_vvvvwbq)
|
||||
{
|
||||
if (isSet(how_vvvvwbq) && how_vvvvwbq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbq = how_vvvvwbq;
|
||||
var how_vvvvwbq = [];
|
||||
how_vvvvwbq.push(temp_vvvvwbq);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbq))
|
||||
{
|
||||
var how_vvvvwbq = [];
|
||||
}
|
||||
var how = how_vvvvwbq.some(how_vvvvwbq_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 vvvvwbq Some function
|
||||
function how_vvvvwbq_SomeFunc(how_vvvvwbq)
|
||||
// the vvvvwbp Some function
|
||||
function target_vvvvwbp_SomeFunc(target_vvvvwbp)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbq == 1)
|
||||
if (target_vvvvwbp == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -293,7 +267,7 @@ function how_vvvvwbq_SomeFunc(how_vvvvwbq)
|
||||
}
|
||||
|
||||
// the vvvvwbr function
|
||||
function vvvvwbr(how_vvvvwbr)
|
||||
function vvvvwbr(how_vvvvwbr,target_vvvvwbr)
|
||||
{
|
||||
if (isSet(how_vvvvwbr) && how_vvvvwbr.constructor !== Array)
|
||||
{
|
||||
@ -307,9 +281,338 @@ function vvvvwbr(how_vvvvwbr)
|
||||
}
|
||||
var how = how_vvvvwbr.some(how_vvvvwbr_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbr) && target_vvvvwbr.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbr = target_vvvvwbr;
|
||||
var target_vvvvwbr = [];
|
||||
target_vvvvwbr.push(temp_vvvvwbr);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbr))
|
||||
{
|
||||
var target_vvvvwbr = [];
|
||||
}
|
||||
var target = target_vvvvwbr.some(target_vvvvwbr_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
if (how && target)
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbr Some function
|
||||
function how_vvvvwbr_SomeFunc(how_vvvvwbr)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbr == 1 || how_vvvvwbr == 2 || how_vvvvwbr == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbr Some function
|
||||
function target_vvvvwbr_SomeFunc(target_vvvvwbr)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbr == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbt function
|
||||
function vvvvwbt(how_vvvvwbt,target_vvvvwbt)
|
||||
{
|
||||
if (isSet(how_vvvvwbt) && how_vvvvwbt.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = how_vvvvwbt;
|
||||
var how_vvvvwbt = [];
|
||||
how_vvvvwbt.push(temp_vvvvwbt);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbt))
|
||||
{
|
||||
var how_vvvvwbt = [];
|
||||
}
|
||||
var how = how_vvvvwbt.some(how_vvvvwbt_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbt) && target_vvvvwbt.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = target_vvvvwbt;
|
||||
var target_vvvvwbt = [];
|
||||
target_vvvvwbt.push(temp_vvvvwbt);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbt))
|
||||
{
|
||||
var target_vvvvwbt = [];
|
||||
}
|
||||
var target = target_vvvvwbt.some(target_vvvvwbt_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how && target)
|
||||
{
|
||||
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 vvvvwbt Some function
|
||||
function how_vvvvwbt_SomeFunc(how_vvvvwbt)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbt == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbt Some function
|
||||
function target_vvvvwbt_SomeFunc(target_vvvvwbt)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbt == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu function
|
||||
function vvvvwbu(target_vvvvwbu,how_vvvvwbu)
|
||||
{
|
||||
if (isSet(target_vvvvwbu) && target_vvvvwbu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = target_vvvvwbu;
|
||||
var target_vvvvwbu = [];
|
||||
target_vvvvwbu.push(temp_vvvvwbu);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbu))
|
||||
{
|
||||
var target_vvvvwbu = [];
|
||||
}
|
||||
var target = target_vvvvwbu.some(target_vvvvwbu_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwbu) && how_vvvvwbu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = how_vvvvwbu;
|
||||
var how_vvvvwbu = [];
|
||||
how_vvvvwbu.push(temp_vvvvwbu);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbu))
|
||||
{
|
||||
var how_vvvvwbu = [];
|
||||
}
|
||||
var how = how_vvvvwbu.some(how_vvvvwbu_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (target && 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 vvvvwbu Some function
|
||||
function target_vvvvwbu_SomeFunc(target_vvvvwbu)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbu == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu Some function
|
||||
function how_vvvvwbu_SomeFunc(how_vvvvwbu)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbu == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbv function
|
||||
function vvvvwbv(how_vvvvwbv,target_vvvvwbv)
|
||||
{
|
||||
if (isSet(how_vvvvwbv) && how_vvvvwbv.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbv = how_vvvvwbv;
|
||||
var how_vvvvwbv = [];
|
||||
how_vvvvwbv.push(temp_vvvvwbv);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbv))
|
||||
{
|
||||
var how_vvvvwbv = [];
|
||||
}
|
||||
var how = how_vvvvwbv.some(how_vvvvwbv_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbv) && target_vvvvwbv.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbv = target_vvvvwbv;
|
||||
var target_vvvvwbv = [];
|
||||
target_vvvvwbv.push(temp_vvvvwbv);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbv))
|
||||
{
|
||||
var target_vvvvwbv = [];
|
||||
}
|
||||
var target = target_vvvvwbv.some(target_vvvvwbv_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how && target)
|
||||
{
|
||||
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 vvvvwbv Some function
|
||||
function how_vvvvwbv_SomeFunc(how_vvvvwbv)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbv == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbv Some function
|
||||
function target_vvvvwbv_SomeFunc(target_vvvvwbv)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbv == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbw function
|
||||
function vvvvwbw(target_vvvvwbw,how_vvvvwbw)
|
||||
{
|
||||
if (isSet(target_vvvvwbw) && target_vvvvwbw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbw = target_vvvvwbw;
|
||||
var target_vvvvwbw = [];
|
||||
target_vvvvwbw.push(temp_vvvvwbw);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbw))
|
||||
{
|
||||
var target_vvvvwbw = [];
|
||||
}
|
||||
var target = target_vvvvwbw.some(target_vvvvwbw_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwbw) && how_vvvvwbw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbw = how_vvvvwbw;
|
||||
var how_vvvvwbw = [];
|
||||
how_vvvvwbw.push(temp_vvvvwbw);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbw))
|
||||
{
|
||||
var how_vvvvwbw = [];
|
||||
}
|
||||
var how = how_vvvvwbw.some(how_vvvvwbw_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (target && 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 vvvvwbw Some function
|
||||
function target_vvvvwbw_SomeFunc(target_vvvvwbw)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbw == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbw Some function
|
||||
function how_vvvvwbw_SomeFunc(how_vvvvwbw)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbw == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbx function
|
||||
function vvvvwbx(how_vvvvwbx,target_vvvvwbx)
|
||||
{
|
||||
if (isSet(how_vvvvwbx) && how_vvvvwbx.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbx = how_vvvvwbx;
|
||||
var how_vvvvwbx = [];
|
||||
how_vvvvwbx.push(temp_vvvvwbx);
|
||||
}
|
||||
else if (!isSet(how_vvvvwbx))
|
||||
{
|
||||
var how_vvvvwbx = [];
|
||||
}
|
||||
var how = how_vvvvwbx.some(how_vvvvwbx_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwbx) && target_vvvvwbx.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbx = target_vvvvwbx;
|
||||
var target_vvvvwbx = [];
|
||||
target_vvvvwbx.push(temp_vvvvwbx);
|
||||
}
|
||||
else if (!isSet(target_vvvvwbx))
|
||||
{
|
||||
var target_vvvvwbx = [];
|
||||
}
|
||||
var target = target_vvvvwbx.some(target_vvvvwbx_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how && target)
|
||||
{
|
||||
jQuery('.note_build_in_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_build_in_behaviour_three').closest('.control-group').show();
|
||||
@ -323,45 +626,173 @@ function vvvvwbr(how_vvvvwbr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbr Some function
|
||||
function how_vvvvwbr_SomeFunc(how_vvvvwbr)
|
||||
// the vvvvwbx Some function
|
||||
function how_vvvvwbx_SomeFunc(how_vvvvwbx)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwbr == 4)
|
||||
if (how_vvvvwbx == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbs function
|
||||
function vvvvwbs(type_vvvvwbs)
|
||||
// the vvvvwbx Some function
|
||||
function target_vvvvwbx_SomeFunc(target_vvvvwbx)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbs == 2)
|
||||
if (target_vvvvwbx == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby function
|
||||
function vvvvwby(target_vvvvwby,how_vvvvwby)
|
||||
{
|
||||
if (isSet(target_vvvvwby) && target_vvvvwby.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = target_vvvvwby;
|
||||
var target_vvvvwby = [];
|
||||
target_vvvvwby.push(temp_vvvvwby);
|
||||
}
|
||||
else if (!isSet(target_vvvvwby))
|
||||
{
|
||||
var target_vvvvwby = [];
|
||||
}
|
||||
var target = target_vvvvwby.some(target_vvvvwby_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwby) && how_vvvvwby.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = how_vvvvwby;
|
||||
var how_vvvvwby = [];
|
||||
how_vvvvwby.push(temp_vvvvwby);
|
||||
}
|
||||
else if (!isSet(how_vvvvwby))
|
||||
{
|
||||
var how_vvvvwby = [];
|
||||
}
|
||||
var how = how_vvvvwby.some(how_vvvvwby_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (target && how)
|
||||
{
|
||||
jQuery('.note_build_in_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_build_in_behaviour_three').closest('.control-group').show();
|
||||
jQuery('.note_build_in_behaviour_two').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_build_in_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_build_in_behaviour_three').closest('.control-group').hide();
|
||||
jQuery('.note_build_in_behaviour_two').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function target_vvvvwby_SomeFunc(target_vvvvwby)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwby == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function how_vvvvwby_SomeFunc(how_vvvvwby)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwby == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbz function
|
||||
function vvvvwbz(target_vvvvwbz,type_vvvvwbz)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbz == 1 && type_vvvvwbz == 2)
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').show();
|
||||
// add required attribute to libraries field
|
||||
if (jform_vvvvwbsvxk_required)
|
||||
if (jform_vvvvwbzvxk_required)
|
||||
{
|
||||
updateFieldRequired('libraries',0);
|
||||
jQuery('#jform_libraries').prop('required','required');
|
||||
jQuery('#jform_libraries').attr('aria-required',true);
|
||||
jQuery('#jform_libraries').addClass('required');
|
||||
jform_vvvvwbsvxk_required = false;
|
||||
jform_vvvvwbzvxk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').hide();
|
||||
// remove required attribute from libraries field
|
||||
if (!jform_vvvvwbsvxk_required)
|
||||
if (!jform_vvvvwbzvxk_required)
|
||||
{
|
||||
updateFieldRequired('libraries',1);
|
||||
jQuery('#jform_libraries').removeAttr('required');
|
||||
jQuery('#jform_libraries').removeAttr('aria-required');
|
||||
jQuery('#jform_libraries').removeClass('required');
|
||||
jform_vvvvwbsvxk_required = true;
|
||||
jform_vvvvwbzvxk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(target_vvvvwcb)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcb == 1)
|
||||
{
|
||||
jQuery('#jform_how').closest('.control-group').show();
|
||||
// add required attribute to how field
|
||||
if (jform_vvvvwcbvxl_required)
|
||||
{
|
||||
updateFieldRequired('how',0);
|
||||
jQuery('#jform_how').prop('required','required');
|
||||
jQuery('#jform_how').attr('aria-required',true);
|
||||
jQuery('#jform_how').addClass('required');
|
||||
jform_vvvvwcbvxl_required = false;
|
||||
}
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
// add required attribute to type field
|
||||
if (jform_vvvvwcbvxm_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwcbvxm_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_how').closest('.control-group').hide();
|
||||
// remove required attribute from how field
|
||||
if (!jform_vvvvwcbvxl_required)
|
||||
{
|
||||
updateFieldRequired('how',1);
|
||||
jQuery('#jform_how').removeAttr('required');
|
||||
jQuery('#jform_how').removeAttr('aria-required');
|
||||
jQuery('#jform_how').removeClass('required');
|
||||
jform_vvvvwcbvxl_required = true;
|
||||
}
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
// remove required attribute from type field
|
||||
if (!jform_vvvvwcbvxm_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwcbvxm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -101,22 +101,21 @@
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_NAME_HINT"
|
||||
/>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<!-- Target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
|
||||
/>
|
||||
type="radio"
|
||||
name="target"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_LIBRARY_MEDIA</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_LIBRARIES</option>
|
||||
</field>
|
||||
<!-- How Field. Type: Filebehaviour. (custom) -->
|
||||
<field
|
||||
type="filebehaviour"
|
||||
@ -144,26 +143,40 @@
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_LIBRARY_BUNDLE</option>
|
||||
</field>
|
||||
<!-- Description Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="description"
|
||||
label="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_LABEL"
|
||||
size="80"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="false"
|
||||
filter="STRING"
|
||||
message="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_LIBRARY_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Note_build_in_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_two" />
|
||||
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_two" />
|
||||
<!-- Note_yes_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_yes_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_YES_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-success note_yes_behaviour_two" />
|
||||
<!-- Note_build_in_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_three" />
|
||||
<!-- Note_no_behaviour_two Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_two" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_TWO_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_two" />
|
||||
<!-- Note_display_library_files_folders_urls Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_library_files_folders_urls" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_FILES_FOLDERS_URLS_DESCRIPTION" class="note_display_library_files_folders_urls" />
|
||||
<!-- Note_build_in_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_build_in_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_three" />
|
||||
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_three" />
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Note_no_behaviour_three Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_three" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_THREE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_three" />
|
||||
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_library_config" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" class="note_display_library_config" />
|
||||
<!-- Libraries Field. Type: Librariesx. (custom) -->
|
||||
<field
|
||||
type="librariesx"
|
||||
@ -176,8 +189,8 @@
|
||||
required="false"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_one" />
|
||||
<!-- Note_display_library_config Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_display_library_config" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_DISPLAY_LIBRARY_CONFIG_DESCRIPTION" class="note_display_library_config" />
|
||||
<!-- Php_setdocument Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
@ -313,6 +326,8 @@
|
||||
<field type="note" name="note_build_in_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_BUILD_IN_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-success note_build_in_behaviour_one" />
|
||||
<!-- 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" />
|
||||
<!-- Note_no_behaviour_one Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_no_behaviour_one" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_NO_BEHAVIOUR_ONE_DESCRIPTION" heading="h4" class="alert alert-error note_no_behaviour_one" />
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_LIBRARY_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Note_library_instruction Field. Type: Note. A None Database Field. (joomla) -->
|
||||
|
@ -9,56 +9,56 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcsvxz_required = false;
|
||||
jform_vvvvwcsvya_required = false;
|
||||
jform_vvvvwcsvyb_required = false;
|
||||
jform_vvvvwcsvyc_required = false;
|
||||
jform_vvvvwcsvyd_required = false;
|
||||
jform_vvvvwctvye_required = false;
|
||||
jform_vvvvwcuvyf_required = false;
|
||||
jform_vvvvwcwvyg_required = false;
|
||||
jform_vvvvwcyvyh_required = false;
|
||||
jform_vvvvwddvyj_required = false;
|
||||
jform_vvvvwddvyk_required = false;
|
||||
jform_vvvvwddvyl_required = false;
|
||||
jform_vvvvwddvym_required = false;
|
||||
jform_vvvvwddvyn_required = false;
|
||||
jform_vvvvwdevyo_required = false;
|
||||
jform_vvvvwdfvyp_required = false;
|
||||
jform_vvvvwdhvyq_required = false;
|
||||
jform_vvvvwdjvyr_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
vvvvwcs(protocol_vvvvwcs);
|
||||
var protocol_vvvvwdd = jQuery("#jform_protocol").val();
|
||||
vvvvwdd(protocol_vvvvwdd);
|
||||
|
||||
var protocol_vvvvwct = jQuery("#jform_protocol").val();
|
||||
vvvvwct(protocol_vvvvwct);
|
||||
var protocol_vvvvwde = jQuery("#jform_protocol").val();
|
||||
vvvvwde(protocol_vvvvwde);
|
||||
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
var protocol_vvvvwdf = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwdf = jQuery("#jform_authentication").val();
|
||||
vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf);
|
||||
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
var protocol_vvvvwdh = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwdh = jQuery("#jform_authentication").val();
|
||||
vvvvwdh(protocol_vvvvwdh,authentication_vvvvwdh);
|
||||
|
||||
var protocol_vvvvwcy = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcy = jQuery("#jform_authentication").val();
|
||||
vvvvwcy(protocol_vvvvwcy,authentication_vvvvwcy);
|
||||
var protocol_vvvvwdj = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwdj = jQuery("#jform_authentication").val();
|
||||
vvvvwdj(protocol_vvvvwdj,authentication_vvvvwdj);
|
||||
|
||||
var protocol_vvvvwda = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwda = jQuery("#jform_authentication").val();
|
||||
vvvvwda(protocol_vvvvwda,authentication_vvvvwda);
|
||||
var protocol_vvvvwdl = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwdl = jQuery("#jform_authentication").val();
|
||||
vvvvwdl(protocol_vvvvwdl,authentication_vvvvwdl);
|
||||
});
|
||||
|
||||
// the vvvvwcs function
|
||||
function vvvvwcs(protocol_vvvvwcs)
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(protocol_vvvvwdd)
|
||||
{
|
||||
if (isSet(protocol_vvvvwcs) && protocol_vvvvwcs.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwdd) && protocol_vvvvwdd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcs = protocol_vvvvwcs;
|
||||
var protocol_vvvvwcs = [];
|
||||
protocol_vvvvwcs.push(temp_vvvvwcs);
|
||||
var temp_vvvvwdd = protocol_vvvvwdd;
|
||||
var protocol_vvvvwdd = [];
|
||||
protocol_vvvvwdd.push(temp_vvvvwdd);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwcs))
|
||||
else if (!isSet(protocol_vvvvwdd))
|
||||
{
|
||||
var protocol_vvvvwcs = [];
|
||||
var protocol_vvvvwdd = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwcs.some(protocol_vvvvwcs_SomeFunc);
|
||||
var protocol = protocol_vvvvwdd.some(protocol_vvvvwdd_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -66,137 +66,137 @@ function vvvvwcs(protocol_vvvvwcs)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
// add required attribute to authentication field
|
||||
if (jform_vvvvwcsvxz_required)
|
||||
if (jform_vvvvwddvyj_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwcsvxz_required = false;
|
||||
jform_vvvvwddvyj_required = false;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
// add required attribute to host field
|
||||
if (jform_vvvvwcsvya_required)
|
||||
if (jform_vvvvwddvyk_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwcsvya_required = false;
|
||||
jform_vvvvwddvyk_required = false;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
// add required attribute to port field
|
||||
if (jform_vvvvwcsvyb_required)
|
||||
if (jform_vvvvwddvyl_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwcsvyb_required = false;
|
||||
jform_vvvvwddvyl_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwcsvyc_required)
|
||||
if (jform_vvvvwddvym_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwcsvyc_required = false;
|
||||
jform_vvvvwddvym_required = false;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
// add required attribute to username field
|
||||
if (jform_vvvvwcsvyd_required)
|
||||
if (jform_vvvvwddvyn_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwcsvyd_required = false;
|
||||
jform_vvvvwddvyn_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
// remove required attribute from authentication field
|
||||
if (!jform_vvvvwcsvxz_required)
|
||||
if (!jform_vvvvwddvyj_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwcsvxz_required = true;
|
||||
jform_vvvvwddvyj_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
// remove required attribute from host field
|
||||
if (!jform_vvvvwcsvya_required)
|
||||
if (!jform_vvvvwddvyk_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwcsvya_required = true;
|
||||
jform_vvvvwddvyk_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
// remove required attribute from port field
|
||||
if (!jform_vvvvwcsvyb_required)
|
||||
if (!jform_vvvvwddvyl_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwcsvyb_required = true;
|
||||
jform_vvvvwddvyl_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwcsvyc_required)
|
||||
if (!jform_vvvvwddvym_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwcsvyc_required = true;
|
||||
jform_vvvvwddvym_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
// remove required attribute from username field
|
||||
if (!jform_vvvvwcsvyd_required)
|
||||
if (!jform_vvvvwddvyn_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwcsvyd_required = true;
|
||||
jform_vvvvwddvyn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcs Some function
|
||||
function protocol_vvvvwcs_SomeFunc(protocol_vvvvwcs)
|
||||
// the vvvvwdd Some function
|
||||
function protocol_vvvvwdd_SomeFunc(protocol_vvvvwdd)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwcs == 2)
|
||||
if (protocol_vvvvwdd == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwct function
|
||||
function vvvvwct(protocol_vvvvwct)
|
||||
// the vvvvwde function
|
||||
function vvvvwde(protocol_vvvvwde)
|
||||
{
|
||||
if (isSet(protocol_vvvvwct) && protocol_vvvvwct.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwde) && protocol_vvvvwde.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwct = protocol_vvvvwct;
|
||||
var protocol_vvvvwct = [];
|
||||
protocol_vvvvwct.push(temp_vvvvwct);
|
||||
var temp_vvvvwde = protocol_vvvvwde;
|
||||
var protocol_vvvvwde = [];
|
||||
protocol_vvvvwde.push(temp_vvvvwde);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwct))
|
||||
else if (!isSet(protocol_vvvvwde))
|
||||
{
|
||||
var protocol_vvvvwct = [];
|
||||
var protocol_vvvvwde = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwct.some(protocol_vvvvwct_SomeFunc);
|
||||
var protocol = protocol_vvvvwde.some(protocol_vvvvwde_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -205,13 +205,13 @@ function vvvvwct(protocol_vvvvwct)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
// add required attribute to signature field
|
||||
if (jform_vvvvwctvye_required)
|
||||
if (jform_vvvvwdevyo_required)
|
||||
{
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvwctvye_required = false;
|
||||
jform_vvvvwdevyo_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -219,54 +219,54 @@ function vvvvwct(protocol_vvvvwct)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
// remove required attribute from signature field
|
||||
if (!jform_vvvvwctvye_required)
|
||||
if (!jform_vvvvwdevyo_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwctvye_required = true;
|
||||
jform_vvvvwdevyo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwct Some function
|
||||
function protocol_vvvvwct_SomeFunc(protocol_vvvvwct)
|
||||
// the vvvvwde Some function
|
||||
function protocol_vvvvwde_SomeFunc(protocol_vvvvwde)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwct == 1)
|
||||
if (protocol_vvvvwde == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcu function
|
||||
function vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu)
|
||||
// the vvvvwdf function
|
||||
function vvvvwdf(protocol_vvvvwdf,authentication_vvvvwdf)
|
||||
{
|
||||
if (isSet(protocol_vvvvwcu) && protocol_vvvvwcu.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwdf) && protocol_vvvvwdf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcu = protocol_vvvvwcu;
|
||||
var protocol_vvvvwcu = [];
|
||||
protocol_vvvvwcu.push(temp_vvvvwcu);
|
||||
var temp_vvvvwdf = protocol_vvvvwdf;
|
||||
var protocol_vvvvwdf = [];
|
||||
protocol_vvvvwdf.push(temp_vvvvwdf);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwcu))
|
||||
else if (!isSet(protocol_vvvvwdf))
|
||||
{
|
||||
var protocol_vvvvwcu = [];
|
||||
var protocol_vvvvwdf = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwcu.some(protocol_vvvvwcu_SomeFunc);
|
||||
var protocol = protocol_vvvvwdf.some(protocol_vvvvwdf_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwcu) && authentication_vvvvwcu.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwdf) && authentication_vvvvwdf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcu = authentication_vvvvwcu;
|
||||
var authentication_vvvvwcu = [];
|
||||
authentication_vvvvwcu.push(temp_vvvvwcu);
|
||||
var temp_vvvvwdf = authentication_vvvvwdf;
|
||||
var authentication_vvvvwdf = [];
|
||||
authentication_vvvvwdf.push(temp_vvvvwdf);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwcu))
|
||||
else if (!isSet(authentication_vvvvwdf))
|
||||
{
|
||||
var authentication_vvvvwcu = [];
|
||||
var authentication_vvvvwdf = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwcu.some(authentication_vvvvwcu_SomeFunc);
|
||||
var authentication = authentication_vvvvwdf.some(authentication_vvvvwdf_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -274,78 +274,78 @@ function vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
// add required attribute to password field
|
||||
if (jform_vvvvwcuvyf_required)
|
||||
if (jform_vvvvwdfvyp_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvwcuvyf_required = false;
|
||||
jform_vvvvwdfvyp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
// remove required attribute from password field
|
||||
if (!jform_vvvvwcuvyf_required)
|
||||
if (!jform_vvvvwdfvyp_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvwcuvyf_required = true;
|
||||
jform_vvvvwdfvyp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcu Some function
|
||||
function protocol_vvvvwcu_SomeFunc(protocol_vvvvwcu)
|
||||
// the vvvvwdf Some function
|
||||
function protocol_vvvvwdf_SomeFunc(protocol_vvvvwdf)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwcu == 2)
|
||||
if (protocol_vvvvwdf == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcu Some function
|
||||
function authentication_vvvvwcu_SomeFunc(authentication_vvvvwcu)
|
||||
// the vvvvwdf Some function
|
||||
function authentication_vvvvwdf_SomeFunc(authentication_vvvvwdf)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwcu == 1 || authentication_vvvvwcu == 3 || authentication_vvvvwcu == 5)
|
||||
if (authentication_vvvvwdf == 1 || authentication_vvvvwdf == 3 || authentication_vvvvwdf == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcw function
|
||||
function vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw)
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(protocol_vvvvwdh,authentication_vvvvwdh)
|
||||
{
|
||||
if (isSet(protocol_vvvvwcw) && protocol_vvvvwcw.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwdh) && protocol_vvvvwdh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcw = protocol_vvvvwcw;
|
||||
var protocol_vvvvwcw = [];
|
||||
protocol_vvvvwcw.push(temp_vvvvwcw);
|
||||
var temp_vvvvwdh = protocol_vvvvwdh;
|
||||
var protocol_vvvvwdh = [];
|
||||
protocol_vvvvwdh.push(temp_vvvvwdh);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwcw))
|
||||
else if (!isSet(protocol_vvvvwdh))
|
||||
{
|
||||
var protocol_vvvvwcw = [];
|
||||
var protocol_vvvvwdh = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwcw.some(protocol_vvvvwcw_SomeFunc);
|
||||
var protocol = protocol_vvvvwdh.some(protocol_vvvvwdh_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwcw) && authentication_vvvvwcw.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwdh) && authentication_vvvvwdh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcw = authentication_vvvvwcw;
|
||||
var authentication_vvvvwcw = [];
|
||||
authentication_vvvvwcw.push(temp_vvvvwcw);
|
||||
var temp_vvvvwdh = authentication_vvvvwdh;
|
||||
var authentication_vvvvwdh = [];
|
||||
authentication_vvvvwdh.push(temp_vvvvwdh);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwcw))
|
||||
else if (!isSet(authentication_vvvvwdh))
|
||||
{
|
||||
var authentication_vvvvwcw = [];
|
||||
var authentication_vvvvwdh = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwcw.some(authentication_vvvvwcw_SomeFunc);
|
||||
var authentication = authentication_vvvvwdh.some(authentication_vvvvwdh_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -353,78 +353,78 @@ function vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw)
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').show();
|
||||
// add required attribute to private field
|
||||
if (jform_vvvvwcwvyg_required)
|
||||
if (jform_vvvvwdhvyq_required)
|
||||
{
|
||||
updateFieldRequired('private',0);
|
||||
jQuery('#jform_private').prop('required','required');
|
||||
jQuery('#jform_private').attr('aria-required',true);
|
||||
jQuery('#jform_private').addClass('required');
|
||||
jform_vvvvwcwvyg_required = false;
|
||||
jform_vvvvwdhvyq_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
// remove required attribute from private field
|
||||
if (!jform_vvvvwcwvyg_required)
|
||||
if (!jform_vvvvwdhvyq_required)
|
||||
{
|
||||
updateFieldRequired('private',1);
|
||||
jQuery('#jform_private').removeAttr('required');
|
||||
jQuery('#jform_private').removeAttr('aria-required');
|
||||
jQuery('#jform_private').removeClass('required');
|
||||
jform_vvvvwcwvyg_required = true;
|
||||
jform_vvvvwdhvyq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcw Some function
|
||||
function protocol_vvvvwcw_SomeFunc(protocol_vvvvwcw)
|
||||
// the vvvvwdh Some function
|
||||
function protocol_vvvvwdh_SomeFunc(protocol_vvvvwdh)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwcw == 2)
|
||||
if (protocol_vvvvwdh == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcw Some function
|
||||
function authentication_vvvvwcw_SomeFunc(authentication_vvvvwcw)
|
||||
// the vvvvwdh Some function
|
||||
function authentication_vvvvwdh_SomeFunc(authentication_vvvvwdh)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwcw == 2 || authentication_vvvvwcw == 3)
|
||||
if (authentication_vvvvwdh == 2 || authentication_vvvvwdh == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcy function
|
||||
function vvvvwcy(protocol_vvvvwcy,authentication_vvvvwcy)
|
||||
// the vvvvwdj function
|
||||
function vvvvwdj(protocol_vvvvwdj,authentication_vvvvwdj)
|
||||
{
|
||||
if (isSet(protocol_vvvvwcy) && protocol_vvvvwcy.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwdj) && protocol_vvvvwdj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcy = protocol_vvvvwcy;
|
||||
var protocol_vvvvwcy = [];
|
||||
protocol_vvvvwcy.push(temp_vvvvwcy);
|
||||
var temp_vvvvwdj = protocol_vvvvwdj;
|
||||
var protocol_vvvvwdj = [];
|
||||
protocol_vvvvwdj.push(temp_vvvvwdj);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwcy))
|
||||
else if (!isSet(protocol_vvvvwdj))
|
||||
{
|
||||
var protocol_vvvvwcy = [];
|
||||
var protocol_vvvvwdj = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwcy.some(protocol_vvvvwcy_SomeFunc);
|
||||
var protocol = protocol_vvvvwdj.some(protocol_vvvvwdj_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwcy) && authentication_vvvvwcy.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwdj) && authentication_vvvvwdj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcy = authentication_vvvvwcy;
|
||||
var authentication_vvvvwcy = [];
|
||||
authentication_vvvvwcy.push(temp_vvvvwcy);
|
||||
var temp_vvvvwdj = authentication_vvvvwdj;
|
||||
var authentication_vvvvwdj = [];
|
||||
authentication_vvvvwdj.push(temp_vvvvwdj);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwcy))
|
||||
else if (!isSet(authentication_vvvvwdj))
|
||||
{
|
||||
var authentication_vvvvwcy = [];
|
||||
var authentication_vvvvwdj = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwcy.some(authentication_vvvvwcy_SomeFunc);
|
||||
var authentication = authentication_vvvvwdj.some(authentication_vvvvwdj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -432,78 +432,78 @@ function vvvvwcy(protocol_vvvvwcy,authentication_vvvvwcy)
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').show();
|
||||
// add required attribute to private_key field
|
||||
if (jform_vvvvwcyvyh_required)
|
||||
if (jform_vvvvwdjvyr_required)
|
||||
{
|
||||
updateFieldRequired('private_key',0);
|
||||
jQuery('#jform_private_key').prop('required','required');
|
||||
jQuery('#jform_private_key').attr('aria-required',true);
|
||||
jQuery('#jform_private_key').addClass('required');
|
||||
jform_vvvvwcyvyh_required = false;
|
||||
jform_vvvvwdjvyr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
// remove required attribute from private_key field
|
||||
if (!jform_vvvvwcyvyh_required)
|
||||
if (!jform_vvvvwdjvyr_required)
|
||||
{
|
||||
updateFieldRequired('private_key',1);
|
||||
jQuery('#jform_private_key').removeAttr('required');
|
||||
jQuery('#jform_private_key').removeAttr('aria-required');
|
||||
jQuery('#jform_private_key').removeClass('required');
|
||||
jform_vvvvwcyvyh_required = true;
|
||||
jform_vvvvwdjvyr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcy Some function
|
||||
function protocol_vvvvwcy_SomeFunc(protocol_vvvvwcy)
|
||||
// the vvvvwdj Some function
|
||||
function protocol_vvvvwdj_SomeFunc(protocol_vvvvwdj)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwcy == 2)
|
||||
if (protocol_vvvvwdj == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcy Some function
|
||||
function authentication_vvvvwcy_SomeFunc(authentication_vvvvwcy)
|
||||
// the vvvvwdj Some function
|
||||
function authentication_vvvvwdj_SomeFunc(authentication_vvvvwdj)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwcy == 4 || authentication_vvvvwcy == 5)
|
||||
if (authentication_vvvvwdj == 4 || authentication_vvvvwdj == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwda function
|
||||
function vvvvwda(protocol_vvvvwda,authentication_vvvvwda)
|
||||
// the vvvvwdl function
|
||||
function vvvvwdl(protocol_vvvvwdl,authentication_vvvvwdl)
|
||||
{
|
||||
if (isSet(protocol_vvvvwda) && protocol_vvvvwda.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwdl) && protocol_vvvvwdl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwda = protocol_vvvvwda;
|
||||
var protocol_vvvvwda = [];
|
||||
protocol_vvvvwda.push(temp_vvvvwda);
|
||||
var temp_vvvvwdl = protocol_vvvvwdl;
|
||||
var protocol_vvvvwdl = [];
|
||||
protocol_vvvvwdl.push(temp_vvvvwdl);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwda))
|
||||
else if (!isSet(protocol_vvvvwdl))
|
||||
{
|
||||
var protocol_vvvvwda = [];
|
||||
var protocol_vvvvwdl = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwda.some(protocol_vvvvwda_SomeFunc);
|
||||
var protocol = protocol_vvvvwdl.some(protocol_vvvvwdl_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwda) && authentication_vvvvwda.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwdl) && authentication_vvvvwdl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwda = authentication_vvvvwda;
|
||||
var authentication_vvvvwda = [];
|
||||
authentication_vvvvwda.push(temp_vvvvwda);
|
||||
var temp_vvvvwdl = authentication_vvvvwdl;
|
||||
var authentication_vvvvwdl = [];
|
||||
authentication_vvvvwdl.push(temp_vvvvwdl);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwda))
|
||||
else if (!isSet(authentication_vvvvwdl))
|
||||
{
|
||||
var authentication_vvvvwda = [];
|
||||
var authentication_vvvvwdl = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwda.some(authentication_vvvvwda_SomeFunc);
|
||||
var authentication = authentication_vvvvwdl.some(authentication_vvvvwdl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -517,22 +517,22 @@ function vvvvwda(protocol_vvvvwda,authentication_vvvvwda)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwda Some function
|
||||
function protocol_vvvvwda_SomeFunc(protocol_vvvvwda)
|
||||
// the vvvvwdl Some function
|
||||
function protocol_vvvvwdl_SomeFunc(protocol_vvvvwdl)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwda == 2)
|
||||
if (protocol_vvvvwdl == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwda Some function
|
||||
function authentication_vvvvwda_SomeFunc(authentication_vvvvwda)
|
||||
// the vvvvwdl Some function
|
||||
function authentication_vvvvwdl_SomeFunc(authentication_vvvvwdl)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwda == 2 || authentication_vvvvwda == 3 || authentication_vvvvwda == 4 || authentication_vvvvwda == 5)
|
||||
if (authentication_vvvvwdl == 2 || authentication_vvvvwdl == 3 || authentication_vvvvwdl == 4 || authentication_vvvvwdl == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -1829,7 +1829,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
||||
),
|
||||
// #__componentbuilder_field (i)
|
||||
'field' => array(
|
||||
'search' => array('id', 'name', 'xml', 'javascript_view_footer', 'javascript_views_footer'),
|
||||
'search' => array('id', 'name', 'xml', 'javascript_view_footer', 'javascript_views_footer', 'on_save_model_field', 'on_get_model_field', 'initiator_on_save_model', 'initiator_on_get_model'),
|
||||
'views' => 'fields',
|
||||
'not_base64' => array('xml' => 'json'),
|
||||
'base64_search' => array('xml' => array('start' => 'type_php', '_start' => '="', 'end' => '"')),
|
||||
|
@ -28,8 +28,9 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
'a.created_by','created_by',
|
||||
'a.modified_by','modified_by',
|
||||
'a.name','name',
|
||||
'a.description','description',
|
||||
'a.target','target',
|
||||
'a.type','type',
|
||||
'a.description','description',
|
||||
'a.how','how'
|
||||
);
|
||||
}
|
||||
@ -54,12 +55,15 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
$name = $this->getUserStateFromRequest($this->context . '.filter.name', 'filter_name');
|
||||
$this->setState('filter.name', $name);
|
||||
|
||||
$description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description');
|
||||
$this->setState('filter.description', $description);
|
||||
$target = $this->getUserStateFromRequest($this->context . '.filter.target', 'filter_target');
|
||||
$this->setState('filter.target', $target);
|
||||
|
||||
$type = $this->getUserStateFromRequest($this->context . '.filter.type', 'filter_type');
|
||||
$this->setState('filter.type', $type);
|
||||
|
||||
$description = $this->getUserStateFromRequest($this->context . '.filter.description', 'filter_description');
|
||||
$this->setState('filter.description', $description);
|
||||
|
||||
$how = $this->getUserStateFromRequest($this->context . '.filter.how', 'filter_how');
|
||||
$this->setState('filter.how', $how);
|
||||
|
||||
@ -128,6 +132,8 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
{
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert target
|
||||
$item->target = $this->selectionTranslation($item->target, 'target');
|
||||
// convert type
|
||||
$item->type = $this->selectionTranslation($item->type, 'type');
|
||||
}
|
||||
@ -145,6 +151,19 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
*/
|
||||
public function selectionTranslation($value,$name)
|
||||
{
|
||||
// Array of target language strings
|
||||
if ($name === 'target')
|
||||
{
|
||||
$targetArray = array(
|
||||
1 => 'COM_COMPONENTBUILDER_LIBRARY_MEDIA',
|
||||
2 => 'COM_COMPONENTBUILDER_LIBRARY_LIBRARIES'
|
||||
);
|
||||
// Now check if value is found in this array
|
||||
if (isset($targetArray[$value]) && ComponentbuilderHelper::checkString($targetArray[$value]))
|
||||
{
|
||||
return $targetArray[$value];
|
||||
}
|
||||
}
|
||||
// Array of type language strings
|
||||
if ($name === 'type')
|
||||
{
|
||||
@ -238,6 +257,11 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
}
|
||||
}
|
||||
|
||||
// Filter by Target.
|
||||
if ($target = $this->getState('filter.target'))
|
||||
{
|
||||
$query->where('a.target = ' . $db->quote($db->escape($target)));
|
||||
}
|
||||
// Filter by how.
|
||||
if ($how = $this->getState('filter.how'))
|
||||
{
|
||||
@ -276,8 +300,9 @@ class ComponentbuilderModelLibraries extends JModelList
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
$id .= ':' . $this->getState('filter.modified_by');
|
||||
$id .= ':' . $this->getState('filter.name');
|
||||
$id .= ':' . $this->getState('filter.description');
|
||||
$id .= ':' . $this->getState('filter.target');
|
||||
$id .= ':' . $this->getState('filter.type');
|
||||
$id .= ':' . $this->getState('filter.description');
|
||||
$id .= ':' . $this->getState('filter.how');
|
||||
|
||||
return parent::getStoreId($id);
|
||||
|
@ -42,6 +42,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
|
||||
),
|
||||
'above' => array(
|
||||
'name',
|
||||
'target',
|
||||
'how',
|
||||
'type'
|
||||
),
|
||||
|
@ -189,7 +189,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVyilinked_components()
|
||||
public function getVyslinked_components()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
|
Reference in New Issue
Block a user