diff --git a/README.md b/README.md index dba77ff1b..6029f727e 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > never making one mistake or taking any coffee break.) -+ *Line count*: **80212** -+ *File count*: **493** ++ *Line count*: **80445** ++ *File count*: **494** + *Folder count*: **97** -**147 Hours** or **18 Eight Hour Days** (the actual time the author spent) +**148 Hours** or **19 Eight Hour Days** (the actual time the author spent) > (with the following break down: > **debugging @56hours** = codingtime / 4; @@ -57,13 +57,13 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde > **mapping @22hours** = codingtime / 10; > **office @37hours** = codingtime / 6;) -**371 Hours** or **46 Eight Hour Days** +**372 Hours** or **47 Eight Hour Days** (a total of the realistic time frame for this project) > (if creating a folder and file took **5 seconds** and writing one line of code took **10 seconds**, > with the normal everyday realities at the office, that includes the component planning, mapping & debugging.) -Project duration: **9.2 weeks** or **1.9 months** +Project duration: **9.4 weeks** or **2 months** > This **component** was build with a Joomla [Automated Component Builder] (https://www.vdm.io/joomla-component-builder). > Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io) \ No newline at end of file diff --git a/admin/assets/images/icons/compiler.png b/admin/assets/images/icons/compiler.png deleted file mode 100644 index 7d383b428..000000000 Binary files a/admin/assets/images/icons/compiler.png and /dev/null differ diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php index f6bf4498b..f42172917 100644 --- a/admin/helpers/componentbuilder.php +++ b/admin/helpers/componentbuilder.php @@ -319,11 +319,6 @@ abstract class ComponentbuilderHelper $user = JFactory::getUser(); // load the submenus to sidebar JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_DASHBOARD'), 'index.php?option=com_componentbuilder&view=componentbuilder', $submenu == 'componentbuilder'); - // Access control (compiler.submenu). - if ($user->authorise('compiler.submenu', 'com_componentbuilder')) - { - JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_COMPILER'), 'index.php?option=com_componentbuilder&view=compiler', $submenu == 'compiler'); - } JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_COMPONENTS'), 'index.php?option=com_componentbuilder&view=components', $submenu == 'components'); if ($user->authorise('admin_view.access', 'com_componentbuilder') && $user->authorise('admin_view.submenu', 'com_componentbuilder')) { diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini index ed806ea95..3ca0cf2db 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -444,6 +444,8 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN="Add Php Helper Admin" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_ADMIN_LABEL="Add PHP (helper_admin Class)" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE="Add Php Helper Site" COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL="Add PHP (helper_site Class)" +COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER="Add Sales Server" +COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL="Add Sales Server" COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT="Add Site Event" COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL="Add Global Site Event" COM_COMPONENTBUILDER_COMPONENT_ADD_SQL="Add Sql" @@ -451,6 +453,8 @@ COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_DESCRIPTION="if set in view" COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL="Add MySQL (to view table)" COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added" COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL="Options" +COM_COMPONENTBUILDER_COMPONENT_ADD_UPDATE_SERVER="Add Update Server" +COM_COMPONENTBUILDER_COMPONENT_ADD_UPDATE_SERVER_LABEL="Add Update Server" COM_COMPONENTBUILDER_COMPONENT_ADMINVIEW="Adminview" COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS="Adminviews" COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_DESCRIPTION="Add a link to any list admin view" @@ -632,6 +636,7 @@ COM_COMPONENTBUILDER_COMPONENT_FOLDER_THREE="Folder 3" COM_COMPONENTBUILDER_COMPONENT_FORWARD_CIRCLE="Forward Circle" COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO="Forward 2" COM_COMPONENTBUILDER_COMPONENT_FRONT="Front" +COM_COMPONENTBUILDER_COMPONENT_FTP_SERVERS="FTP Servers" COM_COMPONENTBUILDER_COMPONENT_GENERIC="Generic" COM_COMPONENTBUILDER_COMPONENT_GRID="Grid" COM_COMPONENTBUILDER_COMPONENT_GRID_TWO="Grid 2" @@ -845,6 +850,10 @@ COM_COMPONENTBUILDER_COMPONENT_README="Readme" COM_COMPONENTBUILDER_COMPONENT_README_LABEL="README.md" COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL="Rename" COM_COMPONENTBUILDER_COMPONENT_REPLY="Reply" +COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP="Sales Server Ftp" +COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_DESCRIPTION="The FTP details for the update server XML location. (string $host = '127.0.0.1', string $port = '21', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)" +COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_HINT="host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password" +COM_COMPONENTBUILDER_COMPONENT_SALES_SERVER_FTP_LABEL="Sales Server FTP
(encrypted field)" COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY="Save Copy" COM_COMPONENTBUILDER_COMPONENT_SAVE_NEW="Save New" COM_COMPONENTBUILDER_COMPONENT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Component to customise the alias." @@ -920,6 +929,14 @@ COM_COMPONENTBUILDER_COMPONENT_UNFEATURED="Unfeatured" COM_COMPONENTBUILDER_COMPONENT_UNLOCK="Unlock" COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH="Unpublish" COM_COMPONENTBUILDER_COMPONENT_UPDATES_USED_IN_JOOMLA_UPDATER="Updates (used in Joomla updater)" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER="Update Server" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_DESCRIPTION="Enter Update Server URL" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP="Update Server Ftp" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_DESCRIPTION="The FTP details for the update server XML location. (string $host = '127.0.0.1', string $port = '21', array $options = array(), string $user = null, string $pass = null) OPTIONS = Array with any of these options: type=>[FTP_AUTOASCII|FTP_ASCII|FTP_BINARY], timeout=>(int)" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_HINT="host=HOSTNAME&port=PORT_INT&options[type]=FTP_BINARY&options[timeout]=15&username=user@name.com&password=password" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_FTP_LABEL="Update Server FTP
(encrypted field)" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_HINT="http://www.example.com/update/component.xml" +COM_COMPONENTBUILDER_COMPONENT_UPDATE_SERVER_LABEL="Update Server" COM_COMPONENTBUILDER_COMPONENT_UPLOAD="Upload" COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION="Enter Download Link" COM_COMPONENTBUILDER_COMPONENT_URL_HINT="http://www.example.com/file.zip" @@ -1426,7 +1443,6 @@ COM_COMPONENTBUILDER_DASH="Dashboard" COM_COMPONENTBUILDER_DASHBOARD="Component Builder Dashboard" COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views

" COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEW_ADD="Add Admin View

" -COM_COMPONENTBUILDER_DASHBOARD_COMPILER="Compiler

" COM_COMPONENTBUILDER_DASHBOARD_COMPONENTS="Components

" COM_COMPONENTBUILDER_DASHBOARD_COMPONENT_ADD="Add Component

" COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views

" @@ -2807,7 +2823,6 @@ COM_COMPONENTBUILDER_SNIPPET_USAGE_LABEL="Usage" COM_COMPONENTBUILDER_SNIPPET_VERSION_DESC="A count of the number of times this Snippet has been revised." COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL="Revision" COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_SUBMENU_COMPILER="Compiler" COM_COMPONENTBUILDER_SUBMENU_COMPONENTS="Components" COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard" diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini index fdeb4f482..cc8ca531d 100644 --- a/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini +++ b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini @@ -2,7 +2,6 @@ COM_COMPONENTBUILDER="Component Builder" COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration" COM_COMPONENTBUILDER_MENU="» Component Builder" COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views" -COM_COMPONENTBUILDER_MENU_COMPILER="Compiler" COM_COMPONENTBUILDER_MENU_COMPONENTS="Components" COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS="Dynamic Gets" diff --git a/admin/layouts/component/ftp_servers_fullwidth.php b/admin/layouts/component/ftp_servers_fullwidth.php new file mode 100644 index 000000000..c1ec99522 --- /dev/null +++ b/admin/layouts/component/ftp_servers_fullwidth.php @@ -0,0 +1,53 @@ + + @my wife Roline van der Merwe + @copyright Copyright (C) 2015. All Rights Reserved + @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + + Builds Complex Joomla Components + +/-----------------------------------------------------------------------------------------------------------------------------*/ + +// No direct access to this file + +defined('_JEXEC') or die('Restricted access'); + +$form = $displayData->getForm(); + +$fields = $displayData->get('fields') ?: array( + 'add_update_server', + 'update_server', + 'update_server_ftp', + 'add_sales_server', + 'sales_server_ftp' +); + +?> +
+ +
+
+ getLabel($field); ?> +
+
+ getInput($field); ?> +
+
+ +
diff --git a/admin/models/component.php b/admin/models/component.php index d91954dc3..a8c6b65ef 100644 --- a/admin/models/component.php +++ b/admin/models/component.php @@ -96,6 +96,30 @@ class ComponentbuilderModelComponent extends JModelAdmin $item->metadata = $registry->toArray(); } + if (!empty($item->php_site_event)) + { + // base64 Decode php_site_event. + $item->php_site_event = base64_decode($item->php_site_event); + } + + if (!empty($item->css)) + { + // base64 Decode css. + $item->css = base64_decode($item->css); + } + + if (!empty($item->php_admin_event)) + { + // base64 Decode php_admin_event. + $item->php_admin_event = base64_decode($item->php_admin_event); + } + + if (!empty($item->php_dashboard_methods)) + { + // base64 Decode php_dashboard_methods. + $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); + } + if (!empty($item->php_helper_admin)) { // base64 Decode php_helper_admin. @@ -114,30 +138,6 @@ class ComponentbuilderModelComponent extends JModelAdmin $item->sql = base64_decode($item->sql); } - if (!empty($item->css)) - { - // base64 Decode css. - $item->css = base64_decode($item->css); - } - - if (!empty($item->php_admin_event)) - { - // base64 Decode php_admin_event. - $item->php_admin_event = base64_decode($item->php_admin_event); - } - - if (!empty($item->php_site_event)) - { - // base64 Decode php_site_event. - $item->php_site_event = base64_decode($item->php_site_event); - } - - if (!empty($item->php_dashboard_methods)) - { - // base64 Decode php_dashboard_methods. - $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); - } - if (!empty($item->readme)) { // base64 Decode readme. @@ -149,10 +149,22 @@ class ComponentbuilderModelComponent extends JModelAdmin // Get the encription object. $basic = new FOFEncryptAes($basickey, 128); + if (!empty($item->update_server_ftp) && $basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true))) + { + // basic decript data update_server_ftp. + $item->update_server_ftp = rtrim($basic->decryptString($item->update_server_ftp), "\0"); + } + if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true))) { // basic decript data whmcs_key. $item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0"); + } + + if (!empty($item->sales_server_ftp) && $basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true))) + { + // basic decript data sales_server_ftp. + $item->sales_server_ftp = rtrim($basic->decryptString($item->sales_server_ftp), "\0"); } if (!empty($item->id)) @@ -1034,6 +1046,30 @@ class ComponentbuilderModelComponent extends JModelAdmin $data['metadata'] = (string) $metadata; } + // Set the php_site_event string to base64 string. + if (isset($data['php_site_event'])) + { + $data['php_site_event'] = base64_encode($data['php_site_event']); + } + + // Set the css string to base64 string. + if (isset($data['css'])) + { + $data['css'] = base64_encode($data['css']); + } + + // Set the php_admin_event string to base64 string. + if (isset($data['php_admin_event'])) + { + $data['php_admin_event'] = base64_encode($data['php_admin_event']); + } + + // Set the php_dashboard_methods string to base64 string. + if (isset($data['php_dashboard_methods'])) + { + $data['php_dashboard_methods'] = base64_encode($data['php_dashboard_methods']); + } + // Set the php_helper_admin string to base64 string. if (isset($data['php_helper_admin'])) { @@ -1052,30 +1088,6 @@ class ComponentbuilderModelComponent extends JModelAdmin $data['sql'] = base64_encode($data['sql']); } - // Set the css string to base64 string. - if (isset($data['css'])) - { - $data['css'] = base64_encode($data['css']); - } - - // Set the php_admin_event string to base64 string. - if (isset($data['php_admin_event'])) - { - $data['php_admin_event'] = base64_encode($data['php_admin_event']); - } - - // Set the php_site_event string to base64 string. - if (isset($data['php_site_event'])) - { - $data['php_site_event'] = base64_encode($data['php_site_event']); - } - - // Set the php_dashboard_methods string to base64 string. - if (isset($data['php_dashboard_methods'])) - { - $data['php_dashboard_methods'] = base64_encode($data['php_dashboard_methods']); - } - // Set the readme string to base64 string. if (isset($data['readme'])) { @@ -1087,10 +1099,22 @@ class ComponentbuilderModelComponent extends JModelAdmin // Get the encription object $basic = new FOFEncryptAes($basickey, 128); + // Encript data update_server_ftp. + if (isset($data['update_server_ftp']) && $basickey) + { + $data['update_server_ftp'] = $basic->encryptString($data['update_server_ftp']); + } + // Encript data whmcs_key. if (isset($data['whmcs_key']) && $basickey) { $data['whmcs_key'] = $basic->encryptString($data['whmcs_key']); + } + + // Encript data sales_server_ftp. + if (isset($data['sales_server_ftp']) && $basickey) + { + $data['sales_server_ftp'] = $basic->encryptString($data['sales_server_ftp']); } // Set the Params Items to data diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php index 2d216696d..799865a02 100644 --- a/admin/models/componentbuilder.php +++ b/admin/models/componentbuilder.php @@ -44,7 +44,7 @@ class ComponentbuilderModelComponentbuilder extends JModelList $icons = array(); // view groups array $viewGroups = array( - 'main' => array('png.compiler', 'png.component.add', 'png.components', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layout.add', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.snippet.add', 'png.snippets', 'png.field.add', 'png.fields', 'png.fields.catid', 'png.fieldtype.add', 'png.fieldtypes', 'png.fieldtypes.catid', 'png.help_document.add', 'png.help_documents') + 'main' => array('png.component.add', 'png.components', 'png.admin_view.add', 'png.admin_views', 'png.custom_admin_view.add', 'png.custom_admin_views', 'png.site_view.add', 'png.site_views', 'png.template.add', 'png.templates', 'png.layout.add', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.snippet.add', 'png.snippets', 'png.field.add', 'png.fields', 'png.fields.catid', 'png.fieldtype.add', 'png.fieldtypes', 'png.fieldtypes.catid', 'png.help_document.add', 'png.help_documents') ); // view access array $viewAccess = array( diff --git a/admin/models/components.php b/admin/models/components.php index 4eec52421..3d6442e63 100644 --- a/admin/models/components.php +++ b/admin/models/components.php @@ -258,20 +258,25 @@ class ComponentbuilderModelComponents extends JModelList { foreach ($items as $nr => &$item) { + // decode php_site_event + $item->php_site_event = base64_decode($item->php_site_event); + // decode css + $item->css = base64_decode($item->css); + // decode php_admin_event + $item->php_admin_event = base64_decode($item->php_admin_event); + if ($basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true))) + { + // decrypt update_server_ftp + $item->update_server_ftp = $basic->decryptString($item->update_server_ftp); + } + // decode php_dashboard_methods + $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); // decode php_helper_admin $item->php_helper_admin = base64_decode($item->php_helper_admin); // decode php_helper_site $item->php_helper_site = base64_decode($item->php_helper_site); // decode sql $item->sql = base64_decode($item->sql); - // decode css - $item->css = base64_decode($item->css); - // decode php_admin_event - $item->php_admin_event = base64_decode($item->php_admin_event); - // decode php_site_event - $item->php_site_event = base64_decode($item->php_site_event); - // decode php_dashboard_methods - $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods); if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true))) { // decrypt whmcs_key @@ -279,6 +284,11 @@ class ComponentbuilderModelComponents extends JModelList } // decode readme $item->readme = base64_decode($item->readme); + if ($basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true))) + { + // decrypt sales_server_ftp + $item->sales_server_ftp = $basic->decryptString($item->sales_server_ftp); + } // unset the values we don't want exported. unset($item->asset_id); unset($item->checked_out); diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js index 5c7b8843a..e7b54536e 100644 --- a/admin/models/forms/admin_view.js +++ b/admin/models/forms/admin_view.js @@ -24,293 +24,293 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvwgvwg_required = false; -jform_vvvvvwhvwh_required = false; -jform_vvvvvwivwi_required = false; -jform_vvvvvwjvwj_required = false; -jform_vvvvvwkvwk_required = false; -jform_vvvvvwlvwl_required = false; -jform_vvvvvwmvwm_required = false; -jform_vvvvvwnvwn_required = false; -jform_vvvvvwovwo_required = false; -jform_vvvvvwpvwp_required = false; -jform_vvvvvwqvwq_required = false; -jform_vvvvvwrvwr_required = false; -jform_vvvvvwsvws_required = false; -jform_vvvvvwtvwt_required = false; -jform_vvvvvwuvwu_required = false; -jform_vvvvvwvvwv_required = false; -jform_vvvvvwwvww_required = false; -jform_vvvvvwxvwx_required = false; -jform_vvvvvwyvwy_required = false; +jform_vvvvvwivwg_required = false; +jform_vvvvvwjvwh_required = false; +jform_vvvvvwkvwi_required = false; +jform_vvvvvwlvwj_required = false; +jform_vvvvvwmvwk_required = false; +jform_vvvvvwnvwl_required = false; +jform_vvvvvwovwm_required = false; +jform_vvvvvwpvwn_required = false; +jform_vvvvvwqvwo_required = false; +jform_vvvvvwrvwp_required = false; +jform_vvvvvwsvwq_required = false; +jform_vvvvvwtvwr_required = false; +jform_vvvvvwuvws_required = false; +jform_vvvvvwvvwt_required = false; +jform_vvvvvwwvwu_required = false; +jform_vvvvvwxvwv_required = false; +jform_vvvvvwyvww_required = false; +jform_vvvvvwzvwx_required = false; +jform_vvvvvxavwy_required = false; // Initial Script jQuery(document).ready(function() { - var add_css_view_vvvvvwg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvwg(add_css_view_vvvvvwg); + var add_css_view_vvvvvwi = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvwi(add_css_view_vvvvvwi); - var add_css_views_vvvvvwh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvwh(add_css_views_vvvvvwh); + var add_css_views_vvvvvwj = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvwj(add_css_views_vvvvvwj); - var add_javascript_view_file_vvvvvwi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); - vvvvvwi(add_javascript_view_file_vvvvvwi); + var add_javascript_view_file_vvvvvwk = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + vvvvvwk(add_javascript_view_file_vvvvvwk); - var add_javascript_views_file_vvvvvwj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); - vvvvvwj(add_javascript_views_file_vvvvvwj); + var add_javascript_views_file_vvvvvwl = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + vvvvvwl(add_javascript_views_file_vvvvvwl); - var add_javascript_view_footer_vvvvvwk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvwk(add_javascript_view_footer_vvvvvwk); + var add_javascript_view_footer_vvvvvwm = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvwm(add_javascript_view_footer_vvvvvwm); - var add_javascript_views_footer_vvvvvwl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvwl(add_javascript_views_footer_vvvvvwl); + var add_javascript_views_footer_vvvvvwn = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvwn(add_javascript_views_footer_vvvvvwn); - var add_php_ajax_vvvvvwm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvwm(add_php_ajax_vvvvvwm); + var add_php_ajax_vvvvvwo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvwo(add_php_ajax_vvvvvwo); - var add_php_getitem_vvvvvwn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); - vvvvvwn(add_php_getitem_vvvvvwn); + var add_php_getitem_vvvvvwp = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + vvvvvwp(add_php_getitem_vvvvvwp); - var add_php_getitems_vvvvvwo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); - vvvvvwo(add_php_getitems_vvvvvwo); + var add_php_getitems_vvvvvwq = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + vvvvvwq(add_php_getitems_vvvvvwq); - var add_php_getlistquery_vvvvvwp = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - vvvvvwp(add_php_getlistquery_vvvvvwp); + var add_php_getlistquery_vvvvvwr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + vvvvvwr(add_php_getlistquery_vvvvvwr); - var add_php_save_vvvvvwq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); - vvvvvwq(add_php_save_vvvvvwq); + var add_php_save_vvvvvws = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + vvvvvws(add_php_save_vvvvvws); - var add_php_postsavehook_vvvvvwr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); - vvvvvwr(add_php_postsavehook_vvvvvwr); + var add_php_postsavehook_vvvvvwt = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + vvvvvwt(add_php_postsavehook_vvvvvwt); - var add_php_allowedit_vvvvvws = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); - vvvvvws(add_php_allowedit_vvvvvws); + var add_php_allowedit_vvvvvwu = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + vvvvvwu(add_php_allowedit_vvvvvwu); - var add_php_batchcopy_vvvvvwt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); - vvvvvwt(add_php_batchcopy_vvvvvwt); + var add_php_batchcopy_vvvvvwv = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + vvvvvwv(add_php_batchcopy_vvvvvwv); - var add_php_batchmove_vvvvvwu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); - vvvvvwu(add_php_batchmove_vvvvvwu); + var add_php_batchmove_vvvvvww = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + vvvvvww(add_php_batchmove_vvvvvww); - var add_php_before_delete_vvvvvwv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); - vvvvvwv(add_php_before_delete_vvvvvwv); + var add_php_before_delete_vvvvvwx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + vvvvvwx(add_php_before_delete_vvvvvwx); - var add_php_after_delete_vvvvvww = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); - vvvvvww(add_php_after_delete_vvvvvww); + var add_php_after_delete_vvvvvwy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + vvvvvwy(add_php_after_delete_vvvvvwy); - var add_sql_vvvvvwx = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvwx(add_sql_vvvvvwx); - - var source_vvvvvwy = jQuery("#jform_source input[type='radio']:checked").val(); - var add_sql_vvvvvwy = jQuery("#jform_add_sql input[type='radio']:checked").val(); - vvvvvwy(source_vvvvvwy,add_sql_vvvvvwy); + var add_sql_vvvvvwz = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvwz(add_sql_vvvvvwz); var source_vvvvvxa = jQuery("#jform_source input[type='radio']:checked").val(); var add_sql_vvvvvxa = jQuery("#jform_add_sql input[type='radio']:checked").val(); vvvvvxa(source_vvvvvxa,add_sql_vvvvvxa); + + var source_vvvvvxc = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_vvvvvxc = jQuery("#jform_add_sql input[type='radio']:checked").val(); + vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc); }); -// the vvvvvwg function -function vvvvvwg(add_css_view_vvvvvwg) +// the vvvvvwi function +function vvvvvwi(add_css_view_vvvvvwi) { // set the function logic - if (add_css_view_vvvvvwg == 1) + if (add_css_view_vvvvvwi == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_vvvvvwgvwg_required) + if (jform_vvvvvwivwg_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_vvvvvwgvwg_required = false; + jform_vvvvvwivwg_required = false; } } else { jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_vvvvvwgvwg_required) + if (!jform_vvvvvwivwg_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_vvvvvwgvwg_required = true; + jform_vvvvvwivwg_required = true; } } } -// the vvvvvwh function -function vvvvvwh(add_css_views_vvvvvwh) +// the vvvvvwj function +function vvvvvwj(add_css_views_vvvvvwj) { // set the function logic - if (add_css_views_vvvvvwh == 1) + if (add_css_views_vvvvvwj == 1) { jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_vvvvvwhvwh_required) + if (jform_vvvvvwjvwh_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_vvvvvwhvwh_required = false; + jform_vvvvvwjvwh_required = false; } } else { jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_vvvvvwhvwh_required) + if (!jform_vvvvvwjvwh_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_vvvvvwhvwh_required = true; + jform_vvvvvwjvwh_required = true; } } } -// the vvvvvwi function -function vvvvvwi(add_javascript_view_file_vvvvvwi) +// the vvvvvwk function +function vvvvvwk(add_javascript_view_file_vvvvvwk) { // set the function logic - if (add_javascript_view_file_vvvvvwi == 1) + if (add_javascript_view_file_vvvvvwk == 1) { jQuery('#jform_javascript_view_file').closest('.control-group').show(); - if (jform_vvvvvwivwi_required) + if (jform_vvvvvwkvwi_required) { updateFieldRequired('javascript_view_file',0); jQuery('#jform_javascript_view_file').prop('required','required'); jQuery('#jform_javascript_view_file').attr('aria-required',true); jQuery('#jform_javascript_view_file').addClass('required'); - jform_vvvvvwivwi_required = false; + jform_vvvvvwkvwi_required = false; } } else { jQuery('#jform_javascript_view_file').closest('.control-group').hide(); - if (!jform_vvvvvwivwi_required) + if (!jform_vvvvvwkvwi_required) { updateFieldRequired('javascript_view_file',1); jQuery('#jform_javascript_view_file').removeAttr('required'); jQuery('#jform_javascript_view_file').removeAttr('aria-required'); jQuery('#jform_javascript_view_file').removeClass('required'); - jform_vvvvvwivwi_required = true; + jform_vvvvvwkvwi_required = true; } } } -// the vvvvvwj function -function vvvvvwj(add_javascript_views_file_vvvvvwj) +// the vvvvvwl function +function vvvvvwl(add_javascript_views_file_vvvvvwl) { // set the function logic - if (add_javascript_views_file_vvvvvwj == 1) + if (add_javascript_views_file_vvvvvwl == 1) { jQuery('#jform_javascript_views_file').closest('.control-group').show(); - if (jform_vvvvvwjvwj_required) + if (jform_vvvvvwlvwj_required) { updateFieldRequired('javascript_views_file',0); jQuery('#jform_javascript_views_file').prop('required','required'); jQuery('#jform_javascript_views_file').attr('aria-required',true); jQuery('#jform_javascript_views_file').addClass('required'); - jform_vvvvvwjvwj_required = false; + jform_vvvvvwlvwj_required = false; } } else { jQuery('#jform_javascript_views_file').closest('.control-group').hide(); - if (!jform_vvvvvwjvwj_required) + if (!jform_vvvvvwlvwj_required) { updateFieldRequired('javascript_views_file',1); jQuery('#jform_javascript_views_file').removeAttr('required'); jQuery('#jform_javascript_views_file').removeAttr('aria-required'); jQuery('#jform_javascript_views_file').removeClass('required'); - jform_vvvvvwjvwj_required = true; + jform_vvvvvwlvwj_required = true; } } } -// the vvvvvwk function -function vvvvvwk(add_javascript_view_footer_vvvvvwk) +// the vvvvvwm function +function vvvvvwm(add_javascript_view_footer_vvvvvwm) { // set the function logic - if (add_javascript_view_footer_vvvvvwk == 1) + if (add_javascript_view_footer_vvvvvwm == 1) { jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_vvvvvwkvwk_required) + if (jform_vvvvvwmvwk_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_vvvvvwkvwk_required = false; + jform_vvvvvwmvwk_required = false; } } else { jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_vvvvvwkvwk_required) + if (!jform_vvvvvwmvwk_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_vvvvvwkvwk_required = true; + jform_vvvvvwmvwk_required = true; } } } -// the vvvvvwl function -function vvvvvwl(add_javascript_views_footer_vvvvvwl) +// the vvvvvwn function +function vvvvvwn(add_javascript_views_footer_vvvvvwn) { // set the function logic - if (add_javascript_views_footer_vvvvvwl == 1) + if (add_javascript_views_footer_vvvvvwn == 1) { jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_vvvvvwlvwl_required) + if (jform_vvvvvwnvwl_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_vvvvvwlvwl_required = false; + jform_vvvvvwnvwl_required = false; } } else { jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_vvvvvwlvwl_required) + if (!jform_vvvvvwnvwl_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_vvvvvwlvwl_required = true; + jform_vvvvvwnvwl_required = true; } } } -// the vvvvvwm function -function vvvvvwm(add_php_ajax_vvvvvwm) +// the vvvvvwo function +function vvvvvwo(add_php_ajax_vvvvvwo) { // set the function logic - if (add_php_ajax_vvvvvwm == 1) + if (add_php_ajax_vvvvvwo == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_vvvvvwmvwm_required) + if (jform_vvvvvwovwm_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_vvvvvwmvwm_required = false; + jform_vvvvvwovwm_required = false; } } @@ -318,385 +318,354 @@ function vvvvvwm(add_php_ajax_vvvvvwm) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_vvvvvwmvwm_required) + if (!jform_vvvvvwovwm_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_vvvvvwmvwm_required = true; + jform_vvvvvwovwm_required = true; } } } -// the vvvvvwn function -function vvvvvwn(add_php_getitem_vvvvvwn) +// the vvvvvwp function +function vvvvvwp(add_php_getitem_vvvvvwp) { // set the function logic - if (add_php_getitem_vvvvvwn == 1) + if (add_php_getitem_vvvvvwp == 1) { jQuery('#jform_php_getitem').closest('.control-group').show(); - if (jform_vvvvvwnvwn_required) + if (jform_vvvvvwpvwn_required) { updateFieldRequired('php_getitem',0); jQuery('#jform_php_getitem').prop('required','required'); jQuery('#jform_php_getitem').attr('aria-required',true); jQuery('#jform_php_getitem').addClass('required'); - jform_vvvvvwnvwn_required = false; + jform_vvvvvwpvwn_required = false; } } else { jQuery('#jform_php_getitem').closest('.control-group').hide(); - if (!jform_vvvvvwnvwn_required) + if (!jform_vvvvvwpvwn_required) { updateFieldRequired('php_getitem',1); jQuery('#jform_php_getitem').removeAttr('required'); jQuery('#jform_php_getitem').removeAttr('aria-required'); jQuery('#jform_php_getitem').removeClass('required'); - jform_vvvvvwnvwn_required = true; + jform_vvvvvwpvwn_required = true; } } } -// the vvvvvwo function -function vvvvvwo(add_php_getitems_vvvvvwo) +// the vvvvvwq function +function vvvvvwq(add_php_getitems_vvvvvwq) { // set the function logic - if (add_php_getitems_vvvvvwo == 1) + if (add_php_getitems_vvvvvwq == 1) { jQuery('#jform_php_getitems').closest('.control-group').show(); - if (jform_vvvvvwovwo_required) + if (jform_vvvvvwqvwo_required) { updateFieldRequired('php_getitems',0); jQuery('#jform_php_getitems').prop('required','required'); jQuery('#jform_php_getitems').attr('aria-required',true); jQuery('#jform_php_getitems').addClass('required'); - jform_vvvvvwovwo_required = false; + jform_vvvvvwqvwo_required = false; } } else { jQuery('#jform_php_getitems').closest('.control-group').hide(); - if (!jform_vvvvvwovwo_required) + if (!jform_vvvvvwqvwo_required) { updateFieldRequired('php_getitems',1); jQuery('#jform_php_getitems').removeAttr('required'); jQuery('#jform_php_getitems').removeAttr('aria-required'); jQuery('#jform_php_getitems').removeClass('required'); - jform_vvvvvwovwo_required = true; + jform_vvvvvwqvwo_required = true; } } } -// the vvvvvwp function -function vvvvvwp(add_php_getlistquery_vvvvvwp) +// the vvvvvwr function +function vvvvvwr(add_php_getlistquery_vvvvvwr) { // set the function logic - if (add_php_getlistquery_vvvvvwp == 1) + if (add_php_getlistquery_vvvvvwr == 1) { jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvwpvwp_required) + if (jform_vvvvvwrvwp_required) { updateFieldRequired('php_getlistquery',0); jQuery('#jform_php_getlistquery').prop('required','required'); jQuery('#jform_php_getlistquery').attr('aria-required',true); jQuery('#jform_php_getlistquery').addClass('required'); - jform_vvvvvwpvwp_required = false; + jform_vvvvvwrvwp_required = false; } } else { jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvwpvwp_required) + if (!jform_vvvvvwrvwp_required) { updateFieldRequired('php_getlistquery',1); jQuery('#jform_php_getlistquery').removeAttr('required'); jQuery('#jform_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_php_getlistquery').removeClass('required'); - jform_vvvvvwpvwp_required = true; + jform_vvvvvwrvwp_required = true; } } } -// the vvvvvwq function -function vvvvvwq(add_php_save_vvvvvwq) +// the vvvvvws function +function vvvvvws(add_php_save_vvvvvws) { // set the function logic - if (add_php_save_vvvvvwq == 1) + if (add_php_save_vvvvvws == 1) { jQuery('#jform_php_save').closest('.control-group').show(); - if (jform_vvvvvwqvwq_required) + if (jform_vvvvvwsvwq_required) { updateFieldRequired('php_save',0); jQuery('#jform_php_save').prop('required','required'); jQuery('#jform_php_save').attr('aria-required',true); jQuery('#jform_php_save').addClass('required'); - jform_vvvvvwqvwq_required = false; + jform_vvvvvwsvwq_required = false; } } else { jQuery('#jform_php_save').closest('.control-group').hide(); - if (!jform_vvvvvwqvwq_required) + if (!jform_vvvvvwsvwq_required) { updateFieldRequired('php_save',1); jQuery('#jform_php_save').removeAttr('required'); jQuery('#jform_php_save').removeAttr('aria-required'); jQuery('#jform_php_save').removeClass('required'); - jform_vvvvvwqvwq_required = true; + jform_vvvvvwsvwq_required = true; } } } -// the vvvvvwr function -function vvvvvwr(add_php_postsavehook_vvvvvwr) +// the vvvvvwt function +function vvvvvwt(add_php_postsavehook_vvvvvwt) { // set the function logic - if (add_php_postsavehook_vvvvvwr == 1) + if (add_php_postsavehook_vvvvvwt == 1) { jQuery('#jform_php_postsavehook').closest('.control-group').show(); - if (jform_vvvvvwrvwr_required) + if (jform_vvvvvwtvwr_required) { updateFieldRequired('php_postsavehook',0); jQuery('#jform_php_postsavehook').prop('required','required'); jQuery('#jform_php_postsavehook').attr('aria-required',true); jQuery('#jform_php_postsavehook').addClass('required'); - jform_vvvvvwrvwr_required = false; + jform_vvvvvwtvwr_required = false; } } else { jQuery('#jform_php_postsavehook').closest('.control-group').hide(); - if (!jform_vvvvvwrvwr_required) + if (!jform_vvvvvwtvwr_required) { updateFieldRequired('php_postsavehook',1); jQuery('#jform_php_postsavehook').removeAttr('required'); jQuery('#jform_php_postsavehook').removeAttr('aria-required'); jQuery('#jform_php_postsavehook').removeClass('required'); - jform_vvvvvwrvwr_required = true; + jform_vvvvvwtvwr_required = true; } } } -// the vvvvvws function -function vvvvvws(add_php_allowedit_vvvvvws) +// the vvvvvwu function +function vvvvvwu(add_php_allowedit_vvvvvwu) { // set the function logic - if (add_php_allowedit_vvvvvws == 1) + if (add_php_allowedit_vvvvvwu == 1) { jQuery('#jform_php_allowedit').closest('.control-group').show(); - if (jform_vvvvvwsvws_required) + if (jform_vvvvvwuvws_required) { updateFieldRequired('php_allowedit',0); jQuery('#jform_php_allowedit').prop('required','required'); jQuery('#jform_php_allowedit').attr('aria-required',true); jQuery('#jform_php_allowedit').addClass('required'); - jform_vvvvvwsvws_required = false; + jform_vvvvvwuvws_required = false; } } else { jQuery('#jform_php_allowedit').closest('.control-group').hide(); - if (!jform_vvvvvwsvws_required) + if (!jform_vvvvvwuvws_required) { updateFieldRequired('php_allowedit',1); jQuery('#jform_php_allowedit').removeAttr('required'); jQuery('#jform_php_allowedit').removeAttr('aria-required'); jQuery('#jform_php_allowedit').removeClass('required'); - jform_vvvvvwsvws_required = true; + jform_vvvvvwuvws_required = true; } } } -// the vvvvvwt function -function vvvvvwt(add_php_batchcopy_vvvvvwt) +// the vvvvvwv function +function vvvvvwv(add_php_batchcopy_vvvvvwv) { // set the function logic - if (add_php_batchcopy_vvvvvwt == 1) + if (add_php_batchcopy_vvvvvwv == 1) { jQuery('#jform_php_batchcopy').closest('.control-group').show(); - if (jform_vvvvvwtvwt_required) + if (jform_vvvvvwvvwt_required) { updateFieldRequired('php_batchcopy',0); jQuery('#jform_php_batchcopy').prop('required','required'); jQuery('#jform_php_batchcopy').attr('aria-required',true); jQuery('#jform_php_batchcopy').addClass('required'); - jform_vvvvvwtvwt_required = false; + jform_vvvvvwvvwt_required = false; } } else { jQuery('#jform_php_batchcopy').closest('.control-group').hide(); - if (!jform_vvvvvwtvwt_required) + if (!jform_vvvvvwvvwt_required) { updateFieldRequired('php_batchcopy',1); jQuery('#jform_php_batchcopy').removeAttr('required'); jQuery('#jform_php_batchcopy').removeAttr('aria-required'); jQuery('#jform_php_batchcopy').removeClass('required'); - jform_vvvvvwtvwt_required = true; + jform_vvvvvwvvwt_required = true; } } } -// the vvvvvwu function -function vvvvvwu(add_php_batchmove_vvvvvwu) +// the vvvvvww function +function vvvvvww(add_php_batchmove_vvvvvww) { // set the function logic - if (add_php_batchmove_vvvvvwu == 1) + if (add_php_batchmove_vvvvvww == 1) { jQuery('#jform_php_batchmove').closest('.control-group').show(); - if (jform_vvvvvwuvwu_required) + if (jform_vvvvvwwvwu_required) { updateFieldRequired('php_batchmove',0); jQuery('#jform_php_batchmove').prop('required','required'); jQuery('#jform_php_batchmove').attr('aria-required',true); jQuery('#jform_php_batchmove').addClass('required'); - jform_vvvvvwuvwu_required = false; + jform_vvvvvwwvwu_required = false; } } else { jQuery('#jform_php_batchmove').closest('.control-group').hide(); - if (!jform_vvvvvwuvwu_required) + if (!jform_vvvvvwwvwu_required) { updateFieldRequired('php_batchmove',1); jQuery('#jform_php_batchmove').removeAttr('required'); jQuery('#jform_php_batchmove').removeAttr('aria-required'); jQuery('#jform_php_batchmove').removeClass('required'); - jform_vvvvvwuvwu_required = true; + jform_vvvvvwwvwu_required = true; } } } -// the vvvvvwv function -function vvvvvwv(add_php_before_delete_vvvvvwv) +// the vvvvvwx function +function vvvvvwx(add_php_before_delete_vvvvvwx) { // set the function logic - if (add_php_before_delete_vvvvvwv == 1) + if (add_php_before_delete_vvvvvwx == 1) { jQuery('#jform_php_before_delete').closest('.control-group').show(); - if (jform_vvvvvwvvwv_required) + if (jform_vvvvvwxvwv_required) { updateFieldRequired('php_before_delete',0); jQuery('#jform_php_before_delete').prop('required','required'); jQuery('#jform_php_before_delete').attr('aria-required',true); jQuery('#jform_php_before_delete').addClass('required'); - jform_vvvvvwvvwv_required = false; + jform_vvvvvwxvwv_required = false; } } else { jQuery('#jform_php_before_delete').closest('.control-group').hide(); - if (!jform_vvvvvwvvwv_required) + if (!jform_vvvvvwxvwv_required) { updateFieldRequired('php_before_delete',1); jQuery('#jform_php_before_delete').removeAttr('required'); jQuery('#jform_php_before_delete').removeAttr('aria-required'); jQuery('#jform_php_before_delete').removeClass('required'); - jform_vvvvvwvvwv_required = true; + jform_vvvvvwxvwv_required = true; } } } -// the vvvvvww function -function vvvvvww(add_php_after_delete_vvvvvww) +// the vvvvvwy function +function vvvvvwy(add_php_after_delete_vvvvvwy) { // set the function logic - if (add_php_after_delete_vvvvvww == 1) + if (add_php_after_delete_vvvvvwy == 1) { jQuery('#jform_php_after_delete').closest('.control-group').show(); - if (jform_vvvvvwwvww_required) + if (jform_vvvvvwyvww_required) { updateFieldRequired('php_after_delete',0); jQuery('#jform_php_after_delete').prop('required','required'); jQuery('#jform_php_after_delete').attr('aria-required',true); jQuery('#jform_php_after_delete').addClass('required'); - jform_vvvvvwwvww_required = false; + jform_vvvvvwyvww_required = false; } } else { jQuery('#jform_php_after_delete').closest('.control-group').hide(); - if (!jform_vvvvvwwvww_required) + if (!jform_vvvvvwyvww_required) { updateFieldRequired('php_after_delete',1); jQuery('#jform_php_after_delete').removeAttr('required'); jQuery('#jform_php_after_delete').removeAttr('aria-required'); jQuery('#jform_php_after_delete').removeClass('required'); - jform_vvvvvwwvww_required = true; + jform_vvvvvwyvww_required = true; } } } -// the vvvvvwx function -function vvvvvwx(add_sql_vvvvvwx) +// the vvvvvwz function +function vvvvvwz(add_sql_vvvvvwz) { // set the function logic - if (add_sql_vvvvvwx == 1) + if (add_sql_vvvvvwz == 1) { jQuery('#jform_source').closest('.control-group').show(); - if (jform_vvvvvwxvwx_required) + if (jform_vvvvvwzvwx_required) { updateFieldRequired('source',0); jQuery('#jform_source').prop('required','required'); jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_source').addClass('required'); - jform_vvvvvwxvwx_required = false; + jform_vvvvvwzvwx_required = false; } } else { jQuery('#jform_source').closest('.control-group').hide(); - if (!jform_vvvvvwxvwx_required) + if (!jform_vvvvvwzvwx_required) { updateFieldRequired('source',1); jQuery('#jform_source').removeAttr('required'); jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_source').removeClass('required'); - jform_vvvvvwxvwx_required = true; - } - } -} - -// the vvvvvwy function -function vvvvvwy(source_vvvvvwy,add_sql_vvvvvwy) -{ - // set the function logic - if (source_vvvvvwy == 2 && add_sql_vvvvvwy == 1) - { - jQuery('#jform_sql').closest('.control-group').show(); - if (jform_vvvvvwyvwy_required) - { - updateFieldRequired('sql',0); - jQuery('#jform_sql').prop('required','required'); - jQuery('#jform_sql').attr('aria-required',true); - jQuery('#jform_sql').addClass('required'); - jform_vvvvvwyvwy_required = false; - } - - } - else - { - jQuery('#jform_sql').closest('.control-group').hide(); - if (!jform_vvvvvwyvwy_required) - { - updateFieldRequired('sql',1); - jQuery('#jform_sql').removeAttr('required'); - jQuery('#jform_sql').removeAttr('aria-required'); - jQuery('#jform_sql').removeClass('required'); - jform_vvvvvwyvwy_required = true; + jform_vvvvvwzvwx_required = true; } } } @@ -705,7 +674,38 @@ function vvvvvwy(source_vvvvvwy,add_sql_vvvvvwy) function vvvvvxa(source_vvvvvxa,add_sql_vvvvvxa) { // set the function logic - if (source_vvvvvxa == 1 && add_sql_vvvvvxa == 1) + if (source_vvvvvxa == 2 && add_sql_vvvvvxa == 1) + { + jQuery('#jform_sql').closest('.control-group').show(); + if (jform_vvvvvxavwy_required) + { + updateFieldRequired('sql',0); + jQuery('#jform_sql').prop('required','required'); + jQuery('#jform_sql').attr('aria-required',true); + jQuery('#jform_sql').addClass('required'); + jform_vvvvvxavwy_required = false; + } + + } + else + { + jQuery('#jform_sql').closest('.control-group').hide(); + if (!jform_vvvvvxavwy_required) + { + updateFieldRequired('sql',1); + jQuery('#jform_sql').removeAttr('required'); + jQuery('#jform_sql').removeAttr('aria-required'); + jQuery('#jform_sql').removeClass('required'); + jform_vvvvvxavwy_required = true; + } + } +} + +// the vvvvvxc function +function vvvvvxc(source_vvvvvxc,add_sql_vvvvvxc) +{ + // set the function logic + if (source_vvvvvxc == 1 && add_sql_vvvvvxc == 1) { jQuery('#jform_addtables').closest('.control-group').show(); } diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js index 953c02bbb..2bc8a2ed0 100644 --- a/admin/models/forms/component.js +++ b/admin/models/forms/component.js @@ -32,7 +32,7 @@ jform_vvvvvwavvz_required = false; jform_vvvvvwbvwa_required = false; jform_vvvvvwcvwb_required = false; jform_vvvvvwdvwc_required = false; -jform_vvvvvwfvwd_required = false; +jform_vvvvvwhvwd_required = false; // Initial Script jQuery(document).ready(function() @@ -64,11 +64,17 @@ jQuery(document).ready(function() var addreadme_vvvvvwd = jQuery("#jform_addreadme input[type='radio']:checked").val(); vvvvvwd(addreadme_vvvvvwd); - var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val(); - vvvvvwe(add_license_vvvvvwe); + var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val(); + vvvvvwe(add_update_server_vvvvvwe); - var add_php_dashboard_methods_vvvvvwf = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); - vvvvvwf(add_php_dashboard_methods_vvvvvwf); + var add_sales_server_vvvvvwf = jQuery("#jform_add_sales_server input[type='radio']:checked").val(); + vvvvvwf(add_sales_server_vvvvvwf); + + var add_license_vvvvvwg = jQuery("#jform_add_license input[type='radio']:checked").val(); + vvvvvwg(add_license_vvvvvwg); + + var add_php_dashboard_methods_vvvvvwh = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); + vvvvvwh(add_php_dashboard_methods_vvvvvwh); }); // the vvvvvvv function @@ -336,10 +342,40 @@ function vvvvvwd(addreadme_vvvvvwd) } // the vvvvvwe function -function vvvvvwe(add_license_vvvvvwe) +function vvvvvwe(add_update_server_vvvvvwe) { // set the function logic - if (add_license_vvvvvwe == 1) + if (add_update_server_vvvvvwe == 1) + { + jQuery('#jform_update_server_ftp').closest('.control-group').show(); + jQuery('#jform_update_server').closest('.control-group').show(); + } + else + { + jQuery('#jform_update_server_ftp').closest('.control-group').hide(); + jQuery('#jform_update_server').closest('.control-group').hide(); + } +} + +// the vvvvvwf function +function vvvvvwf(add_sales_server_vvvvvwf) +{ + // set the function logic + if (add_sales_server_vvvvvwf == 1) + { + jQuery('#jform_sales_server_ftp').closest('.control-group').show(); + } + else + { + jQuery('#jform_sales_server_ftp').closest('.control-group').hide(); + } +} + +// the vvvvvwg function +function vvvvvwg(add_license_vvvvvwg) +{ + // set the function logic + if (add_license_vvvvvwg == 1) { jQuery('.note_whmcs_lisencing_note').closest('.control-group').show(); jQuery('#jform_whmcs_key').closest('.control-group').show(); @@ -353,21 +389,21 @@ function vvvvvwe(add_license_vvvvvwe) } } -// the vvvvvwf function -function vvvvvwf(add_php_dashboard_methods_vvvvvwf) +// the vvvvvwh function +function vvvvvwh(add_php_dashboard_methods_vvvvvwh) { // set the function logic - if (add_php_dashboard_methods_vvvvvwf == 1) + if (add_php_dashboard_methods_vvvvvwh == 1) { jQuery('#jform_dashboard_tab').closest('.control-group').show(); jQuery('#jform_php_dashboard_methods').closest('.control-group').show(); - if (jform_vvvvvwfvwd_required) + if (jform_vvvvvwhvwd_required) { updateFieldRequired('php_dashboard_methods',0); jQuery('#jform_php_dashboard_methods').prop('required','required'); jQuery('#jform_php_dashboard_methods').attr('aria-required',true); jQuery('#jform_php_dashboard_methods').addClass('required'); - jform_vvvvvwfvwd_required = false; + jform_vvvvvwhvwd_required = false; } } @@ -375,13 +411,13 @@ function vvvvvwf(add_php_dashboard_methods_vvvvvwf) { jQuery('#jform_dashboard_tab').closest('.control-group').hide(); jQuery('#jform_php_dashboard_methods').closest('.control-group').hide(); - if (!jform_vvvvvwfvwd_required) + if (!jform_vvvvvwhvwd_required) { updateFieldRequired('php_dashboard_methods',1); jQuery('#jform_php_dashboard_methods').removeAttr('required'); jQuery('#jform_php_dashboard_methods').removeAttr('aria-required'); jQuery('#jform_php_dashboard_methods').removeClass('required'); - jform_vvvvvwfvwd_required = true; + jform_vvvvvwhvwd_required = true; } } } diff --git a/admin/models/forms/component.xml b/admin/models/forms/component.xml index 72708e205..8f3a68b43 100644 --- a/admin/models/forms/component.xml +++ b/admin/models/forms/component.xml @@ -172,71 +172,74 @@ message="Error! Please add author name here." hint="COM_COMPONENTBUILDER_COMPONENT_AUTHOR_HINT" /> - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - + + type="radio" + name="addreadme" + label="COM_COMPONENTBUILDER_COMPONENT_ADDREADME_LABEL" + class="btn-group btn-group-yesno" + default="0"> + + + + - + + type="radio" + name="add_sales_server" + label="COM_COMPONENTBUILDER_COMPONENT_ADD_SALES_SERVER_LABEL" + class="btn-group btn-group-yesno" + default="0" + required="true"> + + + + - + + type="repeatable" + name="addconfig" + label="Config" + description="COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_DESCRIPTION" + id="addconfigs" + class="addconfig" + select="COM_COMPONENTBUILDER_COMPONENT_ADDCONFIG_SELECT" + icon="list" + maximum="500"> + + + + COM_COMPONENTBUILDER_COMPONENT_NO - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - - - - - - + + + + + + + + + + + + + + + + - + - + @@ -2046,11 +2186,11 @@ - + @@ -2062,11 +2202,11 @@ - + @@ -2144,38 +2284,6 @@ - - - - - - - - - - - - - - - - COM_COMPONENTBUILDER_COMPONENT_NO + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js index 32e88eb1f..5c6b6703e 100644 --- a/admin/models/forms/custom_admin_view.js +++ b/admin/models/forms/custom_admin_view.js @@ -24,255 +24,255 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxcvxa_required = false; -jform_vvvvvxdvxb_required = false; -jform_vvvvvxevxc_required = false; -jform_vvvvvxfvxd_required = false; -jform_vvvvvxgvxe_required = false; -jform_vvvvvxhvxf_required = false; -jform_vvvvvxivxg_required = false; -jform_vvvvvxivxh_required = false; -jform_vvvvvxjvxi_required = false; +jform_vvvvvxevxa_required = false; +jform_vvvvvxfvxb_required = false; +jform_vvvvvxgvxc_required = false; +jform_vvvvvxhvxd_required = false; +jform_vvvvvxivxe_required = false; +jform_vvvvvxjvxf_required = false; +jform_vvvvvxkvxg_required = false; +jform_vvvvvxkvxh_required = false; +jform_vvvvvxlvxi_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxc(add_php_view_vvvvvxc); + var add_php_view_vvvvvxe = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxe(add_php_view_vvvvvxe); - var add_php_jview_display_vvvvvxd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvxd(add_php_jview_display_vvvvvxd); + var add_php_jview_display_vvvvvxf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvxf(add_php_jview_display_vvvvvxf); - var add_php_jview_vvvvvxe = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvxe(add_php_jview_vvvvvxe); + var add_php_jview_vvvvvxg = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvxg(add_php_jview_vvvvvxg); - var add_php_document_vvvvvxf = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxf(add_php_document_vvvvvxf); + var add_php_document_vvvvvxh = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxh(add_php_document_vvvvvxh); - var add_css_document_vvvvvxg = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvxg(add_css_document_vvvvvxg); + var add_css_document_vvvvvxi = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvxi(add_css_document_vvvvvxi); - var add_js_document_vvvvvxh = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvxh(add_js_document_vvvvvxh); + var add_js_document_vvvvvxj = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvxj(add_js_document_vvvvvxj); - var add_custom_button_vvvvvxi = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvxi(add_custom_button_vvvvvxi); + var add_custom_button_vvvvvxk = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvxk(add_custom_button_vvvvvxk); - var add_css_vvvvvxj = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvxj(add_css_vvvvvxj); + var add_css_vvvvvxl = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvxl(add_css_vvvvvxl); }); -// the vvvvvxc function -function vvvvvxc(add_php_view_vvvvvxc) +// the vvvvvxe function +function vvvvvxe(add_php_view_vvvvvxe) { // set the function logic - if (add_php_view_vvvvvxc == 1) + if (add_php_view_vvvvvxe == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxcvxa_required) + if (jform_vvvvvxevxa_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_vvvvvxcvxa_required = false; + jform_vvvvvxevxa_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxcvxa_required) + if (!jform_vvvvvxevxa_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_vvvvvxcvxa_required = true; + jform_vvvvvxevxa_required = true; } } } -// the vvvvvxd function -function vvvvvxd(add_php_jview_display_vvvvvxd) +// the vvvvvxf function +function vvvvvxf(add_php_jview_display_vvvvvxf) { // set the function logic - if (add_php_jview_display_vvvvvxd == 1) + if (add_php_jview_display_vvvvvxf == 1) { jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvxdvxb_required) + if (jform_vvvvvxfvxb_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_vvvvvxdvxb_required = false; + jform_vvvvvxfvxb_required = false; } } else { jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_vvvvvxdvxb_required) + if (!jform_vvvvvxfvxb_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_vvvvvxdvxb_required = true; + jform_vvvvvxfvxb_required = true; } } } -// the vvvvvxe function -function vvvvvxe(add_php_jview_vvvvvxe) +// the vvvvvxg function +function vvvvvxg(add_php_jview_vvvvvxg) { // set the function logic - if (add_php_jview_vvvvvxe == 1) + if (add_php_jview_vvvvvxg == 1) { jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_vvvvvxevxc_required) + if (jform_vvvvvxgvxc_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_vvvvvxevxc_required = false; + jform_vvvvvxgvxc_required = false; } } else { jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_vvvvvxevxc_required) + if (!jform_vvvvvxgvxc_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_vvvvvxevxc_required = true; + jform_vvvvvxgvxc_required = true; } } } -// the vvvvvxf function -function vvvvvxf(add_php_document_vvvvvxf) +// the vvvvvxh function +function vvvvvxh(add_php_document_vvvvvxh) { // set the function logic - if (add_php_document_vvvvvxf == 1) + if (add_php_document_vvvvvxh == 1) { jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_vvvvvxfvxd_required) + if (jform_vvvvvxhvxd_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_vvvvvxfvxd_required = false; + jform_vvvvvxhvxd_required = false; } } else { jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_vvvvvxfvxd_required) + if (!jform_vvvvvxhvxd_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_vvvvvxfvxd_required = true; + jform_vvvvvxhvxd_required = true; } } } -// the vvvvvxg function -function vvvvvxg(add_css_document_vvvvvxg) +// the vvvvvxi function +function vvvvvxi(add_css_document_vvvvvxi) { // set the function logic - if (add_css_document_vvvvvxg == 1) + if (add_css_document_vvvvvxi == 1) { jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_vvvvvxgvxe_required) + if (jform_vvvvvxivxe_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_vvvvvxgvxe_required = false; + jform_vvvvvxivxe_required = false; } } else { jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_vvvvvxgvxe_required) + if (!jform_vvvvvxivxe_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_vvvvvxgvxe_required = true; + jform_vvvvvxivxe_required = true; } } } -// the vvvvvxh function -function vvvvvxh(add_js_document_vvvvvxh) +// the vvvvvxj function +function vvvvvxj(add_js_document_vvvvvxj) { // set the function logic - if (add_js_document_vvvvvxh == 1) + if (add_js_document_vvvvvxj == 1) { jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_vvvvvxhvxf_required) + if (jform_vvvvvxjvxf_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_vvvvvxhvxf_required = false; + jform_vvvvvxjvxf_required = false; } } else { jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_vvvvvxhvxf_required) + if (!jform_vvvvvxjvxf_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_vvvvvxhvxf_required = true; + jform_vvvvvxjvxf_required = true; } } } -// the vvvvvxi function -function vvvvvxi(add_custom_button_vvvvvxi) +// the vvvvvxk function +function vvvvvxk(add_custom_button_vvvvvxk) { // set the function logic - if (add_custom_button_vvvvvxi == 1) + if (add_custom_button_vvvvvxk == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvxivxg_required) + if (jform_vvvvvxkvxg_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_vvvvvxivxg_required = false; + jform_vvvvvxkvxg_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvxivxh_required) + if (jform_vvvvvxkvxh_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_vvvvvxivxh_required = false; + jform_vvvvvxkvxh_required = false; } } @@ -280,53 +280,53 @@ function vvvvvxi(add_custom_button_vvvvvxi) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvxivxg_required) + if (!jform_vvvvvxkvxg_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_vvvvvxivxg_required = true; + jform_vvvvvxkvxg_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvxivxh_required) + if (!jform_vvvvvxkvxh_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_vvvvvxivxh_required = true; + jform_vvvvvxkvxh_required = true; } } } -// the vvvvvxj function -function vvvvvxj(add_css_vvvvvxj) +// the vvvvvxl function +function vvvvvxl(add_css_vvvvvxl) { // set the function logic - if (add_css_vvvvvxj == 1) + if (add_css_vvvvvxl == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_vvvvvxjvxi_required) + if (jform_vvvvvxlvxi_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_vvvvvxjvxi_required = false; + jform_vvvvvxlvxi_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_vvvvvxjvxi_required) + if (!jform_vvvvvxlvxi_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_vvvvvxjvxi_required = true; + jform_vvvvvxlvxi_required = true; } } } diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js index 341ea2d4e..6c84f9861 100644 --- a/admin/models/forms/dynamic_get.js +++ b/admin/models/forms/dynamic_get.js @@ -24,36 +24,30 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxvvxv_required = false; -jform_vvvvvxwvxw_required = false; -jform_vvvvvxxvxx_required = false; -jform_vvvvvxyvxy_required = false; -jform_vvvvvxzvxz_required = false; -jform_vvvvvyavya_required = false; -jform_vvvvvyfvyb_required = false; -jform_vvvvvyhvyc_required = false; -jform_vvvvvyivyd_required = false; -jform_vvvvvykvye_required = false; -jform_vvvvvykvyf_required = false; -jform_vvvvvylvyg_required = false; -jform_vvvvvymvyh_required = false; -jform_vvvvvynvyi_required = false; -jform_vvvvvypvyj_required = false; -jform_vvvvvypvyk_required = false; -jform_vvvvvypvyl_required = false; -jform_vvvvvyqvym_required = false; +jform_vvvvvxxvxv_required = false; +jform_vvvvvxyvxw_required = false; +jform_vvvvvxzvxx_required = false; +jform_vvvvvyavxy_required = false; +jform_vvvvvybvxz_required = false; +jform_vvvvvycvya_required = false; +jform_vvvvvyhvyb_required = false; +jform_vvvvvyjvyc_required = false; +jform_vvvvvykvyd_required = false; +jform_vvvvvymvye_required = false; +jform_vvvvvymvyf_required = false; +jform_vvvvvynvyg_required = false; +jform_vvvvvyovyh_required = false; +jform_vvvvvypvyi_required = false; +jform_vvvvvyrvyj_required = false; +jform_vvvvvyrvyk_required = false; +jform_vvvvvyrvyl_required = false; +jform_vvvvvysvym_required = false; // Initial Script jQuery(document).ready(function() { - var gettype_vvvvvxv = jQuery("#jform_gettype").val(); - vvvvvxv(gettype_vvvvvxv); - - var main_source_vvvvvxw = jQuery("#jform_main_source").val(); - vvvvvxw(main_source_vvvvvxw); - - var main_source_vvvvvxx = jQuery("#jform_main_source").val(); - vvvvvxx(main_source_vvvvvxx); + var gettype_vvvvvxx = jQuery("#jform_gettype").val(); + vvvvvxx(gettype_vvvvvxx); var main_source_vvvvvxy = jQuery("#jform_main_source").val(); vvvvvxy(main_source_vvvvvxy); @@ -61,212 +55,108 @@ jQuery(document).ready(function() var main_source_vvvvvxz = jQuery("#jform_main_source").val(); vvvvvxz(main_source_vvvvvxz); - var addcalculation_vvvvvya = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - vvvvvya(addcalculation_vvvvvya); + var main_source_vvvvvya = jQuery("#jform_main_source").val(); + vvvvvya(main_source_vvvvvya); - var addcalculation_vvvvvyb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvyb = jQuery("#jform_gettype").val(); - vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb); + var main_source_vvvvvyb = jQuery("#jform_main_source").val(); + vvvvvyb(main_source_vvvvvyb); var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val(); - var gettype_vvvvvyc = jQuery("#jform_gettype").val(); - vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc); + vvvvvyc(addcalculation_vvvvvyc); - var main_source_vvvvvyf = jQuery("#jform_main_source").val(); - vvvvvyf(main_source_vvvvvyf); + var addcalculation_vvvvvyd = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvyd = jQuery("#jform_gettype").val(); + vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd); - var main_source_vvvvvyg = jQuery("#jform_main_source").val(); - vvvvvyg(main_source_vvvvvyg); + var addcalculation_vvvvvye = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vvvvvye = jQuery("#jform_gettype").val(); + vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye); - var add_php_before_getitem_vvvvvyh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); - var gettype_vvvvvyh = jQuery("#jform_gettype").val(); - vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh); + var main_source_vvvvvyh = jQuery("#jform_main_source").val(); + vvvvvyh(main_source_vvvvvyh); - var add_php_after_getitem_vvvvvyi = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); - var gettype_vvvvvyi = jQuery("#jform_gettype").val(); - vvvvvyi(add_php_after_getitem_vvvvvyi,gettype_vvvvvyi); + var main_source_vvvvvyi = jQuery("#jform_main_source").val(); + vvvvvyi(main_source_vvvvvyi); + var add_php_before_getitem_vvvvvyj = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_vvvvvyj = jQuery("#jform_gettype").val(); + vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj); + + var add_php_after_getitem_vvvvvyk = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var gettype_vvvvvyk = jQuery("#jform_gettype").val(); - vvvvvyk(gettype_vvvvvyk); + vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk); - var add_php_getlistquery_vvvvvyl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); - var gettype_vvvvvyl = jQuery("#jform_gettype").val(); - vvvvvyl(add_php_getlistquery_vvvvvyl,gettype_vvvvvyl); - - var add_php_before_getitems_vvvvvym = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); var gettype_vvvvvym = jQuery("#jform_gettype").val(); - vvvvvym(add_php_before_getitems_vvvvvym,gettype_vvvvvym); + vvvvvym(gettype_vvvvvym); - var add_php_after_getitems_vvvvvyn = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var add_php_getlistquery_vvvvvyn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var gettype_vvvvvyn = jQuery("#jform_gettype").val(); - vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn); + vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn); + var add_php_before_getitems_vvvvvyo = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_vvvvvyo = jQuery("#jform_gettype").val(); + vvvvvyo(add_php_before_getitems_vvvvvyo,gettype_vvvvvyo); + + var add_php_after_getitems_vvvvvyp = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); var gettype_vvvvvyp = jQuery("#jform_gettype").val(); - vvvvvyp(gettype_vvvvvyp); + vvvvvyp(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp); - var gettype_vvvvvyq = jQuery("#jform_gettype").val(); - vvvvvyq(gettype_vvvvvyq); + var gettype_vvvvvyr = jQuery("#jform_gettype").val(); + vvvvvyr(gettype_vvvvvyr); + + var gettype_vvvvvys = jQuery("#jform_gettype").val(); + vvvvvys(gettype_vvvvvys); }); -// the vvvvvxv function -function vvvvvxv(gettype_vvvvvxv) +// the vvvvvxx function +function vvvvvxx(gettype_vvvvvxx) { - if (isSet(gettype_vvvvvxv) && gettype_vvvvvxv.constructor !== Array) + if (isSet(gettype_vvvvvxx) && gettype_vvvvvxx.constructor !== Array) { - var temp_vvvvvxv = gettype_vvvvvxv; - var gettype_vvvvvxv = []; - gettype_vvvvvxv.push(temp_vvvvvxv); + var temp_vvvvvxx = gettype_vvvvvxx; + var gettype_vvvvvxx = []; + gettype_vvvvvxx.push(temp_vvvvvxx); } - else if (!isSet(gettype_vvvvvxv)) + else if (!isSet(gettype_vvvvvxx)) { - var gettype_vvvvvxv = []; + var gettype_vvvvvxx = []; } - var gettype = gettype_vvvvvxv.some(gettype_vvvvvxv_SomeFunc); + var gettype = gettype_vvvvvxx.some(gettype_vvvvvxx_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_getcustom').closest('.control-group').show(); - if (jform_vvvvvxvvxv_required) + if (jform_vvvvvxxvxv_required) { updateFieldRequired('getcustom',0); jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').addClass('required'); - jform_vvvvvxvvxv_required = false; + jform_vvvvvxxvxv_required = false; } } else { jQuery('#jform_getcustom').closest('.control-group').hide(); - if (!jform_vvvvvxvvxv_required) + if (!jform_vvvvvxxvxv_required) { updateFieldRequired('getcustom',1); jQuery('#jform_getcustom').removeAttr('required'); jQuery('#jform_getcustom').removeAttr('aria-required'); jQuery('#jform_getcustom').removeClass('required'); - jform_vvvvvxvvxv_required = true; - } - } -} - -// the vvvvvxv Some function -function gettype_vvvvvxv_SomeFunc(gettype_vvvvvxv) -{ - // set the function logic - if (gettype_vvvvvxv == 3 || gettype_vvvvvxv == 4) - { - return true; - } - return false; -} - -// the vvvvvxw function -function vvvvvxw(main_source_vvvvvxw) -{ - if (isSet(main_source_vvvvvxw) && main_source_vvvvvxw.constructor !== Array) - { - var temp_vvvvvxw = main_source_vvvvvxw; - var main_source_vvvvvxw = []; - main_source_vvvvvxw.push(temp_vvvvvxw); - } - else if (!isSet(main_source_vvvvvxw)) - { - var main_source_vvvvvxw = []; - } - var main_source = main_source_vvvvvxw.some(main_source_vvvvvxw_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_table_main').closest('.control-group').show(); - if (jform_vvvvvxwvxw_required) - { - updateFieldRequired('view_table_main',0); - jQuery('#jform_view_table_main').prop('required','required'); - jQuery('#jform_view_table_main').attr('aria-required',true); - jQuery('#jform_view_table_main').addClass('required'); - jform_vvvvvxwvxw_required = false; - } - - } - else - { - jQuery('#jform_view_table_main').closest('.control-group').hide(); - if (!jform_vvvvvxwvxw_required) - { - updateFieldRequired('view_table_main',1); - jQuery('#jform_view_table_main').removeAttr('required'); - jQuery('#jform_view_table_main').removeAttr('aria-required'); - jQuery('#jform_view_table_main').removeClass('required'); - jform_vvvvvxwvxw_required = true; - } - } -} - -// the vvvvvxw Some function -function main_source_vvvvvxw_SomeFunc(main_source_vvvvvxw) -{ - // set the function logic - if (main_source_vvvvvxw == 1) - { - return true; - } - return false; -} - -// the vvvvvxx function -function vvvvvxx(main_source_vvvvvxx) -{ - if (isSet(main_source_vvvvvxx) && main_source_vvvvvxx.constructor !== Array) - { - var temp_vvvvvxx = main_source_vvvvvxx; - var main_source_vvvvvxx = []; - main_source_vvvvvxx.push(temp_vvvvvxx); - } - else if (!isSet(main_source_vvvvvxx)) - { - var main_source_vvvvvxx = []; - } - var main_source = main_source_vvvvvxx.some(main_source_vvvvvxx_SomeFunc); - - - // set this function logic - if (main_source) - { - jQuery('#jform_view_selection').closest('.control-group').show(); - if (jform_vvvvvxxvxx_required) - { - updateFieldRequired('view_selection',0); - jQuery('#jform_view_selection').prop('required','required'); - jQuery('#jform_view_selection').attr('aria-required',true); - jQuery('#jform_view_selection').addClass('required'); - jform_vvvvvxxvxx_required = false; - } - - } - else - { - jQuery('#jform_view_selection').closest('.control-group').hide(); - if (!jform_vvvvvxxvxx_required) - { - updateFieldRequired('view_selection',1); - jQuery('#jform_view_selection').removeAttr('required'); - jQuery('#jform_view_selection').removeAttr('aria-required'); - jQuery('#jform_view_selection').removeClass('required'); - jform_vvvvvxxvxx_required = true; + jform_vvvvvxxvxv_required = true; } } } // the vvvvvxx Some function -function main_source_vvvvvxx_SomeFunc(main_source_vvvvvxx) +function gettype_vvvvvxx_SomeFunc(gettype_vvvvvxx) { // set the function logic - if (main_source_vvvvvxx == 1) + if (gettype_vvvvvxx == 3 || gettype_vvvvvxx == 4) { return true; } @@ -292,27 +182,27 @@ function vvvvvxy(main_source_vvvvvxy) // set this function logic if (main_source) { - jQuery('#jform_db_table_main').closest('.control-group').show(); - if (jform_vvvvvxyvxy_required) + jQuery('#jform_view_table_main').closest('.control-group').show(); + if (jform_vvvvvxyvxw_required) { - updateFieldRequired('db_table_main',0); - jQuery('#jform_db_table_main').prop('required','required'); - jQuery('#jform_db_table_main').attr('aria-required',true); - jQuery('#jform_db_table_main').addClass('required'); - jform_vvvvvxyvxy_required = false; + updateFieldRequired('view_table_main',0); + jQuery('#jform_view_table_main').prop('required','required'); + jQuery('#jform_view_table_main').attr('aria-required',true); + jQuery('#jform_view_table_main').addClass('required'); + jform_vvvvvxyvxw_required = false; } } else { - jQuery('#jform_db_table_main').closest('.control-group').hide(); - if (!jform_vvvvvxyvxy_required) + jQuery('#jform_view_table_main').closest('.control-group').hide(); + if (!jform_vvvvvxyvxw_required) { - updateFieldRequired('db_table_main',1); - jQuery('#jform_db_table_main').removeAttr('required'); - jQuery('#jform_db_table_main').removeAttr('aria-required'); - jQuery('#jform_db_table_main').removeClass('required'); - jform_vvvvvxyvxy_required = true; + updateFieldRequired('view_table_main',1); + jQuery('#jform_view_table_main').removeAttr('required'); + jQuery('#jform_view_table_main').removeAttr('aria-required'); + jQuery('#jform_view_table_main').removeClass('required'); + jform_vvvvvxyvxw_required = true; } } } @@ -321,7 +211,7 @@ function vvvvvxy(main_source_vvvvvxy) function main_source_vvvvvxy_SomeFunc(main_source_vvvvvxy) { // set the function logic - if (main_source_vvvvvxy == 2) + if (main_source_vvvvvxy == 1) { return true; } @@ -347,27 +237,27 @@ function vvvvvxz(main_source_vvvvvxz) // set this function logic if (main_source) { - jQuery('#jform_db_selection').closest('.control-group').show(); - if (jform_vvvvvxzvxz_required) + jQuery('#jform_view_selection').closest('.control-group').show(); + if (jform_vvvvvxzvxx_required) { - updateFieldRequired('db_selection',0); - jQuery('#jform_db_selection').prop('required','required'); - jQuery('#jform_db_selection').attr('aria-required',true); - jQuery('#jform_db_selection').addClass('required'); - jform_vvvvvxzvxz_required = false; + updateFieldRequired('view_selection',0); + jQuery('#jform_view_selection').prop('required','required'); + jQuery('#jform_view_selection').attr('aria-required',true); + jQuery('#jform_view_selection').addClass('required'); + jform_vvvvvxzvxx_required = false; } } else { - jQuery('#jform_db_selection').closest('.control-group').hide(); - if (!jform_vvvvvxzvxz_required) + jQuery('#jform_view_selection').closest('.control-group').hide(); + if (!jform_vvvvvxzvxx_required) { - updateFieldRequired('db_selection',1); - jQuery('#jform_db_selection').removeAttr('required'); - jQuery('#jform_db_selection').removeAttr('aria-required'); - jQuery('#jform_db_selection').removeClass('required'); - jform_vvvvvxzvxz_required = true; + updateFieldRequired('view_selection',1); + jQuery('#jform_view_selection').removeAttr('required'); + jQuery('#jform_view_selection').removeAttr('aria-required'); + jQuery('#jform_view_selection').removeClass('required'); + jform_vvvvvxzvxx_required = true; } } } @@ -376,7 +266,7 @@ function vvvvvxz(main_source_vvvvvxz) function main_source_vvvvvxz_SomeFunc(main_source_vvvvvxz) { // set the function logic - if (main_source_vvvvvxz == 2) + if (main_source_vvvvvxz == 1) { return true; } @@ -384,62 +274,172 @@ function main_source_vvvvvxz_SomeFunc(main_source_vvvvvxz) } // the vvvvvya function -function vvvvvya(addcalculation_vvvvvya) +function vvvvvya(main_source_vvvvvya) +{ + if (isSet(main_source_vvvvvya) && main_source_vvvvvya.constructor !== Array) + { + var temp_vvvvvya = main_source_vvvvvya; + var main_source_vvvvvya = []; + main_source_vvvvvya.push(temp_vvvvvya); + } + else if (!isSet(main_source_vvvvvya)) + { + var main_source_vvvvvya = []; + } + var main_source = main_source_vvvvvya.some(main_source_vvvvvya_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_table_main').closest('.control-group').show(); + if (jform_vvvvvyavxy_required) + { + updateFieldRequired('db_table_main',0); + jQuery('#jform_db_table_main').prop('required','required'); + jQuery('#jform_db_table_main').attr('aria-required',true); + jQuery('#jform_db_table_main').addClass('required'); + jform_vvvvvyavxy_required = false; + } + + } + else + { + jQuery('#jform_db_table_main').closest('.control-group').hide(); + if (!jform_vvvvvyavxy_required) + { + updateFieldRequired('db_table_main',1); + jQuery('#jform_db_table_main').removeAttr('required'); + jQuery('#jform_db_table_main').removeAttr('aria-required'); + jQuery('#jform_db_table_main').removeClass('required'); + jform_vvvvvyavxy_required = true; + } + } +} + +// the vvvvvya Some function +function main_source_vvvvvya_SomeFunc(main_source_vvvvvya) { // set the function logic - if (addcalculation_vvvvvya == 1) + if (main_source_vvvvvya == 2) + { + return true; + } + return false; +} + +// the vvvvvyb function +function vvvvvyb(main_source_vvvvvyb) +{ + if (isSet(main_source_vvvvvyb) && main_source_vvvvvyb.constructor !== Array) + { + var temp_vvvvvyb = main_source_vvvvvyb; + var main_source_vvvvvyb = []; + main_source_vvvvvyb.push(temp_vvvvvyb); + } + else if (!isSet(main_source_vvvvvyb)) + { + var main_source_vvvvvyb = []; + } + var main_source = main_source_vvvvvyb.some(main_source_vvvvvyb_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_selection').closest('.control-group').show(); + if (jform_vvvvvybvxz_required) + { + updateFieldRequired('db_selection',0); + jQuery('#jform_db_selection').prop('required','required'); + jQuery('#jform_db_selection').attr('aria-required',true); + jQuery('#jform_db_selection').addClass('required'); + jform_vvvvvybvxz_required = false; + } + + } + else + { + jQuery('#jform_db_selection').closest('.control-group').hide(); + if (!jform_vvvvvybvxz_required) + { + updateFieldRequired('db_selection',1); + jQuery('#jform_db_selection').removeAttr('required'); + jQuery('#jform_db_selection').removeAttr('aria-required'); + jQuery('#jform_db_selection').removeClass('required'); + jform_vvvvvybvxz_required = true; + } + } +} + +// the vvvvvyb Some function +function main_source_vvvvvyb_SomeFunc(main_source_vvvvvyb) +{ + // set the function logic + if (main_source_vvvvvyb == 2) + { + return true; + } + return false; +} + +// the vvvvvyc function +function vvvvvyc(addcalculation_vvvvvyc) +{ + // set the function logic + if (addcalculation_vvvvvyc == 1) { jQuery('#jform_php_calculation').closest('.control-group').show(); - if (jform_vvvvvyavya_required) + if (jform_vvvvvycvya_required) { updateFieldRequired('php_calculation',0); jQuery('#jform_php_calculation').prop('required','required'); jQuery('#jform_php_calculation').attr('aria-required',true); jQuery('#jform_php_calculation').addClass('required'); - jform_vvvvvyavya_required = false; + jform_vvvvvycvya_required = false; } } else { jQuery('#jform_php_calculation').closest('.control-group').hide(); - if (!jform_vvvvvyavya_required) + if (!jform_vvvvvycvya_required) { updateFieldRequired('php_calculation',1); jQuery('#jform_php_calculation').removeAttr('required'); jQuery('#jform_php_calculation').removeAttr('aria-required'); jQuery('#jform_php_calculation').removeClass('required'); - jform_vvvvvyavya_required = true; + jform_vvvvvycvya_required = true; } } } -// the vvvvvyb function -function vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb) +// the vvvvvyd function +function vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd) { - if (isSet(addcalculation_vvvvvyb) && addcalculation_vvvvvyb.constructor !== Array) + if (isSet(addcalculation_vvvvvyd) && addcalculation_vvvvvyd.constructor !== Array) { - var temp_vvvvvyb = addcalculation_vvvvvyb; - var addcalculation_vvvvvyb = []; - addcalculation_vvvvvyb.push(temp_vvvvvyb); + var temp_vvvvvyd = addcalculation_vvvvvyd; + var addcalculation_vvvvvyd = []; + addcalculation_vvvvvyd.push(temp_vvvvvyd); } - else if (!isSet(addcalculation_vvvvvyb)) + else if (!isSet(addcalculation_vvvvvyd)) { - var addcalculation_vvvvvyb = []; + var addcalculation_vvvvvyd = []; } - var addcalculation = addcalculation_vvvvvyb.some(addcalculation_vvvvvyb_SomeFunc); + var addcalculation = addcalculation_vvvvvyd.some(addcalculation_vvvvvyd_SomeFunc); - if (isSet(gettype_vvvvvyb) && gettype_vvvvvyb.constructor !== Array) + if (isSet(gettype_vvvvvyd) && gettype_vvvvvyd.constructor !== Array) { - var temp_vvvvvyb = gettype_vvvvvyb; - var gettype_vvvvvyb = []; - gettype_vvvvvyb.push(temp_vvvvvyb); + var temp_vvvvvyd = gettype_vvvvvyd; + var gettype_vvvvvyd = []; + gettype_vvvvvyd.push(temp_vvvvvyd); } - else if (!isSet(gettype_vvvvvyb)) + else if (!isSet(gettype_vvvvvyd)) { - var gettype_vvvvvyb = []; + var gettype_vvvvvyd = []; } - var gettype = gettype_vvvvvyb.some(gettype_vvvvvyb_SomeFunc); + var gettype = gettype_vvvvvyd.some(gettype_vvvvvyd_SomeFunc); // set this function logic @@ -453,54 +453,54 @@ function vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb) } } -// the vvvvvyb Some function -function addcalculation_vvvvvyb_SomeFunc(addcalculation_vvvvvyb) +// the vvvvvyd Some function +function addcalculation_vvvvvyd_SomeFunc(addcalculation_vvvvvyd) { // set the function logic - if (addcalculation_vvvvvyb == 1) + if (addcalculation_vvvvvyd == 1) { return true; } return false; } -// the vvvvvyb Some function -function gettype_vvvvvyb_SomeFunc(gettype_vvvvvyb) +// the vvvvvyd Some function +function gettype_vvvvvyd_SomeFunc(gettype_vvvvvyd) { // set the function logic - if (gettype_vvvvvyb == 1 || gettype_vvvvvyb == 3) + if (gettype_vvvvvyd == 1 || gettype_vvvvvyd == 3) { return true; } return false; } -// the vvvvvyc function -function vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc) +// the vvvvvye function +function vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye) { - if (isSet(addcalculation_vvvvvyc) && addcalculation_vvvvvyc.constructor !== Array) + if (isSet(addcalculation_vvvvvye) && addcalculation_vvvvvye.constructor !== Array) { - var temp_vvvvvyc = addcalculation_vvvvvyc; - var addcalculation_vvvvvyc = []; - addcalculation_vvvvvyc.push(temp_vvvvvyc); + var temp_vvvvvye = addcalculation_vvvvvye; + var addcalculation_vvvvvye = []; + addcalculation_vvvvvye.push(temp_vvvvvye); } - else if (!isSet(addcalculation_vvvvvyc)) + else if (!isSet(addcalculation_vvvvvye)) { - var addcalculation_vvvvvyc = []; + var addcalculation_vvvvvye = []; } - var addcalculation = addcalculation_vvvvvyc.some(addcalculation_vvvvvyc_SomeFunc); + var addcalculation = addcalculation_vvvvvye.some(addcalculation_vvvvvye_SomeFunc); - if (isSet(gettype_vvvvvyc) && gettype_vvvvvyc.constructor !== Array) + if (isSet(gettype_vvvvvye) && gettype_vvvvvye.constructor !== Array) { - var temp_vvvvvyc = gettype_vvvvvyc; - var gettype_vvvvvyc = []; - gettype_vvvvvyc.push(temp_vvvvvyc); + var temp_vvvvvye = gettype_vvvvvye; + var gettype_vvvvvye = []; + gettype_vvvvvye.push(temp_vvvvvye); } - else if (!isSet(gettype_vvvvvyc)) + else if (!isSet(gettype_vvvvvye)) { - var gettype_vvvvvyc = []; + var gettype_vvvvvye = []; } - var gettype = gettype_vvvvvyc.some(gettype_vvvvvyc_SomeFunc); + var gettype = gettype_vvvvvye.some(gettype_vvvvvye_SomeFunc); // set this function logic @@ -514,97 +514,97 @@ function vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc) } } -// the vvvvvyc Some function -function addcalculation_vvvvvyc_SomeFunc(addcalculation_vvvvvyc) +// the vvvvvye Some function +function addcalculation_vvvvvye_SomeFunc(addcalculation_vvvvvye) { // set the function logic - if (addcalculation_vvvvvyc == 1) + if (addcalculation_vvvvvye == 1) { return true; } return false; } -// the vvvvvyc Some function -function gettype_vvvvvyc_SomeFunc(gettype_vvvvvyc) +// the vvvvvye Some function +function gettype_vvvvvye_SomeFunc(gettype_vvvvvye) { // set the function logic - if (gettype_vvvvvyc == 2 || gettype_vvvvvyc == 4) + if (gettype_vvvvvye == 2 || gettype_vvvvvye == 4) { return true; } return false; } -// the vvvvvyf function -function vvvvvyf(main_source_vvvvvyf) +// the vvvvvyh function +function vvvvvyh(main_source_vvvvvyh) { - if (isSet(main_source_vvvvvyf) && main_source_vvvvvyf.constructor !== Array) + if (isSet(main_source_vvvvvyh) && main_source_vvvvvyh.constructor !== Array) { - var temp_vvvvvyf = main_source_vvvvvyf; - var main_source_vvvvvyf = []; - main_source_vvvvvyf.push(temp_vvvvvyf); + var temp_vvvvvyh = main_source_vvvvvyh; + var main_source_vvvvvyh = []; + main_source_vvvvvyh.push(temp_vvvvvyh); } - else if (!isSet(main_source_vvvvvyf)) + else if (!isSet(main_source_vvvvvyh)) { - var main_source_vvvvvyf = []; + var main_source_vvvvvyh = []; } - var main_source = main_source_vvvvvyf.some(main_source_vvvvvyf_SomeFunc); + var main_source = main_source_vvvvvyh.some(main_source_vvvvvyh_SomeFunc); // set this function logic if (main_source) { jQuery('#jform_php_custom_get').closest('.control-group').show(); - if (jform_vvvvvyfvyb_required) + if (jform_vvvvvyhvyb_required) { updateFieldRequired('php_custom_get',0); jQuery('#jform_php_custom_get').prop('required','required'); jQuery('#jform_php_custom_get').attr('aria-required',true); jQuery('#jform_php_custom_get').addClass('required'); - jform_vvvvvyfvyb_required = false; + jform_vvvvvyhvyb_required = false; } } else { jQuery('#jform_php_custom_get').closest('.control-group').hide(); - if (!jform_vvvvvyfvyb_required) + if (!jform_vvvvvyhvyb_required) { updateFieldRequired('php_custom_get',1); jQuery('#jform_php_custom_get').removeAttr('required'); jQuery('#jform_php_custom_get').removeAttr('aria-required'); jQuery('#jform_php_custom_get').removeClass('required'); - jform_vvvvvyfvyb_required = true; + jform_vvvvvyhvyb_required = true; } } } -// the vvvvvyf Some function -function main_source_vvvvvyf_SomeFunc(main_source_vvvvvyf) +// the vvvvvyh Some function +function main_source_vvvvvyh_SomeFunc(main_source_vvvvvyh) { // set the function logic - if (main_source_vvvvvyf == 3) + if (main_source_vvvvvyh == 3) { return true; } return false; } -// the vvvvvyg function -function vvvvvyg(main_source_vvvvvyg) +// the vvvvvyi function +function vvvvvyi(main_source_vvvvvyi) { - if (isSet(main_source_vvvvvyg) && main_source_vvvvvyg.constructor !== Array) + if (isSet(main_source_vvvvvyi) && main_source_vvvvvyi.constructor !== Array) { - var temp_vvvvvyg = main_source_vvvvvyg; - var main_source_vvvvvyg = []; - main_source_vvvvvyg.push(temp_vvvvvyg); + var temp_vvvvvyi = main_source_vvvvvyi; + var main_source_vvvvvyi = []; + main_source_vvvvvyi.push(temp_vvvvvyi); } - else if (!isSet(main_source_vvvvvyg)) + else if (!isSet(main_source_vvvvvyi)) { - var main_source_vvvvvyg = []; + var main_source_vvvvvyi = []; } - var main_source = main_source_vvvvvyg.some(main_source_vvvvvyg_SomeFunc); + var main_source = main_source_vvvvvyi.some(main_source_vvvvvyi_SomeFunc); // set this function logic @@ -626,167 +626,89 @@ function vvvvvyg(main_source_vvvvvyg) } } -// the vvvvvyg Some function -function main_source_vvvvvyg_SomeFunc(main_source_vvvvvyg) +// the vvvvvyi Some function +function main_source_vvvvvyi_SomeFunc(main_source_vvvvvyi) { // set the function logic - if (main_source_vvvvvyg == 1 || main_source_vvvvvyg == 2) + if (main_source_vvvvvyi == 1 || main_source_vvvvvyi == 2) { return true; } return false; } -// the vvvvvyh function -function vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh) +// the vvvvvyj function +function vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj) { - if (isSet(add_php_before_getitem_vvvvvyh) && add_php_before_getitem_vvvvvyh.constructor !== Array) + if (isSet(add_php_before_getitem_vvvvvyj) && add_php_before_getitem_vvvvvyj.constructor !== Array) { - var temp_vvvvvyh = add_php_before_getitem_vvvvvyh; - var add_php_before_getitem_vvvvvyh = []; - add_php_before_getitem_vvvvvyh.push(temp_vvvvvyh); + var temp_vvvvvyj = add_php_before_getitem_vvvvvyj; + var add_php_before_getitem_vvvvvyj = []; + add_php_before_getitem_vvvvvyj.push(temp_vvvvvyj); } - else if (!isSet(add_php_before_getitem_vvvvvyh)) + else if (!isSet(add_php_before_getitem_vvvvvyj)) { - var add_php_before_getitem_vvvvvyh = []; + var add_php_before_getitem_vvvvvyj = []; } - var add_php_before_getitem = add_php_before_getitem_vvvvvyh.some(add_php_before_getitem_vvvvvyh_SomeFunc); + var add_php_before_getitem = add_php_before_getitem_vvvvvyj.some(add_php_before_getitem_vvvvvyj_SomeFunc); - if (isSet(gettype_vvvvvyh) && gettype_vvvvvyh.constructor !== Array) + if (isSet(gettype_vvvvvyj) && gettype_vvvvvyj.constructor !== Array) { - var temp_vvvvvyh = gettype_vvvvvyh; - var gettype_vvvvvyh = []; - gettype_vvvvvyh.push(temp_vvvvvyh); + var temp_vvvvvyj = gettype_vvvvvyj; + var gettype_vvvvvyj = []; + gettype_vvvvvyj.push(temp_vvvvvyj); } - else if (!isSet(gettype_vvvvvyh)) + else if (!isSet(gettype_vvvvvyj)) { - var gettype_vvvvvyh = []; + var gettype_vvvvvyj = []; } - var gettype = gettype_vvvvvyh.some(gettype_vvvvvyh_SomeFunc); + var gettype = gettype_vvvvvyj.some(gettype_vvvvvyj_SomeFunc); // set this function logic if (add_php_before_getitem && gettype) { jQuery('#jform_php_before_getitem').closest('.control-group').show(); - if (jform_vvvvvyhvyc_required) + if (jform_vvvvvyjvyc_required) { updateFieldRequired('php_before_getitem',0); jQuery('#jform_php_before_getitem').prop('required','required'); jQuery('#jform_php_before_getitem').attr('aria-required',true); jQuery('#jform_php_before_getitem').addClass('required'); - jform_vvvvvyhvyc_required = false; + jform_vvvvvyjvyc_required = false; } } else { jQuery('#jform_php_before_getitem').closest('.control-group').hide(); - if (!jform_vvvvvyhvyc_required) + if (!jform_vvvvvyjvyc_required) { updateFieldRequired('php_before_getitem',1); jQuery('#jform_php_before_getitem').removeAttr('required'); jQuery('#jform_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_php_before_getitem').removeClass('required'); - jform_vvvvvyhvyc_required = true; + jform_vvvvvyjvyc_required = true; } } } -// the vvvvvyh Some function -function add_php_before_getitem_vvvvvyh_SomeFunc(add_php_before_getitem_vvvvvyh) +// the vvvvvyj Some function +function add_php_before_getitem_vvvvvyj_SomeFunc(add_php_before_getitem_vvvvvyj) { // set the function logic - if (add_php_before_getitem_vvvvvyh == 1) + if (add_php_before_getitem_vvvvvyj == 1) { return true; } return false; } -// the vvvvvyh Some function -function gettype_vvvvvyh_SomeFunc(gettype_vvvvvyh) +// the vvvvvyj Some function +function gettype_vvvvvyj_SomeFunc(gettype_vvvvvyj) { // set the function logic - if (gettype_vvvvvyh == 1 || gettype_vvvvvyh == 3) - { - return true; - } - return false; -} - -// the vvvvvyi function -function vvvvvyi(add_php_after_getitem_vvvvvyi,gettype_vvvvvyi) -{ - if (isSet(add_php_after_getitem_vvvvvyi) && add_php_after_getitem_vvvvvyi.constructor !== Array) - { - var temp_vvvvvyi = add_php_after_getitem_vvvvvyi; - var add_php_after_getitem_vvvvvyi = []; - add_php_after_getitem_vvvvvyi.push(temp_vvvvvyi); - } - else if (!isSet(add_php_after_getitem_vvvvvyi)) - { - var add_php_after_getitem_vvvvvyi = []; - } - var add_php_after_getitem = add_php_after_getitem_vvvvvyi.some(add_php_after_getitem_vvvvvyi_SomeFunc); - - if (isSet(gettype_vvvvvyi) && gettype_vvvvvyi.constructor !== Array) - { - var temp_vvvvvyi = gettype_vvvvvyi; - var gettype_vvvvvyi = []; - gettype_vvvvvyi.push(temp_vvvvvyi); - } - else if (!isSet(gettype_vvvvvyi)) - { - var gettype_vvvvvyi = []; - } - var gettype = gettype_vvvvvyi.some(gettype_vvvvvyi_SomeFunc); - - - // set this function logic - if (add_php_after_getitem && gettype) - { - jQuery('#jform_php_after_getitem').closest('.control-group').show(); - if (jform_vvvvvyivyd_required) - { - updateFieldRequired('php_after_getitem',0); - jQuery('#jform_php_after_getitem').prop('required','required'); - jQuery('#jform_php_after_getitem').attr('aria-required',true); - jQuery('#jform_php_after_getitem').addClass('required'); - jform_vvvvvyivyd_required = false; - } - - } - else - { - jQuery('#jform_php_after_getitem').closest('.control-group').hide(); - if (!jform_vvvvvyivyd_required) - { - updateFieldRequired('php_after_getitem',1); - jQuery('#jform_php_after_getitem').removeAttr('required'); - jQuery('#jform_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_php_after_getitem').removeClass('required'); - jform_vvvvvyivyd_required = true; - } - } -} - -// the vvvvvyi Some function -function add_php_after_getitem_vvvvvyi_SomeFunc(add_php_after_getitem_vvvvvyi) -{ - // set the function logic - if (add_php_after_getitem_vvvvvyi == 1) - { - return true; - } - return false; -} - -// the vvvvvyi Some function -function gettype_vvvvvyi_SomeFunc(gettype_vvvvvyi) -{ - // set the function logic - if (gettype_vvvvvyi == 1 || gettype_vvvvvyi == 3) + if (gettype_vvvvvyj == 1 || gettype_vvvvvyj == 3) { return true; } @@ -794,8 +716,20 @@ function gettype_vvvvvyi_SomeFunc(gettype_vvvvvyi) } // the vvvvvyk function -function vvvvvyk(gettype_vvvvvyk) +function vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk) { + if (isSet(add_php_after_getitem_vvvvvyk) && add_php_after_getitem_vvvvvyk.constructor !== Array) + { + var temp_vvvvvyk = add_php_after_getitem_vvvvvyk; + var add_php_after_getitem_vvvvvyk = []; + add_php_after_getitem_vvvvvyk.push(temp_vvvvvyk); + } + else if (!isSet(add_php_after_getitem_vvvvvyk)) + { + var add_php_after_getitem_vvvvvyk = []; + } + var add_php_after_getitem = add_php_after_getitem_vvvvvyk.some(add_php_after_getitem_vvvvvyk_SomeFunc); + if (isSet(gettype_vvvvvyk) && gettype_vvvvvyk.constructor !== Array) { var temp_vvvvvyk = gettype_vvvvvyk; @@ -810,52 +744,44 @@ function vvvvvyk(gettype_vvvvvyk) // set this function logic - if (gettype) + if (add_php_after_getitem && gettype) { - jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); - if (jform_vvvvvykvye_required) + jQuery('#jform_php_after_getitem').closest('.control-group').show(); + if (jform_vvvvvykvyd_required) { - updateFieldRequired('add_php_after_getitem',0); - jQuery('#jform_add_php_after_getitem').prop('required','required'); - jQuery('#jform_add_php_after_getitem').attr('aria-required',true); - jQuery('#jform_add_php_after_getitem').addClass('required'); - jform_vvvvvykvye_required = false; - } - - jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); - if (jform_vvvvvykvyf_required) - { - updateFieldRequired('add_php_before_getitem',0); - jQuery('#jform_add_php_before_getitem').prop('required','required'); - jQuery('#jform_add_php_before_getitem').attr('aria-required',true); - jQuery('#jform_add_php_before_getitem').addClass('required'); - jform_vvvvvykvyf_required = false; + updateFieldRequired('php_after_getitem',0); + jQuery('#jform_php_after_getitem').prop('required','required'); + jQuery('#jform_php_after_getitem').attr('aria-required',true); + jQuery('#jform_php_after_getitem').addClass('required'); + jform_vvvvvykvyd_required = false; } } else { - jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); - if (!jform_vvvvvykvye_required) + jQuery('#jform_php_after_getitem').closest('.control-group').hide(); + if (!jform_vvvvvykvyd_required) { - updateFieldRequired('add_php_after_getitem',1); - jQuery('#jform_add_php_after_getitem').removeAttr('required'); - jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitem').removeClass('required'); - jform_vvvvvykvye_required = true; - } - jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); - if (!jform_vvvvvykvyf_required) - { - updateFieldRequired('add_php_before_getitem',1); - jQuery('#jform_add_php_before_getitem').removeAttr('required'); - jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitem').removeClass('required'); - jform_vvvvvykvyf_required = true; + updateFieldRequired('php_after_getitem',1); + jQuery('#jform_php_after_getitem').removeAttr('required'); + jQuery('#jform_php_after_getitem').removeAttr('aria-required'); + jQuery('#jform_php_after_getitem').removeClass('required'); + jform_vvvvvykvyd_required = true; } } } +// the vvvvvyk Some function +function add_php_after_getitem_vvvvvyk_SomeFunc(add_php_after_getitem_vvvvvyk) +{ + // set the function logic + if (add_php_after_getitem_vvvvvyk == 1) + { + return true; + } + return false; +} + // the vvvvvyk Some function function gettype_vvvvvyk_SomeFunc(gettype_vvvvvyk) { @@ -867,99 +793,9 @@ function gettype_vvvvvyk_SomeFunc(gettype_vvvvvyk) return false; } -// the vvvvvyl function -function vvvvvyl(add_php_getlistquery_vvvvvyl,gettype_vvvvvyl) -{ - if (isSet(add_php_getlistquery_vvvvvyl) && add_php_getlistquery_vvvvvyl.constructor !== Array) - { - var temp_vvvvvyl = add_php_getlistquery_vvvvvyl; - var add_php_getlistquery_vvvvvyl = []; - add_php_getlistquery_vvvvvyl.push(temp_vvvvvyl); - } - else if (!isSet(add_php_getlistquery_vvvvvyl)) - { - var add_php_getlistquery_vvvvvyl = []; - } - var add_php_getlistquery = add_php_getlistquery_vvvvvyl.some(add_php_getlistquery_vvvvvyl_SomeFunc); - - if (isSet(gettype_vvvvvyl) && gettype_vvvvvyl.constructor !== Array) - { - var temp_vvvvvyl = gettype_vvvvvyl; - var gettype_vvvvvyl = []; - gettype_vvvvvyl.push(temp_vvvvvyl); - } - else if (!isSet(gettype_vvvvvyl)) - { - var gettype_vvvvvyl = []; - } - var gettype = gettype_vvvvvyl.some(gettype_vvvvvyl_SomeFunc); - - - // set this function logic - if (add_php_getlistquery && gettype) - { - jQuery('#jform_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvylvyg_required) - { - updateFieldRequired('php_getlistquery',0); - jQuery('#jform_php_getlistquery').prop('required','required'); - jQuery('#jform_php_getlistquery').attr('aria-required',true); - jQuery('#jform_php_getlistquery').addClass('required'); - jform_vvvvvylvyg_required = false; - } - - } - else - { - jQuery('#jform_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvylvyg_required) - { - updateFieldRequired('php_getlistquery',1); - jQuery('#jform_php_getlistquery').removeAttr('required'); - jQuery('#jform_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_php_getlistquery').removeClass('required'); - jform_vvvvvylvyg_required = true; - } - } -} - -// the vvvvvyl Some function -function add_php_getlistquery_vvvvvyl_SomeFunc(add_php_getlistquery_vvvvvyl) -{ - // set the function logic - if (add_php_getlistquery_vvvvvyl == 1) - { - return true; - } - return false; -} - -// the vvvvvyl Some function -function gettype_vvvvvyl_SomeFunc(gettype_vvvvvyl) -{ - // set the function logic - if (gettype_vvvvvyl == 2 || gettype_vvvvvyl == 4) - { - return true; - } - return false; -} - // the vvvvvym function -function vvvvvym(add_php_before_getitems_vvvvvym,gettype_vvvvvym) +function vvvvvym(gettype_vvvvvym) { - if (isSet(add_php_before_getitems_vvvvvym) && add_php_before_getitems_vvvvvym.constructor !== Array) - { - var temp_vvvvvym = add_php_before_getitems_vvvvvym; - var add_php_before_getitems_vvvvvym = []; - add_php_before_getitems_vvvvvym.push(temp_vvvvvym); - } - else if (!isSet(add_php_before_getitems_vvvvvym)) - { - var add_php_before_getitems_vvvvvym = []; - } - var add_php_before_getitems = add_php_before_getitems_vvvvvym.some(add_php_before_getitems_vvvvvym_SomeFunc); - if (isSet(gettype_vvvvvym) && gettype_vvvvvym.constructor !== Array) { var temp_vvvvvym = gettype_vvvvvym; @@ -974,49 +810,57 @@ function vvvvvym(add_php_before_getitems_vvvvvym,gettype_vvvvvym) // set this function logic - if (add_php_before_getitems && gettype) + if (gettype) { - jQuery('#jform_php_before_getitems').closest('.control-group').show(); - if (jform_vvvvvymvyh_required) + jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); + if (jform_vvvvvymvye_required) { - updateFieldRequired('php_before_getitems',0); - jQuery('#jform_php_before_getitems').prop('required','required'); - jQuery('#jform_php_before_getitems').attr('aria-required',true); - jQuery('#jform_php_before_getitems').addClass('required'); - jform_vvvvvymvyh_required = false; + updateFieldRequired('add_php_after_getitem',0); + jQuery('#jform_add_php_after_getitem').prop('required','required'); + jQuery('#jform_add_php_after_getitem').attr('aria-required',true); + jQuery('#jform_add_php_after_getitem').addClass('required'); + jform_vvvvvymvye_required = false; + } + + jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); + if (jform_vvvvvymvyf_required) + { + updateFieldRequired('add_php_before_getitem',0); + jQuery('#jform_add_php_before_getitem').prop('required','required'); + jQuery('#jform_add_php_before_getitem').attr('aria-required',true); + jQuery('#jform_add_php_before_getitem').addClass('required'); + jform_vvvvvymvyf_required = false; } } else { - jQuery('#jform_php_before_getitems').closest('.control-group').hide(); - if (!jform_vvvvvymvyh_required) + jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); + if (!jform_vvvvvymvye_required) { - updateFieldRequired('php_before_getitems',1); - jQuery('#jform_php_before_getitems').removeAttr('required'); - jQuery('#jform_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_php_before_getitems').removeClass('required'); - jform_vvvvvymvyh_required = true; + updateFieldRequired('add_php_after_getitem',1); + jQuery('#jform_add_php_after_getitem').removeAttr('required'); + jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); + jQuery('#jform_add_php_after_getitem').removeClass('required'); + jform_vvvvvymvye_required = true; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); + if (!jform_vvvvvymvyf_required) + { + updateFieldRequired('add_php_before_getitem',1); + jQuery('#jform_add_php_before_getitem').removeAttr('required'); + jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); + jQuery('#jform_add_php_before_getitem').removeClass('required'); + jform_vvvvvymvyf_required = true; } } } -// the vvvvvym Some function -function add_php_before_getitems_vvvvvym_SomeFunc(add_php_before_getitems_vvvvvym) -{ - // set the function logic - if (add_php_before_getitems_vvvvvym == 1) - { - return true; - } - return false; -} - // the vvvvvym Some function function gettype_vvvvvym_SomeFunc(gettype_vvvvvym) { // set the function logic - if (gettype_vvvvvym == 2 || gettype_vvvvvym == 4) + if (gettype_vvvvvym == 1 || gettype_vvvvvym == 3) { return true; } @@ -1024,19 +868,19 @@ function gettype_vvvvvym_SomeFunc(gettype_vvvvvym) } // the vvvvvyn function -function vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn) +function vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn) { - if (isSet(add_php_after_getitems_vvvvvyn) && add_php_after_getitems_vvvvvyn.constructor !== Array) + if (isSet(add_php_getlistquery_vvvvvyn) && add_php_getlistquery_vvvvvyn.constructor !== Array) { - var temp_vvvvvyn = add_php_after_getitems_vvvvvyn; - var add_php_after_getitems_vvvvvyn = []; - add_php_after_getitems_vvvvvyn.push(temp_vvvvvyn); + var temp_vvvvvyn = add_php_getlistquery_vvvvvyn; + var add_php_getlistquery_vvvvvyn = []; + add_php_getlistquery_vvvvvyn.push(temp_vvvvvyn); } - else if (!isSet(add_php_after_getitems_vvvvvyn)) + else if (!isSet(add_php_getlistquery_vvvvvyn)) { - var add_php_after_getitems_vvvvvyn = []; + var add_php_getlistquery_vvvvvyn = []; } - var add_php_after_getitems = add_php_after_getitems_vvvvvyn.some(add_php_after_getitems_vvvvvyn_SomeFunc); + var add_php_getlistquery = add_php_getlistquery_vvvvvyn.some(add_php_getlistquery_vvvvvyn_SomeFunc); if (isSet(gettype_vvvvvyn) && gettype_vvvvvyn.constructor !== Array) { @@ -1052,38 +896,38 @@ function vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn) // set this function logic - if (add_php_after_getitems && gettype) + if (add_php_getlistquery && gettype) { - jQuery('#jform_php_after_getitems').closest('.control-group').show(); - if (jform_vvvvvynvyi_required) + jQuery('#jform_php_getlistquery').closest('.control-group').show(); + if (jform_vvvvvynvyg_required) { - updateFieldRequired('php_after_getitems',0); - jQuery('#jform_php_after_getitems').prop('required','required'); - jQuery('#jform_php_after_getitems').attr('aria-required',true); - jQuery('#jform_php_after_getitems').addClass('required'); - jform_vvvvvynvyi_required = false; + updateFieldRequired('php_getlistquery',0); + jQuery('#jform_php_getlistquery').prop('required','required'); + jQuery('#jform_php_getlistquery').attr('aria-required',true); + jQuery('#jform_php_getlistquery').addClass('required'); + jform_vvvvvynvyg_required = false; } } else { - jQuery('#jform_php_after_getitems').closest('.control-group').hide(); - if (!jform_vvvvvynvyi_required) + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); + if (!jform_vvvvvynvyg_required) { - updateFieldRequired('php_after_getitems',1); - jQuery('#jform_php_after_getitems').removeAttr('required'); - jQuery('#jform_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_php_after_getitems').removeClass('required'); - jform_vvvvvynvyi_required = true; + updateFieldRequired('php_getlistquery',1); + jQuery('#jform_php_getlistquery').removeAttr('required'); + jQuery('#jform_php_getlistquery').removeAttr('aria-required'); + jQuery('#jform_php_getlistquery').removeClass('required'); + jform_vvvvvynvyg_required = true; } } } // the vvvvvyn Some function -function add_php_after_getitems_vvvvvyn_SomeFunc(add_php_after_getitems_vvvvvyn) +function add_php_getlistquery_vvvvvyn_SomeFunc(add_php_getlistquery_vvvvvyn) { // set the function logic - if (add_php_after_getitems_vvvvvyn == 1) + if (add_php_getlistquery_vvvvvyn == 1) { return true; } @@ -1101,9 +945,99 @@ function gettype_vvvvvyn_SomeFunc(gettype_vvvvvyn) return false; } -// the vvvvvyp function -function vvvvvyp(gettype_vvvvvyp) +// the vvvvvyo function +function vvvvvyo(add_php_before_getitems_vvvvvyo,gettype_vvvvvyo) { + if (isSet(add_php_before_getitems_vvvvvyo) && add_php_before_getitems_vvvvvyo.constructor !== Array) + { + var temp_vvvvvyo = add_php_before_getitems_vvvvvyo; + var add_php_before_getitems_vvvvvyo = []; + add_php_before_getitems_vvvvvyo.push(temp_vvvvvyo); + } + else if (!isSet(add_php_before_getitems_vvvvvyo)) + { + var add_php_before_getitems_vvvvvyo = []; + } + var add_php_before_getitems = add_php_before_getitems_vvvvvyo.some(add_php_before_getitems_vvvvvyo_SomeFunc); + + if (isSet(gettype_vvvvvyo) && gettype_vvvvvyo.constructor !== Array) + { + var temp_vvvvvyo = gettype_vvvvvyo; + var gettype_vvvvvyo = []; + gettype_vvvvvyo.push(temp_vvvvvyo); + } + else if (!isSet(gettype_vvvvvyo)) + { + var gettype_vvvvvyo = []; + } + var gettype = gettype_vvvvvyo.some(gettype_vvvvvyo_SomeFunc); + + + // set this function logic + if (add_php_before_getitems && gettype) + { + jQuery('#jform_php_before_getitems').closest('.control-group').show(); + if (jform_vvvvvyovyh_required) + { + updateFieldRequired('php_before_getitems',0); + jQuery('#jform_php_before_getitems').prop('required','required'); + jQuery('#jform_php_before_getitems').attr('aria-required',true); + jQuery('#jform_php_before_getitems').addClass('required'); + jform_vvvvvyovyh_required = false; + } + + } + else + { + jQuery('#jform_php_before_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyovyh_required) + { + updateFieldRequired('php_before_getitems',1); + jQuery('#jform_php_before_getitems').removeAttr('required'); + jQuery('#jform_php_before_getitems').removeAttr('aria-required'); + jQuery('#jform_php_before_getitems').removeClass('required'); + jform_vvvvvyovyh_required = true; + } + } +} + +// the vvvvvyo Some function +function add_php_before_getitems_vvvvvyo_SomeFunc(add_php_before_getitems_vvvvvyo) +{ + // set the function logic + if (add_php_before_getitems_vvvvvyo == 1) + { + return true; + } + return false; +} + +// the vvvvvyo Some function +function gettype_vvvvvyo_SomeFunc(gettype_vvvvvyo) +{ + // set the function logic + if (gettype_vvvvvyo == 2 || gettype_vvvvvyo == 4) + { + return true; + } + return false; +} + +// the vvvvvyp function +function vvvvvyp(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp) +{ + if (isSet(add_php_after_getitems_vvvvvyp) && add_php_after_getitems_vvvvvyp.constructor !== Array) + { + var temp_vvvvvyp = add_php_after_getitems_vvvvvyp; + var add_php_after_getitems_vvvvvyp = []; + add_php_after_getitems_vvvvvyp.push(temp_vvvvvyp); + } + else if (!isSet(add_php_after_getitems_vvvvvyp)) + { + var add_php_after_getitems_vvvvvyp = []; + } + var add_php_after_getitems = add_php_after_getitems_vvvvvyp.some(add_php_after_getitems_vvvvvyp_SomeFunc); + if (isSet(gettype_vvvvvyp) && gettype_vvvvvyp.constructor !== Array) { var temp_vvvvvyp = gettype_vvvvvyp; @@ -1118,71 +1052,44 @@ function vvvvvyp(gettype_vvvvvyp) // set this function logic - if (gettype) + if (add_php_after_getitems && gettype) { - jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); - if (jform_vvvvvypvyj_required) + jQuery('#jform_php_after_getitems').closest('.control-group').show(); + if (jform_vvvvvypvyi_required) { - updateFieldRequired('add_php_after_getitems',0); - jQuery('#jform_add_php_after_getitems').prop('required','required'); - jQuery('#jform_add_php_after_getitems').attr('aria-required',true); - jQuery('#jform_add_php_after_getitems').addClass('required'); - jform_vvvvvypvyj_required = false; - } - - jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); - if (jform_vvvvvypvyk_required) - { - updateFieldRequired('add_php_before_getitems',0); - jQuery('#jform_add_php_before_getitems').prop('required','required'); - jQuery('#jform_add_php_before_getitems').attr('aria-required',true); - jQuery('#jform_add_php_before_getitems').addClass('required'); - jform_vvvvvypvyk_required = false; - } - - jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); - if (jform_vvvvvypvyl_required) - { - updateFieldRequired('add_php_getlistquery',0); - jQuery('#jform_add_php_getlistquery').prop('required','required'); - jQuery('#jform_add_php_getlistquery').attr('aria-required',true); - jQuery('#jform_add_php_getlistquery').addClass('required'); - jform_vvvvvypvyl_required = false; + updateFieldRequired('php_after_getitems',0); + jQuery('#jform_php_after_getitems').prop('required','required'); + jQuery('#jform_php_after_getitems').attr('aria-required',true); + jQuery('#jform_php_after_getitems').addClass('required'); + jform_vvvvvypvyi_required = false; } } else { - jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); - if (!jform_vvvvvypvyj_required) + jQuery('#jform_php_after_getitems').closest('.control-group').hide(); + if (!jform_vvvvvypvyi_required) { - updateFieldRequired('add_php_after_getitems',1); - jQuery('#jform_add_php_after_getitems').removeAttr('required'); - jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_after_getitems').removeClass('required'); - jform_vvvvvypvyj_required = true; - } - jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); - if (!jform_vvvvvypvyk_required) - { - updateFieldRequired('add_php_before_getitems',1); - jQuery('#jform_add_php_before_getitems').removeAttr('required'); - jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); - jQuery('#jform_add_php_before_getitems').removeClass('required'); - jform_vvvvvypvyk_required = true; - } - jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); - if (!jform_vvvvvypvyl_required) - { - updateFieldRequired('add_php_getlistquery',1); - jQuery('#jform_add_php_getlistquery').removeAttr('required'); - jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); - jQuery('#jform_add_php_getlistquery').removeClass('required'); - jform_vvvvvypvyl_required = true; + updateFieldRequired('php_after_getitems',1); + jQuery('#jform_php_after_getitems').removeAttr('required'); + jQuery('#jform_php_after_getitems').removeAttr('aria-required'); + jQuery('#jform_php_after_getitems').removeClass('required'); + jform_vvvvvypvyi_required = true; } } } +// the vvvvvyp Some function +function add_php_after_getitems_vvvvvyp_SomeFunc(add_php_after_getitems_vvvvvyp) +{ + // set the function logic + if (add_php_after_getitems_vvvvvyp == 1) + { + return true; + } + return false; +} + // the vvvvvyp Some function function gettype_vvvvvyp_SomeFunc(gettype_vvvvvyp) { @@ -1194,55 +1101,148 @@ function gettype_vvvvvyp_SomeFunc(gettype_vvvvvyp) return false; } -// the vvvvvyq function -function vvvvvyq(gettype_vvvvvyq) +// the vvvvvyr function +function vvvvvyr(gettype_vvvvvyr) { - if (isSet(gettype_vvvvvyq) && gettype_vvvvvyq.constructor !== Array) + if (isSet(gettype_vvvvvyr) && gettype_vvvvvyr.constructor !== Array) { - var temp_vvvvvyq = gettype_vvvvvyq; - var gettype_vvvvvyq = []; - gettype_vvvvvyq.push(temp_vvvvvyq); + var temp_vvvvvyr = gettype_vvvvvyr; + var gettype_vvvvvyr = []; + gettype_vvvvvyr.push(temp_vvvvvyr); } - else if (!isSet(gettype_vvvvvyq)) + else if (!isSet(gettype_vvvvvyr)) { - var gettype_vvvvvyq = []; + var gettype_vvvvvyr = []; } - var gettype = gettype_vvvvvyq.some(gettype_vvvvvyq_SomeFunc); + var gettype = gettype_vvvvvyr.some(gettype_vvvvvyr_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); + if (jform_vvvvvyrvyj_required) + { + updateFieldRequired('add_php_after_getitems',0); + jQuery('#jform_add_php_after_getitems').prop('required','required'); + jQuery('#jform_add_php_after_getitems').attr('aria-required',true); + jQuery('#jform_add_php_after_getitems').addClass('required'); + jform_vvvvvyrvyj_required = false; + } + + jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + if (jform_vvvvvyrvyk_required) + { + updateFieldRequired('add_php_before_getitems',0); + jQuery('#jform_add_php_before_getitems').prop('required','required'); + jQuery('#jform_add_php_before_getitems').attr('aria-required',true); + jQuery('#jform_add_php_before_getitems').addClass('required'); + jform_vvvvvyrvyk_required = false; + } + + jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); + if (jform_vvvvvyrvyl_required) + { + updateFieldRequired('add_php_getlistquery',0); + jQuery('#jform_add_php_getlistquery').prop('required','required'); + jQuery('#jform_add_php_getlistquery').attr('aria-required',true); + jQuery('#jform_add_php_getlistquery').addClass('required'); + jform_vvvvvyrvyl_required = false; + } + + } + else + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyrvyj_required) + { + updateFieldRequired('add_php_after_getitems',1); + jQuery('#jform_add_php_after_getitems').removeAttr('required'); + jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); + jQuery('#jform_add_php_after_getitems').removeClass('required'); + jform_vvvvvyrvyj_required = true; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + if (!jform_vvvvvyrvyk_required) + { + updateFieldRequired('add_php_before_getitems',1); + jQuery('#jform_add_php_before_getitems').removeAttr('required'); + jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); + jQuery('#jform_add_php_before_getitems').removeClass('required'); + jform_vvvvvyrvyk_required = true; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); + if (!jform_vvvvvyrvyl_required) + { + updateFieldRequired('add_php_getlistquery',1); + jQuery('#jform_add_php_getlistquery').removeAttr('required'); + jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); + jQuery('#jform_add_php_getlistquery').removeClass('required'); + jform_vvvvvyrvyl_required = true; + } + } +} + +// the vvvvvyr Some function +function gettype_vvvvvyr_SomeFunc(gettype_vvvvvyr) +{ + // set the function logic + if (gettype_vvvvvyr == 2 || gettype_vvvvvyr == 4) + { + return true; + } + return false; +} + +// the vvvvvys function +function vvvvvys(gettype_vvvvvys) +{ + if (isSet(gettype_vvvvvys) && gettype_vvvvvys.constructor !== Array) + { + var temp_vvvvvys = gettype_vvvvvys; + var gettype_vvvvvys = []; + gettype_vvvvvys.push(temp_vvvvvys); + } + else if (!isSet(gettype_vvvvvys)) + { + var gettype_vvvvvys = []; + } + var gettype = gettype_vvvvvys.some(gettype_vvvvvys_SomeFunc); // set this function logic if (gettype) { jQuery('#jform_pagination').closest('.control-group').show(); - if (jform_vvvvvyqvym_required) + if (jform_vvvvvysvym_required) { updateFieldRequired('pagination',0); jQuery('#jform_pagination').prop('required','required'); jQuery('#jform_pagination').attr('aria-required',true); jQuery('#jform_pagination').addClass('required'); - jform_vvvvvyqvym_required = false; + jform_vvvvvysvym_required = false; } } else { jQuery('#jform_pagination').closest('.control-group').hide(); - if (!jform_vvvvvyqvym_required) + if (!jform_vvvvvysvym_required) { updateFieldRequired('pagination',1); jQuery('#jform_pagination').removeAttr('required'); jQuery('#jform_pagination').removeAttr('aria-required'); jQuery('#jform_pagination').removeClass('required'); - jform_vvvvvyqvym_required = true; + jform_vvvvvysvym_required = true; } } } -// the vvvvvyq Some function -function gettype_vvvvvyq_SomeFunc(gettype_vvvvvyq) +// the vvvvvys Some function +function gettype_vvvvvys_SomeFunc(gettype_vvvvvys) { // set the function logic - if (gettype_vvvvvyq == 2) + if (gettype_vvvvvys == 2) { return true; } diff --git a/admin/models/forms/field.js b/admin/models/forms/field.js index a008edc18..ac2db26e1 100644 --- a/admin/models/forms/field.js +++ b/admin/models/forms/field.js @@ -24,202 +24,92 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvyrvyn_required = false; -jform_vvvvvysvyo_required = false; -jform_vvvvvytvyp_required = false; -jform_vvvvvywvyq_required = false; -jform_vvvvvyxvyr_required = false; -jform_vvvvvyyvys_required = false; -jform_vvvvvyzvyt_required = false; +jform_vvvvvytvyn_required = false; +jform_vvvvvyuvyo_required = false; +jform_vvvvvyvvyp_required = false; +jform_vvvvvyyvyq_required = false; +jform_vvvvvyzvyr_required = false; +jform_vvvvvzavys_required = false; +jform_vvvvvzbvyt_required = false; // Initial Script jQuery(document).ready(function() { - var datalenght_vvvvvyr = jQuery("#jform_datalenght").val(); - vvvvvyr(datalenght_vvvvvyr); + var datalenght_vvvvvyt = jQuery("#jform_datalenght").val(); + vvvvvyt(datalenght_vvvvvyt); - var datadefault_vvvvvys = jQuery("#jform_datadefault").val(); - vvvvvys(datadefault_vvvvvys); + var datadefault_vvvvvyu = jQuery("#jform_datadefault").val(); + vvvvvyu(datadefault_vvvvvyu); - var datatype_vvvvvyt = jQuery("#jform_datatype").val(); - vvvvvyt(datatype_vvvvvyt); + var datatype_vvvvvyv = jQuery("#jform_datatype").val(); + vvvvvyv(datatype_vvvvvyv); - var store_vvvvvyu = jQuery("#jform_store").val(); - var datatype_vvvvvyu = jQuery("#jform_datatype").val(); - vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); + var store_vvvvvyw = jQuery("#jform_store").val(); + var datatype_vvvvvyw = jQuery("#jform_datatype").val(); + vvvvvyw(store_vvvvvyw,datatype_vvvvvyw); - var add_css_view_vvvvvyw = jQuery("#jform_add_css_view input[type='radio']:checked").val(); - vvvvvyw(add_css_view_vvvvvyw); + var add_css_view_vvvvvyy = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + vvvvvyy(add_css_view_vvvvvyy); - var add_css_views_vvvvvyx = jQuery("#jform_add_css_views input[type='radio']:checked").val(); - vvvvvyx(add_css_views_vvvvvyx); + var add_css_views_vvvvvyz = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + vvvvvyz(add_css_views_vvvvvyz); - var add_javascript_view_footer_vvvvvyy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); - vvvvvyy(add_javascript_view_footer_vvvvvyy); + var add_javascript_view_footer_vvvvvza = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + vvvvvza(add_javascript_view_footer_vvvvvza); - var add_javascript_views_footer_vvvvvyz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); - vvvvvyz(add_javascript_views_footer_vvvvvyz); + var add_javascript_views_footer_vvvvvzb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + vvvvvzb(add_javascript_views_footer_vvvvvzb); }); -// the vvvvvyr function -function vvvvvyr(datalenght_vvvvvyr) +// the vvvvvyt function +function vvvvvyt(datalenght_vvvvvyt) { - if (isSet(datalenght_vvvvvyr) && datalenght_vvvvvyr.constructor !== Array) + if (isSet(datalenght_vvvvvyt) && datalenght_vvvvvyt.constructor !== Array) { - var temp_vvvvvyr = datalenght_vvvvvyr; - var datalenght_vvvvvyr = []; - datalenght_vvvvvyr.push(temp_vvvvvyr); + var temp_vvvvvyt = datalenght_vvvvvyt; + var datalenght_vvvvvyt = []; + datalenght_vvvvvyt.push(temp_vvvvvyt); } - else if (!isSet(datalenght_vvvvvyr)) + else if (!isSet(datalenght_vvvvvyt)) { - var datalenght_vvvvvyr = []; + var datalenght_vvvvvyt = []; } - var datalenght = datalenght_vvvvvyr.some(datalenght_vvvvvyr_SomeFunc); + var datalenght = datalenght_vvvvvyt.some(datalenght_vvvvvyt_SomeFunc); // set this function logic if (datalenght) { jQuery('#jform_datalenght_other').closest('.control-group').show(); - if (jform_vvvvvyrvyn_required) + if (jform_vvvvvytvyn_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_vvvvvyrvyn_required = false; + jform_vvvvvytvyn_required = false; } } else { jQuery('#jform_datalenght_other').closest('.control-group').hide(); - if (!jform_vvvvvyrvyn_required) + if (!jform_vvvvvytvyn_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_vvvvvyrvyn_required = true; - } - } -} - -// the vvvvvyr Some function -function datalenght_vvvvvyr_SomeFunc(datalenght_vvvvvyr) -{ - // set the function logic - if (datalenght_vvvvvyr == 'Other') - { - return true; - } - return false; -} - -// the vvvvvys function -function vvvvvys(datadefault_vvvvvys) -{ - if (isSet(datadefault_vvvvvys) && datadefault_vvvvvys.constructor !== Array) - { - var temp_vvvvvys = datadefault_vvvvvys; - var datadefault_vvvvvys = []; - datadefault_vvvvvys.push(temp_vvvvvys); - } - else if (!isSet(datadefault_vvvvvys)) - { - var datadefault_vvvvvys = []; - } - var datadefault = datadefault_vvvvvys.some(datadefault_vvvvvys_SomeFunc); - - - // set this function logic - if (datadefault) - { - jQuery('#jform_datadefault_other').closest('.control-group').show(); - if (jform_vvvvvysvyo_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_vvvvvysvyo_required = false; - } - - } - else - { - jQuery('#jform_datadefault_other').closest('.control-group').hide(); - if (!jform_vvvvvysvyo_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_vvvvvysvyo_required = true; - } - } -} - -// the vvvvvys Some function -function datadefault_vvvvvys_SomeFunc(datadefault_vvvvvys) -{ - // set the function logic - if (datadefault_vvvvvys == 'Other') - { - return true; - } - return false; -} - -// the vvvvvyt function -function vvvvvyt(datatype_vvvvvyt) -{ - if (isSet(datatype_vvvvvyt) && datatype_vvvvvyt.constructor !== Array) - { - var temp_vvvvvyt = datatype_vvvvvyt; - var datatype_vvvvvyt = []; - datatype_vvvvvyt.push(temp_vvvvvyt); - } - else if (!isSet(datatype_vvvvvyt)) - { - var datatype_vvvvvyt = []; - } - var datatype = datatype_vvvvvyt.some(datatype_vvvvvyt_SomeFunc); - - - // set this function logic - if (datatype) - { - jQuery('#jform_store').closest('.control-group').show(); - if (jform_vvvvvytvyp_required) - { - updateFieldRequired('store',0); - jQuery('#jform_store').prop('required','required'); - jQuery('#jform_store').attr('aria-required',true); - jQuery('#jform_store').addClass('required'); - jform_vvvvvytvyp_required = false; - } - - } - else - { - jQuery('#jform_store').closest('.control-group').hide(); - if (!jform_vvvvvytvyp_required) - { - updateFieldRequired('store',1); - jQuery('#jform_store').removeAttr('required'); - jQuery('#jform_store').removeAttr('aria-required'); - jQuery('#jform_store').removeClass('required'); - jform_vvvvvytvyp_required = true; + jform_vvvvvytvyn_required = true; } } } // the vvvvvyt Some function -function datatype_vvvvvyt_SomeFunc(datatype_vvvvvyt) +function datalenght_vvvvvyt_SomeFunc(datalenght_vvvvvyt) { // set the function logic - if (datatype_vvvvvyt == 'CHAR' || datatype_vvvvvyt == 'VARCHAR' || datatype_vvvvvyt == 'TEXT' || datatype_vvvvvyt == 'MEDIUMTEXT' || datatype_vvvvvyt == 'LONGTEXT') + if (datalenght_vvvvvyt == 'Other') { return true; } @@ -227,31 +117,141 @@ function datatype_vvvvvyt_SomeFunc(datatype_vvvvvyt) } // the vvvvvyu function -function vvvvvyu(store_vvvvvyu,datatype_vvvvvyu) +function vvvvvyu(datadefault_vvvvvyu) { - if (isSet(store_vvvvvyu) && store_vvvvvyu.constructor !== Array) + if (isSet(datadefault_vvvvvyu) && datadefault_vvvvvyu.constructor !== Array) { - var temp_vvvvvyu = store_vvvvvyu; - var store_vvvvvyu = []; - store_vvvvvyu.push(temp_vvvvvyu); + var temp_vvvvvyu = datadefault_vvvvvyu; + var datadefault_vvvvvyu = []; + datadefault_vvvvvyu.push(temp_vvvvvyu); } - else if (!isSet(store_vvvvvyu)) + else if (!isSet(datadefault_vvvvvyu)) { - var store_vvvvvyu = []; + var datadefault_vvvvvyu = []; } - var store = store_vvvvvyu.some(store_vvvvvyu_SomeFunc); + var datadefault = datadefault_vvvvvyu.some(datadefault_vvvvvyu_SomeFunc); - if (isSet(datatype_vvvvvyu) && datatype_vvvvvyu.constructor !== Array) + + // set this function logic + if (datadefault) { - var temp_vvvvvyu = datatype_vvvvvyu; - var datatype_vvvvvyu = []; - datatype_vvvvvyu.push(temp_vvvvvyu); + jQuery('#jform_datadefault_other').closest('.control-group').show(); + if (jform_vvvvvyuvyo_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_vvvvvyuvyo_required = false; + } + } - else if (!isSet(datatype_vvvvvyu)) + else { - var datatype_vvvvvyu = []; + jQuery('#jform_datadefault_other').closest('.control-group').hide(); + if (!jform_vvvvvyuvyo_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_vvvvvyuvyo_required = true; + } } - var datatype = datatype_vvvvvyu.some(datatype_vvvvvyu_SomeFunc); +} + +// the vvvvvyu Some function +function datadefault_vvvvvyu_SomeFunc(datadefault_vvvvvyu) +{ + // set the function logic + if (datadefault_vvvvvyu == 'Other') + { + return true; + } + return false; +} + +// the vvvvvyv function +function vvvvvyv(datatype_vvvvvyv) +{ + if (isSet(datatype_vvvvvyv) && datatype_vvvvvyv.constructor !== Array) + { + var temp_vvvvvyv = datatype_vvvvvyv; + var datatype_vvvvvyv = []; + datatype_vvvvvyv.push(temp_vvvvvyv); + } + else if (!isSet(datatype_vvvvvyv)) + { + var datatype_vvvvvyv = []; + } + var datatype = datatype_vvvvvyv.some(datatype_vvvvvyv_SomeFunc); + + + // set this function logic + if (datatype) + { + jQuery('#jform_store').closest('.control-group').show(); + if (jform_vvvvvyvvyp_required) + { + updateFieldRequired('store',0); + jQuery('#jform_store').prop('required','required'); + jQuery('#jform_store').attr('aria-required',true); + jQuery('#jform_store').addClass('required'); + jform_vvvvvyvvyp_required = false; + } + + } + else + { + jQuery('#jform_store').closest('.control-group').hide(); + if (!jform_vvvvvyvvyp_required) + { + updateFieldRequired('store',1); + jQuery('#jform_store').removeAttr('required'); + jQuery('#jform_store').removeAttr('aria-required'); + jQuery('#jform_store').removeClass('required'); + jform_vvvvvyvvyp_required = true; + } + } +} + +// the vvvvvyv Some function +function datatype_vvvvvyv_SomeFunc(datatype_vvvvvyv) +{ + // set the function logic + if (datatype_vvvvvyv == 'CHAR' || datatype_vvvvvyv == 'VARCHAR' || datatype_vvvvvyv == 'TEXT' || datatype_vvvvvyv == 'MEDIUMTEXT' || datatype_vvvvvyv == 'LONGTEXT') + { + return true; + } + return false; +} + +// the vvvvvyw function +function vvvvvyw(store_vvvvvyw,datatype_vvvvvyw) +{ + if (isSet(store_vvvvvyw) && store_vvvvvyw.constructor !== Array) + { + var temp_vvvvvyw = store_vvvvvyw; + var store_vvvvvyw = []; + store_vvvvvyw.push(temp_vvvvvyw); + } + else if (!isSet(store_vvvvvyw)) + { + var store_vvvvvyw = []; + } + var store = store_vvvvvyw.some(store_vvvvvyw_SomeFunc); + + if (isSet(datatype_vvvvvyw) && datatype_vvvvvyw.constructor !== Array) + { + var temp_vvvvvyw = datatype_vvvvvyw; + var datatype_vvvvvyw = []; + datatype_vvvvvyw.push(temp_vvvvvyw); + } + else if (!isSet(datatype_vvvvvyw)) + { + var datatype_vvvvvyw = []; + } + var datatype = datatype_vvvvvyw.some(datatype_vvvvvyw_SomeFunc); // set this function logic @@ -265,148 +265,148 @@ function vvvvvyu(store_vvvvvyu,datatype_vvvvvyu) } } -// the vvvvvyu Some function -function store_vvvvvyu_SomeFunc(store_vvvvvyu) +// the vvvvvyw Some function +function store_vvvvvyw_SomeFunc(store_vvvvvyw) { // set the function logic - if (store_vvvvvyu == 4) + if (store_vvvvvyw == 4) { return true; } return false; } -// the vvvvvyu Some function -function datatype_vvvvvyu_SomeFunc(datatype_vvvvvyu) +// the vvvvvyw Some function +function datatype_vvvvvyw_SomeFunc(datatype_vvvvvyw) { // set the function logic - if (datatype_vvvvvyu == 'CHAR' || datatype_vvvvvyu == 'VARCHAR' || datatype_vvvvvyu == 'TEXT' || datatype_vvvvvyu == 'MEDIUMTEXT' || datatype_vvvvvyu == 'LONGTEXT') + if (datatype_vvvvvyw == 'CHAR' || datatype_vvvvvyw == 'VARCHAR' || datatype_vvvvvyw == 'TEXT' || datatype_vvvvvyw == 'MEDIUMTEXT' || datatype_vvvvvyw == 'LONGTEXT') { return true; } return false; } -// the vvvvvyw function -function vvvvvyw(add_css_view_vvvvvyw) +// the vvvvvyy function +function vvvvvyy(add_css_view_vvvvvyy) { // set the function logic - if (add_css_view_vvvvvyw == 1) + if (add_css_view_vvvvvyy == 1) { jQuery('#jform_css_view').closest('.control-group').show(); - if (jform_vvvvvywvyq_required) + if (jform_vvvvvyyvyq_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_vvvvvywvyq_required = false; + jform_vvvvvyyvyq_required = false; } } else { jQuery('#jform_css_view').closest('.control-group').hide(); - if (!jform_vvvvvywvyq_required) + if (!jform_vvvvvyyvyq_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_vvvvvywvyq_required = true; + jform_vvvvvyyvyq_required = true; } } } -// the vvvvvyx function -function vvvvvyx(add_css_views_vvvvvyx) +// the vvvvvyz function +function vvvvvyz(add_css_views_vvvvvyz) { // set the function logic - if (add_css_views_vvvvvyx == 1) + if (add_css_views_vvvvvyz == 1) { jQuery('#jform_css_views').closest('.control-group').show(); - if (jform_vvvvvyxvyr_required) + if (jform_vvvvvyzvyr_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_vvvvvyxvyr_required = false; + jform_vvvvvyzvyr_required = false; } } else { jQuery('#jform_css_views').closest('.control-group').hide(); - if (!jform_vvvvvyxvyr_required) + if (!jform_vvvvvyzvyr_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_vvvvvyxvyr_required = true; + jform_vvvvvyzvyr_required = true; } } } -// the vvvvvyy function -function vvvvvyy(add_javascript_view_footer_vvvvvyy) +// the vvvvvza function +function vvvvvza(add_javascript_view_footer_vvvvvza) { // set the function logic - if (add_javascript_view_footer_vvvvvyy == 1) + if (add_javascript_view_footer_vvvvvza == 1) { jQuery('#jform_javascript_view_footer').closest('.control-group').show(); - if (jform_vvvvvyyvys_required) + if (jform_vvvvvzavys_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_vvvvvyyvys_required = false; + jform_vvvvvzavys_required = false; } } else { jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); - if (!jform_vvvvvyyvys_required) + if (!jform_vvvvvzavys_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_vvvvvyyvys_required = true; + jform_vvvvvzavys_required = true; } } } -// the vvvvvyz function -function vvvvvyz(add_javascript_views_footer_vvvvvyz) +// the vvvvvzb function +function vvvvvzb(add_javascript_views_footer_vvvvvzb) { // set the function logic - if (add_javascript_views_footer_vvvvvyz == 1) + if (add_javascript_views_footer_vvvvvzb == 1) { jQuery('#jform_javascript_views_footer').closest('.control-group').show(); - if (jform_vvvvvyzvyt_required) + if (jform_vvvvvzbvyt_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_vvvvvyzvyt_required = false; + jform_vvvvvzbvyt_required = false; } } else { jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); - if (!jform_vvvvvyzvyt_required) + if (!jform_vvvvvzbvyt_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_vvvvvyzvyt_required = true; + jform_vvvvvzbvyt_required = true; } } } diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js index 5b97e99c4..c9b019849 100644 --- a/admin/models/forms/help_document.js +++ b/admin/models/forms/help_document.js @@ -24,38 +24,38 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvzcvyv_required = false; -jform_vvvvvzdvyw_required = false; -jform_vvvvvzevyx_required = false; -jform_vvvvvzfvyy_required = false; +jform_vvvvvzevyv_required = false; +jform_vvvvvzfvyw_required = false; +jform_vvvvvzgvyx_required = false; +jform_vvvvvzhvyy_required = false; // Initial Script jQuery(document).ready(function() { - var location_vvvvvza = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvvza(location_vvvvvza); + var location_vvvvvzc = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvvzc(location_vvvvvzc); - var location_vvvvvzb = jQuery("#jform_location input[type='radio']:checked").val(); - vvvvvzb(location_vvvvvzb); - - var type_vvvvvzc = jQuery("#jform_type").val(); - vvvvvzc(type_vvvvvzc); - - var type_vvvvvzd = jQuery("#jform_type").val(); - vvvvvzd(type_vvvvvzd); + var location_vvvvvzd = jQuery("#jform_location input[type='radio']:checked").val(); + vvvvvzd(location_vvvvvzd); var type_vvvvvze = jQuery("#jform_type").val(); vvvvvze(type_vvvvvze); - var target_vvvvvzf = jQuery("#jform_target input[type='radio']:checked").val(); - vvvvvzf(target_vvvvvzf); + var type_vvvvvzf = jQuery("#jform_type").val(); + vvvvvzf(type_vvvvvzf); + + var type_vvvvvzg = jQuery("#jform_type").val(); + vvvvvzg(type_vvvvvzg); + + var target_vvvvvzh = jQuery("#jform_target input[type='radio']:checked").val(); + vvvvvzh(target_vvvvvzh); }); -// the vvvvvza function -function vvvvvza(location_vvvvvza) +// the vvvvvzc function +function vvvvvzc(location_vvvvvzc) { // set the function logic - if (location_vvvvvza == 1) + if (location_vvvvvzc == 1) { jQuery('#jform_admin_view').closest('.control-group').show(); } @@ -65,11 +65,11 @@ function vvvvvza(location_vvvvvza) } } -// the vvvvvzb function -function vvvvvzb(location_vvvvvzb) +// the vvvvvzd function +function vvvvvzd(location_vvvvvzd) { // set the function logic - if (location_vvvvvzb == 2) + if (location_vvvvvzd == 2) { jQuery('#jform_site_view').closest('.control-group').show(); } @@ -79,116 +79,6 @@ function vvvvvzb(location_vvvvvzb) } } -// the vvvvvzc function -function vvvvvzc(type_vvvvvzc) -{ - if (isSet(type_vvvvvzc) && type_vvvvvzc.constructor !== Array) - { - var temp_vvvvvzc = type_vvvvvzc; - var type_vvvvvzc = []; - type_vvvvvzc.push(temp_vvvvvzc); - } - else if (!isSet(type_vvvvvzc)) - { - var type_vvvvvzc = []; - } - var type = type_vvvvvzc.some(type_vvvvvzc_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_url').closest('.control-group').show(); - if (jform_vvvvvzcvyv_required) - { - updateFieldRequired('url',0); - jQuery('#jform_url').prop('required','required'); - jQuery('#jform_url').attr('aria-required',true); - jQuery('#jform_url').addClass('required'); - jform_vvvvvzcvyv_required = false; - } - - } - else - { - jQuery('#jform_url').closest('.control-group').hide(); - if (!jform_vvvvvzcvyv_required) - { - updateFieldRequired('url',1); - jQuery('#jform_url').removeAttr('required'); - jQuery('#jform_url').removeAttr('aria-required'); - jQuery('#jform_url').removeClass('required'); - jform_vvvvvzcvyv_required = true; - } - } -} - -// the vvvvvzc Some function -function type_vvvvvzc_SomeFunc(type_vvvvvzc) -{ - // set the function logic - if (type_vvvvvzc == 3) - { - return true; - } - return false; -} - -// the vvvvvzd function -function vvvvvzd(type_vvvvvzd) -{ - if (isSet(type_vvvvvzd) && type_vvvvvzd.constructor !== Array) - { - var temp_vvvvvzd = type_vvvvvzd; - var type_vvvvvzd = []; - type_vvvvvzd.push(temp_vvvvvzd); - } - else if (!isSet(type_vvvvvzd)) - { - var type_vvvvvzd = []; - } - var type = type_vvvvvzd.some(type_vvvvvzd_SomeFunc); - - - // set this function logic - if (type) - { - jQuery('#jform_article').closest('.control-group').show(); - if (jform_vvvvvzdvyw_required) - { - updateFieldRequired('article',0); - jQuery('#jform_article').prop('required','required'); - jQuery('#jform_article').attr('aria-required',true); - jQuery('#jform_article').addClass('required'); - jform_vvvvvzdvyw_required = false; - } - - } - else - { - jQuery('#jform_article').closest('.control-group').hide(); - if (!jform_vvvvvzdvyw_required) - { - updateFieldRequired('article',1); - jQuery('#jform_article').removeAttr('required'); - jQuery('#jform_article').removeAttr('aria-required'); - jQuery('#jform_article').removeClass('required'); - jform_vvvvvzdvyw_required = true; - } - } -} - -// the vvvvvzd Some function -function type_vvvvvzd_SomeFunc(type_vvvvvzd) -{ - // set the function logic - if (type_vvvvvzd == 1) - { - return true; - } - return false; -} - // the vvvvvze function function vvvvvze(type_vvvvvze) { @@ -208,27 +98,27 @@ function vvvvvze(type_vvvvvze) // set this function logic if (type) { - jQuery('#jform_content-lbl').closest('.control-group').show(); - if (jform_vvvvvzevyx_required) + jQuery('#jform_url').closest('.control-group').show(); + if (jform_vvvvvzevyv_required) { - updateFieldRequired('content',0); - jQuery('#jform_content').prop('required','required'); - jQuery('#jform_content').attr('aria-required',true); - jQuery('#jform_content').addClass('required'); - jform_vvvvvzevyx_required = false; + updateFieldRequired('url',0); + jQuery('#jform_url').prop('required','required'); + jQuery('#jform_url').attr('aria-required',true); + jQuery('#jform_url').addClass('required'); + jform_vvvvvzevyv_required = false; } } else { - jQuery('#jform_content-lbl').closest('.control-group').hide(); - if (!jform_vvvvvzevyx_required) + jQuery('#jform_url').closest('.control-group').hide(); + if (!jform_vvvvvzevyv_required) { - updateFieldRequired('content',1); - jQuery('#jform_content').removeAttr('required'); - jQuery('#jform_content').removeAttr('aria-required'); - jQuery('#jform_content').removeClass('required'); - jform_vvvvvzevyx_required = true; + updateFieldRequired('url',1); + jQuery('#jform_url').removeAttr('required'); + jQuery('#jform_url').removeAttr('aria-required'); + jQuery('#jform_url').removeClass('required'); + jform_vvvvvzevyv_required = true; } } } @@ -237,7 +127,7 @@ function vvvvvze(type_vvvvvze) function type_vvvvvze_SomeFunc(type_vvvvvze) { // set the function logic - if (type_vvvvvze == 2) + if (type_vvvvvze == 3) { return true; } @@ -245,32 +135,142 @@ function type_vvvvvze_SomeFunc(type_vvvvvze) } // the vvvvvzf function -function vvvvvzf(target_vvvvvzf) +function vvvvvzf(type_vvvvvzf) +{ + if (isSet(type_vvvvvzf) && type_vvvvvzf.constructor !== Array) + { + var temp_vvvvvzf = type_vvvvvzf; + var type_vvvvvzf = []; + type_vvvvvzf.push(temp_vvvvvzf); + } + else if (!isSet(type_vvvvvzf)) + { + var type_vvvvvzf = []; + } + var type = type_vvvvvzf.some(type_vvvvvzf_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_article').closest('.control-group').show(); + if (jform_vvvvvzfvyw_required) + { + updateFieldRequired('article',0); + jQuery('#jform_article').prop('required','required'); + jQuery('#jform_article').attr('aria-required',true); + jQuery('#jform_article').addClass('required'); + jform_vvvvvzfvyw_required = false; + } + + } + else + { + jQuery('#jform_article').closest('.control-group').hide(); + if (!jform_vvvvvzfvyw_required) + { + updateFieldRequired('article',1); + jQuery('#jform_article').removeAttr('required'); + jQuery('#jform_article').removeAttr('aria-required'); + jQuery('#jform_article').removeClass('required'); + jform_vvvvvzfvyw_required = true; + } + } +} + +// the vvvvvzf Some function +function type_vvvvvzf_SomeFunc(type_vvvvvzf) { // set the function logic - if (target_vvvvvzf == 1) + if (type_vvvvvzf == 1) + { + return true; + } + return false; +} + +// the vvvvvzg function +function vvvvvzg(type_vvvvvzg) +{ + if (isSet(type_vvvvvzg) && type_vvvvvzg.constructor !== Array) + { + var temp_vvvvvzg = type_vvvvvzg; + var type_vvvvvzg = []; + type_vvvvvzg.push(temp_vvvvvzg); + } + else if (!isSet(type_vvvvvzg)) + { + var type_vvvvvzg = []; + } + var type = type_vvvvvzg.some(type_vvvvvzg_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_content-lbl').closest('.control-group').show(); + if (jform_vvvvvzgvyx_required) + { + updateFieldRequired('content',0); + jQuery('#jform_content').prop('required','required'); + jQuery('#jform_content').attr('aria-required',true); + jQuery('#jform_content').addClass('required'); + jform_vvvvvzgvyx_required = false; + } + + } + else + { + jQuery('#jform_content-lbl').closest('.control-group').hide(); + if (!jform_vvvvvzgvyx_required) + { + updateFieldRequired('content',1); + jQuery('#jform_content').removeAttr('required'); + jQuery('#jform_content').removeAttr('aria-required'); + jQuery('#jform_content').removeClass('required'); + jform_vvvvvzgvyx_required = true; + } + } +} + +// the vvvvvzg Some function +function type_vvvvvzg_SomeFunc(type_vvvvvzg) +{ + // set the function logic + if (type_vvvvvzg == 2) + { + return true; + } + return false; +} + +// the vvvvvzh function +function vvvvvzh(target_vvvvvzh) +{ + // set the function logic + if (target_vvvvvzh == 1) { jQuery('#jform_groups').closest('.control-group').show(); - if (jform_vvvvvzfvyy_required) + if (jform_vvvvvzhvyy_required) { updateFieldRequired('groups',0); jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').addClass('required'); - jform_vvvvvzfvyy_required = false; + jform_vvvvvzhvyy_required = false; } } else { jQuery('#jform_groups').closest('.control-group').hide(); - if (!jform_vvvvvzfvyy_required) + if (!jform_vvvvvzhvyy_required) { updateFieldRequired('groups',1); jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeClass('required'); - jform_vvvvvzfvyy_required = true; + jform_vvvvvzhvyy_required = true; } } } diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js index 862dd1243..c21336105 100644 --- a/admin/models/forms/layout.js +++ b/admin/models/forms/layout.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxuvxu_required = false; +jform_vvvvvxwvxu_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxu(add_php_view_vvvvvxu); + var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxw(add_php_view_vvvvvxw); }); -// the vvvvvxu function -function vvvvvxu(add_php_view_vvvvvxu) +// the vvvvvxw function +function vvvvvxw(add_php_view_vvvvvxw) { // set the function logic - if (add_php_view_vvvvvxu == 1) + if (add_php_view_vvvvvxw == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxuvxu_required) + if (jform_vvvvvxwvxu_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_vvvvvxuvxu_required = false; + jform_vvvvvxwvxu_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxuvxu_required) + if (!jform_vvvvvxwvxu_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_vvvvvxuvxu_required = true; + jform_vvvvvxwvxu_required = true; } } } diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js index 96e871daa..415f4fe90 100644 --- a/admin/models/forms/site_view.js +++ b/admin/models/forms/site_view.js @@ -24,280 +24,280 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxkvxj_required = false; -jform_vvvvvxlvxk_required = false; -jform_vvvvvxmvxl_required = false; -jform_vvvvvxnvxm_required = false; -jform_vvvvvxovxn_required = false; -jform_vvvvvxpvxo_required = false; -jform_vvvvvxqvxp_required = false; -jform_vvvvvxrvxq_required = false; -jform_vvvvvxsvxr_required = false; -jform_vvvvvxsvxs_required = false; +jform_vvvvvxmvxj_required = false; +jform_vvvvvxnvxk_required = false; +jform_vvvvvxovxl_required = false; +jform_vvvvvxpvxm_required = false; +jform_vvvvvxqvxn_required = false; +jform_vvvvvxrvxo_required = false; +jform_vvvvvxsvxp_required = false; +jform_vvvvvxtvxq_required = false; +jform_vvvvvxuvxr_required = false; +jform_vvvvvxuvxs_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxk(add_php_view_vvvvvxk); + var add_php_view_vvvvvxm = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxm(add_php_view_vvvvvxm); - var add_php_jview_display_vvvvvxl = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); - vvvvvxl(add_php_jview_display_vvvvvxl); + var add_php_jview_display_vvvvvxn = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + vvvvvxn(add_php_jview_display_vvvvvxn); - var add_php_jview_vvvvvxm = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); - vvvvvxm(add_php_jview_vvvvvxm); + var add_php_jview_vvvvvxo = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + vvvvvxo(add_php_jview_vvvvvxo); - var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); - vvvvvxn(add_php_document_vvvvvxn); + var add_php_document_vvvvvxp = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + vvvvvxp(add_php_document_vvvvvxp); - var add_css_document_vvvvvxo = jQuery("#jform_add_css_document input[type='radio']:checked").val(); - vvvvvxo(add_css_document_vvvvvxo); + var add_css_document_vvvvvxq = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + vvvvvxq(add_css_document_vvvvvxq); - var add_js_document_vvvvvxp = jQuery("#jform_add_js_document input[type='radio']:checked").val(); - vvvvvxp(add_js_document_vvvvvxp); + var add_js_document_vvvvvxr = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vvvvvxr(add_js_document_vvvvvxr); - var add_css_vvvvvxq = jQuery("#jform_add_css input[type='radio']:checked").val(); - vvvvvxq(add_css_vvvvvxq); + var add_css_vvvvvxs = jQuery("#jform_add_css input[type='radio']:checked").val(); + vvvvvxs(add_css_vvvvvxs); - var add_php_ajax_vvvvvxr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); - vvvvvxr(add_php_ajax_vvvvvxr); + var add_php_ajax_vvvvvxt = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + vvvvvxt(add_php_ajax_vvvvvxt); - var add_custom_button_vvvvvxs = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); - vvvvvxs(add_custom_button_vvvvvxs); + var add_custom_button_vvvvvxu = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + vvvvvxu(add_custom_button_vvvvvxu); }); -// the vvvvvxk function -function vvvvvxk(add_php_view_vvvvvxk) +// the vvvvvxm function +function vvvvvxm(add_php_view_vvvvvxm) { // set the function logic - if (add_php_view_vvvvvxk == 1) + if (add_php_view_vvvvvxm == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxkvxj_required) + if (jform_vvvvvxmvxj_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_vvvvvxkvxj_required = false; + jform_vvvvvxmvxj_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxkvxj_required) + if (!jform_vvvvvxmvxj_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_vvvvvxkvxj_required = true; + jform_vvvvvxmvxj_required = true; } } } -// the vvvvvxl function -function vvvvvxl(add_php_jview_display_vvvvvxl) +// the vvvvvxn function +function vvvvvxn(add_php_jview_display_vvvvvxn) { // set the function logic - if (add_php_jview_display_vvvvvxl == 1) + if (add_php_jview_display_vvvvvxn == 1) { jQuery('#jform_php_jview_display').closest('.control-group').show(); - if (jform_vvvvvxlvxk_required) + if (jform_vvvvvxnvxk_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_vvvvvxlvxk_required = false; + jform_vvvvvxnvxk_required = false; } } else { jQuery('#jform_php_jview_display').closest('.control-group').hide(); - if (!jform_vvvvvxlvxk_required) + if (!jform_vvvvvxnvxk_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_vvvvvxlvxk_required = true; + jform_vvvvvxnvxk_required = true; } } } -// the vvvvvxm function -function vvvvvxm(add_php_jview_vvvvvxm) +// the vvvvvxo function +function vvvvvxo(add_php_jview_vvvvvxo) { // set the function logic - if (add_php_jview_vvvvvxm == 1) + if (add_php_jview_vvvvvxo == 1) { jQuery('#jform_php_jview').closest('.control-group').show(); - if (jform_vvvvvxmvxl_required) + if (jform_vvvvvxovxl_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_vvvvvxmvxl_required = false; + jform_vvvvvxovxl_required = false; } } else { jQuery('#jform_php_jview').closest('.control-group').hide(); - if (!jform_vvvvvxmvxl_required) + if (!jform_vvvvvxovxl_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_vvvvvxmvxl_required = true; + jform_vvvvvxovxl_required = true; } } } -// the vvvvvxn function -function vvvvvxn(add_php_document_vvvvvxn) +// the vvvvvxp function +function vvvvvxp(add_php_document_vvvvvxp) { // set the function logic - if (add_php_document_vvvvvxn == 1) + if (add_php_document_vvvvvxp == 1) { jQuery('#jform_php_document').closest('.control-group').show(); - if (jform_vvvvvxnvxm_required) + if (jform_vvvvvxpvxm_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_vvvvvxnvxm_required = false; + jform_vvvvvxpvxm_required = false; } } else { jQuery('#jform_php_document').closest('.control-group').hide(); - if (!jform_vvvvvxnvxm_required) + if (!jform_vvvvvxpvxm_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_vvvvvxnvxm_required = true; + jform_vvvvvxpvxm_required = true; } } } -// the vvvvvxo function -function vvvvvxo(add_css_document_vvvvvxo) +// the vvvvvxq function +function vvvvvxq(add_css_document_vvvvvxq) { // set the function logic - if (add_css_document_vvvvvxo == 1) + if (add_css_document_vvvvvxq == 1) { jQuery('#jform_css_document').closest('.control-group').show(); - if (jform_vvvvvxovxn_required) + if (jform_vvvvvxqvxn_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_vvvvvxovxn_required = false; + jform_vvvvvxqvxn_required = false; } } else { jQuery('#jform_css_document').closest('.control-group').hide(); - if (!jform_vvvvvxovxn_required) + if (!jform_vvvvvxqvxn_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_vvvvvxovxn_required = true; + jform_vvvvvxqvxn_required = true; } } } -// the vvvvvxp function -function vvvvvxp(add_js_document_vvvvvxp) +// the vvvvvxr function +function vvvvvxr(add_js_document_vvvvvxr) { // set the function logic - if (add_js_document_vvvvvxp == 1) + if (add_js_document_vvvvvxr == 1) { jQuery('#jform_js_document').closest('.control-group').show(); - if (jform_vvvvvxpvxo_required) + if (jform_vvvvvxrvxo_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_vvvvvxpvxo_required = false; + jform_vvvvvxrvxo_required = false; } } else { jQuery('#jform_js_document').closest('.control-group').hide(); - if (!jform_vvvvvxpvxo_required) + if (!jform_vvvvvxrvxo_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_vvvvvxpvxo_required = true; + jform_vvvvvxrvxo_required = true; } } } -// the vvvvvxq function -function vvvvvxq(add_css_vvvvvxq) +// the vvvvvxs function +function vvvvvxs(add_css_vvvvvxs) { // set the function logic - if (add_css_vvvvvxq == 1) + if (add_css_vvvvvxs == 1) { jQuery('#jform_css').closest('.control-group').show(); - if (jform_vvvvvxqvxp_required) + if (jform_vvvvvxsvxp_required) { updateFieldRequired('css',0); jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').addClass('required'); - jform_vvvvvxqvxp_required = false; + jform_vvvvvxsvxp_required = false; } } else { jQuery('#jform_css').closest('.control-group').hide(); - if (!jform_vvvvvxqvxp_required) + if (!jform_vvvvvxsvxp_required) { updateFieldRequired('css',1); jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeClass('required'); - jform_vvvvvxqvxp_required = true; + jform_vvvvvxsvxp_required = true; } } } -// the vvvvvxr function -function vvvvvxr(add_php_ajax_vvvvvxr) +// the vvvvvxt function +function vvvvvxt(add_php_ajax_vvvvvxt) { // set the function logic - if (add_php_ajax_vvvvvxr == 1) + if (add_php_ajax_vvvvvxt == 1) { jQuery('#jform_ajax_input').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); - if (jform_vvvvvxrvxq_required) + if (jform_vvvvvxtvxq_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_vvvvvxrvxq_required = false; + jform_vvvvvxtvxq_required = false; } } @@ -305,42 +305,42 @@ function vvvvvxr(add_php_ajax_vvvvvxr) { jQuery('#jform_ajax_input').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); - if (!jform_vvvvvxrvxq_required) + if (!jform_vvvvvxtvxq_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_vvvvvxrvxq_required = true; + jform_vvvvvxtvxq_required = true; } } } -// the vvvvvxs function -function vvvvvxs(add_custom_button_vvvvvxs) +// the vvvvvxu function +function vvvvvxu(add_custom_button_vvvvvxu) { // set the function logic - if (add_custom_button_vvvvvxs == 1) + if (add_custom_button_vvvvvxu == 1) { jQuery('#jform_custom_button').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show(); - if (jform_vvvvvxsvxr_required) + if (jform_vvvvvxuvxr_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_vvvvvxsvxr_required = false; + jform_vvvvvxuvxr_required = false; } jQuery('#jform_php_model').closest('.control-group').show(); - if (jform_vvvvvxsvxs_required) + if (jform_vvvvvxuvxs_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_vvvvvxsvxs_required = false; + jform_vvvvvxuvxs_required = false; } } @@ -348,22 +348,22 @@ function vvvvvxs(add_custom_button_vvvvvxs) { jQuery('#jform_custom_button').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide(); - if (!jform_vvvvvxsvxr_required) + if (!jform_vvvvvxuvxr_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_vvvvvxsvxr_required = true; + jform_vvvvvxuvxr_required = true; } jQuery('#jform_php_model').closest('.control-group').hide(); - if (!jform_vvvvvxsvxs_required) + if (!jform_vvvvvxuvxs_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_vvvvvxsvxs_required = true; + jform_vvvvvxuvxs_required = true; } } } diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js index c3cfce078..2a4c363b7 100644 --- a/admin/models/forms/template.js +++ b/admin/models/forms/template.js @@ -24,42 +24,42 @@ /-----------------------------------------------------------------------------------------------------------------------------*/ // Some Global Values -jform_vvvvvxtvxt_required = false; +jform_vvvvvxvvxt_required = false; // Initial Script jQuery(document).ready(function() { - var add_php_view_vvvvvxt = jQuery("#jform_add_php_view input[type='radio']:checked").val(); - vvvvvxt(add_php_view_vvvvvxt); + var add_php_view_vvvvvxv = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + vvvvvxv(add_php_view_vvvvvxv); }); -// the vvvvvxt function -function vvvvvxt(add_php_view_vvvvvxt) +// the vvvvvxv function +function vvvvvxv(add_php_view_vvvvvxv) { // set the function logic - if (add_php_view_vvvvvxt == 1) + if (add_php_view_vvvvvxv == 1) { jQuery('#jform_php_view').closest('.control-group').show(); - if (jform_vvvvvxtvxt_required) + if (jform_vvvvvxvvxt_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_vvvvvxtvxt_required = false; + jform_vvvvvxvvxt_required = false; } } else { jQuery('#jform_php_view').closest('.control-group').hide(); - if (!jform_vvvvvxtvxt_required) + if (!jform_vvvvvxvvxt_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_vvvvvxtvxt_required = true; + jform_vvvvvxvvxt_required = true; } } } diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql index 01d5a2098..2ac36df15 100644 --- a/admin/sql/install.mysql.utf8.sql +++ b/admin/sql/install.mysql.utf8.sql @@ -7,8 +7,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component` ( `add_php_dashboard_methods` TINYINT(1) NOT NULL DEFAULT '0', `add_php_helper_admin` TINYINT(1) NOT NULL DEFAULT '0', `add_php_helper_site` TINYINT(1) NOT NULL DEFAULT '0', + `add_sales_server` TINYINT(1) NOT NULL DEFAULT '0', `add_site_event` TINYINT(1) NOT NULL DEFAULT '0', `add_sql` TINYINT(1) NOT NULL DEFAULT '0', + `add_update_server` TINYINT(1) NOT NULL DEFAULT '0', `addadmin_views` TEXT NOT NULL DEFAULT '', `addconfig` TEXT NOT NULL DEFAULT '', `addcontributors` TEXT NOT NULL DEFAULT '', @@ -45,10 +47,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component` ( `php_helper_site` MEDIUMTEXT NOT NULL DEFAULT '', `php_site_event` MEDIUMTEXT NOT NULL DEFAULT '', `readme` TEXT NOT NULL DEFAULT '', + `sales_server_ftp` TEXT NOT NULL DEFAULT '', `short_description` VARCHAR(255) NOT NULL DEFAULT '', `sql` MEDIUMTEXT NOT NULL DEFAULT '', `sql_tweak` TEXT NOT NULL DEFAULT '', `system_name` VARCHAR(255) NOT NULL DEFAULT '', + `update_server` VARCHAR(255) NOT NULL DEFAULT '', + `update_server_ftp` TEXT NOT NULL DEFAULT '', `version_update` TEXT NOT NULL DEFAULT '', `website` CHAR(255) NOT NULL DEFAULT '', `whmcs_key` VARCHAR(255) NOT NULL DEFAULT '', @@ -73,11 +78,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component` ( KEY `idx_state` (`published`), KEY `idx_name_code` (`name_code`), KEY `idx_debug_linenr` (`debug_linenr`), - KEY `idx_addfootable` (`addfootable`), - KEY `idx_name` (`name`), KEY `idx_emptycontributors` (`emptycontributors`), KEY `idx_creatuserhelper` (`creatuserhelper`), + KEY `idx_add_update_server` (`add_update_server`), + KEY `idx_addfootable` (`addfootable`), + KEY `idx_name` (`name`), KEY `idx_addreadme` (`addreadme`), + KEY `idx_add_sales_server` (`add_sales_server`), KEY `idx_add_license` (`add_license`), KEY `idx_license_type` (`license_type`), KEY `idx_adduikit` (`adduikit`), @@ -631,6 +638,8 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` ( + + -- -- Dumping data for table `#__componentbuilder_fieldtype` @@ -641,21 +650,4 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `asset_id`, `catid`, `descrip (11, 2992, '', 'The list form field type provides a drop down list or a list box of custom-defined entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'List', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"multiple\",\"filter\",\"required\",\"option\",\"default\",\"showon\",\"onchange\"],\"example\":[\"list\",\"mylist\",\"Select an option\",\"\",\"list_class\",\"false\",\"\",\"\",\"0|Option 1,1|Option 2,2|Option 1\",\"0\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be list.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\",\"(optional) is whether multiple items can be selected at the same time (true or false).\",\"(optional) filter options\",\"(optional) The field must be filled before submitting the form.\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default list item value.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a drop down list of custom-defined entries.', '', 1, 845, 450, '2015-03-16 18:07:48', '2016-02-22 19:09:08', '', '0000-00-00 00:00:00', 4, '', 5, ''), (17, 2998, '', 'The radio form field type provides radio buttons to select different options. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Radio', '{\"name\":[\"type\",\"name\",\"label\",\"description\",\"class\",\"option\",\"default\",\"required\",\"showon\",\"onchange\"],\"example\":[\"radio\",\"myradiovalue\",\"Select an option\",\"\",\"btn-group btn-group-yesno\",\"1|Yes,0|No\",\"0\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be radio.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) New in Joomla 3, if set to class=\\\"btn-group btn-group-yesno\\\" will show the nice coloured buttons\",\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\",\"(optional) is the default radio button item value.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides radio buttons to select different options.', '', 1, 845, 450, '2015-03-16 18:29:51', '2016-02-22 19:08:47', '', '0000-00-00 00:00:00', 4, '', 5, ''), (24, 3005, '', 'The text form field type provides a text box for data entry. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Text', '{\"name\":[\"type\",\"name\",\"label\",\"size\",\"maxlength\",\"default\",\"description\",\"class\",\"readonly\",\"disabled\",\"required\",\"filter\",\"validate\",\"field\",\"message\",\"hint\",\"showon\",\"onchange\"],\"example\":[\"text\",\"mytextvalue\",\"Enter some text\",\"10\",\"50\",\"Some text\",\"Enter some description\",\"text_area\",\"false\",\"false\",\"false\",\"STRING\",\"\",\"\",\"Error! Please add some text here.\",\"Your Name Here\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\"],\"description\":[\"(mandatory) must be text.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\",\"(optional) limits the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) The field cannot be changed and will automatically inherit the default value\",\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\",\"(optional) The field must be filled before submitting the form.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) makes the system validate the data.\",\"(optional) used in validation of \\\"equals\\\" to link the field to match.\",\"(optional) The error message that will be displayed instead of the default message.\",\"(optional) The placeholder to display inside the text box.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text box for data entry.', '', 1, 845, 450, '2015-03-19 14:58:08', '2016-02-22 19:11:00', '', '0000-00-00 00:00:00', 5, '', 5, ''), -(25, 3006, '', 'The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Textarea', '{\"name\":[\"type\",\"name\",\"label\",\"rows\",\"cols\",\"default\",\"description\",\"class\",\"filter\",\"hint\",\"required\",\"showon\",\"onchange\"],\"example\":[\"textarea\",\"mytextarea\",\"Enter some text\",\"10\",\"5\",\"default text\",\"Text Area\",\"text_area\",\"raw\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be textarea.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\",\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The placeholder to display inside the textarea.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text area for entry of multi-line text.', '', 1, 845, 450, '2015-03-28 06:13:26', '2016-02-22 19:11:23', '', '0000-00-00 00:00:00', 4, '', 1, ''); - --- --- Dumping data for table `#__componentbuilder_help_document` --- - -INSERT INTO `#__componentbuilder_help_document` (`id`, `admin_view`, `alias`, `article`, `content`, `groups`, `location`, `not_required`, `site_view`, `target`, `title`, `type`, `url`, `params`, `published`, `version`, `hits`, `ordering`) VALUES -(1, 'components', '2016-03-04-02-31-55', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

\r\n

Create

\r\n

You can create a component by clicking on the\r\n button in the toolbar, this will open a window where you can add all the needed values to create a new component.

\r\n

Edit

\r\n

You can edit components in two ways.

\r\n
    \r\n
  • You can click on the box next to the component name and then click on the\r\n button in the toolbar; this will open the component and if you have permission it will give you access to edit the values of a component.
  • \r\n
  • You can simply click on the component name; this will open the component and if you have permission it will give you access to edit the values of a component.
  • \r\n
\r\n

Edit State

\r\n

You can publish, unpublish, archive, and trash any component by clicking in the boxes next the component names and then click on the corresponding button of the task you want to perform. This will change the state of all the components you’ve selected.

\r\n

If you have trashed a component it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed components. To completely remove these components from your system do the following: first select all the components you want to permanently delete by clicking in the boxes next to the component names and then click on the\r\n button in the toolbar. This will permanently delete the components from the database. On the other hand if you would like to change the status of the component to publish, unpublish or archive, click in the boxes next to the component names and then click on the corresponding button of the task you want to perform. This will change the state of all the components you’ve selected.

\r\n

Check-in

\r\n

When another user on your Joomla website opens a component the system checks the component out to that user. A little lock will show up next to the component name. When you hover over the lock it will show to you who checked it out and when.

\r\n

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

\r\n

If this feature has not yet checked-in any of the components that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the component names and then click on the\r\n button in the toolbar, or simply click on the little lock. This will then check in the component, which will mean that it removes the component from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

\r\n

Batch Feature

\r\n

You can use the Batch feature to update or copy many components at once by clicking in the boxes next the component names and then click on the\r\n button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the\r\n button. Once completed this batch feature will have either copied or updated all the components according to the task you selected.

\r\n

Export & Import

\r\n

The export and import feature is some of the most exciting features to the list view of components. With them you can update and create many components at once.

\r\n

Export

\r\n

The export option only exports the components selected. So to export all components you must change the limited number of components that are being loaded to \"All\". The box that limits the number of components being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the component records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the components. Next click on the\r\n button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

\r\n

Import

\r\n

The import option can be used to create components or update existing components. The way to update existing components is to use the same id as the component you want to update. Best way to do this is to first export the components you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new components via an import, simple leave the id field empty.

\r\n

So once you have your excel document ready you will again open the list view of components and click on the\r\n button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

\r\n

Once you have the file selected you can click on the\r\n or\r\n button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

\r\n

When the field to column relationship has correctly been mapped you can click on the\r\n button at the bottom of the page. This should return you to the list view of components with a success message.

\r\n

Debug

\r\n

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Components', 2, '', '', 1, 12, '', 1), -(2, 'admin_views', 'welcome-to-the-list-view-of-admin-views', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create an admin view by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new admin view.

Edit

You can edit admin views in two ways.

  • You can click on the box next to the admin view name and then click on the button in the toolbar; this will open the admin view and if you have permission it will give you access to edit the values of an admin view.
  • You can simply click on the admin view name; this will open the admin view and if you have permission it will give you access to edit the values of an admin view.

Edit State

You can publish, unpublish, archive, and trash any admin view by clicking in the boxes next the admin view names and then click on the corresponding button of the task you want to perform. This will change the state of all the admin views you’ve selected.

If you have trashed an admin view it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed admin views. To completely remove these admin views from your system do the following: first select all the admin views you want to permanently delete by clicking in the boxes next to the admin view names and then click on the button in the toolbar. This will permanently delete the admin views from the database. On the other hand if you would like to change the status of the admin view to publish, unpublish or archive, click in the boxes next to the admin view names and then click on the corresponding button of the task you want to perform. This will change the state of all the admin views you’ve selected.

Check-in

When another user on your Joomla website opens an admin view the system checks the admin view out to that user. A little lock will show up next to the admin view name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the admin views that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the admin view names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the admin view, which will mean that it removes the admin view from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many admin views at once by clicking in the boxes next the admin view names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the admin views according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of admin views. With them you can update and create many admin views at once.

Export

The export option only exports the admin views selected. So to export all admin views you must change the limited number of admin views that are being loaded to \"All\". The box that limits the number of admin views being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the admin view records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the admin views. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create admin views or update existing admin views. The way to update existing admin views is to use the same id as the admin view you want to update. Best way to do this is to first export the admin views you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new admin views via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of admin views and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of admin views with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Admin Views', 2, '', '', 1, 1, '', 2), -(3, 'custom_admin_views', 'welcome-to-the-list-view-of-custom-admin-views', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a custom admin view by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new custom admin view.

Edit

You can edit custom admin views in two ways.

  • You can click on the box next to the custom admin view name and then click on the button in the toolbar; this will open the custom admin view and if you have permission it will give you access to edit the values of a custom admin view.
  • You can simply click on the custom admin view name; this will open the custom admin view and if you have permission it will give you access to edit the values of a custom admin view.

Edit State

You can publish, unpublish, archive, and trash any custom admin view by clicking in the boxes next the custom admin view names and then click on the corresponding button of the task you want to perform. This will change the state of all the custom admin views you’ve selected.

If you have trashed a custom admin view it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed custom admin views. To completely remove these custom admin views from your system do the following: first select all the custom admin views you want to permanently delete by clicking in the boxes next to the custom admin view names and then click on the button in the toolbar. This will permanently delete the custom admin views from the database. On the other hand if you would like to change the status of the custom admin view to publish, unpublish or archive, click in the boxes next to the custom admin view names and then click on the corresponding button of the task you want to perform. This will change the state of all the custom admin views you’ve selected.

Check-in

When another user on your Joomla website opens a custom admin view the system checks the custom admin view out to that user. A little lock will show up next to the custom admin view name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the custom admin views that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the custom admin view names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the custom admin view, which will mean that it removes the custom admin view from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many custom admin views at once by clicking in the boxes next the custom admin view names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the custom admin views according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of custom admin views. With them you can update and create many custom admin views at once.

Export

The export option only exports the custom admin views selected. So to export all custom admin views you must change the limited number of custom admin views that are being loaded to \"All\". The box that limits the number of custom admin views being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the custom admin view records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the custom admin views. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create custom admin views or update existing custom admin views. The way to update existing custom admin views is to use the same id as the custom admin view you want to update. Best way to do this is to first export the custom admin views you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new custom admin views via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of custom admin views and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of custom admin views with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Custom Admin Views', 2, '', '', 1, 1, '', 3), -(4, 'site_views', 'welcome-to-the-list-view-of-site-views', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a site view by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new site view.

Edit

You can edit site views in two ways.

  • You can click on the box next to the site view name and then click on the button in the toolbar; this will open the site view and if you have permission it will give you access to edit the values of a site view.
  • You can simply click on the site view name; this will open the site view and if you have permission it will give you access to edit the values of a site view.

Edit State

You can publish, unpublish, archive, and trash any site view by clicking in the boxes next the site view names and then click on the corresponding button of the task you want to perform. This will change the state of all the site views you’ve selected.

If you have trashed a site view it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed site views. To completely remove these site views from your system do the following: first select all the site views you want to permanently delete by clicking in the boxes next to the site view names and then click on the button in the toolbar. This will permanently delete the site views from the database. On the other hand if you would like to change the status of the site view to publish, unpublish or archive, click in the boxes next to the site view names and then click on the corresponding button of the task you want to perform. This will change the state of all the site views you’ve selected.

Check-in

When another user on your Joomla website opens a site view the system checks the site view out to that user. A little lock will show up next to the site view name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the site views that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the site view names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the site view, which will mean that it removes the site view from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many site views at once by clicking in the boxes next the site view names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the site views according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of site views. With them you can update and create many site views at once.

Export

The export option only exports the site views selected. So to export all site views you must change the limited number of site views that are being loaded to \"All\". The box that limits the number of site views being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the site view records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the site views. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create site views or update existing site views. The way to update existing site views is to use the same id as the site view you want to update. Best way to do this is to first export the site views you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new site views via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of site views and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of site views with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Site Views', 2, '', '', 1, 1, '', 4), -(5, 'templates', 'welcome-to-the-list-view-of-templates', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a template by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new template.

Edit

You can edit templates in two ways.

  • You can click on the box next to the template name and then click on the button in the toolbar; this will open the template and if you have permission it will give you access to edit the values of a template.
  • You can simply click on the template name; this will open the template and if you have permission it will give you access to edit the values of a template.

Edit State

You can publish, unpublish, archive, and trash any template by clicking in the boxes next the template names and then click on the corresponding button of the task you want to perform. This will change the state of all the templates you’ve selected.

If you have trashed a template it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed templates. To completely remove these templates from your system do the following: first select all the templates you want to permanently delete by clicking in the boxes next to the template names and then click on the button in the toolbar. This will permanently delete the templates from the database. On the other hand if you would like to change the status of the template to publish, unpublish or archive, click in the boxes next to the template names and then click on the corresponding button of the task you want to perform. This will change the state of all the templates you’ve selected.

Check-in

When another user on your Joomla website opens a template the system checks the template out to that user. A little lock will show up next to the template name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the templates that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the template names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the template, which will mean that it removes the template from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many templates at once by clicking in the boxes next the template names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the templates according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of templates. With them you can update and create many templates at once.

Export

The export option only exports the templates selected. So to export all templates you must change the limited number of templates that are being loaded to \"All\". The box that limits the number of templates being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the template records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the templates. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create templates or update existing templates. The way to update existing templates is to use the same id as the template you want to update. Best way to do this is to first export the templates you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new templates via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of templates and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of templates with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Templates', 2, '', '', 1, 1, '', 5), -(6, 'layouts', 'welcome-to-the-list-view-of-layouts', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a layout by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new layout.

Edit

You can edit layouts in two ways.

  • You can click on the box next to the layout name and then click on the button in the toolbar; this will open the layout and if you have permission it will give you access to edit the values of a layout.
  • You can simply click on the layout name; this will open the layout and if you have permission it will give you access to edit the values of a layout.

Edit State

You can publish, unpublish, archive, and trash any layout by clicking in the boxes next the layout names and then click on the corresponding button of the task you want to perform. This will change the state of all the layouts you’ve selected.

If you have trashed a layout it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed layouts. To completely remove these layouts from your system do the following: first select all the layouts you want to permanently delete by clicking in the boxes next to the layout names and then click on the button in the toolbar. This will permanently delete the layouts from the database. On the other hand if you would like to change the status of the layout to publish, unpublish or archive, click in the boxes next to the layout names and then click on the corresponding button of the task you want to perform. This will change the state of all the layouts you’ve selected.

Check-in

When another user on your Joomla website opens a layout the system checks the layout out to that user. A little lock will show up next to the layout name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the layouts that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the layout names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the layout, which will mean that it removes the layout from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many layouts at once by clicking in the boxes next the layout names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the layouts according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of layouts. With them you can update and create many layouts at once.

Export

The export option only exports the layouts selected. So to export all layouts you must change the limited number of layouts that are being loaded to \"All\". The box that limits the number of layouts being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the layout records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the layouts. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create layouts or update existing layouts. The way to update existing layouts is to use the same id as the layout you want to update. Best way to do this is to first export the layouts you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new layouts via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of layouts and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of layouts with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Layouts', 2, '', '', 1, 1, '', 6), -(7, 'dynamic_gets', 'welcome-to-the-list-view-of-dynamic-gets', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a dynamic get by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new dynamic get.

Edit

You can edit dynamic gets in two ways.

  • You can click on the box next to the dynamic get name and then click on the button in the toolbar; this will open the dynamic get and if you have permission it will give you access to edit the values of a dynamic get.
  • You can simply click on the dynamic get name; this will open the dynamic get and if you have permission it will give you access to edit the values of a dynamic get.

Edit State

You can publish, unpublish, archive, and trash any dynamic get by clicking in the boxes next the dynamic get names and then click on the corresponding button of the task you want to perform. This will change the state of all the dynamic gets you’ve selected.

If you have trashed a dynamic get it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed dynamic gets. To completely remove these dynamic gets from your system do the following: first select all the dynamic gets you want to permanently delete by clicking in the boxes next to the dynamic get names and then click on the button in the toolbar. This will permanently delete the dynamic gets from the database. On the other hand if you would like to change the status of the dynamic get to publish, unpublish or archive, click in the boxes next to the dynamic get names and then click on the corresponding button of the task you want to perform. This will change the state of all the dynamic gets you’ve selected.

Check-in

When another user on your Joomla website opens a dynamic get the system checks the dynamic get out to that user. A little lock will show up next to the dynamic get name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the dynamic gets that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the dynamic get names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the dynamic get, which will mean that it removes the dynamic get from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many dynamic gets at once by clicking in the boxes next the dynamic get names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the dynamic gets according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of dynamic gets. With them you can update and create many dynamic gets at once.

Export

The export option only exports the dynamic gets selected. So to export all dynamic gets you must change the limited number of dynamic gets that are being loaded to \"All\". The box that limits the number of dynamic gets being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the dynamic get records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the dynamic gets. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create dynamic gets or update existing dynamic gets. The way to update existing dynamic gets is to use the same id as the dynamic get you want to update. Best way to do this is to first export the dynamic gets you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new dynamic gets via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of dynamic gets and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of dynamic gets with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Dynamic Gets', 2, '', '', 1, 1, '', 7), -(8, 'snippets', 'welcome-to-the-list-view-of-snippets', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a snippet by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new snippet.

Edit

You can edit snippets in two ways.

  • You can click on the box next to the snippet name and then click on the button in the toolbar; this will open the snippet and if you have permission it will give you access to edit the values of a snippet.
  • You can simply click on the snippet name; this will open the snippet and if you have permission it will give you access to edit the values of a snippet.

Edit State

You can publish, unpublish, archive, and trash any snippet by clicking in the boxes next the snippet names and then click on the corresponding button of the task you want to perform. This will change the state of all the snippets you’ve selected.

If you have trashed a snippet it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed snippets. To completely remove these snippets from your system do the following: first select all the snippets you want to permanently delete by clicking in the boxes next to the snippet names and then click on the button in the toolbar. This will permanently delete the snippets from the database. On the other hand if you would like to change the status of the snippet to publish, unpublish or archive, click in the boxes next to the snippet names and then click on the corresponding button of the task you want to perform. This will change the state of all the snippets you’ve selected.

Check-in

When another user on your Joomla website opens a snippet the system checks the snippet out to that user. A little lock will show up next to the snippet name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the snippets that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the snippet names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the snippet, which will mean that it removes the snippet from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many snippets at once by clicking in the boxes next the snippet names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the snippets according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of snippets. With them you can update and create many snippets at once.

Export

The export option only exports the snippets selected. So to export all snippets you must change the limited number of snippets that are being loaded to \"All\". The box that limits the number of snippets being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the snippet records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the snippets. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create snippets or update existing snippets. The way to update existing snippets is to use the same id as the snippet you want to update. Best way to do this is to first export the snippets you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new snippets via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of snippets and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of snippets with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Snippets', 2, '', '', 1, 1, '', 8), -(9, 'fields', 'welcome-to-the-list-view-of-fields', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a field by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new field.

Edit

You can edit fields in two ways.

  • You can click on the box next to the field name and then click on the button in the toolbar; this will open the field and if you have permission it will give you access to edit the values of a field.
  • You can simply click on the field name; this will open the field and if you have permission it will give you access to edit the values of a field.

Edit State

You can publish, unpublish, archive, and trash any field by clicking in the boxes next the field names and then click on the corresponding button of the task you want to perform. This will change the state of all the fields you’ve selected.

If you have trashed a field it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed fields. To completely remove these fields from your system do the following: first select all the fields you want to permanently delete by clicking in the boxes next to the field names and then click on the button in the toolbar. This will permanently delete the fields from the database. On the other hand if you would like to change the status of the field to publish, unpublish or archive, click in the boxes next to the field names and then click on the corresponding button of the task you want to perform. This will change the state of all the fields you’ve selected.

Check-in

When another user on your Joomla website opens a field the system checks the field out to that user. A little lock will show up next to the field name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the fields that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the field names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the field, which will mean that it removes the field from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many fields at once by clicking in the boxes next the field names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the fields according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of fields. With them you can update and create many fields at once.

Export

The export option only exports the fields selected. So to export all fields you must change the limited number of fields that are being loaded to \"All\". The box that limits the number of fields being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the field records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the fields. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create fields or update existing fields. The way to update existing fields is to use the same id as the field you want to update. Best way to do this is to first export the fields you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new fields via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of fields and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of fields with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Fields', 2, '', '', 1, 1, '', 9), -(10, 'fieldtypes', 'welcome-to-the-list-view-of-fieldtypes', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a fieldtype by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new fieldtype.

Edit

You can edit fieldtypes in two ways.

  • You can click on the box next to the fieldtype name and then click on the button in the toolbar; this will open the fieldtype and if you have permission it will give you access to edit the values of a fieldtype.
  • You can simply click on the fieldtype name; this will open the fieldtype and if you have permission it will give you access to edit the values of a fieldtype.

Edit State

You can publish, unpublish, archive, and trash any fieldtype by clicking in the boxes next the fieldtype names and then click on the corresponding button of the task you want to perform. This will change the state of all the fieldtypes you’ve selected.

If you have trashed a fieldtype it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed fieldtypes. To completely remove these fieldtypes from your system do the following: first select all the fieldtypes you want to permanently delete by clicking in the boxes next to the fieldtype names and then click on the button in the toolbar. This will permanently delete the fieldtypes from the database. On the other hand if you would like to change the status of the fieldtype to publish, unpublish or archive, click in the boxes next to the fieldtype names and then click on the corresponding button of the task you want to perform. This will change the state of all the fieldtypes you’ve selected.

Check-in

When another user on your Joomla website opens a fieldtype the system checks the fieldtype out to that user. A little lock will show up next to the fieldtype name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the fieldtypes that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the fieldtype names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the fieldtype, which will mean that it removes the fieldtype from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many fieldtypes at once by clicking in the boxes next the fieldtype names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the fieldtypes according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of fieldtypes. With them you can update and create many fieldtypes at once.

Export

The export option only exports the fieldtypes selected. So to export all fieldtypes you must change the limited number of fieldtypes that are being loaded to \"All\". The box that limits the number of fieldtypes being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the fieldtype records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the fieldtypes. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create fieldtypes or update existing fieldtypes. The way to update existing fieldtypes is to use the same id as the fieldtype you want to update. Best way to do this is to first export the fieldtypes you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new fieldtypes via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of fieldtypes and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of fieldtypes with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Fieldtypes', 2, '', '', 1, 1, '', 10), -(11, 'help_documents', 'welcome-to-the-list-view-of-help-documents', '', '

Here as in all Joomla backend list views you can perform all the common tasks, and more.

Create

You can create a help document by clicking on the button in the toolbar, this will open a window where you can add all the needed values to create a new help document.

Edit

You can edit help documents in two ways.

  • You can click on the box next to the help document name and then click on the button in the toolbar; this will open the help document and if you have permission it will give you access to edit the values of a help document.
  • You can simply click on the help document name; this will open the help document and if you have permission it will give you access to edit the values of a help document.

Edit State

You can publish, unpublish, archive, and trash any help document by clicking in the boxes next the help document names and then click on the corresponding button of the task you want to perform. This will change the state of all the help documents you’ve selected.

If you have trashed a help document it is in the trash and can still be found in the database. To view items that are still in the trash change the “- Select Status –“ filter to Trashed. Here you will see the list of trashed help documents. To completely remove these help documents from your system do the following: first select all the help documents you want to permanently delete by clicking in the boxes next to the help document names and then click on the button in the toolbar. This will permanently delete the help documents from the database. On the other hand if you would like to change the status of the help document to publish, unpublish or archive, click in the boxes next to the help document names and then click on the corresponding button of the task you want to perform. This will change the state of all the help documents you’ve selected.

Check-in

When another user on your Joomla website opens a help document the system checks the help document out to that user. A little lock will show up next to the help document name. When you hover over the lock it will show to you who checked it out and when.

Component builder adds a nice feature to all its components that is called the auto check-in feature. This feature has a time setting that you can update in the component\'s global settings.

If this feature has not yet checked-in any of the help documents that you as the administrator wants to open you can force a check-in by clicking in the boxes next to the help document names and then click on the button in the toolbar, or simply click on the little lock. This will then check in the help document, which will mean that it removes the help document from the user who checked it out before you. Remember that they will lose all changes they have made if they have not yet clicked save. This can cause very unpleasant circumstances, so only use this feature if you are absolutely sure you know what you are doing.

Batch Feature

You can use the Batch feature to update or copy many help documents at once by clicking in the boxes next the help document names and then click on the button in the toolbar. This will open a popup window with multiple dropdown options of fields you can change with the batch feature. You can then select update or copy depending of your desired task and finally click on the button. Once completed this batch feature will have either copied or updated all the help documents according to the task you selected.

Export & Import

The export and import feature is some of the most exciting features to the list view of help documents. With them you can update and create many help documents at once.

Export

The export option only exports the help documents selected. So to export all help documents you must change the limited number of help documents that are being loaded to \"All\". The box that limits the number of help documents being loaded is found on the right top corner of the page. Simply change it from the number to “All” and the page should now reload with all the help document records from the database, excluding those in trash. If you want those also to load you must change the “- Select Status –“ filter to “All” as well. Now you can click on the tick box at the very top of the table. This should select all the help documents. Next click on the button in the toolbar. This should open a download window and you can select to save the excel file to your computer.

Import

The import option can be used to create help documents or update existing help documents. The way to update existing help documents is to use the same id as the help document you want to update. Best way to do this is to first export the help documents you want to update and then make the changes you have in mind in the excel document without removing or changing the id. To instead create new help documents via an import, simple leave the id field empty.

So once you have your excel document ready you will again open the list view of help documents and click on the button in the toolbar. This will open a page where you can select the excel file on your computer as an upload, or on the server in a directory, or at any direct url to the excel document.

Once you have the file selected you can click on the or button depending on the method you have chosen. When file has successfully been uploaded or retrieved a new window will open where you can map the excel document headers of each column to the field names used in the database. Usually if you’re using an exported version of the excel document this mapping will be done for you, yet if you have changed any of the header names you may need to set these field relationships manually. There is an option to ignore a column in the case when you want to leave a field totally unchanged.

When the field to column relationship has correctly been mapped you can click on the button at the bottom of the page. This should return you to the list view of help documents with a success message.

Debug

In the event that any of the above features did not work as expected, please read the error message carefully since it should usually give you enough information to why your request could not be processed. Subsequently if you are still not able to perform the request after making all needed corrections according to the error messages, then please contact your system administrator.

', '\"\"', 1, '', '', 2, 'Welcome to the List view of Help Documents', 2, '', '', 1, 1, '', 11); \ No newline at end of file +(25, 3006, '', 'The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Textarea', '{\"name\":[\"type\",\"name\",\"label\",\"rows\",\"cols\",\"default\",\"description\",\"class\",\"filter\",\"hint\",\"required\",\"showon\",\"onchange\"],\"example\":[\"textarea\",\"mytextarea\",\"Enter some text\",\"10\",\"5\",\"default text\",\"Text Area\",\"text_area\",\"raw\",\"\",\"\",\"\",\"\"],\"adjustable\":[\"0\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\",\"1\"],\"mandatory\":[\"1\",\"1\",\"1\",\"1\",\"1\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\"],\"translatable\":[\"0\",\"0\",\"1\",\"0\",\"0\",\"0\",\"1\",\"0\",\"0\",\"1\",\"0\",\"0\",\"0\"],\"description\":[\"(mandatory) must be textarea.\",\"(mandatory) is the unique name of the field.\",\"(mandatory) (translatable) is the descriptive title of the field.\",\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\",\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\",\"(optional) (not translatable) is the default value.\",\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\",\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\",\"(optional) allow the system to save certain html tags or raw data.\",\"(optional) The placeholder to display inside the textarea.\",\"(optional) The field must be filled before submitting the form.\",\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\",\"(optional) HTML equivalent attribute (javascript use)\"]}', 'provides a text area for entry of multi-line text.', '', 1, 845, 450, '2015-03-28 06:13:26', '2016-02-22 19:11:23', '', '0000-00-00 00:00:00', 4, '', 1, ''); \ No newline at end of file diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php index 6015e819e..2e9bfcffb 100644 --- a/admin/views/admin_view/tmpl/edit.php +++ b/admin/views/admin_view/tmpl/edit.php @@ -153,307 +153,273 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');