Added a global editor switch for all editors in JCB, the default is none. gh-305 Added two new fields to the admin view to target the getform method in the model.
This commit is contained in:
@ -206,6 +206,7 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -206,6 +206,7 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -186,6 +186,7 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -86,6 +86,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_headers))
|
||||
{
|
||||
// base64 Decode php_import_headers.
|
||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||
}
|
||||
|
||||
if (!empty($item->html_import_view))
|
||||
{
|
||||
// base64 Decode html_import_view.
|
||||
@ -98,12 +104,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->php_import_save = base64_decode($item->php_import_save);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_headers))
|
||||
{
|
||||
// base64 Decode php_import_headers.
|
||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||
}
|
||||
|
||||
if (!empty($item->php_getitem))
|
||||
{
|
||||
// base64 Decode php_getitem.
|
||||
@ -134,10 +134,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_save))
|
||||
if (!empty($item->php_getform))
|
||||
{
|
||||
// base64 Decode php_before_save.
|
||||
$item->php_before_save = base64_decode($item->php_before_save);
|
||||
// base64 Decode php_getform.
|
||||
$item->php_getform = base64_decode($item->php_getform);
|
||||
}
|
||||
|
||||
if (!empty($item->css_views))
|
||||
@ -146,78 +146,84 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_save))
|
||||
{
|
||||
// base64 Decode php_before_save.
|
||||
$item->php_before_save = base64_decode($item->php_before_save);
|
||||
}
|
||||
|
||||
if (!empty($item->php_save))
|
||||
{
|
||||
// base64 Decode php_save.
|
||||
$item->php_save = base64_decode($item->php_save);
|
||||
}
|
||||
|
||||
if (!empty($item->php_postsavehook))
|
||||
{
|
||||
// base64 Decode php_postsavehook.
|
||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript_view_file))
|
||||
{
|
||||
// base64 Decode javascript_view_file.
|
||||
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
||||
}
|
||||
|
||||
if (!empty($item->php_postsavehook))
|
||||
{
|
||||
// base64 Decode php_postsavehook.
|
||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||
}
|
||||
|
||||
if (!empty($item->php_allowedit))
|
||||
{
|
||||
// base64 Decode php_allowedit.
|
||||
$item->php_allowedit = base64_decode($item->php_allowedit);
|
||||
}
|
||||
|
||||
if (!empty($item->php_batchcopy))
|
||||
{
|
||||
// base64 Decode php_batchcopy.
|
||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript_view_footer))
|
||||
{
|
||||
// base64 Decode javascript_view_footer.
|
||||
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
||||
}
|
||||
|
||||
if (!empty($item->php_batchcopy))
|
||||
{
|
||||
// base64 Decode php_batchcopy.
|
||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||
}
|
||||
|
||||
if (!empty($item->php_batchmove))
|
||||
{
|
||||
// base64 Decode php_batchmove.
|
||||
$item->php_batchmove = base64_decode($item->php_batchmove);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_publish))
|
||||
{
|
||||
// base64 Decode php_before_publish.
|
||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript_views_file))
|
||||
{
|
||||
// base64 Decode javascript_views_file.
|
||||
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_publish))
|
||||
{
|
||||
// base64 Decode php_before_publish.
|
||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||
}
|
||||
|
||||
if (!empty($item->php_after_publish))
|
||||
{
|
||||
// base64 Decode php_after_publish.
|
||||
$item->php_after_publish = base64_decode($item->php_after_publish);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_delete))
|
||||
{
|
||||
// base64 Decode php_before_delete.
|
||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||
}
|
||||
|
||||
if (!empty($item->javascript_views_footer))
|
||||
{
|
||||
// base64 Decode javascript_views_footer.
|
||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||
}
|
||||
|
||||
if (!empty($item->php_before_delete))
|
||||
{
|
||||
// base64 Decode php_before_delete.
|
||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||
}
|
||||
|
||||
if (!empty($item->php_after_delete))
|
||||
{
|
||||
// base64 Decode php_after_delete.
|
||||
@ -236,60 +242,68 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->php_controller = base64_decode($item->php_controller);
|
||||
}
|
||||
|
||||
if (!empty($item->sql))
|
||||
{
|
||||
// base64 Decode sql.
|
||||
$item->sql = base64_decode($item->sql);
|
||||
}
|
||||
|
||||
if (!empty($item->php_model))
|
||||
{
|
||||
// base64 Decode php_model.
|
||||
$item->php_model = base64_decode($item->php_model);
|
||||
}
|
||||
|
||||
if (!empty($item->sql))
|
||||
{
|
||||
// base64 Decode sql.
|
||||
$item->sql = base64_decode($item->sql);
|
||||
}
|
||||
|
||||
if (!empty($item->php_controller_list))
|
||||
{
|
||||
// base64 Decode php_controller_list.
|
||||
$item->php_controller_list = base64_decode($item->php_controller_list);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_display))
|
||||
{
|
||||
// base64 Decode php_import_display.
|
||||
$item->php_import_display = base64_decode($item->php_import_display);
|
||||
}
|
||||
|
||||
if (!empty($item->php_model_list))
|
||||
{
|
||||
// base64 Decode php_model_list.
|
||||
$item->php_model_list = base64_decode($item->php_model_list);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_display))
|
||||
{
|
||||
// base64 Decode php_import_display.
|
||||
$item->php_import_display = base64_decode($item->php_import_display);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import))
|
||||
{
|
||||
// base64 Decode php_import.
|
||||
$item->php_import = base64_decode($item->php_import);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_setdata))
|
||||
{
|
||||
// base64 Decode php_import_setdata.
|
||||
$item->php_import_setdata = base64_decode($item->php_import_setdata);
|
||||
}
|
||||
|
||||
if (!empty($item->php_ajaxmethod))
|
||||
{
|
||||
// base64 Decode php_ajaxmethod.
|
||||
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_setdata))
|
||||
{
|
||||
// base64 Decode php_import_setdata.
|
||||
$item->php_import_setdata = base64_decode($item->php_import_setdata);
|
||||
}
|
||||
|
||||
if (!empty($item->php_import_ext))
|
||||
{
|
||||
// base64 Decode php_import_ext.
|
||||
$item->php_import_ext = base64_decode($item->php_import_ext);
|
||||
}
|
||||
|
||||
if (!empty($item->addtables))
|
||||
{
|
||||
// Convert the addtables field to an array.
|
||||
$addtables = new Registry;
|
||||
$addtables->loadString($item->addtables);
|
||||
$item->addtables = $addtables->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addpermissions))
|
||||
{
|
||||
// Convert the addpermissions field to an array.
|
||||
@ -314,14 +328,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->addlinked_views = $addlinked_views->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addtables))
|
||||
{
|
||||
// Convert the addtables field to an array.
|
||||
$addtables = new Registry;
|
||||
$addtables->loadString($item->addtables);
|
||||
$item->addtables = $addtables->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->alias_builder))
|
||||
{
|
||||
// Convert the alias_builder field to an array.
|
||||
@ -500,6 +506,16 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
@ -1180,6 +1196,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['system_name'] = $data['name_single'];
|
||||
}
|
||||
|
||||
// Set the addtables items to data.
|
||||
if (isset($data['addtables']) && is_array($data['addtables']))
|
||||
{
|
||||
$addtables = new JRegistry;
|
||||
$addtables->loadArray($data['addtables']);
|
||||
$data['addtables'] = (string) $addtables;
|
||||
}
|
||||
elseif (!isset($data['addtables']))
|
||||
{
|
||||
// Set the empty addtables to data
|
||||
$data['addtables'] = '';
|
||||
}
|
||||
|
||||
// Set the addpermissions items to data.
|
||||
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
|
||||
{
|
||||
@ -1219,19 +1248,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['addlinked_views'] = '';
|
||||
}
|
||||
|
||||
// Set the addtables items to data.
|
||||
if (isset($data['addtables']) && is_array($data['addtables']))
|
||||
{
|
||||
$addtables = new JRegistry;
|
||||
$addtables->loadArray($data['addtables']);
|
||||
$data['addtables'] = (string) $addtables;
|
||||
}
|
||||
elseif (!isset($data['addtables']))
|
||||
{
|
||||
// Set the empty addtables to data
|
||||
$data['addtables'] = '';
|
||||
}
|
||||
|
||||
// Set the alias_builder items to data.
|
||||
if (isset($data['alias_builder']) && is_array($data['alias_builder']))
|
||||
{
|
||||
@ -1271,6 +1287,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['ajax_input'] = '';
|
||||
}
|
||||
|
||||
// Set the php_import_headers string to base64 string.
|
||||
if (isset($data['php_import_headers']))
|
||||
{
|
||||
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
|
||||
}
|
||||
|
||||
// Set the html_import_view string to base64 string.
|
||||
if (isset($data['html_import_view']))
|
||||
{
|
||||
@ -1283,12 +1305,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['php_import_save'] = base64_encode($data['php_import_save']);
|
||||
}
|
||||
|
||||
// Set the php_import_headers string to base64 string.
|
||||
if (isset($data['php_import_headers']))
|
||||
{
|
||||
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
|
||||
}
|
||||
|
||||
// Set the php_getitem string to base64 string.
|
||||
if (isset($data['php_getitem']))
|
||||
{
|
||||
@ -1319,10 +1335,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
|
||||
}
|
||||
|
||||
// Set the php_before_save string to base64 string.
|
||||
if (isset($data['php_before_save']))
|
||||
// Set the php_getform string to base64 string.
|
||||
if (isset($data['php_getform']))
|
||||
{
|
||||
$data['php_before_save'] = base64_encode($data['php_before_save']);
|
||||
$data['php_getform'] = base64_encode($data['php_getform']);
|
||||
}
|
||||
|
||||
// Set the css_views string to base64 string.
|
||||
@ -1331,78 +1347,84 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['css_views'] = base64_encode($data['css_views']);
|
||||
}
|
||||
|
||||
// Set the php_before_save string to base64 string.
|
||||
if (isset($data['php_before_save']))
|
||||
{
|
||||
$data['php_before_save'] = base64_encode($data['php_before_save']);
|
||||
}
|
||||
|
||||
// Set the php_save string to base64 string.
|
||||
if (isset($data['php_save']))
|
||||
{
|
||||
$data['php_save'] = base64_encode($data['php_save']);
|
||||
}
|
||||
|
||||
// Set the php_postsavehook string to base64 string.
|
||||
if (isset($data['php_postsavehook']))
|
||||
{
|
||||
$data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
|
||||
}
|
||||
|
||||
// Set the javascript_view_file string to base64 string.
|
||||
if (isset($data['javascript_view_file']))
|
||||
{
|
||||
$data['javascript_view_file'] = base64_encode($data['javascript_view_file']);
|
||||
}
|
||||
|
||||
// Set the php_postsavehook string to base64 string.
|
||||
if (isset($data['php_postsavehook']))
|
||||
{
|
||||
$data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
|
||||
}
|
||||
|
||||
// Set the php_allowedit string to base64 string.
|
||||
if (isset($data['php_allowedit']))
|
||||
{
|
||||
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
|
||||
}
|
||||
|
||||
// Set the php_batchcopy string to base64 string.
|
||||
if (isset($data['php_batchcopy']))
|
||||
{
|
||||
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
|
||||
}
|
||||
|
||||
// Set the javascript_view_footer string to base64 string.
|
||||
if (isset($data['javascript_view_footer']))
|
||||
{
|
||||
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
|
||||
}
|
||||
|
||||
// Set the php_batchcopy string to base64 string.
|
||||
if (isset($data['php_batchcopy']))
|
||||
{
|
||||
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
|
||||
}
|
||||
|
||||
// Set the php_batchmove string to base64 string.
|
||||
if (isset($data['php_batchmove']))
|
||||
{
|
||||
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
|
||||
}
|
||||
|
||||
// Set the php_before_publish string to base64 string.
|
||||
if (isset($data['php_before_publish']))
|
||||
{
|
||||
$data['php_before_publish'] = base64_encode($data['php_before_publish']);
|
||||
}
|
||||
|
||||
// Set the javascript_views_file string to base64 string.
|
||||
if (isset($data['javascript_views_file']))
|
||||
{
|
||||
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
|
||||
}
|
||||
|
||||
// Set the php_before_publish string to base64 string.
|
||||
if (isset($data['php_before_publish']))
|
||||
{
|
||||
$data['php_before_publish'] = base64_encode($data['php_before_publish']);
|
||||
}
|
||||
|
||||
// Set the php_after_publish string to base64 string.
|
||||
if (isset($data['php_after_publish']))
|
||||
{
|
||||
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
|
||||
}
|
||||
|
||||
// Set the php_before_delete string to base64 string.
|
||||
if (isset($data['php_before_delete']))
|
||||
{
|
||||
$data['php_before_delete'] = base64_encode($data['php_before_delete']);
|
||||
}
|
||||
|
||||
// Set the javascript_views_footer string to base64 string.
|
||||
if (isset($data['javascript_views_footer']))
|
||||
{
|
||||
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
|
||||
}
|
||||
|
||||
// Set the php_before_delete string to base64 string.
|
||||
if (isset($data['php_before_delete']))
|
||||
{
|
||||
$data['php_before_delete'] = base64_encode($data['php_before_delete']);
|
||||
}
|
||||
|
||||
// Set the php_after_delete string to base64 string.
|
||||
if (isset($data['php_after_delete']))
|
||||
{
|
||||
@ -1421,54 +1443,54 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['php_controller'] = base64_encode($data['php_controller']);
|
||||
}
|
||||
|
||||
// Set the sql string to base64 string.
|
||||
if (isset($data['sql']))
|
||||
{
|
||||
$data['sql'] = base64_encode($data['sql']);
|
||||
}
|
||||
|
||||
// Set the php_model string to base64 string.
|
||||
if (isset($data['php_model']))
|
||||
{
|
||||
$data['php_model'] = base64_encode($data['php_model']);
|
||||
}
|
||||
|
||||
// Set the sql string to base64 string.
|
||||
if (isset($data['sql']))
|
||||
{
|
||||
$data['sql'] = base64_encode($data['sql']);
|
||||
}
|
||||
|
||||
// Set the php_controller_list string to base64 string.
|
||||
if (isset($data['php_controller_list']))
|
||||
{
|
||||
$data['php_controller_list'] = base64_encode($data['php_controller_list']);
|
||||
}
|
||||
|
||||
// Set the php_import_display string to base64 string.
|
||||
if (isset($data['php_import_display']))
|
||||
{
|
||||
$data['php_import_display'] = base64_encode($data['php_import_display']);
|
||||
}
|
||||
|
||||
// Set the php_model_list string to base64 string.
|
||||
if (isset($data['php_model_list']))
|
||||
{
|
||||
$data['php_model_list'] = base64_encode($data['php_model_list']);
|
||||
}
|
||||
|
||||
// Set the php_import_display string to base64 string.
|
||||
if (isset($data['php_import_display']))
|
||||
{
|
||||
$data['php_import_display'] = base64_encode($data['php_import_display']);
|
||||
}
|
||||
|
||||
// Set the php_import string to base64 string.
|
||||
if (isset($data['php_import']))
|
||||
{
|
||||
$data['php_import'] = base64_encode($data['php_import']);
|
||||
}
|
||||
|
||||
// Set the php_import_setdata string to base64 string.
|
||||
if (isset($data['php_import_setdata']))
|
||||
{
|
||||
$data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
|
||||
}
|
||||
|
||||
// Set the php_ajaxmethod string to base64 string.
|
||||
if (isset($data['php_ajaxmethod']))
|
||||
{
|
||||
$data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']);
|
||||
}
|
||||
|
||||
// Set the php_import_setdata string to base64 string.
|
||||
if (isset($data['php_import_setdata']))
|
||||
{
|
||||
$data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
|
||||
}
|
||||
|
||||
// Set the php_import_ext string to base64 string.
|
||||
if (isset($data['php_import_ext']))
|
||||
{
|
||||
|
@ -244,12 +244,12 @@ class ComponentbuilderModelAdmin_views extends JModelList
|
||||
continue;
|
||||
}
|
||||
|
||||
// decode php_import_headers
|
||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||
// decode html_import_view
|
||||
$item->html_import_view = base64_decode($item->html_import_view);
|
||||
// decode php_import_save
|
||||
$item->php_import_save = base64_decode($item->php_import_save);
|
||||
// decode php_import_headers
|
||||
$item->php_import_headers = base64_decode($item->php_import_headers);
|
||||
// decode php_getitem
|
||||
$item->php_getitem = base64_decode($item->php_getitem);
|
||||
// decode php_getitems
|
||||
@ -260,56 +260,58 @@ class ComponentbuilderModelAdmin_views extends JModelList
|
||||
$item->css_view = base64_decode($item->css_view);
|
||||
// decode php_getlistquery
|
||||
$item->php_getlistquery = base64_decode($item->php_getlistquery);
|
||||
// decode php_before_save
|
||||
$item->php_before_save = base64_decode($item->php_before_save);
|
||||
// decode php_getform
|
||||
$item->php_getform = base64_decode($item->php_getform);
|
||||
// decode css_views
|
||||
$item->css_views = base64_decode($item->css_views);
|
||||
// decode php_before_save
|
||||
$item->php_before_save = base64_decode($item->php_before_save);
|
||||
// decode php_save
|
||||
$item->php_save = base64_decode($item->php_save);
|
||||
// decode php_postsavehook
|
||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||
// decode javascript_view_file
|
||||
$item->javascript_view_file = base64_decode($item->javascript_view_file);
|
||||
// decode php_postsavehook
|
||||
$item->php_postsavehook = base64_decode($item->php_postsavehook);
|
||||
// decode php_allowedit
|
||||
$item->php_allowedit = base64_decode($item->php_allowedit);
|
||||
// decode php_batchcopy
|
||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||
// decode javascript_view_footer
|
||||
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
|
||||
// decode php_batchcopy
|
||||
$item->php_batchcopy = base64_decode($item->php_batchcopy);
|
||||
// decode php_batchmove
|
||||
$item->php_batchmove = base64_decode($item->php_batchmove);
|
||||
// decode php_before_publish
|
||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||
// decode javascript_views_file
|
||||
$item->javascript_views_file = base64_decode($item->javascript_views_file);
|
||||
// decode php_before_publish
|
||||
$item->php_before_publish = base64_decode($item->php_before_publish);
|
||||
// decode php_after_publish
|
||||
$item->php_after_publish = base64_decode($item->php_after_publish);
|
||||
// decode php_before_delete
|
||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||
// decode javascript_views_footer
|
||||
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
|
||||
// decode php_before_delete
|
||||
$item->php_before_delete = base64_decode($item->php_before_delete);
|
||||
// decode php_after_delete
|
||||
$item->php_after_delete = base64_decode($item->php_after_delete);
|
||||
// decode php_document
|
||||
$item->php_document = base64_decode($item->php_document);
|
||||
// decode php_controller
|
||||
$item->php_controller = base64_decode($item->php_controller);
|
||||
// decode sql
|
||||
$item->sql = base64_decode($item->sql);
|
||||
// decode php_model
|
||||
$item->php_model = base64_decode($item->php_model);
|
||||
// decode sql
|
||||
$item->sql = base64_decode($item->sql);
|
||||
// decode php_controller_list
|
||||
$item->php_controller_list = base64_decode($item->php_controller_list);
|
||||
// decode php_import_display
|
||||
$item->php_import_display = base64_decode($item->php_import_display);
|
||||
// decode php_model_list
|
||||
$item->php_model_list = base64_decode($item->php_model_list);
|
||||
// decode php_import_display
|
||||
$item->php_import_display = base64_decode($item->php_import_display);
|
||||
// decode php_import
|
||||
$item->php_import = base64_decode($item->php_import);
|
||||
// decode php_import_setdata
|
||||
$item->php_import_setdata = base64_decode($item->php_import_setdata);
|
||||
// decode php_ajaxmethod
|
||||
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
|
||||
// decode php_import_setdata
|
||||
$item->php_import_setdata = base64_decode($item->php_import_setdata);
|
||||
// decode php_import_ext
|
||||
$item->php_import_ext = base64_decode($item->php_import_ext);
|
||||
// unset the values we don't want exported.
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -223,6 +223,7 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -242,6 +242,7 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -217,6 +217,7 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -327,6 +327,16 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -184,6 +184,16 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -334,6 +334,16 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -232,6 +232,7 @@ class ComponentbuilderModelField extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -125,7 +125,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWadfields()
|
||||
public function getWaefields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -207,13 +207,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationWadfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationWaefields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationWadfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationWaefields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationWadfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationWaefields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationWadfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationWaefields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -227,7 +227,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationWadfields($value,$name)
|
||||
public function selectionTranslationWaefields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
@ -451,6 +451,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -144,11 +144,11 @@
|
||||
message="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
|
||||
/>
|
||||
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_before_publish Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_batchmove"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
|
||||
name="add_php_before_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -158,11 +158,11 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_allowedit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
|
||||
name="add_php_batchcopy"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -172,11 +172,11 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_save Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
|
||||
name="add_php_postsavehook"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -186,11 +186,11 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_before_save Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
name="add_php_before_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -208,32 +208,53 @@
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_import_headers Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="html_import_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
|
||||
name="php_import_headers"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_sql Field. Type: Radio. (joomla) -->
|
||||
<!-- Addtables Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_sql"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
type="subform"
|
||||
name="addtables"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addtables_modal" repeat="true">
|
||||
<!-- Table Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="dbtables"
|
||||
name="table"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="sourcemap"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
|
||||
class="text_area span4"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
@ -286,11 +307,11 @@
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Add_php_after_publish Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL"
|
||||
name="add_php_before_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -306,11 +327,54 @@
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_document Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
|
||||
name="add_php_document"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitems"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_import"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -322,8 +386,28 @@
|
||||
</field>
|
||||
<!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" />
|
||||
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
|
||||
<!-- Icon Field. Type: Media. (joomla) -->
|
||||
<field
|
||||
type="media"
|
||||
name="icon"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Add_php_getitems_after_all Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitems_after_all"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Addpermissions Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
@ -397,26 +481,27 @@
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" />
|
||||
<!-- Add_php_getitems_after_all Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_getform Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitems_after_all"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
|
||||
name="add_php_getform"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" />
|
||||
<!-- Add_php_save Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -454,11 +539,11 @@
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Add_php_before_save Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL"
|
||||
name="add_php_allowedit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -470,11 +555,11 @@
|
||||
</field>
|
||||
<!-- Note_on_linked_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_on_linked_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_LINKED_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_LINKED_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_linked_views" />
|
||||
<!-- Add_php_postsavehook Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postsavehook"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
|
||||
name="add_php_batchmove"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -573,11 +658,11 @@
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_after_publish Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_batchcopy"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
|
||||
name="add_php_after_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -589,11 +674,11 @@
|
||||
</field>
|
||||
<!-- Note_create_edit_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_create_edit_notice" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_NOTICE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_NOTICE_DESCRIPTION" heading="h4" class="alert alert-info note_create_edit_notice" />
|
||||
<!-- Add_php_before_publish Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL"
|
||||
name="add_php_after_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -617,11 +702,11 @@
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM</option>
|
||||
</field>
|
||||
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
|
||||
<!-- Add_sql Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
|
||||
name="add_sql"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
@ -633,57 +718,23 @@
|
||||
</field>
|
||||
<!-- Note_alias_builder_custom Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_alias_builder_custom" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_CUSTOM_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_CUSTOM_DESCRIPTION" heading="h4" class="alert alert-info note_alias_builder_custom" showon="alias_builder_type:2" />
|
||||
<!-- Add_php_document Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_document"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
|
||||
<!-- Note_alias_builder_default Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_alias_builder_default" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_DEFAULT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_DEFAULT_DESCRIPTION" heading="h4" class="alert alert-info note_alias_builder_default" showon="alias_builder_type:1" />
|
||||
<!-- Addtables Field. Type: Subform. (joomla) -->
|
||||
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addtables"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addtables_modal" repeat="true">
|
||||
<!-- Table Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="dbtables"
|
||||
name="table"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="false"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="sourcemap"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
|
||||
class="text_area span4"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
|
||||
required="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
type="textarea"
|
||||
name="html_import_view"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Alias_builder Field. Type: Aliasbuilder. (custom) -->
|
||||
<field
|
||||
type="aliasbuilder"
|
||||
@ -694,72 +745,21 @@
|
||||
multiple="true"
|
||||
showon="alias_builder_type:2"
|
||||
/>
|
||||
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_custom_import"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitem"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_import_headers Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import_headers"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_LABEL"
|
||||
name="php_import_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_HINT"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitems"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Note_create_edit_buttons Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_create_edit_buttons" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_BUTTONS_DESCRIPTION" class="note_create_edit_buttons" />
|
||||
<!-- Icon Field. Type: Media. (joomla) -->
|
||||
<field
|
||||
type="media"
|
||||
name="icon"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
|
||||
directory=""
|
||||
/>
|
||||
<!-- Php_getitem Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
@ -773,7 +773,7 @@
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="code"
|
||||
filter="raw"
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
@ -875,12 +875,12 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_before_save Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_getform Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_before_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_DESCRIPTION"
|
||||
name="php_getform"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -909,12 +909,12 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_save Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_before_save Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
|
||||
name="php_before_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -940,12 +940,12 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_postsavehook Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_save Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_postsavehook"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
|
||||
name="php_save"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -974,12 +974,12 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_allowedit Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_postsavehook Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_allowedit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
|
||||
name="php_postsavehook"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1005,12 +1005,12 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_batchcopy Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_allowedit Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_batchcopy"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
|
||||
name="php_allowedit"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1039,12 +1039,12 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_batchmove Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_batchcopy Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_batchmove"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
|
||||
name="php_batchcopy"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1070,12 +1070,12 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_before_publish Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_batchmove Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_before_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION"
|
||||
name="php_batchmove"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1104,12 +1104,12 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_after_publish Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_before_publish Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_after_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
|
||||
name="php_before_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1135,12 +1135,12 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_before_delete Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_after_publish Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_before_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
|
||||
name="php_after_publish"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1169,12 +1169,12 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_after_delete Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_before_delete Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_after_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
|
||||
name="php_before_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1200,16 +1200,16 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_document Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_after_delete Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_document"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
|
||||
name="php_after_delete"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="50"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
@ -1726,6 +1726,40 @@
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Php_document Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_document"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="50"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_controller Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_controller"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Source Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -1739,12 +1773,12 @@
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
|
||||
</field>
|
||||
<!-- Php_controller Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_model Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_controller"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION"
|
||||
name="php_model"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1769,12 +1803,12 @@
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_model Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_controller_list Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_model"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION"
|
||||
name="php_controller_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
@ -1788,16 +1822,16 @@
|
||||
/>
|
||||
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
|
||||
<!-- Php_controller_list Field. Type: Editor. (joomla) -->
|
||||
<!-- Php_model_list Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_controller_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION"
|
||||
name="php_model_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
cols="30"
|
||||
rows="15"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
@ -1818,36 +1852,6 @@
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_model_list Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_model_list"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_LABEL"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="30"
|
||||
rows="15"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_import Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_ajax Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
@ -1862,17 +1866,17 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
<!-- Php_import_setdata Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_import Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import_setdata"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_LABEL"
|
||||
name="php_import"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_ajaxmethod Field. Type: Editor. (joomla) -->
|
||||
@ -1892,17 +1896,17 @@
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_import_ext Field. Type: Textarea. (joomla) -->
|
||||
<!-- Php_import_setdata Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import_ext"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_LABEL"
|
||||
name="php_import_setdata"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_DESCRIPTION"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_HINT"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Ajax_input Field. Type: Subform. (joomla) -->
|
||||
@ -2036,6 +2040,33 @@
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Php_import_ext Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="php_import_ext"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getitem"
|
||||
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
|
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyevxx_required = false;
|
||||
jform_vvvvvyfvxy_required = false;
|
||||
jform_vvvvvygvxz_required = false;
|
||||
jform_vvvvvyhvya_required = false;
|
||||
@ -17,286 +16,287 @@ jform_vvvvvyivyb_required = false;
|
||||
jform_vvvvvyjvyc_required = false;
|
||||
jform_vvvvvykvyd_required = false;
|
||||
jform_vvvvvylvye_required = false;
|
||||
jform_vvvvvylvyf_required = false;
|
||||
jform_vvvvvymvyf_required = false;
|
||||
jform_vvvvvymvyg_required = false;
|
||||
jform_vvvvvynvyh_required = false;
|
||||
jform_vvvvvyovyi_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_view_vvvvvye);
|
||||
var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_view_vvvvvyf);
|
||||
|
||||
var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_jview_display_vvvvvyf);
|
||||
var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_jview_display_vvvvvyg);
|
||||
|
||||
var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_jview_vvvvvyg);
|
||||
var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_jview_vvvvvyh);
|
||||
|
||||
var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_document_vvvvvyh);
|
||||
var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_document_vvvvvyi);
|
||||
|
||||
var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyi(add_css_document_vvvvvyi);
|
||||
var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyj(add_css_document_vvvvvyj);
|
||||
|
||||
var add_javascript_file_vvvvvyj = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyj(add_javascript_file_vvvvvyj);
|
||||
var add_javascript_file_vvvvvyk = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyk(add_javascript_file_vvvvvyk);
|
||||
|
||||
var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyk(add_js_document_vvvvvyk);
|
||||
var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyl(add_js_document_vvvvvyl);
|
||||
|
||||
var add_custom_button_vvvvvyl = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyl(add_custom_button_vvvvvyl);
|
||||
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvym(add_custom_button_vvvvvym);
|
||||
|
||||
var add_css_vvvvvym = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvym(add_css_vvvvvym);
|
||||
var add_css_vvvvvyn = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyn(add_css_vvvvvyn);
|
||||
|
||||
var add_php_ajax_vvvvvyn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_ajax_vvvvvyn);
|
||||
var add_php_ajax_vvvvvyo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_ajax_vvvvvyo);
|
||||
});
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_view_vvvvvye)
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_view_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvye == 1)
|
||||
if (add_php_view_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyevxx_required)
|
||||
if (jform_vvvvvyfvxy_required)
|
||||
{
|
||||
updateFieldRequired('php_view',0);
|
||||
jQuery('#jform_php_view').prop('required','required');
|
||||
jQuery('#jform_php_view').attr('aria-required',true);
|
||||
jQuery('#jform_php_view').addClass('required');
|
||||
jform_vvvvvyevxx_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyevxx_required)
|
||||
{
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvyevxx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_jview_display_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyfvxy_required)
|
||||
{
|
||||
updateFieldRequired('php_jview_display',0);
|
||||
jQuery('#jform_php_jview_display').prop('required','required');
|
||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview_display').addClass('required');
|
||||
jform_vvvvvyfvxy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyfvxy_required)
|
||||
{
|
||||
updateFieldRequired('php_jview_display',1);
|
||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview_display').removeClass('required');
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvyfvxy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_jview_vvvvvyg)
|
||||
function vvvvvyg(add_php_jview_display_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyg == 1)
|
||||
if (add_php_jview_display_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvygvxz_required)
|
||||
{
|
||||
updateFieldRequired('php_jview',0);
|
||||
jQuery('#jform_php_jview').prop('required','required');
|
||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview').addClass('required');
|
||||
updateFieldRequired('php_jview_display',0);
|
||||
jQuery('#jform_php_jview_display').prop('required','required');
|
||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview_display').addClass('required');
|
||||
jform_vvvvvygvxz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvygvxz_required)
|
||||
{
|
||||
updateFieldRequired('php_jview',1);
|
||||
jQuery('#jform_php_jview').removeAttr('required');
|
||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview').removeClass('required');
|
||||
updateFieldRequired('php_jview_display',1);
|
||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview_display').removeClass('required');
|
||||
jform_vvvvvygvxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_php_document_vvvvvyh)
|
||||
function vvvvvyh(add_php_jview_vvvvvyh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyh == 1)
|
||||
if (add_php_jview_vvvvvyh == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyhvya_required)
|
||||
{
|
||||
updateFieldRequired('php_document',0);
|
||||
jQuery('#jform_php_document').prop('required','required');
|
||||
jQuery('#jform_php_document').attr('aria-required',true);
|
||||
jQuery('#jform_php_document').addClass('required');
|
||||
updateFieldRequired('php_jview',0);
|
||||
jQuery('#jform_php_jview').prop('required','required');
|
||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview').addClass('required');
|
||||
jform_vvvvvyhvya_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyhvya_required)
|
||||
{
|
||||
updateFieldRequired('php_document',1);
|
||||
jQuery('#jform_php_document').removeAttr('required');
|
||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||
jQuery('#jform_php_document').removeClass('required');
|
||||
updateFieldRequired('php_jview',1);
|
||||
jQuery('#jform_php_jview').removeAttr('required');
|
||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview').removeClass('required');
|
||||
jform_vvvvvyhvya_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_css_document_vvvvvyi)
|
||||
function vvvvvyi(add_php_document_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvyi == 1)
|
||||
if (add_php_document_vvvvvyi == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyivyb_required)
|
||||
{
|
||||
updateFieldRequired('css_document',0);
|
||||
jQuery('#jform_css_document').prop('required','required');
|
||||
jQuery('#jform_css_document').attr('aria-required',true);
|
||||
jQuery('#jform_css_document').addClass('required');
|
||||
updateFieldRequired('php_document',0);
|
||||
jQuery('#jform_php_document').prop('required','required');
|
||||
jQuery('#jform_php_document').attr('aria-required',true);
|
||||
jQuery('#jform_php_document').addClass('required');
|
||||
jform_vvvvvyivyb_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyivyb_required)
|
||||
{
|
||||
updateFieldRequired('css_document',1);
|
||||
jQuery('#jform_css_document').removeAttr('required');
|
||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||
jQuery('#jform_css_document').removeClass('required');
|
||||
updateFieldRequired('php_document',1);
|
||||
jQuery('#jform_php_document').removeAttr('required');
|
||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||
jQuery('#jform_php_document').removeClass('required');
|
||||
jform_vvvvvyivyb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_javascript_file_vvvvvyj)
|
||||
function vvvvvyj(add_css_document_vvvvvyj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvyj == 1)
|
||||
if (add_css_document_vvvvvyj == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyjvyc_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
updateFieldRequired('css_document',0);
|
||||
jQuery('#jform_css_document').prop('required','required');
|
||||
jQuery('#jform_css_document').attr('aria-required',true);
|
||||
jQuery('#jform_css_document').addClass('required');
|
||||
jform_vvvvvyjvyc_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyjvyc_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
updateFieldRequired('css_document',1);
|
||||
jQuery('#jform_css_document').removeAttr('required');
|
||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||
jQuery('#jform_css_document').removeClass('required');
|
||||
jform_vvvvvyjvyc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_js_document_vvvvvyk)
|
||||
function vvvvvyk(add_javascript_file_vvvvvyk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyk == 1)
|
||||
if (add_javascript_file_vvvvvyk == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvykvyd_required)
|
||||
{
|
||||
updateFieldRequired('js_document',0);
|
||||
jQuery('#jform_js_document').prop('required','required');
|
||||
jQuery('#jform_js_document').attr('aria-required',true);
|
||||
jQuery('#jform_js_document').addClass('required');
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
jform_vvvvvykvyd_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvykvyd_required)
|
||||
{
|
||||
updateFieldRequired('js_document',1);
|
||||
jQuery('#jform_js_document').removeAttr('required');
|
||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||
jQuery('#jform_js_document').removeClass('required');
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
jform_vvvvvykvyd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_custom_button_vvvvvyl)
|
||||
function vvvvvyl(add_js_document_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyl == 1)
|
||||
if (add_js_document_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvylvye_required)
|
||||
{
|
||||
updateFieldRequired('js_document',0);
|
||||
jQuery('#jform_js_document').prop('required','required');
|
||||
jQuery('#jform_js_document').attr('aria-required',true);
|
||||
jQuery('#jform_js_document').addClass('required');
|
||||
jform_vvvvvylvye_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvylvye_required)
|
||||
{
|
||||
updateFieldRequired('js_document',1);
|
||||
jQuery('#jform_js_document').removeAttr('required');
|
||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||
jQuery('#jform_js_document').removeClass('required');
|
||||
jform_vvvvvylvye_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_custom_button_vvvvvym)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvym == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvylvye_required)
|
||||
if (jform_vvvvvymvyf_required)
|
||||
{
|
||||
updateFieldRequired('php_controller',0);
|
||||
jQuery('#jform_php_controller').prop('required','required');
|
||||
jQuery('#jform_php_controller').attr('aria-required',true);
|
||||
jQuery('#jform_php_controller').addClass('required');
|
||||
jform_vvvvvylvye_required = false;
|
||||
jform_vvvvvymvyf_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvylvyf_required)
|
||||
if (jform_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('php_model',0);
|
||||
jQuery('#jform_php_model').prop('required','required');
|
||||
jQuery('#jform_php_model').attr('aria-required',true);
|
||||
jQuery('#jform_php_model').addClass('required');
|
||||
jform_vvvvvylvyf_required = false;
|
||||
jform_vvvvvymvyg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -304,72 +304,72 @@ function vvvvvyl(add_custom_button_vvvvvyl)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvylvye_required)
|
||||
if (!jform_vvvvvymvyf_required)
|
||||
{
|
||||
updateFieldRequired('php_controller',1);
|
||||
jQuery('#jform_php_controller').removeAttr('required');
|
||||
jQuery('#jform_php_controller').removeAttr('aria-required');
|
||||
jQuery('#jform_php_controller').removeClass('required');
|
||||
jform_vvvvvylvye_required = true;
|
||||
jform_vvvvvymvyf_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvylvyf_required)
|
||||
if (!jform_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('php_model',1);
|
||||
jQuery('#jform_php_model').removeAttr('required');
|
||||
jQuery('#jform_php_model').removeAttr('aria-required');
|
||||
jQuery('#jform_php_model').removeClass('required');
|
||||
jform_vvvvvylvyf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_css_vvvvvym)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvym == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvymvyg_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvymvyg_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvymvyg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_ajax_vvvvvyn)
|
||||
function vvvvvyn(add_css_vvvvvyn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyn == 1)
|
||||
if (add_css_vvvvvyn == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvynvyh_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvynvyh_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvynvyh_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvynvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_ajax_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvynvyh_required)
|
||||
if (jform_vvvvvyovyi_required)
|
||||
{
|
||||
updateFieldRequired('php_ajaxmethod',0);
|
||||
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
||||
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
||||
jQuery('#jform_php_ajaxmethod').addClass('required');
|
||||
jform_vvvvvynvyh_required = false;
|
||||
jform_vvvvvyovyi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -377,13 +377,13 @@ function vvvvvyn(add_php_ajax_vvvvvyn)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvynvyh_required)
|
||||
if (!jform_vvvvvyovyi_required)
|
||||
{
|
||||
updateFieldRequired('php_ajaxmethod',1);
|
||||
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
||||
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
||||
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
||||
jform_vvvvvynvyh_required = true;
|
||||
jform_vvvvvyovyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,43 +9,43 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwaavzp_required = false;
|
||||
jform_vvvvwabvzq_required = false;
|
||||
jform_vvvvwabvzr_required = false;
|
||||
jform_vvvvwabvzs_required = false;
|
||||
jform_vvvvwacvzr_required = false;
|
||||
jform_vvvvwacvzs_required = false;
|
||||
jform_vvvvwacvzt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwaa(target_vvvvwaa);
|
||||
|
||||
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwab(target_vvvvwab);
|
||||
|
||||
var target_vvvvwac = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwac = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwac(target_vvvvwac,type_vvvvwac);
|
||||
vvvvwac(target_vvvvwac);
|
||||
|
||||
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwad(type_vvvvwad,target_vvvvwad);
|
||||
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwad(target_vvvvwad,type_vvvvwad);
|
||||
|
||||
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwae(type_vvvvwae,target_vvvvwae);
|
||||
});
|
||||
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(target_vvvvwaa)
|
||||
// the vvvvwab function
|
||||
function vvvvwab(target_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwaa == 2)
|
||||
if (target_vvvvwab == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
if (jform_vvvvwaavzp_required)
|
||||
if (jform_vvvvwabvzq_required)
|
||||
{
|
||||
updateFieldRequired('function_name',0);
|
||||
jQuery('#jform_function_name').prop('required','required');
|
||||
jQuery('#jform_function_name').attr('aria-required',true);
|
||||
jQuery('#jform_function_name').addClass('required');
|
||||
jform_vvvvwaavzp_required = false;
|
||||
jform_vvvvwabvzq_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
@ -54,99 +54,99 @@ function vvvvwaa(target_vvvvwaa)
|
||||
else
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaavzp_required)
|
||||
if (!jform_vvvvwabvzq_required)
|
||||
{
|
||||
updateFieldRequired('function_name',1);
|
||||
jQuery('#jform_function_name').removeAttr('required');
|
||||
jQuery('#jform_function_name').removeAttr('aria-required');
|
||||
jQuery('#jform_function_name').removeClass('required');
|
||||
jform_vvvvwaavzp_required = true;
|
||||
jform_vvvvwabvzq_required = true;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwab function
|
||||
function vvvvwab(target_vvvvwab)
|
||||
// the vvvvwac function
|
||||
function vvvvwac(target_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwab == 1)
|
||||
if (target_vvvvwac == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
if (jform_vvvvwabvzq_required)
|
||||
if (jform_vvvvwacvzr_required)
|
||||
{
|
||||
updateFieldRequired('component',0);
|
||||
jQuery('#jform_component').prop('required','required');
|
||||
jQuery('#jform_component').attr('aria-required',true);
|
||||
jQuery('#jform_component').addClass('required');
|
||||
jform_vvvvwabvzq_required = false;
|
||||
jform_vvvvwacvzr_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwabvzr_required)
|
||||
if (jform_vvvvwacvzs_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwabvzr_required = false;
|
||||
jform_vvvvwacvzs_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_from_line').closest('.control-group').show();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
if (jform_vvvvwabvzs_required)
|
||||
if (jform_vvvvwacvzt_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwabvzs_required = false;
|
||||
jform_vvvvwacvzt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
if (!jform_vvvvwabvzq_required)
|
||||
if (!jform_vvvvwacvzr_required)
|
||||
{
|
||||
updateFieldRequired('component',1);
|
||||
jQuery('#jform_component').removeAttr('required');
|
||||
jQuery('#jform_component').removeAttr('aria-required');
|
||||
jQuery('#jform_component').removeClass('required');
|
||||
jform_vvvvwabvzq_required = true;
|
||||
jform_vvvvwacvzr_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwabvzr_required)
|
||||
if (!jform_vvvvwacvzs_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwabvzr_required = true;
|
||||
jform_vvvvwacvzs_required = true;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').hide();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
||||
jQuery('#jform_to_line').closest('.control-group').hide();
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
if (!jform_vvvvwabvzs_required)
|
||||
if (!jform_vvvvwacvzt_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwabvzs_required = true;
|
||||
jform_vvvvwacvzt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwac function
|
||||
function vvvvwac(target_vvvvwac,type_vvvvwac)
|
||||
// the vvvvwad function
|
||||
function vvvvwad(target_vvvvwad,type_vvvvwad)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwac == 1 && type_vvvvwac == 1)
|
||||
if (target_vvvvwad == 1 && type_vvvvwad == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -158,11 +158,11 @@ function vvvvwac(target_vvvvwac,type_vvvvwac)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwad function
|
||||
function vvvvwad(type_vvvvwad,target_vvvvwad)
|
||||
// the vvvvwae function
|
||||
function vvvvwae(type_vvvvwae,target_vvvvwae)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwad == 1 && target_vvvvwad == 1)
|
||||
if (type_vvvvwae == 1 && target_vvvvwae == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,151 +9,96 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwamvzv_required = false;
|
||||
jform_vvvvwanvzw_required = false;
|
||||
jform_vvvvwaovzx_required = false;
|
||||
jform_vvvvwapvzy_required = false;
|
||||
jform_vvvvwasvzz_required = false;
|
||||
jform_vvvvwaqvzz_required = false;
|
||||
jform_vvvvwatwaa_required = false;
|
||||
jform_vvvvwauwab_required = false;
|
||||
jform_vvvvwavwac_required = false;
|
||||
jform_vvvvwawwad_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwam = jQuery("#jform_datalenght").val();
|
||||
vvvvwam(datalenght_vvvvwam);
|
||||
var datalenght_vvvvwan = jQuery("#jform_datalenght").val();
|
||||
vvvvwan(datalenght_vvvvwan);
|
||||
|
||||
var datadefault_vvvvwan = jQuery("#jform_datadefault").val();
|
||||
vvvvwan(datadefault_vvvvwan);
|
||||
|
||||
var datatype_vvvvwao = jQuery("#jform_datatype").val();
|
||||
vvvvwao(datatype_vvvvwao);
|
||||
var datadefault_vvvvwao = jQuery("#jform_datadefault").val();
|
||||
vvvvwao(datadefault_vvvvwao);
|
||||
|
||||
var datatype_vvvvwap = jQuery("#jform_datatype").val();
|
||||
vvvvwap(datatype_vvvvwap);
|
||||
|
||||
var store_vvvvwaq = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwaq = jQuery("#jform_datatype").val();
|
||||
vvvvwaq(store_vvvvwaq,datatype_vvvvwaq);
|
||||
vvvvwaq(datatype_vvvvwaq);
|
||||
|
||||
var add_css_view_vvvvwas = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwas(add_css_view_vvvvwas);
|
||||
var store_vvvvwar = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwar = jQuery("#jform_datatype").val();
|
||||
vvvvwar(store_vvvvwar,datatype_vvvvwar);
|
||||
|
||||
var add_css_views_vvvvwat = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwat(add_css_views_vvvvwat);
|
||||
var add_css_view_vvvvwat = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwat(add_css_view_vvvvwat);
|
||||
|
||||
var add_javascript_view_footer_vvvvwau = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwau(add_javascript_view_footer_vvvvwau);
|
||||
var add_css_views_vvvvwau = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwau(add_css_views_vvvvwau);
|
||||
|
||||
var add_javascript_views_footer_vvvvwav = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwav(add_javascript_views_footer_vvvvwav);
|
||||
var add_javascript_view_footer_vvvvwav = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwav(add_javascript_view_footer_vvvvwav);
|
||||
|
||||
var add_javascript_views_footer_vvvvwaw = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwaw(add_javascript_views_footer_vvvvwaw);
|
||||
});
|
||||
|
||||
// the vvvvwam function
|
||||
function vvvvwam(datalenght_vvvvwam)
|
||||
// the vvvvwan function
|
||||
function vvvvwan(datalenght_vvvvwan)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwam) && datalenght_vvvvwam.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwan) && datalenght_vvvvwan.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwam = datalenght_vvvvwam;
|
||||
var datalenght_vvvvwam = [];
|
||||
datalenght_vvvvwam.push(temp_vvvvwam);
|
||||
var temp_vvvvwan = datalenght_vvvvwan;
|
||||
var datalenght_vvvvwan = [];
|
||||
datalenght_vvvvwan.push(temp_vvvvwan);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwam))
|
||||
else if (!isSet(datalenght_vvvvwan))
|
||||
{
|
||||
var datalenght_vvvvwam = [];
|
||||
var datalenght_vvvvwan = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwam.some(datalenght_vvvvwam_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwan.some(datalenght_vvvvwan_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datalenght)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
if (jform_vvvvwamvzv_required)
|
||||
if (jform_vvvvwanvzw_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_vvvvwamvzv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvwamvzv_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_vvvvwamvzv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwam Some function
|
||||
function datalenght_vvvvwam_SomeFunc(datalenght_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwam == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwan function
|
||||
function vvvvwan(datadefault_vvvvwan)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwan) && datadefault_vvvvwan.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwan = datadefault_vvvvwan;
|
||||
var datadefault_vvvvwan = [];
|
||||
datadefault_vvvvwan.push(temp_vvvvwan);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwan))
|
||||
{
|
||||
var datadefault_vvvvwan = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwan.some(datadefault_vvvvwan_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
if (jform_vvvvwanvzw_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_vvvvwanvzw_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvwanvzw_required)
|
||||
{
|
||||
updateFieldRequired('datadefault_other',1);
|
||||
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datadefault_other').removeClass('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_vvvvwanvzw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwan Some function
|
||||
function datadefault_vvvvwan_SomeFunc(datadefault_vvvvwan)
|
||||
function datalenght_vvvvwan_SomeFunc(datalenght_vvvvwan)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwan == 'Other')
|
||||
if (datalenght_vvvvwan == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -161,58 +106,54 @@ function datadefault_vvvvwan_SomeFunc(datadefault_vvvvwan)
|
||||
}
|
||||
|
||||
// the vvvvwao function
|
||||
function vvvvwao(datatype_vvvvwao)
|
||||
function vvvvwao(datadefault_vvvvwao)
|
||||
{
|
||||
if (isSet(datatype_vvvvwao) && datatype_vvvvwao.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwao) && datadefault_vvvvwao.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwao = datatype_vvvvwao;
|
||||
var datatype_vvvvwao = [];
|
||||
datatype_vvvvwao.push(temp_vvvvwao);
|
||||
var temp_vvvvwao = datadefault_vvvvwao;
|
||||
var datadefault_vvvvwao = [];
|
||||
datadefault_vvvvwao.push(temp_vvvvwao);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwao))
|
||||
else if (!isSet(datadefault_vvvvwao))
|
||||
{
|
||||
var datatype_vvvvwao = [];
|
||||
var datadefault_vvvvwao = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwao.some(datatype_vvvvwao_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwao.some(datadefault_vvvvwao_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
if (jform_vvvvwaovzx_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('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_vvvvwaovzx_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaovzx_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('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_vvvvwaovzx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwao Some function
|
||||
function datatype_vvvvwao_SomeFunc(datatype_vvvvwao)
|
||||
function datadefault_vvvvwao_SomeFunc(datadefault_vvvvwao)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwao == 'CHAR' || datatype_vvvvwao == 'VARCHAR' || datatype_vvvvwao == 'DATETIME' || datatype_vvvvwao == 'DATE' || datatype_vvvvwao == 'TIME' || datatype_vvvvwao == 'INT' || datatype_vvvvwao == 'TINYINT' || datatype_vvvvwao == 'BIGINT' || datatype_vvvvwao == 'FLOAT' || datatype_vvvvwao == 'DECIMAL' || datatype_vvvvwao == 'DOUBLE')
|
||||
if (datadefault_vvvvwao == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -238,26 +179,30 @@ function vvvvwap(datatype_vvvvwap)
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
if (jform_vvvvwapvzy_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwapvzy_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
if (!jform_vvvvwapvzy_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwapvzy_required = true;
|
||||
}
|
||||
}
|
||||
@ -267,7 +212,7 @@ function vvvvwap(datatype_vvvvwap)
|
||||
function datatype_vvvvwap_SomeFunc(datatype_vvvvwap)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwap == 'CHAR' || datatype_vvvvwap == 'VARCHAR' || datatype_vvvvwap == 'TEXT' || datatype_vvvvwap == 'MEDIUMTEXT' || datatype_vvvvwap == 'LONGTEXT')
|
||||
if (datatype_vvvvwap == 'CHAR' || datatype_vvvvwap == 'VARCHAR' || datatype_vvvvwap == 'DATETIME' || datatype_vvvvwap == 'DATE' || datatype_vvvvwap == 'TIME' || datatype_vvvvwap == 'INT' || datatype_vvvvwap == 'TINYINT' || datatype_vvvvwap == 'BIGINT' || datatype_vvvvwap == 'FLOAT' || datatype_vvvvwap == 'DECIMAL' || datatype_vvvvwap == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -275,20 +220,8 @@ function datatype_vvvvwap_SomeFunc(datatype_vvvvwap)
|
||||
}
|
||||
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(store_vvvvwaq,datatype_vvvvwaq)
|
||||
function vvvvwaq(datatype_vvvvwaq)
|
||||
{
|
||||
if (isSet(store_vvvvwaq) && store_vvvvwaq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaq = store_vvvvwaq;
|
||||
var store_vvvvwaq = [];
|
||||
store_vvvvwaq.push(temp_vvvvwaq);
|
||||
}
|
||||
else if (!isSet(store_vvvvwaq))
|
||||
{
|
||||
var store_vvvvwaq = [];
|
||||
}
|
||||
var store = store_vvvvwaq.some(store_vvvvwaq_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwaq) && datatype_vvvvwaq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaq = datatype_vvvvwaq;
|
||||
@ -303,27 +236,33 @@ function vvvvwaq(store_vvvvwaq,datatype_vvvvwaq)
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').show();
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
if (jform_vvvvwaqvzz_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwaqvzz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaqvzz_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwaqvzz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaq Some function
|
||||
function store_vvvvwaq_SomeFunc(store_vvvvwaq)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwaq == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaq Some function
|
||||
function datatype_vvvvwaq_SomeFunc(datatype_vvvvwaq)
|
||||
{
|
||||
@ -335,126 +274,187 @@ function datatype_vvvvwaq_SomeFunc(datatype_vvvvwaq)
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_css_view_vvvvwas)
|
||||
// the vvvvwar function
|
||||
function vvvvwar(store_vvvvwar,datatype_vvvvwar)
|
||||
{
|
||||
if (isSet(store_vvvvwar) && store_vvvvwar.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwar = store_vvvvwar;
|
||||
var store_vvvvwar = [];
|
||||
store_vvvvwar.push(temp_vvvvwar);
|
||||
}
|
||||
else if (!isSet(store_vvvvwar))
|
||||
{
|
||||
var store_vvvvwar = [];
|
||||
}
|
||||
var store = store_vvvvwar.some(store_vvvvwar_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwar) && datatype_vvvvwar.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwar = datatype_vvvvwar;
|
||||
var datatype_vvvvwar = [];
|
||||
datatype_vvvvwar.push(temp_vvvvwar);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwar))
|
||||
{
|
||||
var datatype_vvvvwar = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwar.some(datatype_vvvvwar_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwar Some function
|
||||
function store_vvvvwar_SomeFunc(store_vvvvwar)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwas == 1)
|
||||
if (store_vvvvwar == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwar Some function
|
||||
function datatype_vvvvwar_SomeFunc(datatype_vvvvwar)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwar == 'CHAR' || datatype_vvvvwar == 'VARCHAR' || datatype_vvvvwar == 'TEXT' || datatype_vvvvwar == 'MEDIUMTEXT' || datatype_vvvvwar == 'LONGTEXT')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_css_view_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwat == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwasvzz_required)
|
||||
if (jform_vvvvwatwaa_required)
|
||||
{
|
||||
updateFieldRequired('css_view',0);
|
||||
jQuery('#jform_css_view').prop('required','required');
|
||||
jQuery('#jform_css_view').attr('aria-required',true);
|
||||
jQuery('#jform_css_view').addClass('required');
|
||||
jform_vvvvwasvzz_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwasvzz_required)
|
||||
{
|
||||
updateFieldRequired('css_view',1);
|
||||
jQuery('#jform_css_view').removeAttr('required');
|
||||
jQuery('#jform_css_view').removeAttr('aria-required');
|
||||
jQuery('#jform_css_view').removeClass('required');
|
||||
jform_vvvvwasvzz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_css_views_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwat == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwatwaa_required)
|
||||
{
|
||||
updateFieldRequired('css_views',0);
|
||||
jQuery('#jform_css_views').prop('required','required');
|
||||
jQuery('#jform_css_views').attr('aria-required',true);
|
||||
jQuery('#jform_css_views').addClass('required');
|
||||
jform_vvvvwatwaa_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwatwaa_required)
|
||||
{
|
||||
updateFieldRequired('css_views',1);
|
||||
jQuery('#jform_css_views').removeAttr('required');
|
||||
jQuery('#jform_css_views').removeAttr('aria-required');
|
||||
jQuery('#jform_css_views').removeClass('required');
|
||||
updateFieldRequired('css_view',1);
|
||||
jQuery('#jform_css_view').removeAttr('required');
|
||||
jQuery('#jform_css_view').removeAttr('aria-required');
|
||||
jQuery('#jform_css_view').removeClass('required');
|
||||
jform_vvvvwatwaa_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwau function
|
||||
function vvvvwau(add_javascript_view_footer_vvvvwau)
|
||||
function vvvvwau(add_css_views_vvvvwau)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwau == 1)
|
||||
if (add_css_views_vvvvwau == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwauwab_required)
|
||||
{
|
||||
updateFieldRequired('javascript_view_footer',0);
|
||||
jQuery('#jform_javascript_view_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_view_footer').addClass('required');
|
||||
updateFieldRequired('css_views',0);
|
||||
jQuery('#jform_css_views').prop('required','required');
|
||||
jQuery('#jform_css_views').attr('aria-required',true);
|
||||
jQuery('#jform_css_views').addClass('required');
|
||||
jform_vvvvwauwab_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwauwab_required)
|
||||
{
|
||||
updateFieldRequired('javascript_view_footer',1);
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('required');
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_view_footer').removeClass('required');
|
||||
updateFieldRequired('css_views',1);
|
||||
jQuery('#jform_css_views').removeAttr('required');
|
||||
jQuery('#jform_css_views').removeAttr('aria-required');
|
||||
jQuery('#jform_css_views').removeClass('required');
|
||||
jform_vvvvwauwab_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(add_javascript_views_footer_vvvvwav)
|
||||
function vvvvwav(add_javascript_view_footer_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwav == 1)
|
||||
if (add_javascript_view_footer_vvvvwav == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwavwac_required)
|
||||
{
|
||||
updateFieldRequired('javascript_views_footer',0);
|
||||
jQuery('#jform_javascript_views_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_views_footer').addClass('required');
|
||||
updateFieldRequired('javascript_view_footer',0);
|
||||
jQuery('#jform_javascript_view_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_view_footer').addClass('required');
|
||||
jform_vvvvwavwac_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwavwac_required)
|
||||
{
|
||||
updateFieldRequired('javascript_view_footer',1);
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('required');
|
||||
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_view_footer').removeClass('required');
|
||||
jform_vvvvwavwac_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(add_javascript_views_footer_vvvvwaw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwaw == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwawwad_required)
|
||||
{
|
||||
updateFieldRequired('javascript_views_footer',0);
|
||||
jQuery('#jform_javascript_views_footer').prop('required','required');
|
||||
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_views_footer').addClass('required');
|
||||
jform_vvvvwawwad_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwad_required)
|
||||
{
|
||||
updateFieldRequired('javascript_views_footer',1);
|
||||
jQuery('#jform_javascript_views_footer').removeAttr('required');
|
||||
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_views_footer').removeClass('required');
|
||||
jform_vvvvwavwac_required = true;
|
||||
jform_vvvvwawwad_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,24 +9,21 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbgwao_required = false;
|
||||
jform_vvvvwbhwap_required = false;
|
||||
jform_vvvvwbiwaq_required = false;
|
||||
jform_vvvvwbjwar_required = false;
|
||||
jform_vvvvwbkwas_required = false;
|
||||
jform_vvvvwblwat_required = false;
|
||||
jform_vvvvwbmwau_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwbg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbg(location_vvvvwbg);
|
||||
|
||||
var location_vvvvwbh = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbh(location_vvvvwbh);
|
||||
|
||||
var type_vvvvwbi = jQuery("#jform_type").val();
|
||||
vvvvwbi(type_vvvvwbi);
|
||||
var location_vvvvwbi = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwbi(location_vvvvwbi);
|
||||
|
||||
var type_vvvvwbj = jQuery("#jform_type").val();
|
||||
vvvvwbj(type_vvvvwbj);
|
||||
@ -34,127 +31,75 @@ jQuery(document).ready(function()
|
||||
var type_vvvvwbk = jQuery("#jform_type").val();
|
||||
vvvvwbk(type_vvvvwbk);
|
||||
|
||||
var target_vvvvwbl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbl(target_vvvvwbl);
|
||||
var type_vvvvwbl = jQuery("#jform_type").val();
|
||||
vvvvwbl(type_vvvvwbl);
|
||||
|
||||
var target_vvvvwbm = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbm(target_vvvvwbm);
|
||||
});
|
||||
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(location_vvvvwbg)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwbg == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbgwao_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_vvvvwbgwao_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbgwao_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_vvvvwbgwao_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(location_vvvvwbh)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwbh == 2)
|
||||
if (location_vvvvwbh == 1)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbhwap_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');
|
||||
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_vvvvwbhwap_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbhwap_required)
|
||||
{
|
||||
updateFieldRequired('site_view',1);
|
||||
jQuery('#jform_site_view').removeAttr('required');
|
||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||
jQuery('#jform_site_view').removeClass('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_vvvvwbhwap_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(type_vvvvwbi)
|
||||
function vvvvwbi(location_vvvvwbi)
|
||||
{
|
||||
if (isSet(type_vvvvwbi) && type_vvvvwbi.constructor !== Array)
|
||||
// set the function logic
|
||||
if (location_vvvvwbi == 2)
|
||||
{
|
||||
var temp_vvvvwbi = type_vvvvwbi;
|
||||
var type_vvvvwbi = [];
|
||||
type_vvvvwbi.push(temp_vvvvwbi);
|
||||
}
|
||||
else if (!isSet(type_vvvvwbi))
|
||||
{
|
||||
var type_vvvvwbi = [];
|
||||
}
|
||||
var type = type_vvvvwbi.some(type_vvvvwbi_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
if (jform_vvvvwbiwaq_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('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_vvvvwbiwaq_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbiwaq_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('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_vvvvwbiwaq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbi Some function
|
||||
function type_vvvvwbi_SomeFunc(type_vvvvwbi)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbi == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbj function
|
||||
function vvvvwbj(type_vvvvwbj)
|
||||
{
|
||||
@ -174,26 +119,26 @@ function vvvvwbj(type_vvvvwbj)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
if (jform_vvvvwbjwar_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwbjwar_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbjwar_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwbjwar_required = true;
|
||||
}
|
||||
}
|
||||
@ -203,7 +148,7 @@ function vvvvwbj(type_vvvvwbj)
|
||||
function type_vvvvwbj_SomeFunc(type_vvvvwbj)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbj == 1)
|
||||
if (type_vvvvwbj == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -229,26 +174,26 @@ function vvvvwbk(type_vvvvwbk)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
if (jform_vvvvwbkwas_required)
|
||||
{
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwbkwas_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbkwas_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwbkwas_required = true;
|
||||
}
|
||||
}
|
||||
@ -258,7 +203,7 @@ function vvvvwbk(type_vvvvwbk)
|
||||
function type_vvvvwbk_SomeFunc(type_vvvvwbk)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbk == 2)
|
||||
if (type_vvvvwbk == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -266,32 +211,87 @@ function type_vvvvwbk_SomeFunc(type_vvvvwbk)
|
||||
}
|
||||
|
||||
// the vvvvwbl function
|
||||
function vvvvwbl(target_vvvvwbl)
|
||||
function vvvvwbl(type_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbl == 1)
|
||||
if (isSet(type_vvvvwbl) && type_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
var temp_vvvvwbl = type_vvvvwbl;
|
||||
var type_vvvvwbl = [];
|
||||
type_vvvvwbl.push(temp_vvvvwbl);
|
||||
}
|
||||
else if (!isSet(type_vvvvwbl))
|
||||
{
|
||||
var type_vvvvwbl = [];
|
||||
}
|
||||
var type = type_vvvvwbl.some(type_vvvvwbl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvwblwat_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
updateFieldRequired('content',0);
|
||||
jQuery('#jform_content').prop('required','required');
|
||||
jQuery('#jform_content').attr('aria-required',true);
|
||||
jQuery('#jform_content').addClass('required');
|
||||
jform_vvvvwblwat_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvwblwat_required)
|
||||
{
|
||||
updateFieldRequired('content',1);
|
||||
jQuery('#jform_content').removeAttr('required');
|
||||
jQuery('#jform_content').removeAttr('aria-required');
|
||||
jQuery('#jform_content').removeClass('required');
|
||||
jform_vvvvwblwat_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbl Some function
|
||||
function type_vvvvwbl_SomeFunc(type_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwbl == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbm function
|
||||
function vvvvwbm(target_vvvvwbm)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwbm == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
if (jform_vvvvwbmwau_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwbmwau_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbmwau_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwblwat_required = true;
|
||||
jform_vvvvwbmwau_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,42 +9,42 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvzavyu_required = false;
|
||||
jform_vvvvvzbvyv_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvza = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_view_vvvvvza);
|
||||
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_view_vvvvvzb);
|
||||
});
|
||||
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_php_view_vvvvvza)
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_php_view_vvvvvzb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvza == 1)
|
||||
if (add_php_view_vvvvvzb == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvzavyu_required)
|
||||
if (jform_vvvvvzbvyv_required)
|
||||
{
|
||||
updateFieldRequired('php_view',0);
|
||||
jQuery('#jform_php_view').prop('required','required');
|
||||
jQuery('#jform_php_view').attr('aria-required',true);
|
||||
jQuery('#jform_php_view').addClass('required');
|
||||
jform_vvvvvzavyu_required = false;
|
||||
jform_vvvvvzbvyv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvzavyu_required)
|
||||
if (!jform_vvvvvzbvyv_required)
|
||||
{
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvzavyu_required = true;
|
||||
jform_vvvvvzbvyv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,15 +9,12 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwafvzt_required = false;
|
||||
jform_vvvvwalvzu_required = false;
|
||||
jform_vvvvwagvzu_required = false;
|
||||
jform_vvvvwamvzv_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var how_vvvvwae = jQuery("#jform_how").val();
|
||||
vvvvwae(how_vvvvwae);
|
||||
|
||||
var how_vvvvwaf = jQuery("#jform_how").val();
|
||||
vvvvwaf(how_vvvvwaf);
|
||||
|
||||
@ -36,48 +33,13 @@ jQuery(document).ready(function()
|
||||
var how_vvvvwak = jQuery("#jform_how").val();
|
||||
vvvvwak(how_vvvvwak);
|
||||
|
||||
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwal(type_vvvvwal);
|
||||
var how_vvvvwal = jQuery("#jform_how").val();
|
||||
vvvvwal(how_vvvvwal);
|
||||
|
||||
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwam(type_vvvvwam);
|
||||
});
|
||||
|
||||
// the vvvvwae function
|
||||
function vvvvwae(how_vvvvwae)
|
||||
{
|
||||
if (isSet(how_vvvvwae) && how_vvvvwae.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwae = how_vvvvwae;
|
||||
var how_vvvvwae = [];
|
||||
how_vvvvwae.push(temp_vvvvwae);
|
||||
}
|
||||
else if (!isSet(how_vvvvwae))
|
||||
{
|
||||
var how_vvvvwae = [];
|
||||
}
|
||||
var how = how_vvvvwae.some(how_vvvvwae_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwae Some function
|
||||
function how_vvvvwae_SomeFunc(how_vvvvwae)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwae == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaf function
|
||||
function vvvvwaf(how_vvvvwaf)
|
||||
{
|
||||
@ -97,28 +59,11 @@ function vvvvwaf(how_vvvvwaf)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
if (jform_vvvvwafvzt_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_vvvvwafvzt_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
if (!jform_vvvvwafvzt_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_vvvvwafvzt_required = true;
|
||||
}
|
||||
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -126,7 +71,7 @@ function vvvvwaf(how_vvvvwaf)
|
||||
function how_vvvvwaf_SomeFunc(how_vvvvwaf)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaf == 3)
|
||||
if (how_vvvvwaf == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -152,11 +97,28 @@ function vvvvwag(how_vvvvwag)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
if (jform_vvvvwagvzu_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_vvvvwagvzu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
if (!jform_vvvvwagvzu_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_vvvvwagvzu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -164,7 +126,7 @@ function vvvvwag(how_vvvvwag)
|
||||
function how_vvvvwag_SomeFunc(how_vvvvwag)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwag == 2 || how_vvvvwag == 3)
|
||||
if (how_vvvvwag == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -190,11 +152,11 @@ function vvvvwah(how_vvvvwah)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -202,7 +164,7 @@ function vvvvwah(how_vvvvwah)
|
||||
function how_vvvvwah_SomeFunc(how_vvvvwah)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwah == 1 || how_vvvvwah == 2 || how_vvvvwah == 3)
|
||||
if (how_vvvvwah == 2 || how_vvvvwah == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -228,15 +190,11 @@ function vvvvwai(how_vvvvwai)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_no_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_three').closest('.control-group').show();
|
||||
jQuery('.note_no_behaviour_two').closest('.control-group').show();
|
||||
jQuery('.note_display_library_files_folders_urls').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_files_folders_urls').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
@ -244,7 +202,7 @@ function vvvvwai(how_vvvvwai)
|
||||
function how_vvvvwai_SomeFunc(how_vvvvwai)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwai == 0)
|
||||
if (how_vvvvwai == 1 || how_vvvvwai == 2 || how_vvvvwai == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -270,13 +228,15 @@ function vvvvwaj(how_vvvvwaj)
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
|
||||
jQuery('.note_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_yes_behaviour_one').closest('.control-group').hide();
|
||||
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
@ -284,7 +244,7 @@ function vvvvwaj(how_vvvvwaj)
|
||||
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaj == 1)
|
||||
if (how_vvvvwaj == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -307,6 +267,46 @@ function vvvvwak(how_vvvvwak)
|
||||
var how = how_vvvvwak.some(how_vvvvwak_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 vvvvwak Some function
|
||||
function how_vvvvwak_SomeFunc(how_vvvvwak)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwak == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwal function
|
||||
function vvvvwal(how_vvvvwal)
|
||||
{
|
||||
if (isSet(how_vvvvwal) && how_vvvvwal.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwal = how_vvvvwal;
|
||||
var how_vvvvwal = [];
|
||||
how_vvvvwal.push(temp_vvvvwal);
|
||||
}
|
||||
else if (!isSet(how_vvvvwal))
|
||||
{
|
||||
var how_vvvvwal = [];
|
||||
}
|
||||
var how = how_vvvvwal.some(how_vvvvwal_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (how)
|
||||
{
|
||||
@ -322,44 +322,44 @@ function vvvvwak(how_vvvvwak)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwak Some function
|
||||
function how_vvvvwak_SomeFunc(how_vvvvwak)
|
||||
// the vvvvwal Some function
|
||||
function how_vvvvwal_SomeFunc(how_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwak == 4)
|
||||
if (how_vvvvwal == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwal function
|
||||
function vvvvwal(type_vvvvwal)
|
||||
// the vvvvwam function
|
||||
function vvvvwam(type_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwal == 2)
|
||||
if (type_vvvvwam == 2)
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').show();
|
||||
if (jform_vvvvwalvzu_required)
|
||||
if (jform_vvvvwamvzv_required)
|
||||
{
|
||||
updateFieldRequired('libraries',0);
|
||||
jQuery('#jform_libraries').prop('required','required');
|
||||
jQuery('#jform_libraries').attr('aria-required',true);
|
||||
jQuery('#jform_libraries').addClass('required');
|
||||
jform_vvvvwalvzu_required = false;
|
||||
jform_vvvvwamvzv_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').hide();
|
||||
if (!jform_vvvvwalvzu_required)
|
||||
if (!jform_vvvvwamvzv_required)
|
||||
{
|
||||
updateFieldRequired('libraries',1);
|
||||
jQuery('#jform_libraries').removeAttr('required');
|
||||
jQuery('#jform_libraries').removeAttr('aria-required');
|
||||
jQuery('#jform_libraries').removeClass('required');
|
||||
jform_vvvvwalvzu_required = true;
|
||||
jform_vvvvwamvzv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,175 +9,42 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwawwae_required = false;
|
||||
jform_vvvvwawwaf_required = false;
|
||||
jform_vvvvwawwag_required = false;
|
||||
jform_vvvvwawwah_required = false;
|
||||
jform_vvvvwawwai_required = false;
|
||||
jform_vvvvwaxwaf_required = false;
|
||||
jform_vvvvwaxwag_required = false;
|
||||
jform_vvvvwaxwah_required = false;
|
||||
jform_vvvvwaxwai_required = false;
|
||||
jform_vvvvwaxwaj_required = false;
|
||||
jform_vvvvwaywak_required = false;
|
||||
jform_vvvvwbawal_required = false;
|
||||
jform_vvvvwbcwam_required = false;
|
||||
jform_vvvvwazwal_required = false;
|
||||
jform_vvvvwbbwam_required = false;
|
||||
jform_vvvvwbdwan_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var protocol_vvvvwaw = jQuery("#jform_protocol").val();
|
||||
vvvvwaw(protocol_vvvvwaw);
|
||||
|
||||
var protocol_vvvvwax = jQuery("#jform_protocol").val();
|
||||
vvvvwax(protocol_vvvvwax);
|
||||
|
||||
var protocol_vvvvway = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvway = jQuery("#jform_authentication").val();
|
||||
vvvvway(protocol_vvvvway,authentication_vvvvway);
|
||||
vvvvway(protocol_vvvvway);
|
||||
|
||||
var protocol_vvvvwba = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwba = jQuery("#jform_authentication").val();
|
||||
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
|
||||
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
|
||||
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
|
||||
|
||||
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
|
||||
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
|
||||
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
|
||||
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
|
||||
|
||||
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
|
||||
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
|
||||
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
|
||||
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
|
||||
|
||||
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
|
||||
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
|
||||
});
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(protocol_vvvvwaw)
|
||||
{
|
||||
if (isSet(protocol_vvvvwaw) && protocol_vvvvwaw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaw = protocol_vvvvwaw;
|
||||
var protocol_vvvvwaw = [];
|
||||
protocol_vvvvwaw.push(temp_vvvvwaw);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwaw))
|
||||
{
|
||||
var protocol_vvvvwaw = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwaw.some(protocol_vvvvwaw_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
if (jform_vvvvwawwae_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwawwae_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
if (jform_vvvvwawwaf_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwawwaf_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
if (jform_vvvvwawwag_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwawwag_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwawwah_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwawwah_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
if (jform_vvvvwawwai_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwawwai_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwae_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwawwae_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwaf_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwawwaf_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwag_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwawwag_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwah_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwawwah_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
if (!jform_vvvvwawwai_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwawwai_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaw Some function
|
||||
function protocol_vvvvwaw_SomeFunc(protocol_vvvvwaw)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwaw == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwax function
|
||||
function vvvvwax(protocol_vvvvwax)
|
||||
{
|
||||
@ -197,28 +64,104 @@ function vvvvwax(protocol_vvvvwax)
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwaf_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwaxwaf_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwag_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwaxwag_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwah_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwaxwah_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwai_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwaxwai_required = false;
|
||||
}
|
||||
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
if (jform_vvvvwaxwaj_required)
|
||||
{
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwaxwaj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwaf_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwaxwaf_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwag_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwaxwag_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwah_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwaxwah_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwai_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwaxwai_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaxwaj_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwaxwaj_required = true;
|
||||
}
|
||||
}
|
||||
@ -228,7 +171,7 @@ function vvvvwax(protocol_vvvvwax)
|
||||
function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwax == 1)
|
||||
if (protocol_vvvvwax == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -236,7 +179,7 @@ function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
|
||||
}
|
||||
|
||||
// the vvvvway function
|
||||
function vvvvway(protocol_vvvvway,authentication_vvvvway)
|
||||
function vvvvway(protocol_vvvvway)
|
||||
{
|
||||
if (isSet(protocol_vvvvway) && protocol_vvvvway.constructor !== Array)
|
||||
{
|
||||
@ -250,42 +193,32 @@ function vvvvway(protocol_vvvvway,authentication_vvvvway)
|
||||
}
|
||||
var protocol = protocol_vvvvway.some(protocol_vvvvway_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvway) && authentication_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvway = authentication_vvvvway;
|
||||
var authentication_vvvvway = [];
|
||||
authentication_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvway))
|
||||
{
|
||||
var authentication_vvvvway = [];
|
||||
}
|
||||
var authentication = authentication_vvvvway.some(authentication_vvvvway_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
if (jform_vvvvwaywak_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvwaywak_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
if (!jform_vvvvwaywak_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwaywak_required = true;
|
||||
}
|
||||
}
|
||||
@ -295,206 +228,273 @@ function vvvvway(protocol_vvvvway,authentication_vvvvway)
|
||||
function protocol_vvvvway_SomeFunc(protocol_vvvvway)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvway == 2)
|
||||
if (protocol_vvvvway == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvway Some function
|
||||
function authentication_vvvvway_SomeFunc(authentication_vvvvway)
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
|
||||
{
|
||||
if (isSet(protocol_vvvvwaz) && protocol_vvvvwaz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaz = protocol_vvvvwaz;
|
||||
var protocol_vvvvwaz = [];
|
||||
protocol_vvvvwaz.push(temp_vvvvwaz);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwaz))
|
||||
{
|
||||
var protocol_vvvvwaz = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwaz.some(protocol_vvvvwaz_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwaz) && authentication_vvvvwaz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaz = authentication_vvvvwaz;
|
||||
var authentication_vvvvwaz = [];
|
||||
authentication_vvvvwaz.push(temp_vvvvwaz);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwaz))
|
||||
{
|
||||
var authentication_vvvvwaz = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwaz.some(authentication_vvvvwaz_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
if (jform_vvvvwazwal_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvwazwal_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
if (!jform_vvvvwazwal_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvwazwal_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaz Some function
|
||||
function protocol_vvvvwaz_SomeFunc(protocol_vvvvwaz)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvway == 1 || authentication_vvvvway == 3 || authentication_vvvvway == 5)
|
||||
if (protocol_vvvvwaz == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwba function
|
||||
function vvvvwba(protocol_vvvvwba,authentication_vvvvwba)
|
||||
// the vvvvwaz Some function
|
||||
function authentication_vvvvwaz_SomeFunc(authentication_vvvvwaz)
|
||||
{
|
||||
if (isSet(protocol_vvvvwba) && protocol_vvvvwba.constructor !== Array)
|
||||
// set the function logic
|
||||
if (authentication_vvvvwaz == 1 || authentication_vvvvwaz == 3 || authentication_vvvvwaz == 5)
|
||||
{
|
||||
var temp_vvvvwba = protocol_vvvvwba;
|
||||
var protocol_vvvvwba = [];
|
||||
protocol_vvvvwba.push(temp_vvvvwba);
|
||||
return true;
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwba))
|
||||
{
|
||||
var protocol_vvvvwba = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwba.some(protocol_vvvvwba_SomeFunc);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isSet(authentication_vvvvwba) && authentication_vvvvwba.constructor !== Array)
|
||||
// the vvvvwbb function
|
||||
function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbb) && protocol_vvvvwbb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwba = authentication_vvvvwba;
|
||||
var authentication_vvvvwba = [];
|
||||
authentication_vvvvwba.push(temp_vvvvwba);
|
||||
var temp_vvvvwbb = protocol_vvvvwbb;
|
||||
var protocol_vvvvwbb = [];
|
||||
protocol_vvvvwbb.push(temp_vvvvwbb);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwba))
|
||||
else if (!isSet(protocol_vvvvwbb))
|
||||
{
|
||||
var authentication_vvvvwba = [];
|
||||
var protocol_vvvvwbb = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwba.some(authentication_vvvvwba_SomeFunc);
|
||||
var protocol = protocol_vvvvwbb.some(protocol_vvvvwbb_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwbb) && authentication_vvvvwbb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbb = authentication_vvvvwbb;
|
||||
var authentication_vvvvwbb = [];
|
||||
authentication_vvvvwbb.push(temp_vvvvwbb);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwbb))
|
||||
{
|
||||
var authentication_vvvvwbb = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwbb.some(authentication_vvvvwbb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').show();
|
||||
if (jform_vvvvwbawal_required)
|
||||
if (jform_vvvvwbbwam_required)
|
||||
{
|
||||
updateFieldRequired('private',0);
|
||||
jQuery('#jform_private').prop('required','required');
|
||||
jQuery('#jform_private').attr('aria-required',true);
|
||||
jQuery('#jform_private').addClass('required');
|
||||
jform_vvvvwbawal_required = false;
|
||||
jform_vvvvwbbwam_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbawal_required)
|
||||
if (!jform_vvvvwbbwam_required)
|
||||
{
|
||||
updateFieldRequired('private',1);
|
||||
jQuery('#jform_private').removeAttr('required');
|
||||
jQuery('#jform_private').removeAttr('aria-required');
|
||||
jQuery('#jform_private').removeClass('required');
|
||||
jform_vvvvwbawal_required = true;
|
||||
jform_vvvvwbbwam_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwba Some function
|
||||
function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
|
||||
// the vvvvwbb Some function
|
||||
function protocol_vvvvwbb_SomeFunc(protocol_vvvvwbb)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwba == 2)
|
||||
if (protocol_vvvvwbb == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwba Some function
|
||||
function authentication_vvvvwba_SomeFunc(authentication_vvvvwba)
|
||||
// the vvvvwbb Some function
|
||||
function authentication_vvvvwbb_SomeFunc(authentication_vvvvwbb)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwba == 2 || authentication_vvvvwba == 3)
|
||||
if (authentication_vvvvwbb == 2 || authentication_vvvvwbb == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbc function
|
||||
function vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc)
|
||||
// the vvvvwbd function
|
||||
function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbc) && protocol_vvvvwbc.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwbd) && protocol_vvvvwbd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbc = protocol_vvvvwbc;
|
||||
var protocol_vvvvwbc = [];
|
||||
protocol_vvvvwbc.push(temp_vvvvwbc);
|
||||
var temp_vvvvwbd = protocol_vvvvwbd;
|
||||
var protocol_vvvvwbd = [];
|
||||
protocol_vvvvwbd.push(temp_vvvvwbd);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbc))
|
||||
else if (!isSet(protocol_vvvvwbd))
|
||||
{
|
||||
var protocol_vvvvwbc = [];
|
||||
var protocol_vvvvwbd = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbc.some(protocol_vvvvwbc_SomeFunc);
|
||||
var protocol = protocol_vvvvwbd.some(protocol_vvvvwbd_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwbc) && authentication_vvvvwbc.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwbd) && authentication_vvvvwbd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbc = authentication_vvvvwbc;
|
||||
var authentication_vvvvwbc = [];
|
||||
authentication_vvvvwbc.push(temp_vvvvwbc);
|
||||
var temp_vvvvwbd = authentication_vvvvwbd;
|
||||
var authentication_vvvvwbd = [];
|
||||
authentication_vvvvwbd.push(temp_vvvvwbd);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwbc))
|
||||
else if (!isSet(authentication_vvvvwbd))
|
||||
{
|
||||
var authentication_vvvvwbc = [];
|
||||
var authentication_vvvvwbd = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwbc.some(authentication_vvvvwbc_SomeFunc);
|
||||
var authentication = authentication_vvvvwbd.some(authentication_vvvvwbd_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').show();
|
||||
if (jform_vvvvwbcwam_required)
|
||||
if (jform_vvvvwbdwan_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_vvvvwbcwam_required = false;
|
||||
jform_vvvvwbdwan_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
if (!jform_vvvvwbcwam_required)
|
||||
if (!jform_vvvvwbdwan_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_vvvvwbcwam_required = true;
|
||||
jform_vvvvwbdwan_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbc Some function
|
||||
function protocol_vvvvwbc_SomeFunc(protocol_vvvvwbc)
|
||||
// the vvvvwbd Some function
|
||||
function protocol_vvvvwbd_SomeFunc(protocol_vvvvwbd)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbc == 2)
|
||||
if (protocol_vvvvwbd == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbc Some function
|
||||
function authentication_vvvvwbc_SomeFunc(authentication_vvvvwbc)
|
||||
// the vvvvwbd Some function
|
||||
function authentication_vvvvwbd_SomeFunc(authentication_vvvvwbd)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwbc == 4 || authentication_vvvvwbc == 5)
|
||||
if (authentication_vvvvwbd == 4 || authentication_vvvvwbd == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbe function
|
||||
function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
|
||||
// the vvvvwbf function
|
||||
function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbe) && protocol_vvvvwbe.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwbf) && protocol_vvvvwbf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbe = protocol_vvvvwbe;
|
||||
var protocol_vvvvwbe = [];
|
||||
protocol_vvvvwbe.push(temp_vvvvwbe);
|
||||
var temp_vvvvwbf = protocol_vvvvwbf;
|
||||
var protocol_vvvvwbf = [];
|
||||
protocol_vvvvwbf.push(temp_vvvvwbf);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbe))
|
||||
else if (!isSet(protocol_vvvvwbf))
|
||||
{
|
||||
var protocol_vvvvwbe = [];
|
||||
var protocol_vvvvwbf = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbe.some(protocol_vvvvwbe_SomeFunc);
|
||||
var protocol = protocol_vvvvwbf.some(protocol_vvvvwbf_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwbe) && authentication_vvvvwbe.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwbf) && authentication_vvvvwbf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbe = authentication_vvvvwbe;
|
||||
var authentication_vvvvwbe = [];
|
||||
authentication_vvvvwbe.push(temp_vvvvwbe);
|
||||
var temp_vvvvwbf = authentication_vvvvwbf;
|
||||
var authentication_vvvvwbf = [];
|
||||
authentication_vvvvwbf.push(temp_vvvvwbf);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwbe))
|
||||
else if (!isSet(authentication_vvvvwbf))
|
||||
{
|
||||
var authentication_vvvvwbe = [];
|
||||
var authentication_vvvvwbf = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwbe.some(authentication_vvvvwbe_SomeFunc);
|
||||
var authentication = authentication_vvvvwbf.some(authentication_vvvvwbf_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -508,22 +508,22 @@ function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbe Some function
|
||||
function protocol_vvvvwbe_SomeFunc(protocol_vvvvwbe)
|
||||
// the vvvvwbf Some function
|
||||
function protocol_vvvvwbf_SomeFunc(protocol_vvvvwbf)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbe == 2)
|
||||
if (protocol_vvvvwbf == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbe Some function
|
||||
function authentication_vvvvwbe_SomeFunc(authentication_vvvvwbe)
|
||||
// the vvvvwbf Some function
|
||||
function authentication_vvvvwbf_SomeFunc(authentication_vvvvwbf)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwbe == 2 || authentication_vvvvwbe == 3 || authentication_vvvvwbe == 4 || authentication_vvvvwbe == 5)
|
||||
if (authentication_vvvvwbf == 2 || authentication_vvvvwbf == 3 || authentication_vvvvwbf == 4 || authentication_vvvvwbf == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyovyi_required = false;
|
||||
jform_vvvvvypvyj_required = false;
|
||||
jform_vvvvvyqvyk_required = false;
|
||||
jform_vvvvvyrvyl_required = false;
|
||||
@ -19,308 +18,309 @@ jform_vvvvvyuvyo_required = false;
|
||||
jform_vvvvvyvvyp_required = false;
|
||||
jform_vvvvvywvyq_required = false;
|
||||
jform_vvvvvyxvyr_required = false;
|
||||
jform_vvvvvyxvys_required = false;
|
||||
jform_vvvvvyyvys_required = false;
|
||||
jform_vvvvvyyvyt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_view_vvvvvyp);
|
||||
|
||||
var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_display_vvvvvyp);
|
||||
var add_php_jview_display_vvvvvyq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_display_vvvvvyq);
|
||||
|
||||
var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_vvvvvyq);
|
||||
var add_php_jview_vvvvvyr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_jview_vvvvvyr);
|
||||
|
||||
var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_document_vvvvvyr);
|
||||
var add_php_document_vvvvvys = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_php_document_vvvvvys);
|
||||
|
||||
var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_css_document_vvvvvys);
|
||||
var add_css_document_vvvvvyt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyt(add_css_document_vvvvvyt);
|
||||
|
||||
var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyt(add_javascript_file_vvvvvyt);
|
||||
var add_javascript_file_vvvvvyu = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyu(add_javascript_file_vvvvvyu);
|
||||
|
||||
var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyu(add_js_document_vvvvvyu);
|
||||
var add_js_document_vvvvvyv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyv(add_js_document_vvvvvyv);
|
||||
|
||||
var add_css_vvvvvyv = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyv(add_css_vvvvvyv);
|
||||
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_vvvvvyw);
|
||||
|
||||
var add_php_ajax_vvvvvyw = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_ajax_vvvvvyw);
|
||||
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_ajax_vvvvvyx);
|
||||
|
||||
var add_custom_button_vvvvvyx = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyx(add_custom_button_vvvvvyx);
|
||||
var add_custom_button_vvvvvyy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyy(add_custom_button_vvvvvyy);
|
||||
|
||||
var button_position_vvvvvyy = jQuery("#jform_button_position").val();
|
||||
vvvvvyy(button_position_vvvvvyy);
|
||||
var button_position_vvvvvyz = jQuery("#jform_button_position").val();
|
||||
vvvvvyz(button_position_vvvvvyz);
|
||||
});
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_view_vvvvvyo)
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_view_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyo == 1)
|
||||
if (add_php_view_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyovyi_required)
|
||||
if (jform_vvvvvypvyj_required)
|
||||
{
|
||||
updateFieldRequired('php_view',0);
|
||||
jQuery('#jform_php_view').prop('required','required');
|
||||
jQuery('#jform_php_view').attr('aria-required',true);
|
||||
jQuery('#jform_php_view').addClass('required');
|
||||
jform_vvvvvyovyi_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyovyi_required)
|
||||
{
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvyovyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_jview_display_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvypvyj_required)
|
||||
{
|
||||
updateFieldRequired('php_jview_display',0);
|
||||
jQuery('#jform_php_jview_display').prop('required','required');
|
||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview_display').addClass('required');
|
||||
jform_vvvvvypvyj_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvypvyj_required)
|
||||
{
|
||||
updateFieldRequired('php_jview_display',1);
|
||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview_display').removeClass('required');
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvypvyj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_jview_vvvvvyq)
|
||||
function vvvvvyq(add_php_jview_display_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyq == 1)
|
||||
if (add_php_jview_display_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyqvyk_required)
|
||||
{
|
||||
updateFieldRequired('php_jview',0);
|
||||
jQuery('#jform_php_jview').prop('required','required');
|
||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview').addClass('required');
|
||||
updateFieldRequired('php_jview_display',0);
|
||||
jQuery('#jform_php_jview_display').prop('required','required');
|
||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview_display').addClass('required');
|
||||
jform_vvvvvyqvyk_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyqvyk_required)
|
||||
{
|
||||
updateFieldRequired('php_jview',1);
|
||||
jQuery('#jform_php_jview').removeAttr('required');
|
||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview').removeClass('required');
|
||||
updateFieldRequired('php_jview_display',1);
|
||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview_display').removeClass('required');
|
||||
jform_vvvvvyqvyk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_php_document_vvvvvyr)
|
||||
function vvvvvyr(add_php_jview_vvvvvyr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyr == 1)
|
||||
if (add_php_jview_vvvvvyr == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyrvyl_required)
|
||||
{
|
||||
updateFieldRequired('php_document',0);
|
||||
jQuery('#jform_php_document').prop('required','required');
|
||||
jQuery('#jform_php_document').attr('aria-required',true);
|
||||
jQuery('#jform_php_document').addClass('required');
|
||||
updateFieldRequired('php_jview',0);
|
||||
jQuery('#jform_php_jview').prop('required','required');
|
||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||
jQuery('#jform_php_jview').addClass('required');
|
||||
jform_vvvvvyrvyl_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyrvyl_required)
|
||||
{
|
||||
updateFieldRequired('php_document',1);
|
||||
jQuery('#jform_php_document').removeAttr('required');
|
||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||
jQuery('#jform_php_document').removeClass('required');
|
||||
updateFieldRequired('php_jview',1);
|
||||
jQuery('#jform_php_jview').removeAttr('required');
|
||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||
jQuery('#jform_php_jview').removeClass('required');
|
||||
jform_vvvvvyrvyl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_css_document_vvvvvys)
|
||||
function vvvvvys(add_php_document_vvvvvys)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvys == 1)
|
||||
if (add_php_document_vvvvvys == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvysvym_required)
|
||||
{
|
||||
updateFieldRequired('css_document',0);
|
||||
jQuery('#jform_css_document').prop('required','required');
|
||||
jQuery('#jform_css_document').attr('aria-required',true);
|
||||
jQuery('#jform_css_document').addClass('required');
|
||||
updateFieldRequired('php_document',0);
|
||||
jQuery('#jform_php_document').prop('required','required');
|
||||
jQuery('#jform_php_document').attr('aria-required',true);
|
||||
jQuery('#jform_php_document').addClass('required');
|
||||
jform_vvvvvysvym_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvysvym_required)
|
||||
{
|
||||
updateFieldRequired('css_document',1);
|
||||
jQuery('#jform_css_document').removeAttr('required');
|
||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||
jQuery('#jform_css_document').removeClass('required');
|
||||
updateFieldRequired('php_document',1);
|
||||
jQuery('#jform_php_document').removeAttr('required');
|
||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||
jQuery('#jform_php_document').removeClass('required');
|
||||
jform_vvvvvysvym_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_javascript_file_vvvvvyt)
|
||||
function vvvvvyt(add_css_document_vvvvvyt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvyt == 1)
|
||||
if (add_css_document_vvvvvyt == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvytvyn_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
updateFieldRequired('css_document',0);
|
||||
jQuery('#jform_css_document').prop('required','required');
|
||||
jQuery('#jform_css_document').attr('aria-required',true);
|
||||
jQuery('#jform_css_document').addClass('required');
|
||||
jform_vvvvvytvyn_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvytvyn_required)
|
||||
{
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
updateFieldRequired('css_document',1);
|
||||
jQuery('#jform_css_document').removeAttr('required');
|
||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||
jQuery('#jform_css_document').removeClass('required');
|
||||
jform_vvvvvytvyn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_js_document_vvvvvyu)
|
||||
function vvvvvyu(add_javascript_file_vvvvvyu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyu == 1)
|
||||
if (add_javascript_file_vvvvvyu == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyuvyo_required)
|
||||
{
|
||||
updateFieldRequired('js_document',0);
|
||||
jQuery('#jform_js_document').prop('required','required');
|
||||
jQuery('#jform_js_document').attr('aria-required',true);
|
||||
jQuery('#jform_js_document').addClass('required');
|
||||
updateFieldRequired('javascript_file',0);
|
||||
jQuery('#jform_javascript_file').prop('required','required');
|
||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||
jQuery('#jform_javascript_file').addClass('required');
|
||||
jform_vvvvvyuvyo_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyuvyo_required)
|
||||
{
|
||||
updateFieldRequired('js_document',1);
|
||||
jQuery('#jform_js_document').removeAttr('required');
|
||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||
jQuery('#jform_js_document').removeClass('required');
|
||||
updateFieldRequired('javascript_file',1);
|
||||
jQuery('#jform_javascript_file').removeAttr('required');
|
||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||
jQuery('#jform_javascript_file').removeClass('required');
|
||||
jform_vvvvvyuvyo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_css_vvvvvyv)
|
||||
function vvvvvyv(add_js_document_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvyv == 1)
|
||||
if (add_js_document_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyvvyp_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
updateFieldRequired('js_document',0);
|
||||
jQuery('#jform_js_document').prop('required','required');
|
||||
jQuery('#jform_js_document').attr('aria-required',true);
|
||||
jQuery('#jform_js_document').addClass('required');
|
||||
jform_vvvvvyvvyp_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyvvyp_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
updateFieldRequired('js_document',1);
|
||||
jQuery('#jform_js_document').removeAttr('required');
|
||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||
jQuery('#jform_js_document').removeClass('required');
|
||||
jform_vvvvvyvvyp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_php_ajax_vvvvvyw)
|
||||
function vvvvvyw(add_css_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyw == 1)
|
||||
if (add_css_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvywvyq_required)
|
||||
{
|
||||
updateFieldRequired('css',0);
|
||||
jQuery('#jform_css').prop('required','required');
|
||||
jQuery('#jform_css').attr('aria-required',true);
|
||||
jQuery('#jform_css').addClass('required');
|
||||
jform_vvvvvywvyq_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvywvyq_required)
|
||||
{
|
||||
updateFieldRequired('css',1);
|
||||
jQuery('#jform_css').removeAttr('required');
|
||||
jQuery('#jform_css').removeAttr('aria-required');
|
||||
jQuery('#jform_css').removeClass('required');
|
||||
jform_vvvvvywvyq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_php_ajax_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvywvyq_required)
|
||||
if (jform_vvvvvyxvyr_required)
|
||||
{
|
||||
updateFieldRequired('php_ajaxmethod',0);
|
||||
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
||||
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
||||
jQuery('#jform_php_ajaxmethod').addClass('required');
|
||||
jform_vvvvvywvyq_required = false;
|
||||
jform_vvvvvyxvyr_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -328,42 +328,42 @@ function vvvvvyw(add_php_ajax_vvvvvyw)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvywvyq_required)
|
||||
if (!jform_vvvvvyxvyr_required)
|
||||
{
|
||||
updateFieldRequired('php_ajaxmethod',1);
|
||||
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
||||
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
||||
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
||||
jform_vvvvvywvyq_required = true;
|
||||
jform_vvvvvyxvyr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_custom_button_vvvvvyx)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_custom_button_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyx == 1)
|
||||
if (add_custom_button_vvvvvyy == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyxvyr_required)
|
||||
if (jform_vvvvvyyvys_required)
|
||||
{
|
||||
updateFieldRequired('php_controller',0);
|
||||
jQuery('#jform_php_controller').prop('required','required');
|
||||
jQuery('#jform_php_controller').attr('aria-required',true);
|
||||
jQuery('#jform_php_controller').addClass('required');
|
||||
jform_vvvvvyxvyr_required = false;
|
||||
jform_vvvvvyyvys_required = false;
|
||||
}
|
||||
|
||||
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyxvys_required)
|
||||
if (jform_vvvvvyyvyt_required)
|
||||
{
|
||||
updateFieldRequired('php_model',0);
|
||||
jQuery('#jform_php_model').prop('required','required');
|
||||
jQuery('#jform_php_model').attr('aria-required',true);
|
||||
jQuery('#jform_php_model').addClass('required');
|
||||
jform_vvvvvyxvys_required = false;
|
||||
jform_vvvvvyyvyt_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -371,40 +371,40 @@ function vvvvvyx(add_custom_button_vvvvvyx)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyxvyr_required)
|
||||
if (!jform_vvvvvyyvys_required)
|
||||
{
|
||||
updateFieldRequired('php_controller',1);
|
||||
jQuery('#jform_php_controller').removeAttr('required');
|
||||
jQuery('#jform_php_controller').removeAttr('aria-required');
|
||||
jQuery('#jform_php_controller').removeClass('required');
|
||||
jform_vvvvvyxvyr_required = true;
|
||||
jform_vvvvvyyvys_required = true;
|
||||
}
|
||||
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyxvys_required)
|
||||
if (!jform_vvvvvyyvyt_required)
|
||||
{
|
||||
updateFieldRequired('php_model',1);
|
||||
jQuery('#jform_php_model').removeAttr('required');
|
||||
jQuery('#jform_php_model').removeAttr('aria-required');
|
||||
jQuery('#jform_php_model').removeClass('required');
|
||||
jform_vvvvvyxvys_required = true;
|
||||
jform_vvvvvyyvyt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(button_position_vvvvvyy)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(button_position_vvvvvyz)
|
||||
{
|
||||
if (isSet(button_position_vvvvvyy) && button_position_vvvvvyy.constructor !== Array)
|
||||
if (isSet(button_position_vvvvvyz) && button_position_vvvvvyz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvyy = button_position_vvvvvyy;
|
||||
var button_position_vvvvvyy = [];
|
||||
button_position_vvvvvyy.push(temp_vvvvvyy);
|
||||
var temp_vvvvvyz = button_position_vvvvvyz;
|
||||
var button_position_vvvvvyz = [];
|
||||
button_position_vvvvvyz.push(temp_vvvvvyz);
|
||||
}
|
||||
else if (!isSet(button_position_vvvvvyy))
|
||||
else if (!isSet(button_position_vvvvvyz))
|
||||
{
|
||||
var button_position_vvvvvyy = [];
|
||||
var button_position_vvvvvyz = [];
|
||||
}
|
||||
var button_position = button_position_vvvvvyy.some(button_position_vvvvvyy_SomeFunc);
|
||||
var button_position = button_position_vvvvvyz.some(button_position_vvvvvyz_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -418,11 +418,11 @@ function vvvvvyy(button_position_vvvvvyy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyy Some function
|
||||
function button_position_vvvvvyy_SomeFunc(button_position_vvvvvyy)
|
||||
// the vvvvvyz Some function
|
||||
function button_position_vvvvvyz_SomeFunc(button_position_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (button_position_vvvvvyy == 5)
|
||||
if (button_position_vvvvvyz == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,42 +9,42 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyzvyt_required = false;
|
||||
jform_vvvvvzavyu_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_view_vvvvvyz);
|
||||
var add_php_view_vvvvvza = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_view_vvvvvza);
|
||||
});
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_php_view_vvvvvyz)
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_php_view_vvvvvza)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyz == 1)
|
||||
if (add_php_view_vvvvvza == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
if (jform_vvvvvyzvyt_required)
|
||||
if (jform_vvvvvzavyu_required)
|
||||
{
|
||||
updateFieldRequired('php_view',0);
|
||||
jQuery('#jform_php_view').prop('required','required');
|
||||
jQuery('#jform_php_view').attr('aria-required',true);
|
||||
jQuery('#jform_php_view').addClass('required');
|
||||
jform_vvvvvyzvyt_required = false;
|
||||
jform_vvvvvzavyu_required = false;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||
if (!jform_vvvvvyzvyt_required)
|
||||
if (!jform_vvvvvzavyu_required)
|
||||
{
|
||||
updateFieldRequired('php_view',1);
|
||||
jQuery('#jform_php_view').removeAttr('required');
|
||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||
jQuery('#jform_php_view').removeClass('required');
|
||||
jform_vvvvvyzvyt_required = true;
|
||||
jform_vvvvvzavyu_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -182,6 +182,7 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -362,6 +362,16 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -176,6 +176,7 @@ class ComponentbuilderModelLanguage extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -216,6 +216,7 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -222,6 +222,16 @@ class ComponentbuilderModelLayout extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -224,6 +224,7 @@ class ComponentbuilderModelLibrary extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -186,6 +186,7 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -218,6 +218,7 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -156,7 +156,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getWanlinked_components()
|
||||
public function getWaolinked_components()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -317,6 +317,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -345,6 +345,16 @@ class ComponentbuilderModelSite_view extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -182,6 +182,7 @@ class ComponentbuilderModelSnippet extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -176,6 +176,7 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -222,6 +222,16 @@ class ComponentbuilderModelTemplate extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
// update all editors to use this components global editor
|
||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||
foreach ($editors as $editor)
|
||||
{
|
||||
$name = (string) $editor['name'];
|
||||
$form->setFieldAttribute($name, 'editor', $global_editor);
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
@ -208,6 +208,7 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user