Added the FTP server to components.

This commit is contained in:
Llewellyn van der Merwe 2016-03-04 22:58:05 +02:00
parent 86624770b1
commit 0c30fa7f68
31 changed files with 2727 additions and 2494 deletions

View File

@ -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**, > (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.) > never making one mistake or taking any coffee break.)
+ *Line count*: **80212** + *Line count*: **80445**
+ *File count*: **493** + *File count*: **494**
+ *Folder count*: **97** + *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: > (with the following break down:
> **debugging @56hours** = codingtime / 4; > **debugging @56hours** = codingtime / 4;
@ -57,13 +57,13 @@ due to [Automated Component Builder] (https://www.vdm.io/joomla-component-builde
> **mapping @22hours** = codingtime / 10; > **mapping @22hours** = codingtime / 10;
> **office @37hours** = codingtime / 6;) > **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) (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**, > (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.) > 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). > 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) > Developed by [Llewellyn van der Merwe] (mailto:joomla@vdm.io)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -319,11 +319,6 @@ abstract class ComponentbuilderHelper
$user = JFactory::getUser(); $user = JFactory::getUser();
// load the submenus to sidebar // load the submenus to sidebar
JHtmlSidebar::addEntry(JText::_('COM_COMPONENTBUILDER_SUBMENU_DASHBOARD'), 'index.php?option=com_componentbuilder&view=componentbuilder', $submenu == 'componentbuilder'); 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'); 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')) if ($user->authorise('admin_view.access', 'com_componentbuilder') && $user->authorise('admin_view.submenu', 'com_componentbuilder'))
{ {

View File

@ -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_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="Add Php Helper Site"
COM_COMPONENTBUILDER_COMPONENT_ADD_PHP_HELPER_SITE_LABEL="Add PHP (helper_site Class)" 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="Add Site Event"
COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL="Add Global Site Event" COM_COMPONENTBUILDER_COMPONENT_ADD_SITE_EVENT_LABEL="Add Global Site Event"
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL="Add Sql" 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_LABEL="Add MySQL (to view table)"
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added" COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added"
COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL="Options" 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_ADMINVIEW="Adminview"
COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS="Adminviews" COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS="Adminviews"
COM_COMPONENTBUILDER_COMPONENT_ADMINVIEWS_DESCRIPTION="Add a link to any list admin view" 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_CIRCLE="Forward Circle"
COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO="Forward 2" COM_COMPONENTBUILDER_COMPONENT_FORWARD_TWO="Forward 2"
COM_COMPONENTBUILDER_COMPONENT_FRONT="Front" COM_COMPONENTBUILDER_COMPONENT_FRONT="Front"
COM_COMPONENTBUILDER_COMPONENT_FTP_SERVERS="FTP Servers"
COM_COMPONENTBUILDER_COMPONENT_GENERIC="Generic" COM_COMPONENTBUILDER_COMPONENT_GENERIC="Generic"
COM_COMPONENTBUILDER_COMPONENT_GRID="Grid" COM_COMPONENTBUILDER_COMPONENT_GRID="Grid"
COM_COMPONENTBUILDER_COMPONENT_GRID_TWO="Grid 2" 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_README_LABEL="README.md"
COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL="Rename" COM_COMPONENTBUILDER_COMPONENT_RENAME_LABEL="Rename"
COM_COMPONENTBUILDER_COMPONENT_REPLY="Reply" 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 <br /><small>(encrypted field)</small>"
COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY="Save Copy" COM_COMPONENTBUILDER_COMPONENT_SAVE_COPY="Save Copy"
COM_COMPONENTBUILDER_COMPONENT_SAVE_NEW="Save New" 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." 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_UNLOCK="Unlock"
COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH="Unpublish" COM_COMPONENTBUILDER_COMPONENT_UNPUBLISH="Unpublish"
COM_COMPONENTBUILDER_COMPONENT_UPDATES_USED_IN_JOOMLA_UPDATER="Updates (used in Joomla updater)" 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 <br /><small>(encrypted field)</small>"
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_UPLOAD="Upload"
COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION="Enter Download Link" COM_COMPONENTBUILDER_COMPONENT_URL_DESCRIPTION="Enter Download Link"
COM_COMPONENTBUILDER_COMPONENT_URL_HINT="http://www.example.com/file.zip" 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="Component Builder Dashboard"
COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views<br /><br />" COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEW_ADD="Add&nbsp;Admin View<br /><br />" COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEW_ADD="Add&nbsp;Admin View<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_COMPILER="Compiler<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_COMPONENTS="Components<br /><br />" COM_COMPONENTBUILDER_DASHBOARD_COMPONENTS="Components<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_COMPONENT_ADD="Add&nbsp;Component<br /><br />" COM_COMPONENTBUILDER_DASHBOARD_COMPONENT_ADD="Add&nbsp;Component<br /><br />"
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views<br /><br />" COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views<br /><br />"
@ -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_DESC="A count of the number of times this Snippet has been revised."
COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL="Revision" COM_COMPONENTBUILDER_SNIPPET_VERSION_LABEL="Revision"
COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views" COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views"
COM_COMPONENTBUILDER_SUBMENU_COMPILER="Compiler"
COM_COMPONENTBUILDER_SUBMENU_COMPONENTS="Components" COM_COMPONENTBUILDER_SUBMENU_COMPONENTS="Components"
COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard" COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard"

View File

@ -2,7 +2,6 @@ COM_COMPONENTBUILDER="Component Builder"
COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration" COM_COMPONENTBUILDER_CONFIGURATION="Component Builder Configuration"
COM_COMPONENTBUILDER_MENU="&#187; Component Builder" COM_COMPONENTBUILDER_MENU="&#187; Component Builder"
COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views" COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views"
COM_COMPONENTBUILDER_MENU_COMPILER="Compiler"
COM_COMPONENTBUILDER_MENU_COMPONENTS="Components" COM_COMPONENTBUILDER_MENU_COMPONENTS="Components"
COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views" COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS="Dynamic Gets" COM_COMPONENTBUILDER_MENU_DYNAMIC_GETS="Dynamic Gets"

View File

@ -0,0 +1,53 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.2
@build 4th March, 2016
@created 30th April, 2015
@package Component Builder
@subpackage ftp_servers_fullwidth.php
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
@my wife Roline van der Merwe <http://www.vdm.io/>
@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'
);
?>
<div class="form-vertical">
<?php foreach($fields as $field): ?>
<div class="control-group">
<div class="control-label">
<?php echo $form->getLabel($field); ?>
</div>
<div class="controls">
<?php echo $form->getInput($field); ?>
</div>
</div>
<?php endforeach; ?>
</div>

View File

@ -96,6 +96,30 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->metadata = $registry->toArray(); $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)) if (!empty($item->php_helper_admin))
{ {
// base64 Decode php_helper_admin. // base64 Decode php_helper_admin.
@ -114,30 +138,6 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->sql = base64_decode($item->sql); $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)) if (!empty($item->readme))
{ {
// base64 Decode readme. // base64 Decode readme.
@ -149,12 +149,24 @@ class ComponentbuilderModelComponent extends JModelAdmin
// Get the encription object. // Get the encription object.
$basic = new FOFEncryptAes($basickey, 128); $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))) 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. // basic decript data whmcs_key.
$item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0"); $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)) if (!empty($item->id))
{ {
$item->tags = new JHelperTags; $item->tags = new JHelperTags;
@ -1034,6 +1046,30 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['metadata'] = (string) $metadata; $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. // Set the php_helper_admin string to base64 string.
if (isset($data['php_helper_admin'])) if (isset($data['php_helper_admin']))
{ {
@ -1052,30 +1088,6 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['sql'] = base64_encode($data['sql']); $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. // Set the readme string to base64 string.
if (isset($data['readme'])) if (isset($data['readme']))
{ {
@ -1087,12 +1099,24 @@ class ComponentbuilderModelComponent extends JModelAdmin
// Get the encription object // Get the encription object
$basic = new FOFEncryptAes($basickey, 128); $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. // Encript data whmcs_key.
if (isset($data['whmcs_key']) && $basickey) if (isset($data['whmcs_key']) && $basickey)
{ {
$data['whmcs_key'] = $basic->encryptString($data['whmcs_key']); $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 // Set the Params Items to data
if (isset($data['params']) && is_array($data['params'])) if (isset($data['params']) && is_array($data['params']))
{ {

View File

@ -44,7 +44,7 @@ class ComponentbuilderModelComponentbuilder extends JModelList
$icons = array(); $icons = array();
// view groups array // view groups array
$viewGroups = 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 // view access array
$viewAccess = array( $viewAccess = array(

View File

@ -258,20 +258,25 @@ class ComponentbuilderModelComponents extends JModelList
{ {
foreach ($items as $nr => &$item) 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 // decode php_helper_admin
$item->php_helper_admin = base64_decode($item->php_helper_admin); $item->php_helper_admin = base64_decode($item->php_helper_admin);
// decode php_helper_site // decode php_helper_site
$item->php_helper_site = base64_decode($item->php_helper_site); $item->php_helper_site = base64_decode($item->php_helper_site);
// decode sql // decode sql
$item->sql = base64_decode($item->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))) if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
{ {
// decrypt whmcs_key // decrypt whmcs_key
@ -279,6 +284,11 @@ class ComponentbuilderModelComponents extends JModelList
} }
// decode readme // decode readme
$item->readme = base64_decode($item->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 the values we don't want exported.
unset($item->asset_id); unset($item->asset_id);
unset($item->checked_out); unset($item->checked_out);

View File

@ -24,293 +24,293 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvwgvwg_required = false; jform_vvvvvwivwg_required = false;
jform_vvvvvwhvwh_required = false; jform_vvvvvwjvwh_required = false;
jform_vvvvvwivwi_required = false; jform_vvvvvwkvwi_required = false;
jform_vvvvvwjvwj_required = false; jform_vvvvvwlvwj_required = false;
jform_vvvvvwkvwk_required = false; jform_vvvvvwmvwk_required = false;
jform_vvvvvwlvwl_required = false; jform_vvvvvwnvwl_required = false;
jform_vvvvvwmvwm_required = false; jform_vvvvvwovwm_required = false;
jform_vvvvvwnvwn_required = false; jform_vvvvvwpvwn_required = false;
jform_vvvvvwovwo_required = false; jform_vvvvvwqvwo_required = false;
jform_vvvvvwpvwp_required = false; jform_vvvvvwrvwp_required = false;
jform_vvvvvwqvwq_required = false; jform_vvvvvwsvwq_required = false;
jform_vvvvvwrvwr_required = false; jform_vvvvvwtvwr_required = false;
jform_vvvvvwsvws_required = false; jform_vvvvvwuvws_required = false;
jform_vvvvvwtvwt_required = false; jform_vvvvvwvvwt_required = false;
jform_vvvvvwuvwu_required = false; jform_vvvvvwwvwu_required = false;
jform_vvvvvwvvwv_required = false; jform_vvvvvwxvwv_required = false;
jform_vvvvvwwvww_required = false; jform_vvvvvwyvww_required = false;
jform_vvvvvwxvwx_required = false; jform_vvvvvwzvwx_required = false;
jform_vvvvvwyvwy_required = false; jform_vvvvvxavwy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_css_view_vvvvvwg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvwi = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvwg(add_css_view_vvvvvwg); vvvvvwi(add_css_view_vvvvvwi);
var add_css_views_vvvvvwh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvwj = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvwh(add_css_views_vvvvvwh); vvvvvwj(add_css_views_vvvvvwj);
var add_javascript_view_file_vvvvvwi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvwk = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvwi(add_javascript_view_file_vvvvvwi); vvvvvwk(add_javascript_view_file_vvvvvwk);
var add_javascript_views_file_vvvvvwj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvwl = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvwj(add_javascript_views_file_vvvvvwj); vvvvvwl(add_javascript_views_file_vvvvvwl);
var add_javascript_view_footer_vvvvvwk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvwm = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvwk(add_javascript_view_footer_vvvvvwk); vvvvvwm(add_javascript_view_footer_vvvvvwm);
var add_javascript_views_footer_vvvvvwl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvwn = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvwl(add_javascript_views_footer_vvvvvwl); vvvvvwn(add_javascript_views_footer_vvvvvwn);
var add_php_ajax_vvvvvwm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvwo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvwm(add_php_ajax_vvvvvwm); vvvvvwo(add_php_ajax_vvvvvwo);
var add_php_getitem_vvvvvwn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvwp = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvwn(add_php_getitem_vvvvvwn); vvvvvwp(add_php_getitem_vvvvvwp);
var add_php_getitems_vvvvvwo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvwq = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvwo(add_php_getitems_vvvvvwo); vvvvvwq(add_php_getitems_vvvvvwq);
var add_php_getlistquery_vvvvvwp = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvwr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvwp(add_php_getlistquery_vvvvvwp); vvvvvwr(add_php_getlistquery_vvvvvwr);
var add_php_save_vvvvvwq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvws = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvwq(add_php_save_vvvvvwq); vvvvvws(add_php_save_vvvvvws);
var add_php_postsavehook_vvvvvwr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvwt = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvwr(add_php_postsavehook_vvvvvwr); vvvvvwt(add_php_postsavehook_vvvvvwt);
var add_php_allowedit_vvvvvws = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvwu = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvws(add_php_allowedit_vvvvvws); vvvvvwu(add_php_allowedit_vvvvvwu);
var add_php_batchcopy_vvvvvwt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvwv = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvwt(add_php_batchcopy_vvvvvwt); vvvvvwv(add_php_batchcopy_vvvvvwv);
var add_php_batchmove_vvvvvwu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvww = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvwu(add_php_batchmove_vvvvvwu); vvvvvww(add_php_batchmove_vvvvvww);
var add_php_before_delete_vvvvvwv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvwx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvwv(add_php_before_delete_vvvvvwv); vvvvvwx(add_php_before_delete_vvvvvwx);
var add_php_after_delete_vvvvvww = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvwy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvww(add_php_after_delete_vvvvvww); vvvvvwy(add_php_after_delete_vvvvvwy);
var add_sql_vvvvvwx = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvwz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvwx(add_sql_vvvvvwx); vvvvvwz(add_sql_vvvvvwz);
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 source_vvvvvxa = jQuery("#jform_source input[type='radio']:checked").val(); var source_vvvvvxa = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxa = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvxa = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxa(source_vvvvvxa,add_sql_vvvvvxa); 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 // the vvvvvwi function
function vvvvvwg(add_css_view_vvvvvwg) function vvvvvwi(add_css_view_vvvvvwi)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvvwg == 1) if (add_css_view_vvvvvwi == 1)
{ {
jQuery('#jform_css_view').closest('.control-group').show(); jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvvwgvwg_required) if (jform_vvvvvwivwg_required)
{ {
updateFieldRequired('css_view',0); updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required'); jQuery('#jform_css_view').addClass('required');
jform_vvvvvwgvwg_required = false; jform_vvvvvwivwg_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_view').closest('.control-group').hide(); jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvwgvwg_required) if (!jform_vvvvvwivwg_required)
{ {
updateFieldRequired('css_view',1); updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required'); jQuery('#jform_css_view').removeClass('required');
jform_vvvvvwgvwg_required = true; jform_vvvvvwivwg_required = true;
} }
} }
} }
// the vvvvvwh function // the vvvvvwj function
function vvvvvwh(add_css_views_vvvvvwh) function vvvvvwj(add_css_views_vvvvvwj)
{ {
// set the function logic // set the function logic
if (add_css_views_vvvvvwh == 1) if (add_css_views_vvvvvwj == 1)
{ {
jQuery('#jform_css_views').closest('.control-group').show(); jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvwhvwh_required) if (jform_vvvvvwjvwh_required)
{ {
updateFieldRequired('css_views',0); updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required'); jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true); jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required'); jQuery('#jform_css_views').addClass('required');
jform_vvvvvwhvwh_required = false; jform_vvvvvwjvwh_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_views').closest('.control-group').hide(); jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvwhvwh_required) if (!jform_vvvvvwjvwh_required)
{ {
updateFieldRequired('css_views',1); updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required'); jQuery('#jform_css_views').removeClass('required');
jform_vvvvvwhvwh_required = true; jform_vvvvvwjvwh_required = true;
} }
} }
} }
// the vvvvvwi function // the vvvvvwk function
function vvvvvwi(add_javascript_view_file_vvvvvwi) function vvvvvwk(add_javascript_view_file_vvvvvwk)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_view_file').closest('.control-group').show();
if (jform_vvvvvwivwi_required) if (jform_vvvvvwkvwi_required)
{ {
updateFieldRequired('javascript_view_file',0); updateFieldRequired('javascript_view_file',0);
jQuery('#jform_javascript_view_file').prop('required','required'); jQuery('#jform_javascript_view_file').prop('required','required');
jQuery('#jform_javascript_view_file').attr('aria-required',true); jQuery('#jform_javascript_view_file').attr('aria-required',true);
jQuery('#jform_javascript_view_file').addClass('required'); jQuery('#jform_javascript_view_file').addClass('required');
jform_vvvvvwivwi_required = false; jform_vvvvvwkvwi_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_file').closest('.control-group').hide(); jQuery('#jform_javascript_view_file').closest('.control-group').hide();
if (!jform_vvvvvwivwi_required) if (!jform_vvvvvwkvwi_required)
{ {
updateFieldRequired('javascript_view_file',1); updateFieldRequired('javascript_view_file',1);
jQuery('#jform_javascript_view_file').removeAttr('required'); jQuery('#jform_javascript_view_file').removeAttr('required');
jQuery('#jform_javascript_view_file').removeAttr('aria-required'); jQuery('#jform_javascript_view_file').removeAttr('aria-required');
jQuery('#jform_javascript_view_file').removeClass('required'); jQuery('#jform_javascript_view_file').removeClass('required');
jform_vvvvvwivwi_required = true; jform_vvvvvwkvwi_required = true;
} }
} }
} }
// the vvvvvwj function // the vvvvvwl function
function vvvvvwj(add_javascript_views_file_vvvvvwj) function vvvvvwl(add_javascript_views_file_vvvvvwl)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_views_file').closest('.control-group').show();
if (jform_vvvvvwjvwj_required) if (jform_vvvvvwlvwj_required)
{ {
updateFieldRequired('javascript_views_file',0); updateFieldRequired('javascript_views_file',0);
jQuery('#jform_javascript_views_file').prop('required','required'); jQuery('#jform_javascript_views_file').prop('required','required');
jQuery('#jform_javascript_views_file').attr('aria-required',true); jQuery('#jform_javascript_views_file').attr('aria-required',true);
jQuery('#jform_javascript_views_file').addClass('required'); jQuery('#jform_javascript_views_file').addClass('required');
jform_vvvvvwjvwj_required = false; jform_vvvvvwlvwj_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_file').closest('.control-group').hide(); jQuery('#jform_javascript_views_file').closest('.control-group').hide();
if (!jform_vvvvvwjvwj_required) if (!jform_vvvvvwlvwj_required)
{ {
updateFieldRequired('javascript_views_file',1); updateFieldRequired('javascript_views_file',1);
jQuery('#jform_javascript_views_file').removeAttr('required'); jQuery('#jform_javascript_views_file').removeAttr('required');
jQuery('#jform_javascript_views_file').removeAttr('aria-required'); jQuery('#jform_javascript_views_file').removeAttr('aria-required');
jQuery('#jform_javascript_views_file').removeClass('required'); jQuery('#jform_javascript_views_file').removeClass('required');
jform_vvvvvwjvwj_required = true; jform_vvvvvwlvwj_required = true;
} }
} }
} }
// the vvvvvwk function // the vvvvvwm function
function vvvvvwk(add_javascript_view_footer_vvvvvwk) function vvvvvwm(add_javascript_view_footer_vvvvvwm)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvwkvwk_required) if (jform_vvvvvwmvwk_required)
{ {
updateFieldRequired('javascript_view_footer',0); updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required'); jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvvwkvwk_required = false; jform_vvvvvwmvwk_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvvwkvwk_required) if (!jform_vvvvvwmvwk_required)
{ {
updateFieldRequired('javascript_view_footer',1); updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required'); jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvvwkvwk_required = true; jform_vvvvvwmvwk_required = true;
} }
} }
} }
// the vvvvvwl function // the vvvvvwn function
function vvvvvwl(add_javascript_views_footer_vvvvvwl) function vvvvvwn(add_javascript_views_footer_vvvvvwn)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvvwlvwl_required) if (jform_vvvvvwnvwl_required)
{ {
updateFieldRequired('javascript_views_footer',0); updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required'); jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvvwlvwl_required = false; jform_vvvvvwnvwl_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvvwlvwl_required) if (!jform_vvvvvwnvwl_required)
{ {
updateFieldRequired('javascript_views_footer',1); updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required'); jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvvwlvwl_required = true; jform_vvvvvwnvwl_required = true;
} }
} }
} }
// the vvvvvwm function // the vvvvvwo function
function vvvvvwm(add_php_ajax_vvvvvwm) function vvvvvwo(add_php_ajax_vvvvvwo)
{ {
// set the function logic // 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_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvwmvwm_required) if (jform_vvvvvwovwm_required)
{ {
updateFieldRequired('php_ajaxmethod',0); updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required'); 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_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvwmvwm_required) if (!jform_vvvvvwovwm_required)
{ {
updateFieldRequired('php_ajaxmethod',1); updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required'); jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvwmvwm_required = true; jform_vvvvvwovwm_required = true;
} }
} }
} }
// the vvvvvwn function // the vvvvvwp function
function vvvvvwn(add_php_getitem_vvvvvwn) function vvvvvwp(add_php_getitem_vvvvvwp)
{ {
// set the function logic // set the function logic
if (add_php_getitem_vvvvvwn == 1) if (add_php_getitem_vvvvvwp == 1)
{ {
jQuery('#jform_php_getitem').closest('.control-group').show(); jQuery('#jform_php_getitem').closest('.control-group').show();
if (jform_vvvvvwnvwn_required) if (jform_vvvvvwpvwn_required)
{ {
updateFieldRequired('php_getitem',0); updateFieldRequired('php_getitem',0);
jQuery('#jform_php_getitem').prop('required','required'); jQuery('#jform_php_getitem').prop('required','required');
jQuery('#jform_php_getitem').attr('aria-required',true); jQuery('#jform_php_getitem').attr('aria-required',true);
jQuery('#jform_php_getitem').addClass('required'); jQuery('#jform_php_getitem').addClass('required');
jform_vvvvvwnvwn_required = false; jform_vvvvvwpvwn_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_getitem').closest('.control-group').hide(); jQuery('#jform_php_getitem').closest('.control-group').hide();
if (!jform_vvvvvwnvwn_required) if (!jform_vvvvvwpvwn_required)
{ {
updateFieldRequired('php_getitem',1); updateFieldRequired('php_getitem',1);
jQuery('#jform_php_getitem').removeAttr('required'); jQuery('#jform_php_getitem').removeAttr('required');
jQuery('#jform_php_getitem').removeAttr('aria-required'); jQuery('#jform_php_getitem').removeAttr('aria-required');
jQuery('#jform_php_getitem').removeClass('required'); jQuery('#jform_php_getitem').removeClass('required');
jform_vvvvvwnvwn_required = true; jform_vvvvvwpvwn_required = true;
} }
} }
} }
// the vvvvvwo function // the vvvvvwq function
function vvvvvwo(add_php_getitems_vvvvvwo) function vvvvvwq(add_php_getitems_vvvvvwq)
{ {
// set the function logic // set the function logic
if (add_php_getitems_vvvvvwo == 1) if (add_php_getitems_vvvvvwq == 1)
{ {
jQuery('#jform_php_getitems').closest('.control-group').show(); jQuery('#jform_php_getitems').closest('.control-group').show();
if (jform_vvvvvwovwo_required) if (jform_vvvvvwqvwo_required)
{ {
updateFieldRequired('php_getitems',0); updateFieldRequired('php_getitems',0);
jQuery('#jform_php_getitems').prop('required','required'); jQuery('#jform_php_getitems').prop('required','required');
jQuery('#jform_php_getitems').attr('aria-required',true); jQuery('#jform_php_getitems').attr('aria-required',true);
jQuery('#jform_php_getitems').addClass('required'); jQuery('#jform_php_getitems').addClass('required');
jform_vvvvvwovwo_required = false; jform_vvvvvwqvwo_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_getitems').closest('.control-group').hide(); jQuery('#jform_php_getitems').closest('.control-group').hide();
if (!jform_vvvvvwovwo_required) if (!jform_vvvvvwqvwo_required)
{ {
updateFieldRequired('php_getitems',1); updateFieldRequired('php_getitems',1);
jQuery('#jform_php_getitems').removeAttr('required'); jQuery('#jform_php_getitems').removeAttr('required');
jQuery('#jform_php_getitems').removeAttr('aria-required'); jQuery('#jform_php_getitems').removeAttr('aria-required');
jQuery('#jform_php_getitems').removeClass('required'); jQuery('#jform_php_getitems').removeClass('required');
jform_vvvvvwovwo_required = true; jform_vvvvvwqvwo_required = true;
} }
} }
} }
// the vvvvvwp function // the vvvvvwr function
function vvvvvwp(add_php_getlistquery_vvvvvwp) function vvvvvwr(add_php_getlistquery_vvvvvwr)
{ {
// set the function logic // set the function logic
if (add_php_getlistquery_vvvvvwp == 1) if (add_php_getlistquery_vvvvvwr == 1)
{ {
jQuery('#jform_php_getlistquery').closest('.control-group').show(); jQuery('#jform_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvwpvwp_required) if (jform_vvvvvwrvwp_required)
{ {
updateFieldRequired('php_getlistquery',0); updateFieldRequired('php_getlistquery',0);
jQuery('#jform_php_getlistquery').prop('required','required'); jQuery('#jform_php_getlistquery').prop('required','required');
jQuery('#jform_php_getlistquery').attr('aria-required',true); jQuery('#jform_php_getlistquery').attr('aria-required',true);
jQuery('#jform_php_getlistquery').addClass('required'); jQuery('#jform_php_getlistquery').addClass('required');
jform_vvvvvwpvwp_required = false; jform_vvvvvwrvwp_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_getlistquery').closest('.control-group').hide(); jQuery('#jform_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvwpvwp_required) if (!jform_vvvvvwrvwp_required)
{ {
updateFieldRequired('php_getlistquery',1); updateFieldRequired('php_getlistquery',1);
jQuery('#jform_php_getlistquery').removeAttr('required'); jQuery('#jform_php_getlistquery').removeAttr('required');
jQuery('#jform_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_php_getlistquery').removeClass('required'); jQuery('#jform_php_getlistquery').removeClass('required');
jform_vvvvvwpvwp_required = true; jform_vvvvvwrvwp_required = true;
} }
} }
} }
// the vvvvvwq function // the vvvvvws function
function vvvvvwq(add_php_save_vvvvvwq) function vvvvvws(add_php_save_vvvvvws)
{ {
// set the function logic // set the function logic
if (add_php_save_vvvvvwq == 1) if (add_php_save_vvvvvws == 1)
{ {
jQuery('#jform_php_save').closest('.control-group').show(); jQuery('#jform_php_save').closest('.control-group').show();
if (jform_vvvvvwqvwq_required) if (jform_vvvvvwsvwq_required)
{ {
updateFieldRequired('php_save',0); updateFieldRequired('php_save',0);
jQuery('#jform_php_save').prop('required','required'); jQuery('#jform_php_save').prop('required','required');
jQuery('#jform_php_save').attr('aria-required',true); jQuery('#jform_php_save').attr('aria-required',true);
jQuery('#jform_php_save').addClass('required'); jQuery('#jform_php_save').addClass('required');
jform_vvvvvwqvwq_required = false; jform_vvvvvwsvwq_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_save').closest('.control-group').hide(); jQuery('#jform_php_save').closest('.control-group').hide();
if (!jform_vvvvvwqvwq_required) if (!jform_vvvvvwsvwq_required)
{ {
updateFieldRequired('php_save',1); updateFieldRequired('php_save',1);
jQuery('#jform_php_save').removeAttr('required'); jQuery('#jform_php_save').removeAttr('required');
jQuery('#jform_php_save').removeAttr('aria-required'); jQuery('#jform_php_save').removeAttr('aria-required');
jQuery('#jform_php_save').removeClass('required'); jQuery('#jform_php_save').removeClass('required');
jform_vvvvvwqvwq_required = true; jform_vvvvvwsvwq_required = true;
} }
} }
} }
// the vvvvvwr function // the vvvvvwt function
function vvvvvwr(add_php_postsavehook_vvvvvwr) function vvvvvwt(add_php_postsavehook_vvvvvwt)
{ {
// set the function logic // set the function logic
if (add_php_postsavehook_vvvvvwr == 1) if (add_php_postsavehook_vvvvvwt == 1)
{ {
jQuery('#jform_php_postsavehook').closest('.control-group').show(); jQuery('#jform_php_postsavehook').closest('.control-group').show();
if (jform_vvvvvwrvwr_required) if (jform_vvvvvwtvwr_required)
{ {
updateFieldRequired('php_postsavehook',0); updateFieldRequired('php_postsavehook',0);
jQuery('#jform_php_postsavehook').prop('required','required'); jQuery('#jform_php_postsavehook').prop('required','required');
jQuery('#jform_php_postsavehook').attr('aria-required',true); jQuery('#jform_php_postsavehook').attr('aria-required',true);
jQuery('#jform_php_postsavehook').addClass('required'); jQuery('#jform_php_postsavehook').addClass('required');
jform_vvvvvwrvwr_required = false; jform_vvvvvwtvwr_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_postsavehook').closest('.control-group').hide(); jQuery('#jform_php_postsavehook').closest('.control-group').hide();
if (!jform_vvvvvwrvwr_required) if (!jform_vvvvvwtvwr_required)
{ {
updateFieldRequired('php_postsavehook',1); updateFieldRequired('php_postsavehook',1);
jQuery('#jform_php_postsavehook').removeAttr('required'); jQuery('#jform_php_postsavehook').removeAttr('required');
jQuery('#jform_php_postsavehook').removeAttr('aria-required'); jQuery('#jform_php_postsavehook').removeAttr('aria-required');
jQuery('#jform_php_postsavehook').removeClass('required'); jQuery('#jform_php_postsavehook').removeClass('required');
jform_vvvvvwrvwr_required = true; jform_vvvvvwtvwr_required = true;
} }
} }
} }
// the vvvvvws function // the vvvvvwu function
function vvvvvws(add_php_allowedit_vvvvvws) function vvvvvwu(add_php_allowedit_vvvvvwu)
{ {
// set the function logic // set the function logic
if (add_php_allowedit_vvvvvws == 1) if (add_php_allowedit_vvvvvwu == 1)
{ {
jQuery('#jform_php_allowedit').closest('.control-group').show(); jQuery('#jform_php_allowedit').closest('.control-group').show();
if (jform_vvvvvwsvws_required) if (jform_vvvvvwuvws_required)
{ {
updateFieldRequired('php_allowedit',0); updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required'); jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true); jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required'); jQuery('#jform_php_allowedit').addClass('required');
jform_vvvvvwsvws_required = false; jform_vvvvvwuvws_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_allowedit').closest('.control-group').hide(); jQuery('#jform_php_allowedit').closest('.control-group').hide();
if (!jform_vvvvvwsvws_required) if (!jform_vvvvvwuvws_required)
{ {
updateFieldRequired('php_allowedit',1); updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required'); jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required'); jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required'); jQuery('#jform_php_allowedit').removeClass('required');
jform_vvvvvwsvws_required = true; jform_vvvvvwuvws_required = true;
} }
} }
} }
// the vvvvvwt function // the vvvvvwv function
function vvvvvwt(add_php_batchcopy_vvvvvwt) function vvvvvwv(add_php_batchcopy_vvvvvwv)
{ {
// set the function logic // set the function logic
if (add_php_batchcopy_vvvvvwt == 1) if (add_php_batchcopy_vvvvvwv == 1)
{ {
jQuery('#jform_php_batchcopy').closest('.control-group').show(); jQuery('#jform_php_batchcopy').closest('.control-group').show();
if (jform_vvvvvwtvwt_required) if (jform_vvvvvwvvwt_required)
{ {
updateFieldRequired('php_batchcopy',0); updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required'); jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true); jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required'); jQuery('#jform_php_batchcopy').addClass('required');
jform_vvvvvwtvwt_required = false; jform_vvvvvwvvwt_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_batchcopy').closest('.control-group').hide(); jQuery('#jform_php_batchcopy').closest('.control-group').hide();
if (!jform_vvvvvwtvwt_required) if (!jform_vvvvvwvvwt_required)
{ {
updateFieldRequired('php_batchcopy',1); updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required'); jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required'); jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required'); jQuery('#jform_php_batchcopy').removeClass('required');
jform_vvvvvwtvwt_required = true; jform_vvvvvwvvwt_required = true;
} }
} }
} }
// the vvvvvwu function // the vvvvvww function
function vvvvvwu(add_php_batchmove_vvvvvwu) function vvvvvww(add_php_batchmove_vvvvvww)
{ {
// set the function logic // set the function logic
if (add_php_batchmove_vvvvvwu == 1) if (add_php_batchmove_vvvvvww == 1)
{ {
jQuery('#jform_php_batchmove').closest('.control-group').show(); jQuery('#jform_php_batchmove').closest('.control-group').show();
if (jform_vvvvvwuvwu_required) if (jform_vvvvvwwvwu_required)
{ {
updateFieldRequired('php_batchmove',0); updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required'); jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true); jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required'); jQuery('#jform_php_batchmove').addClass('required');
jform_vvvvvwuvwu_required = false; jform_vvvvvwwvwu_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_batchmove').closest('.control-group').hide(); jQuery('#jform_php_batchmove').closest('.control-group').hide();
if (!jform_vvvvvwuvwu_required) if (!jform_vvvvvwwvwu_required)
{ {
updateFieldRequired('php_batchmove',1); updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required'); jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required'); jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required'); jQuery('#jform_php_batchmove').removeClass('required');
jform_vvvvvwuvwu_required = true; jform_vvvvvwwvwu_required = true;
} }
} }
} }
// the vvvvvwv function // the vvvvvwx function
function vvvvvwv(add_php_before_delete_vvvvvwv) function vvvvvwx(add_php_before_delete_vvvvvwx)
{ {
// set the function logic // 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(); jQuery('#jform_php_before_delete').closest('.control-group').show();
if (jform_vvvvvwvvwv_required) if (jform_vvvvvwxvwv_required)
{ {
updateFieldRequired('php_before_delete',0); updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required'); jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true); jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required'); jQuery('#jform_php_before_delete').addClass('required');
jform_vvvvvwvvwv_required = false; jform_vvvvvwxvwv_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_before_delete').closest('.control-group').hide(); jQuery('#jform_php_before_delete').closest('.control-group').hide();
if (!jform_vvvvvwvvwv_required) if (!jform_vvvvvwxvwv_required)
{ {
updateFieldRequired('php_before_delete',1); updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required'); jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required'); jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required'); jQuery('#jform_php_before_delete').removeClass('required');
jform_vvvvvwvvwv_required = true; jform_vvvvvwxvwv_required = true;
} }
} }
} }
// the vvvvvww function // the vvvvvwy function
function vvvvvww(add_php_after_delete_vvvvvww) function vvvvvwy(add_php_after_delete_vvvvvwy)
{ {
// set the function logic // 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(); jQuery('#jform_php_after_delete').closest('.control-group').show();
if (jform_vvvvvwwvww_required) if (jform_vvvvvwyvww_required)
{ {
updateFieldRequired('php_after_delete',0); updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required'); jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true); jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required'); jQuery('#jform_php_after_delete').addClass('required');
jform_vvvvvwwvww_required = false; jform_vvvvvwyvww_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_after_delete').closest('.control-group').hide(); jQuery('#jform_php_after_delete').closest('.control-group').hide();
if (!jform_vvvvvwwvww_required) if (!jform_vvvvvwyvww_required)
{ {
updateFieldRequired('php_after_delete',1); updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required'); jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required'); jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required'); jQuery('#jform_php_after_delete').removeClass('required');
jform_vvvvvwwvww_required = true; jform_vvvvvwyvww_required = true;
} }
} }
} }
// the vvvvvwx function // the vvvvvwz function
function vvvvvwx(add_sql_vvvvvwx) function vvvvvwz(add_sql_vvvvvwz)
{ {
// set the function logic // set the function logic
if (add_sql_vvvvvwx == 1) if (add_sql_vvvvvwz == 1)
{ {
jQuery('#jform_source').closest('.control-group').show(); jQuery('#jform_source').closest('.control-group').show();
if (jform_vvvvvwxvwx_required) if (jform_vvvvvwzvwx_required)
{ {
updateFieldRequired('source',0); updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required'); jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true); jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required'); jQuery('#jform_source').addClass('required');
jform_vvvvvwxvwx_required = false; jform_vvvvvwzvwx_required = false;
} }
} }
else else
{ {
jQuery('#jform_source').closest('.control-group').hide(); jQuery('#jform_source').closest('.control-group').hide();
if (!jform_vvvvvwxvwx_required) if (!jform_vvvvvwzvwx_required)
{ {
updateFieldRequired('source',1); updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required'); jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required'); jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required'); jQuery('#jform_source').removeClass('required');
jform_vvvvvwxvwx_required = true; jform_vvvvvwzvwx_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;
} }
} }
} }
@ -705,7 +674,38 @@ function vvvvvwy(source_vvvvvwy,add_sql_vvvvvwy)
function vvvvvxa(source_vvvvvxa,add_sql_vvvvvxa) function vvvvvxa(source_vvvvvxa,add_sql_vvvvvxa)
{ {
// set the function logic // 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(); jQuery('#jform_addtables').closest('.control-group').show();
} }

View File

@ -32,7 +32,7 @@ jform_vvvvvwavvz_required = false;
jform_vvvvvwbvwa_required = false; jform_vvvvvwbvwa_required = false;
jform_vvvvvwcvwb_required = false; jform_vvvvvwcvwb_required = false;
jform_vvvvvwdvwc_required = false; jform_vvvvvwdvwc_required = false;
jform_vvvvvwfvwd_required = false; jform_vvvvvwhvwd_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -64,11 +64,17 @@ jQuery(document).ready(function()
var addreadme_vvvvvwd = jQuery("#jform_addreadme input[type='radio']:checked").val(); var addreadme_vvvvvwd = jQuery("#jform_addreadme input[type='radio']:checked").val();
vvvvvwd(addreadme_vvvvvwd); vvvvvwd(addreadme_vvvvvwd);
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val(); var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwe(add_license_vvvvvwe); vvvvvwe(add_update_server_vvvvvwe);
var add_php_dashboard_methods_vvvvvwf = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); var add_sales_server_vvvvvwf = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
vvvvvwf(add_php_dashboard_methods_vvvvvwf); 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 // the vvvvvvv function
@ -336,10 +342,40 @@ function vvvvvwd(addreadme_vvvvvwd)
} }
// the vvvvvwe function // the vvvvvwe function
function vvvvvwe(add_license_vvvvvwe) function vvvvvwe(add_update_server_vvvvvwe)
{ {
// set the function logic // 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('.note_whmcs_lisencing_note').closest('.control-group').show();
jQuery('#jform_whmcs_key').closest('.control-group').show(); jQuery('#jform_whmcs_key').closest('.control-group').show();
@ -353,21 +389,21 @@ function vvvvvwe(add_license_vvvvvwe)
} }
} }
// the vvvvvwf function // the vvvvvwh function
function vvvvvwf(add_php_dashboard_methods_vvvvvwf) function vvvvvwh(add_php_dashboard_methods_vvvvvwh)
{ {
// set the function logic // 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_dashboard_tab').closest('.control-group').show();
jQuery('#jform_php_dashboard_methods').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); updateFieldRequired('php_dashboard_methods',0);
jQuery('#jform_php_dashboard_methods').prop('required','required'); jQuery('#jform_php_dashboard_methods').prop('required','required');
jQuery('#jform_php_dashboard_methods').attr('aria-required',true); jQuery('#jform_php_dashboard_methods').attr('aria-required',true);
jQuery('#jform_php_dashboard_methods').addClass('required'); 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_dashboard_tab').closest('.control-group').hide();
jQuery('#jform_php_dashboard_methods').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); updateFieldRequired('php_dashboard_methods',1);
jQuery('#jform_php_dashboard_methods').removeAttr('required'); jQuery('#jform_php_dashboard_methods').removeAttr('required');
jQuery('#jform_php_dashboard_methods').removeAttr('aria-required'); jQuery('#jform_php_dashboard_methods').removeAttr('aria-required');
jQuery('#jform_php_dashboard_methods').removeClass('required'); jQuery('#jform_php_dashboard_methods').removeClass('required');
jform_vvvvvwfvwd_required = true; jform_vvvvvwhvwd_required = true;
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -24,255 +24,255 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvxcvxa_required = false; jform_vvvvvxevxa_required = false;
jform_vvvvvxdvxb_required = false; jform_vvvvvxfvxb_required = false;
jform_vvvvvxevxc_required = false; jform_vvvvvxgvxc_required = false;
jform_vvvvvxfvxd_required = false; jform_vvvvvxhvxd_required = false;
jform_vvvvvxgvxe_required = false; jform_vvvvvxivxe_required = false;
jform_vvvvvxhvxf_required = false; jform_vvvvvxjvxf_required = false;
jform_vvvvvxivxg_required = false; jform_vvvvvxkvxg_required = false;
jform_vvvvvxivxh_required = false; jform_vvvvvxkvxh_required = false;
jform_vvvvvxjvxi_required = false; jform_vvvvvxlvxi_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvxc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxe = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxc(add_php_view_vvvvvxc); vvvvvxe(add_php_view_vvvvvxe);
var add_php_jview_display_vvvvvxd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxd(add_php_jview_display_vvvvvxd); vvvvvxf(add_php_jview_display_vvvvvxf);
var add_php_jview_vvvvvxe = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxe(add_php_jview_vvvvvxe); vvvvvxg(add_php_jview_vvvvvxg);
var add_php_document_vvvvvxf = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxf(add_php_document_vvvvvxf); vvvvvxh(add_php_document_vvvvvxh);
var add_css_document_vvvvvxg = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxg(add_css_document_vvvvvxg); vvvvvxi(add_css_document_vvvvvxi);
var add_js_document_vvvvvxh = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxh(add_js_document_vvvvvxh); vvvvvxj(add_js_document_vvvvvxj);
var add_custom_button_vvvvvxi = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxk = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxi(add_custom_button_vvvvvxi); vvvvvxk(add_custom_button_vvvvvxk);
var add_css_vvvvvxj = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxj(add_css_vvvvvxj); vvvvvxl(add_css_vvvvvxl);
}); });
// the vvvvvxc function // the vvvvvxe function
function vvvvvxc(add_php_view_vvvvvxc) function vvvvvxe(add_php_view_vvvvvxe)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvxc == 1) if (add_php_view_vvvvvxe == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxcvxa_required) if (jform_vvvvvxevxa_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvxcvxa_required = false; jform_vvvvvxevxa_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxcvxa_required) if (!jform_vvvvvxevxa_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxcvxa_required = true; jform_vvvvvxevxa_required = true;
} }
} }
} }
// the vvvvvxd function // the vvvvvxf function
function vvvvvxd(add_php_jview_display_vvvvvxd) function vvvvvxf(add_php_jview_display_vvvvvxf)
{ {
// set the function logic // 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(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxdvxb_required) if (jform_vvvvvxfvxb_required)
{ {
updateFieldRequired('php_jview_display',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxdvxb_required = false; jform_vvvvvxfvxb_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview_display').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxdvxb_required) if (!jform_vvvvvxfvxb_required)
{ {
updateFieldRequired('php_jview_display',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxdvxb_required = true; jform_vvvvvxfvxb_required = true;
} }
} }
} }
// the vvvvvxe function // the vvvvvxg function
function vvvvvxe(add_php_jview_vvvvvxe) function vvvvvxg(add_php_jview_vvvvvxg)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvxe == 1) if (add_php_jview_vvvvvxg == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxevxc_required) if (jform_vvvvvxgvxc_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxevxc_required = false; jform_vvvvvxgvxc_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxevxc_required) if (!jform_vvvvvxgvxc_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxevxc_required = true; jform_vvvvvxgvxc_required = true;
} }
} }
} }
// the vvvvvxf function // the vvvvvxh function
function vvvvvxf(add_php_document_vvvvvxf) function vvvvvxh(add_php_document_vvvvvxh)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvxf == 1) if (add_php_document_vvvvvxh == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxfvxd_required) if (jform_vvvvvxhvxd_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvxfvxd_required = false; jform_vvvvvxhvxd_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxfvxd_required) if (!jform_vvvvvxhvxd_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxfvxd_required = true; jform_vvvvvxhvxd_required = true;
} }
} }
} }
// the vvvvvxg function // the vvvvvxi function
function vvvvvxg(add_css_document_vvvvvxg) function vvvvvxi(add_css_document_vvvvvxi)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvxg == 1) if (add_css_document_vvvvvxi == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxgvxe_required) if (jform_vvvvvxivxe_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvxgvxe_required = false; jform_vvvvvxivxe_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxgvxe_required) if (!jform_vvvvvxivxe_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxgvxe_required = true; jform_vvvvvxivxe_required = true;
} }
} }
} }
// the vvvvvxh function // the vvvvvxj function
function vvvvvxh(add_js_document_vvvvvxh) function vvvvvxj(add_js_document_vvvvvxj)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvxh == 1) if (add_js_document_vvvvvxj == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxhvxf_required) if (jform_vvvvvxjvxf_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_js_document').addClass('required');
jform_vvvvvxhvxf_required = false; jform_vvvvvxjvxf_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxhvxf_required) if (!jform_vvvvvxjvxf_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxhvxf_required = true; jform_vvvvvxjvxf_required = true;
} }
} }
} }
// the vvvvvxi function // the vvvvvxk function
function vvvvvxi(add_custom_button_vvvvvxi) function vvvvvxk(add_custom_button_vvvvvxk)
{ {
// set the function logic // 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_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxivxg_required) if (jform_vvvvvxkvxg_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxivxg_required = false; jform_vvvvvxkvxg_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxivxh_required) if (jform_vvvvvxkvxh_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); 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_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxivxg_required) if (!jform_vvvvvxkvxg_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxivxg_required = true; jform_vvvvvxkvxg_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxivxh_required) if (!jform_vvvvvxkvxh_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxivxh_required = true; jform_vvvvvxkvxh_required = true;
} }
} }
} }
// the vvvvvxj function // the vvvvvxl function
function vvvvvxj(add_css_vvvvvxj) function vvvvvxl(add_css_vvvvvxl)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvxj == 1) if (add_css_vvvvvxl == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxjvxi_required) if (jform_vvvvvxlvxi_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_css').addClass('required');
jform_vvvvvxjvxi_required = false; jform_vvvvvxlvxi_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxjvxi_required) if (!jform_vvvvvxlvxi_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_css').removeClass('required');
jform_vvvvvxjvxi_required = true; jform_vvvvvxlvxi_required = true;
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -24,202 +24,92 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyrvyn_required = false; jform_vvvvvytvyn_required = false;
jform_vvvvvysvyo_required = false; jform_vvvvvyuvyo_required = false;
jform_vvvvvytvyp_required = false; jform_vvvvvyvvyp_required = false;
jform_vvvvvywvyq_required = false; jform_vvvvvyyvyq_required = false;
jform_vvvvvyxvyr_required = false; jform_vvvvvyzvyr_required = false;
jform_vvvvvyyvys_required = false; jform_vvvvvzavys_required = false;
jform_vvvvvyzvyt_required = false; jform_vvvvvzbvyt_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var datalenght_vvvvvyr = jQuery("#jform_datalenght").val(); var datalenght_vvvvvyt = jQuery("#jform_datalenght").val();
vvvvvyr(datalenght_vvvvvyr); vvvvvyt(datalenght_vvvvvyt);
var datadefault_vvvvvys = jQuery("#jform_datadefault").val(); var datadefault_vvvvvyu = jQuery("#jform_datadefault").val();
vvvvvys(datadefault_vvvvvys); vvvvvyu(datadefault_vvvvvyu);
var datatype_vvvvvyt = jQuery("#jform_datatype").val(); var datatype_vvvvvyv = jQuery("#jform_datatype").val();
vvvvvyt(datatype_vvvvvyt); vvvvvyv(datatype_vvvvvyv);
var store_vvvvvyu = jQuery("#jform_store").val(); var store_vvvvvyw = jQuery("#jform_store").val();
var datatype_vvvvvyu = jQuery("#jform_datatype").val(); var datatype_vvvvvyw = jQuery("#jform_datatype").val();
vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); vvvvvyw(store_vvvvvyw,datatype_vvvvvyw);
var add_css_view_vvvvvyw = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvyy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvyw(add_css_view_vvvvvyw); vvvvvyy(add_css_view_vvvvvyy);
var add_css_views_vvvvvyx = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvyz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvyx(add_css_views_vvvvvyx); vvvvvyz(add_css_views_vvvvvyz);
var add_javascript_view_footer_vvvvvyy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvza = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvyy(add_javascript_view_footer_vvvvvyy); vvvvvza(add_javascript_view_footer_vvvvvza);
var add_javascript_views_footer_vvvvvyz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvzb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvyz(add_javascript_views_footer_vvvvvyz); vvvvvzb(add_javascript_views_footer_vvvvvzb);
}); });
// the vvvvvyr function // the vvvvvyt function
function vvvvvyr(datalenght_vvvvvyr) 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 temp_vvvvvyt = datalenght_vvvvvyt;
var datalenght_vvvvvyr = []; var datalenght_vvvvvyt = [];
datalenght_vvvvvyr.push(temp_vvvvvyr); 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 // set this function logic
if (datalenght) if (datalenght)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvvyrvyn_required) if (jform_vvvvvytvyn_required)
{ {
updateFieldRequired('datalenght_other',0); updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required'); jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvvyrvyn_required = false; jform_vvvvvytvyn_required = false;
} }
} }
else else
{ {
jQuery('#jform_datalenght_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvyrvyn_required) if (!jform_vvvvvytvyn_required)
{ {
updateFieldRequired('datalenght_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvvyrvyn_required = true; jform_vvvvvytvyn_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;
} }
} }
} }
// the vvvvvyt Some function // the vvvvvyt Some function
function datatype_vvvvvyt_SomeFunc(datatype_vvvvvyt) function datalenght_vvvvvyt_SomeFunc(datalenght_vvvvvyt)
{ {
// set the function logic // 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; return true;
} }
@ -227,31 +117,141 @@ function datatype_vvvvvyt_SomeFunc(datatype_vvvvvyt)
} }
// the vvvvvyu function // 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 temp_vvvvvyu = datadefault_vvvvvyu;
var store_vvvvvyu = []; var datadefault_vvvvvyu = [];
store_vvvvvyu.push(temp_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; jQuery('#jform_datadefault_other').closest('.control-group').show();
var datatype_vvvvvyu = []; if (jform_vvvvvyuvyo_required)
datatype_vvvvvyu.push(temp_vvvvvyu);
}
else if (!isSet(datatype_vvvvvyu))
{ {
var datatype_vvvvvyu = []; 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;
} }
var datatype = datatype_vvvvvyu.some(datatype_vvvvvyu_SomeFunc);
}
else
{
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;
}
}
}
// 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 // set this function logic
@ -265,148 +265,148 @@ function vvvvvyu(store_vvvvvyu,datatype_vvvvvyu)
} }
} }
// the vvvvvyu Some function // the vvvvvyw Some function
function store_vvvvvyu_SomeFunc(store_vvvvvyu) function store_vvvvvyw_SomeFunc(store_vvvvvyw)
{ {
// set the function logic // set the function logic
if (store_vvvvvyu == 4) if (store_vvvvvyw == 4)
{ {
return true; return true;
} }
return false; return false;
} }
// the vvvvvyu Some function // the vvvvvyw Some function
function datatype_vvvvvyu_SomeFunc(datatype_vvvvvyu) function datatype_vvvvvyw_SomeFunc(datatype_vvvvvyw)
{ {
// set the function logic // 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 true;
} }
return false; return false;
} }
// the vvvvvyw function // the vvvvvyy function
function vvvvvyw(add_css_view_vvvvvyw) function vvvvvyy(add_css_view_vvvvvyy)
{ {
// set the function logic // set the function logic
if (add_css_view_vvvvvyw == 1) if (add_css_view_vvvvvyy == 1)
{ {
jQuery('#jform_css_view').closest('.control-group').show(); jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvvywvyq_required) if (jform_vvvvvyyvyq_required)
{ {
updateFieldRequired('css_view',0); updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required'); jQuery('#jform_css_view').addClass('required');
jform_vvvvvywvyq_required = false; jform_vvvvvyyvyq_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_view').closest('.control-group').hide(); jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvvywvyq_required) if (!jform_vvvvvyyvyq_required)
{ {
updateFieldRequired('css_view',1); updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required'); jQuery('#jform_css_view').removeClass('required');
jform_vvvvvywvyq_required = true; jform_vvvvvyyvyq_required = true;
} }
} }
} }
// the vvvvvyx function // the vvvvvyz function
function vvvvvyx(add_css_views_vvvvvyx) function vvvvvyz(add_css_views_vvvvvyz)
{ {
// set the function logic // set the function logic
if (add_css_views_vvvvvyx == 1) if (add_css_views_vvvvvyz == 1)
{ {
jQuery('#jform_css_views').closest('.control-group').show(); jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvvyxvyr_required) if (jform_vvvvvyzvyr_required)
{ {
updateFieldRequired('css_views',0); updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required'); jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true); jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required'); jQuery('#jform_css_views').addClass('required');
jform_vvvvvyxvyr_required = false; jform_vvvvvyzvyr_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_views').closest('.control-group').hide(); jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvvyxvyr_required) if (!jform_vvvvvyzvyr_required)
{ {
updateFieldRequired('css_views',1); updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required'); jQuery('#jform_css_views').removeClass('required');
jform_vvvvvyxvyr_required = true; jform_vvvvvyzvyr_required = true;
} }
} }
} }
// the vvvvvyy function // the vvvvvza function
function vvvvvyy(add_javascript_view_footer_vvvvvyy) function vvvvvza(add_javascript_view_footer_vvvvvza)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvvyyvys_required) if (jform_vvvvvzavys_required)
{ {
updateFieldRequired('javascript_view_footer',0); updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required'); jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvvyyvys_required = false; jform_vvvvvzavys_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvvyyvys_required) if (!jform_vvvvvzavys_required)
{ {
updateFieldRequired('javascript_view_footer',1); updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required'); jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvvyyvys_required = true; jform_vvvvvzavys_required = true;
} }
} }
} }
// the vvvvvyz function // the vvvvvzb function
function vvvvvyz(add_javascript_views_footer_vvvvvyz) function vvvvvzb(add_javascript_views_footer_vvvvvzb)
{ {
// set the function logic // 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(); jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvvyzvyt_required) if (jform_vvvvvzbvyt_required)
{ {
updateFieldRequired('javascript_views_footer',0); updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required'); jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvvyzvyt_required = false; jform_vvvvvzbvyt_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvvyzvyt_required) if (!jform_vvvvvzbvyt_required)
{ {
updateFieldRequired('javascript_views_footer',1); updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required'); jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvvyzvyt_required = true; jform_vvvvvzbvyt_required = true;
} }
} }
} }

View File

@ -24,38 +24,38 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvzcvyv_required = false; jform_vvvvvzevyv_required = false;
jform_vvvvvzdvyw_required = false; jform_vvvvvzfvyw_required = false;
jform_vvvvvzevyx_required = false; jform_vvvvvzgvyx_required = false;
jform_vvvvvzfvyy_required = false; jform_vvvvvzhvyy_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var location_vvvvvza = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzc = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvza(location_vvvvvza); vvvvvzc(location_vvvvvzc);
var location_vvvvvzb = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzd = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzb(location_vvvvvzb); vvvvvzd(location_vvvvvzd);
var type_vvvvvzc = jQuery("#jform_type").val();
vvvvvzc(type_vvvvvzc);
var type_vvvvvzd = jQuery("#jform_type").val();
vvvvvzd(type_vvvvvzd);
var type_vvvvvze = jQuery("#jform_type").val(); var type_vvvvvze = jQuery("#jform_type").val();
vvvvvze(type_vvvvvze); vvvvvze(type_vvvvvze);
var target_vvvvvzf = jQuery("#jform_target input[type='radio']:checked").val(); var type_vvvvvzf = jQuery("#jform_type").val();
vvvvvzf(target_vvvvvzf); 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 // the vvvvvzc function
function vvvvvza(location_vvvvvza) function vvvvvzc(location_vvvvvzc)
{ {
// set the function logic // set the function logic
if (location_vvvvvza == 1) if (location_vvvvvzc == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
} }
@ -65,11 +65,11 @@ function vvvvvza(location_vvvvvza)
} }
} }
// the vvvvvzb function // the vvvvvzd function
function vvvvvzb(location_vvvvvzb) function vvvvvzd(location_vvvvvzd)
{ {
// set the function logic // set the function logic
if (location_vvvvvzb == 2) if (location_vvvvvzd == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); 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 // the vvvvvze function
function vvvvvze(type_vvvvvze) function vvvvvze(type_vvvvvze)
{ {
@ -208,27 +98,27 @@ function vvvvvze(type_vvvvvze)
// set this function logic // set this function logic
if (type) if (type)
{ {
jQuery('#jform_content-lbl').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvvzevyx_required) if (jform_vvvvvzevyv_required)
{ {
updateFieldRequired('content',0); updateFieldRequired('url',0);
jQuery('#jform_content').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_content').addClass('required'); jQuery('#jform_url').addClass('required');
jform_vvvvvzevyx_required = false; jform_vvvvvzevyv_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvvzevyx_required) if (!jform_vvvvvzevyv_required)
{ {
updateFieldRequired('content',1); updateFieldRequired('url',1);
jQuery('#jform_content').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_vvvvvzevyx_required = true; jform_vvvvvzevyv_required = true;
} }
} }
} }
@ -237,7 +127,7 @@ function vvvvvze(type_vvvvvze)
function type_vvvvvze_SomeFunc(type_vvvvvze) function type_vvvvvze_SomeFunc(type_vvvvvze)
{ {
// set the function logic // set the function logic
if (type_vvvvvze == 2) if (type_vvvvvze == 3)
{ {
return true; return true;
} }
@ -245,32 +135,142 @@ function type_vvvvvze_SomeFunc(type_vvvvvze)
} }
// the vvvvvzf function // 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 // 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(); jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvvzfvyy_required) if (jform_vvvvvzhvyy_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_vvvvvzfvyy_required = false; jform_vvvvvzhvyy_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvvzfvyy_required) if (!jform_vvvvvzhvyy_required)
{ {
updateFieldRequired('groups',1); updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required'); jQuery('#jform_groups').removeClass('required');
jform_vvvvvzfvyy_required = true; jform_vvvvvzhvyy_required = true;
} }
} }
} }

View File

@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvxuvxu_required = false; jform_vvvvvxwvxu_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvxu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxu(add_php_view_vvvvvxu); vvvvvxw(add_php_view_vvvvvxw);
}); });
// the vvvvvxu function // the vvvvvxw function
function vvvvvxu(add_php_view_vvvvvxu) function vvvvvxw(add_php_view_vvvvvxw)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvxu == 1) if (add_php_view_vvvvvxw == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxuvxu_required) if (jform_vvvvvxwvxu_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvxuvxu_required = false; jform_vvvvvxwvxu_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxuvxu_required) if (!jform_vvvvvxwvxu_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxuvxu_required = true; jform_vvvvvxwvxu_required = true;
} }
} }
} }

View File

@ -24,280 +24,280 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvxkvxj_required = false; jform_vvvvvxmvxj_required = false;
jform_vvvvvxlvxk_required = false; jform_vvvvvxnvxk_required = false;
jform_vvvvvxmvxl_required = false; jform_vvvvvxovxl_required = false;
jform_vvvvvxnvxm_required = false; jform_vvvvvxpvxm_required = false;
jform_vvvvvxovxn_required = false; jform_vvvvvxqvxn_required = false;
jform_vvvvvxpvxo_required = false; jform_vvvvvxrvxo_required = false;
jform_vvvvvxqvxp_required = false; jform_vvvvvxsvxp_required = false;
jform_vvvvvxrvxq_required = false; jform_vvvvvxtvxq_required = false;
jform_vvvvvxsvxr_required = false; jform_vvvvvxuvxr_required = false;
jform_vvvvvxsvxs_required = false; jform_vvvvvxuvxs_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvxk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxm = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxk(add_php_view_vvvvvxk); vvvvvxm(add_php_view_vvvvvxm);
var add_php_jview_display_vvvvvxl = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxn = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxl(add_php_jview_display_vvvvvxl); vvvvvxn(add_php_jview_display_vvvvvxn);
var add_php_jview_vvvvvxm = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxo = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxm(add_php_jview_vvvvvxm); vvvvvxo(add_php_jview_vvvvvxo);
var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxp = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxn(add_php_document_vvvvvxn); vvvvvxp(add_php_document_vvvvvxp);
var add_css_document_vvvvvxo = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxq = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxo(add_css_document_vvvvvxo); vvvvvxq(add_css_document_vvvvvxq);
var add_js_document_vvvvvxp = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxr = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxp(add_js_document_vvvvvxp); vvvvvxr(add_js_document_vvvvvxr);
var add_css_vvvvvxq = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxs = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxq(add_css_vvvvvxq); vvvvvxs(add_css_vvvvvxs);
var add_php_ajax_vvvvvxr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxt = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxr(add_php_ajax_vvvvvxr); vvvvvxt(add_php_ajax_vvvvvxt);
var add_custom_button_vvvvvxs = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxu = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxs(add_custom_button_vvvvvxs); vvvvvxu(add_custom_button_vvvvvxu);
}); });
// the vvvvvxk function // the vvvvvxm function
function vvvvvxk(add_php_view_vvvvvxk) function vvvvvxm(add_php_view_vvvvvxm)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvxk == 1) if (add_php_view_vvvvvxm == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxkvxj_required) if (jform_vvvvvxmvxj_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvxkvxj_required = false; jform_vvvvvxmvxj_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxkvxj_required) if (!jform_vvvvvxmvxj_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxkvxj_required = true; jform_vvvvvxmvxj_required = true;
} }
} }
} }
// the vvvvvxl function // the vvvvvxn function
function vvvvvxl(add_php_jview_display_vvvvvxl) function vvvvvxn(add_php_jview_display_vvvvvxn)
{ {
// set the function logic // 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(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvxlvxk_required) if (jform_vvvvvxnvxk_required)
{ {
updateFieldRequired('php_jview_display',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvxlvxk_required = false; jform_vvvvvxnvxk_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview_display').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvxlvxk_required) if (!jform_vvvvvxnvxk_required)
{ {
updateFieldRequired('php_jview_display',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvxlvxk_required = true; jform_vvvvvxnvxk_required = true;
} }
} }
} }
// the vvvvvxm function // the vvvvvxo function
function vvvvvxm(add_php_jview_vvvvvxm) function vvvvvxo(add_php_jview_vvvvvxo)
{ {
// set the function logic // set the function logic
if (add_php_jview_vvvvvxm == 1) if (add_php_jview_vvvvvxo == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvxmvxl_required) if (jform_vvvvvxovxl_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvxmvxl_required = false; jform_vvvvvxovxl_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvxmvxl_required) if (!jform_vvvvvxovxl_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvxmvxl_required = true; jform_vvvvvxovxl_required = true;
} }
} }
} }
// the vvvvvxn function // the vvvvvxp function
function vvvvvxn(add_php_document_vvvvvxn) function vvvvvxp(add_php_document_vvvvvxp)
{ {
// set the function logic // set the function logic
if (add_php_document_vvvvvxn == 1) if (add_php_document_vvvvvxp == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvxnvxm_required) if (jform_vvvvvxpvxm_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvxnvxm_required = false; jform_vvvvvxpvxm_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvxnvxm_required) if (!jform_vvvvvxpvxm_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxnvxm_required = true; jform_vvvvvxpvxm_required = true;
} }
} }
} }
// the vvvvvxo function // the vvvvvxq function
function vvvvvxo(add_css_document_vvvvvxo) function vvvvvxq(add_css_document_vvvvvxq)
{ {
// set the function logic // set the function logic
if (add_css_document_vvvvvxo == 1) if (add_css_document_vvvvvxq == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvxovxn_required) if (jform_vvvvvxqvxn_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvxovxn_required = false; jform_vvvvvxqvxn_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvxovxn_required) if (!jform_vvvvvxqvxn_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvxovxn_required = true; jform_vvvvvxqvxn_required = true;
} }
} }
} }
// the vvvvvxp function // the vvvvvxr function
function vvvvvxp(add_js_document_vvvvvxp) function vvvvvxr(add_js_document_vvvvvxr)
{ {
// set the function logic // set the function logic
if (add_js_document_vvvvvxp == 1) if (add_js_document_vvvvvxr == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvxpvxo_required) if (jform_vvvvvxrvxo_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_js_document').addClass('required');
jform_vvvvvxpvxo_required = false; jform_vvvvvxrvxo_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvxpvxo_required) if (!jform_vvvvvxrvxo_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_js_document').removeClass('required');
jform_vvvvvxpvxo_required = true; jform_vvvvvxrvxo_required = true;
} }
} }
} }
// the vvvvvxq function // the vvvvvxs function
function vvvvvxq(add_css_vvvvvxq) function vvvvvxs(add_css_vvvvvxs)
{ {
// set the function logic // set the function logic
if (add_css_vvvvvxq == 1) if (add_css_vvvvvxs == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvxqvxp_required) if (jform_vvvvvxsvxp_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_css').addClass('required');
jform_vvvvvxqvxp_required = false; jform_vvvvvxsvxp_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvxqvxp_required) if (!jform_vvvvvxsvxp_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_css').removeClass('required');
jform_vvvvvxqvxp_required = true; jform_vvvvvxsvxp_required = true;
} }
} }
} }
// the vvvvvxr function // the vvvvvxt function
function vvvvvxr(add_php_ajax_vvvvvxr) function vvvvvxt(add_php_ajax_vvvvvxt)
{ {
// set the function logic // 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_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvxrvxq_required) if (jform_vvvvvxtvxq_required)
{ {
updateFieldRequired('php_ajaxmethod',0); updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required'); 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_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvxrvxq_required) if (!jform_vvvvvxtvxq_required)
{ {
updateFieldRequired('php_ajaxmethod',1); updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required'); jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvxrvxq_required = true; jform_vvvvvxtvxq_required = true;
} }
} }
} }
// the vvvvvxs function // the vvvvvxu function
function vvvvvxs(add_custom_button_vvvvvxs) function vvvvvxu(add_custom_button_vvvvvxu)
{ {
// set the function logic // 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_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvxsvxr_required) if (jform_vvvvvxuvxr_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvxsvxr_required = false; jform_vvvvvxuvxr_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvxsvxs_required) if (jform_vvvvvxuvxs_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); 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_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvxsvxr_required) if (!jform_vvvvvxuvxr_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvxsvxr_required = true; jform_vvvvvxuvxr_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvxsvxs_required) if (!jform_vvvvvxuvxs_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvxsvxs_required = true; jform_vvvvvxuvxs_required = true;
} }
} }
} }

View File

@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvxtvxt_required = false; jform_vvvvvxvvxt_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
{ {
var add_php_view_vvvvvxt = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxv = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxt(add_php_view_vvvvvxt); vvvvvxv(add_php_view_vvvvvxv);
}); });
// the vvvvvxt function // the vvvvvxv function
function vvvvvxt(add_php_view_vvvvvxt) function vvvvvxv(add_php_view_vvvvvxv)
{ {
// set the function logic // set the function logic
if (add_php_view_vvvvvxt == 1) if (add_php_view_vvvvvxv == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvxtvxt_required) if (jform_vvvvvxvvxt_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvxtvxt_required = false; jform_vvvvvxvvxt_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvxtvxt_required) if (!jform_vvvvvxvvxt_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvxtvxt_required = true; jform_vvvvvxvvxt_required = true;
} }
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -153,307 +153,273 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_css_view listeners for add_css_view_vvvvvwg function // #jform_add_css_view listeners for add_css_view_vvvvvwi function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvvwg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvwi = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvwg(add_css_view_vvvvvwg); vvvvvwi(add_css_view_vvvvvwi);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_view_vvvvvwg = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvwi = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvwg(add_css_view_vvvvvwg); vvvvvwi(add_css_view_vvvvvwi);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvvwh function // #jform_add_css_views listeners for add_css_views_vvvvvwj function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvvwh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvwj = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvwh(add_css_views_vvvvvwh); vvvvvwj(add_css_views_vvvvvwj);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_views_vvvvvwh = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvwj = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvwh(add_css_views_vvvvvwh); vvvvvwj(add_css_views_vvvvvwj);
}); });
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvwi function // #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvwk function
jQuery('#jform_add_javascript_view_file').on('keyup',function() jQuery('#jform_add_javascript_view_file').on('keyup',function()
{ {
var add_javascript_view_file_vvvvvwi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvwk = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvwi(add_javascript_view_file_vvvvvwi); vvvvvwk(add_javascript_view_file_vvvvvwk);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_view_file_vvvvvwi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); var add_javascript_view_file_vvvvvwk = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvwi(add_javascript_view_file_vvvvvwi); vvvvvwk(add_javascript_view_file_vvvvvwk);
}); });
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvwj function // #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvwl function
jQuery('#jform_add_javascript_views_file').on('keyup',function() jQuery('#jform_add_javascript_views_file').on('keyup',function()
{ {
var add_javascript_views_file_vvvvvwj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvwl = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvwj(add_javascript_views_file_vvvvvwj); vvvvvwl(add_javascript_views_file_vvvvvwl);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_views_file_vvvvvwj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); var add_javascript_views_file_vvvvvwl = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvwj(add_javascript_views_file_vvvvvwj); vvvvvwl(add_javascript_views_file_vvvvvwl);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvwk function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvwm function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvvwk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvwm = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvwk(add_javascript_view_footer_vvvvvwk); vvvvvwm(add_javascript_view_footer_vvvvvwm);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_view_footer_vvvvvwk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvwm = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvwk(add_javascript_view_footer_vvvvvwk); vvvvvwm(add_javascript_view_footer_vvvvvwm);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvwl function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvwn function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvvwl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvwn = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvwl(add_javascript_views_footer_vvvvvwl); vvvvvwn(add_javascript_views_footer_vvvvvwn);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_views_footer_vvvvvwl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvwn = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvwl(add_javascript_views_footer_vvvvvwl); vvvvvwn(add_javascript_views_footer_vvvvvwn);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvwm function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvwo function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvwm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvwo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvwm(add_php_ajax_vvvvvwm); vvvvvwo(add_php_ajax_vvvvvwo);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_ajax_vvvvvwm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvwo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvwm(add_php_ajax_vvvvvwm); vvvvvwo(add_php_ajax_vvvvvwo);
}); });
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvwn function // #jform_add_php_getitem listeners for add_php_getitem_vvvvvwp function
jQuery('#jform_add_php_getitem').on('keyup',function() jQuery('#jform_add_php_getitem').on('keyup',function()
{ {
var add_php_getitem_vvvvvwn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvwp = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvwn(add_php_getitem_vvvvvwn); vvvvvwp(add_php_getitem_vvvvvwp);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getitem_vvvvvwn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); var add_php_getitem_vvvvvwp = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvwn(add_php_getitem_vvvvvwn); vvvvvwp(add_php_getitem_vvvvvwp);
}); });
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvwo function // #jform_add_php_getitems listeners for add_php_getitems_vvvvvwq function
jQuery('#jform_add_php_getitems').on('keyup',function() jQuery('#jform_add_php_getitems').on('keyup',function()
{ {
var add_php_getitems_vvvvvwo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvwq = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvwo(add_php_getitems_vvvvvwo); vvvvvwq(add_php_getitems_vvvvvwq);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getitems_vvvvvwo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); var add_php_getitems_vvvvvwq = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvwo(add_php_getitems_vvvvvwo); vvvvvwq(add_php_getitems_vvvvvwq);
}); });
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvwp function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvwr function
jQuery('#jform_add_php_getlistquery').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
var add_php_getlistquery_vvvvvwp = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvwr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvwp(add_php_getlistquery_vvvvvwp); vvvvvwr(add_php_getlistquery_vvvvvwr);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_getlistquery_vvvvvwp = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); var add_php_getlistquery_vvvvvwr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvwp(add_php_getlistquery_vvvvvwp); vvvvvwr(add_php_getlistquery_vvvvvwr);
}); });
// #jform_add_php_save listeners for add_php_save_vvvvvwq function // #jform_add_php_save listeners for add_php_save_vvvvvws function
jQuery('#jform_add_php_save').on('keyup',function() jQuery('#jform_add_php_save').on('keyup',function()
{ {
var add_php_save_vvvvvwq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvws = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvwq(add_php_save_vvvvvwq); vvvvvws(add_php_save_vvvvvws);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e) jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_save_vvvvvwq = jQuery("#jform_add_php_save input[type='radio']:checked").val(); var add_php_save_vvvvvws = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvwq(add_php_save_vvvvvwq); vvvvvws(add_php_save_vvvvvws);
}); });
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvwr function // #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvwt function
jQuery('#jform_add_php_postsavehook').on('keyup',function() jQuery('#jform_add_php_postsavehook').on('keyup',function()
{ {
var add_php_postsavehook_vvvvvwr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvwt = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvwr(add_php_postsavehook_vvvvvwr); vvvvvwt(add_php_postsavehook_vvvvvwt);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e) jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_postsavehook_vvvvvwr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); var add_php_postsavehook_vvvvvwt = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvwr(add_php_postsavehook_vvvvvwr); vvvvvwt(add_php_postsavehook_vvvvvwt);
}); });
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvws function // #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvwu function
jQuery('#jform_add_php_allowedit').on('keyup',function() jQuery('#jform_add_php_allowedit').on('keyup',function()
{ {
var add_php_allowedit_vvvvvws = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvwu = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvws(add_php_allowedit_vvvvvws); vvvvvwu(add_php_allowedit_vvvvvwu);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e) jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_allowedit_vvvvvws = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); var add_php_allowedit_vvvvvwu = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvws(add_php_allowedit_vvvvvws); vvvvvwu(add_php_allowedit_vvvvvwu);
}); });
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvwt function // #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvwv function
jQuery('#jform_add_php_batchcopy').on('keyup',function() jQuery('#jform_add_php_batchcopy').on('keyup',function()
{ {
var add_php_batchcopy_vvvvvwt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvwv = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvwt(add_php_batchcopy_vvvvvwt); vvvvvwv(add_php_batchcopy_vvvvvwv);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e) jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_batchcopy_vvvvvwt = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); var add_php_batchcopy_vvvvvwv = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvwt(add_php_batchcopy_vvvvvwt); vvvvvwv(add_php_batchcopy_vvvvvwv);
}); });
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvwu function // #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvww function
jQuery('#jform_add_php_batchmove').on('keyup',function() jQuery('#jform_add_php_batchmove').on('keyup',function()
{ {
var add_php_batchmove_vvvvvwu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvww = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvwu(add_php_batchmove_vvvvvwu); vvvvvww(add_php_batchmove_vvvvvww);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_batchmove_vvvvvwu = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); var add_php_batchmove_vvvvvww = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvwu(add_php_batchmove_vvvvvwu); vvvvvww(add_php_batchmove_vvvvvww);
}); });
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvwv function // #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvwx function
jQuery('#jform_add_php_before_delete').on('keyup',function() jQuery('#jform_add_php_before_delete').on('keyup',function()
{ {
var add_php_before_delete_vvvvvwv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvwx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvwv(add_php_before_delete_vvvvvwv); vvvvvwx(add_php_before_delete_vvvvvwx);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_delete_vvvvvwv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); var add_php_before_delete_vvvvvwx = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvwv(add_php_before_delete_vvvvvwv); vvvvvwx(add_php_before_delete_vvvvvwx);
}); });
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvww function // #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvwy function
jQuery('#jform_add_php_after_delete').on('keyup',function() jQuery('#jform_add_php_after_delete').on('keyup',function()
{ {
var add_php_after_delete_vvvvvww = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvwy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvww(add_php_after_delete_vvvvvww); vvvvvwy(add_php_after_delete_vvvvvwy);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_delete_vvvvvww = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); var add_php_after_delete_vvvvvwy = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvww(add_php_after_delete_vvvvvww); vvvvvwy(add_php_after_delete_vvvvvwy);
}); });
// #jform_add_sql listeners for add_sql_vvvvvwx function // #jform_add_sql listeners for add_sql_vvvvvwz function
jQuery('#jform_add_sql').on('keyup',function() jQuery('#jform_add_sql').on('keyup',function()
{ {
var add_sql_vvvvvwx = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvwz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvwx(add_sql_vvvvvwx); vvvvvwz(add_sql_vvvvvwz);
}); });
jQuery('#adminForm').on('change', '#jform_add_sql',function (e) jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_sql_vvvvvwx = jQuery("#jform_add_sql input[type='radio']:checked").val(); var add_sql_vvvvvwz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvwx(add_sql_vvvvvwx); vvvvvwz(add_sql_vvvvvwz);
});
// #jform_source listeners for source_vvvvvwy function
jQuery('#jform_source').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
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);
});
// #jform_add_sql listeners for add_sql_vvvvvwy function
jQuery('#jform_add_sql').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
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);
}); });
@ -491,6 +457,40 @@ jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
}); });
// #jform_source listeners for source_vvvvvxc function
jQuery('#jform_source').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
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);
});
// #jform_add_sql listeners for add_sql_vvvvvxc function
jQuery('#jform_add_sql').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
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);
});
<?php $fieldNrs = range(1,500,1); ?> <?php $fieldNrs = range(1,500,1); ?>
jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) { jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) {

View File

@ -108,6 +108,16 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?> <?php endif; ?>
<?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'ftp_servers', JText::_('COM_COMPONENTBUILDER_COMPONENT_FTP_SERVERS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('component.ftp_servers_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?> <?php if ($this->canDo->get('core.delete') || $this->canDo->get('core.edit.created_by') || $this->canDo->get('core.edit.state') || $this->canDo->get('core.edit.created')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_COMPONENT_PUBLISHING', true)); ?> <?php echo JHtml::_('bootstrap.addTab', 'componentTab', 'publishing', JText::_('COM_COMPONENTBUILDER_COMPONENT_PUBLISHING', true)); ?>
<div class="row-fluid form-horizontal-desktop"> <div class="row-fluid form-horizontal-desktop">
@ -270,33 +280,63 @@ jQuery('#adminForm').on('change', '#jform_addreadme',function (e)
}); });
// #jform_add_license listeners for add_license_vvvvvwe function // #jform_add_update_server listeners for add_update_server_vvvvvwe function
jQuery('#jform_add_update_server').on('keyup',function()
{
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwe(add_update_server_vvvvvwe);
});
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
{
e.preventDefault();
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwe(add_update_server_vvvvvwe);
});
// #jform_add_sales_server listeners for add_sales_server_vvvvvwf function
jQuery('#jform_add_sales_server').on('keyup',function()
{
var add_sales_server_vvvvvwf = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
vvvvvwf(add_sales_server_vvvvvwf);
});
jQuery('#adminForm').on('change', '#jform_add_sales_server',function (e)
{
e.preventDefault();
var add_sales_server_vvvvvwf = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
vvvvvwf(add_sales_server_vvvvvwf);
});
// #jform_add_license listeners for add_license_vvvvvwg function
jQuery('#jform_add_license').on('keyup',function() jQuery('#jform_add_license').on('keyup',function()
{ {
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val(); var add_license_vvvvvwg = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwe(add_license_vvvvvwe); vvvvvwg(add_license_vvvvvwg);
}); });
jQuery('#adminForm').on('change', '#jform_add_license',function (e) jQuery('#adminForm').on('change', '#jform_add_license',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val(); var add_license_vvvvvwg = jQuery("#jform_add_license input[type='radio']:checked").val();
vvvvvwe(add_license_vvvvvwe); vvvvvwg(add_license_vvvvvwg);
}); });
// #jform_add_php_dashboard_methods listeners for add_php_dashboard_methods_vvvvvwf function // #jform_add_php_dashboard_methods listeners for add_php_dashboard_methods_vvvvvwh function
jQuery('#jform_add_php_dashboard_methods').on('keyup',function() jQuery('#jform_add_php_dashboard_methods').on('keyup',function()
{ {
var add_php_dashboard_methods_vvvvvwf = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); var add_php_dashboard_methods_vvvvvwh = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val();
vvvvvwf(add_php_dashboard_methods_vvvvvwf); vvvvvwh(add_php_dashboard_methods_vvvvvwh);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_dashboard_methods',function (e) jQuery('#adminForm').on('change', '#jform_add_php_dashboard_methods',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_dashboard_methods_vvvvvwf = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val(); var add_php_dashboard_methods_vvvvvwh = jQuery("#jform_add_php_dashboard_methods input[type='radio']:checked").val();
vvvvvwf(add_php_dashboard_methods_vvvvvwf); vvvvvwh(add_php_dashboard_methods_vvvvvwh);
}); });

View File

@ -128,123 +128,123 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvxc function // #jform_add_php_view listeners for add_php_view_vvvvvxe function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvxc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxe = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxc(add_php_view_vvvvvxc); vvvvvxe(add_php_view_vvvvvxe);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvxc = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxe = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxc(add_php_view_vvvvvxc); vvvvvxe(add_php_view_vvvvvxe);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxd function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxf function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvxd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxd(add_php_jview_display_vvvvvxd); vvvvvxf(add_php_jview_display_vvvvvxf);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_display_vvvvvxd = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxd(add_php_jview_display_vvvvvxd); vvvvvxf(add_php_jview_display_vvvvvxf);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvxe function // #jform_add_php_jview listeners for add_php_jview_vvvvvxg function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvxe = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxe(add_php_jview_vvvvvxe); vvvvvxg(add_php_jview_vvvvvxg);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_vvvvvxe = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxe(add_php_jview_vvvvvxe); vvvvvxg(add_php_jview_vvvvvxg);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvxf function // #jform_add_php_document listeners for add_php_document_vvvvvxh function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvxf = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxf(add_php_document_vvvvvxf); vvvvvxh(add_php_document_vvvvvxh);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_document_vvvvvxf = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxf(add_php_document_vvvvvxf); vvvvvxh(add_php_document_vvvvvxh);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvxg function // #jform_add_css_document listeners for add_css_document_vvvvvxi function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvxg = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxg(add_css_document_vvvvvxg); vvvvvxi(add_css_document_vvvvvxi);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_document_vvvvvxg = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxg(add_css_document_vvvvvxg); vvvvvxi(add_css_document_vvvvvxi);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvxh function // #jform_add_js_document listeners for add_js_document_vvvvvxj function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvxh = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxh(add_js_document_vvvvvxh); vvvvvxj(add_js_document_vvvvvxj);
}); });
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_js_document_vvvvvxh = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxh(add_js_document_vvvvvxh); vvvvvxj(add_js_document_vvvvvxj);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvxi function // #jform_add_custom_button listeners for add_custom_button_vvvvvxk function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvxi = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxk = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxi(add_custom_button_vvvvvxi); vvvvvxk(add_custom_button_vvvvvxk);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_button_vvvvvxi = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxk = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxi(add_custom_button_vvvvvxi); vvvvvxk(add_custom_button_vvvvvxk);
}); });
// #jform_add_css listeners for add_css_vvvvvxj function // #jform_add_css listeners for add_css_vvvvvxl function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvxj = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxj(add_css_vvvvvxj); vvvvvxl(add_css_vvvvvxl);
}); });
jQuery('#adminForm').on('change', '#jform_add_css',function (e) jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_vvvvvxj = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxl = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxj(add_css_vvvvvxj); vvvvvxl(add_css_vvvvvxl);
}); });

View File

@ -126,48 +126,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvxv function // #jform_gettype listeners for gettype_vvvvvxx function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvxv = jQuery("#jform_gettype").val(); var gettype_vvvvvxx = jQuery("#jform_gettype").val();
vvvvvxv(gettype_vvvvvxv); vvvvvxx(gettype_vvvvvxx);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvxv = jQuery("#jform_gettype").val(); var gettype_vvvvvxx = jQuery("#jform_gettype").val();
vvvvvxv(gettype_vvvvvxv); vvvvvxx(gettype_vvvvvxx);
});
// #jform_main_source listeners for main_source_vvvvvxw function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvxw = jQuery("#jform_main_source").val();
vvvvvxw(main_source_vvvvvxw);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvxw = jQuery("#jform_main_source").val();
vvvvvxw(main_source_vvvvvxw);
});
// #jform_main_source listeners for main_source_vvvvvxx function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvxx = jQuery("#jform_main_source").val();
vvvvvxx(main_source_vvvvvxx);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvxx = jQuery("#jform_main_source").val();
vvvvvxx(main_source_vvvvvxx);
}); });
@ -201,52 +171,33 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
}); });
// #jform_addcalculation listeners for addcalculation_vvvvvya function // #jform_main_source listeners for main_source_vvvvvya function
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var addcalculation_vvvvvya = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvya = jQuery("#jform_main_source").val();
vvvvvya(addcalculation_vvvvvya); vvvvvya(main_source_vvvvvya);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvya = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvya = jQuery("#jform_main_source").val();
vvvvvya(addcalculation_vvvvvya); vvvvvya(main_source_vvvvvya);
}); });
// #jform_addcalculation listeners for addcalculation_vvvvvyb function // #jform_main_source listeners for main_source_vvvvvyb function
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var addcalculation_vvvvvyb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvyb = jQuery("#jform_main_source").val();
var gettype_vvvvvyb = jQuery("#jform_gettype").val(); vvvvvyb(main_source_vvvvvyb);
vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvyb = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var main_source_vvvvvyb = jQuery("#jform_main_source").val();
var gettype_vvvvvyb = jQuery("#jform_gettype").val(); vvvvvyb(main_source_vvvvvyb);
vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb);
});
// #jform_gettype listeners for gettype_vvvvvyb function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvyb = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyb = jQuery("#jform_gettype").val();
vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvyb = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyb = jQuery("#jform_gettype").val();
vvvvvyb(addcalculation_vvvvvyb,gettype_vvvvvyb);
}); });
@ -254,278 +205,327 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
jQuery('#jform_addcalculation').on('keyup',function() jQuery('#jform_addcalculation').on('keyup',function()
{ {
var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyc = jQuery("#jform_gettype").val(); vvvvvyc(addcalculation_vvvvvyc);
vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc);
}); });
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyc = jQuery("#jform_gettype").val(); vvvvvyc(addcalculation_vvvvvyc);
vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc);
}); });
// #jform_gettype listeners for gettype_vvvvvyc function // #jform_addcalculation listeners for addcalculation_vvvvvyd function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvyd = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyd = jQuery("#jform_gettype").val();
vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvyd = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyd = jQuery("#jform_gettype").val();
vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd);
});
// #jform_gettype listeners for gettype_vvvvvyd function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyd = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyc = jQuery("#jform_gettype").val(); var gettype_vvvvvyd = jQuery("#jform_gettype").val();
vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc); vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var addcalculation_vvvvvyc = jQuery("#jform_addcalculation input[type='radio']:checked").val(); var addcalculation_vvvvvyd = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvyc = jQuery("#jform_gettype").val(); var gettype_vvvvvyd = jQuery("#jform_gettype").val();
vvvvvyc(addcalculation_vvvvvyc,gettype_vvvvvyc); vvvvvyd(addcalculation_vvvvvyd,gettype_vvvvvyd);
}); });
// #jform_main_source listeners for main_source_vvvvvyf function // #jform_addcalculation listeners for addcalculation_vvvvvye function
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvye = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvye = jQuery("#jform_gettype").val();
vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvye = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvye = jQuery("#jform_gettype").val();
vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye);
});
// #jform_gettype listeners for gettype_vvvvvye function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvye = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvye = jQuery("#jform_gettype").val();
vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvye = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvye = jQuery("#jform_gettype").val();
vvvvvye(addcalculation_vvvvvye,gettype_vvvvvye);
});
// #jform_main_source listeners for main_source_vvvvvyh function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var main_source_vvvvvyf = jQuery("#jform_main_source").val(); var main_source_vvvvvyh = jQuery("#jform_main_source").val();
vvvvvyf(main_source_vvvvvyf); vvvvvyh(main_source_vvvvvyh);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvyf = jQuery("#jform_main_source").val(); var main_source_vvvvvyh = jQuery("#jform_main_source").val();
vvvvvyf(main_source_vvvvvyf); vvvvvyh(main_source_vvvvvyh);
}); });
// #jform_main_source listeners for main_source_vvvvvyg function // #jform_main_source listeners for main_source_vvvvvyi function
jQuery('#jform_main_source').on('keyup',function() jQuery('#jform_main_source').on('keyup',function()
{ {
var main_source_vvvvvyg = jQuery("#jform_main_source").val(); var main_source_vvvvvyi = jQuery("#jform_main_source").val();
vvvvvyg(main_source_vvvvvyg); vvvvvyi(main_source_vvvvvyi);
}); });
jQuery('#adminForm').on('change', '#jform_main_source',function (e) jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{ {
e.preventDefault(); e.preventDefault();
var main_source_vvvvvyg = jQuery("#jform_main_source").val(); var main_source_vvvvvyi = jQuery("#jform_main_source").val();
vvvvvyg(main_source_vvvvvyg); vvvvvyi(main_source_vvvvvyi);
}); });
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvyh function // #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvyj function
jQuery('#jform_add_php_before_getitem').on('keyup',function() jQuery('#jform_add_php_before_getitem').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvyh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvyj = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvyh = jQuery("#jform_gettype").val(); var gettype_vvvvvyj = jQuery("#jform_gettype").val();
vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh); vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e) jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitem_vvvvvyh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvyj = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvyh = jQuery("#jform_gettype").val(); var gettype_vvvvvyj = jQuery("#jform_gettype").val();
vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh); vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj);
}); });
// #jform_gettype listeners for gettype_vvvvvyh function // #jform_gettype listeners for gettype_vvvvvyj function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitem_vvvvvyh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvyj = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvyh = jQuery("#jform_gettype").val(); var gettype_vvvvvyj = jQuery("#jform_gettype").val();
vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh); vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitem_vvvvvyh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); var add_php_before_getitem_vvvvvyj = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvyh = jQuery("#jform_gettype").val(); var gettype_vvvvvyj = jQuery("#jform_gettype").val();
vvvvvyh(add_php_before_getitem_vvvvvyh,gettype_vvvvvyh); vvvvvyj(add_php_before_getitem_vvvvvyj,gettype_vvvvvyj);
}); });
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvyi function // #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvyk function
jQuery('#jform_add_php_after_getitem').on('keyup',function() jQuery('#jform_add_php_after_getitem').on('keyup',function()
{ {
var add_php_after_getitem_vvvvvyi = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvyk = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvyi = jQuery("#jform_gettype").val(); var gettype_vvvvvyk = jQuery("#jform_gettype").val();
vvvvvyi(add_php_after_getitem_vvvvvyi,gettype_vvvvvyi); vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e) jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitem_vvvvvyi = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); var add_php_after_getitem_vvvvvyk = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvyi = jQuery("#jform_gettype").val(); var gettype_vvvvvyk = jQuery("#jform_gettype").val();
vvvvvyi(add_php_after_getitem_vvvvvyi,gettype_vvvvvyi); vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk);
});
// #jform_gettype listeners for gettype_vvvvvyi function
jQuery('#jform_gettype').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
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);
}); });
// #jform_gettype listeners for gettype_vvvvvyk function // #jform_gettype listeners for gettype_vvvvvyk function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitem_vvvvvyk = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvyk = jQuery("#jform_gettype").val(); var gettype_vvvvvyk = jQuery("#jform_gettype").val();
vvvvvyk(gettype_vvvvvyk); vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitem_vvvvvyk = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvyk = jQuery("#jform_gettype").val(); var gettype_vvvvvyk = jQuery("#jform_gettype").val();
vvvvvyk(gettype_vvvvvyk); vvvvvyk(add_php_after_getitem_vvvvvyk,gettype_vvvvvyk);
});
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvyl function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
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);
});
// #jform_gettype listeners for gettype_vvvvvyl function
jQuery('#jform_gettype').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
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);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvym function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{
e.preventDefault();
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);
}); });
// #jform_gettype listeners for gettype_vvvvvym function // #jform_gettype listeners for gettype_vvvvvym function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_before_getitems_vvvvvym = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvym = jQuery("#jform_gettype").val(); var gettype_vvvvvym = jQuery("#jform_gettype").val();
vvvvvym(add_php_before_getitems_vvvvvym,gettype_vvvvvym); vvvvvym(gettype_vvvvvym);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_before_getitems_vvvvvym = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvym = jQuery("#jform_gettype").val(); var gettype_vvvvvym = jQuery("#jform_gettype").val();
vvvvvym(add_php_before_getitems_vvvvvym,gettype_vvvvvym); vvvvvym(gettype_vvvvvym);
}); });
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvyn function // #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvyn function
jQuery('#jform_add_php_after_getitems').on('keyup',function() jQuery('#jform_add_php_getlistquery').on('keyup',function()
{ {
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(); var gettype_vvvvvyn = jQuery("#jform_gettype").val();
vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn); vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e) jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{ {
e.preventDefault(); e.preventDefault();
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(); var gettype_vvvvvyn = jQuery("#jform_gettype").val();
vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn); vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn);
}); });
// #jform_gettype listeners for gettype_vvvvvyn function // #jform_gettype listeners for gettype_vvvvvyn function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
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(); var gettype_vvvvvyn = jQuery("#jform_gettype").val();
vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn); vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
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(); var gettype_vvvvvyn = jQuery("#jform_gettype").val();
vvvvvyn(add_php_after_getitems_vvvvvyn,gettype_vvvvvyn); vvvvvyn(add_php_getlistquery_vvvvvyn,gettype_vvvvvyn);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvyo function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{
e.preventDefault();
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);
});
// #jform_gettype listeners for gettype_vvvvvyo function
jQuery('#jform_gettype').on('keyup',function()
{
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);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
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);
});
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvyp function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
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(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
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(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp);
}); });
// #jform_gettype listeners for gettype_vvvvvyp function // #jform_gettype listeners for gettype_vvvvvyp function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var add_php_after_getitems_vvvvvyp = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvyp = jQuery("#jform_gettype").val(); var gettype_vvvvvyp = jQuery("#jform_gettype").val();
vvvvvyp(gettype_vvvvvyp); vvvvvyp(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_after_getitems_vvvvvyp = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvyp = jQuery("#jform_gettype").val(); var gettype_vvvvvyp = jQuery("#jform_gettype").val();
vvvvvyp(gettype_vvvvvyp); vvvvvyp(add_php_after_getitems_vvvvvyp,gettype_vvvvvyp);
}); });
// #jform_gettype listeners for gettype_vvvvvyq function // #jform_gettype listeners for gettype_vvvvvyr function
jQuery('#jform_gettype').on('keyup',function() jQuery('#jform_gettype').on('keyup',function()
{ {
var gettype_vvvvvyq = jQuery("#jform_gettype").val(); var gettype_vvvvvyr = jQuery("#jform_gettype").val();
vvvvvyq(gettype_vvvvvyq); vvvvvyr(gettype_vvvvvyr);
}); });
jQuery('#adminForm').on('change', '#jform_gettype',function (e) jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var gettype_vvvvvyq = jQuery("#jform_gettype").val(); var gettype_vvvvvyr = jQuery("#jform_gettype").val();
vvvvvyq(gettype_vvvvvyq); vvvvvyr(gettype_vvvvvyr);
});
// #jform_gettype listeners for gettype_vvvvvys function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvys = jQuery("#jform_gettype").val();
vvvvvys(gettype_vvvvvys);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvys = jQuery("#jform_gettype").val();
vvvvvys(gettype_vvvvvys);
}); });

View File

@ -113,142 +113,142 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvvyr function // #jform_datalenght listeners for datalenght_vvvvvyt function
jQuery('#jform_datalenght').on('keyup',function() jQuery('#jform_datalenght').on('keyup',function()
{ {
var datalenght_vvvvvyr = jQuery("#jform_datalenght").val(); var datalenght_vvvvvyt = jQuery("#jform_datalenght").val();
vvvvvyr(datalenght_vvvvvyr); vvvvvyt(datalenght_vvvvvyt);
}); });
jQuery('#adminForm').on('change', '#jform_datalenght',function (e) jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datalenght_vvvvvyr = jQuery("#jform_datalenght").val(); var datalenght_vvvvvyt = jQuery("#jform_datalenght").val();
vvvvvyr(datalenght_vvvvvyr); vvvvvyt(datalenght_vvvvvyt);
}); });
// #jform_datadefault listeners for datadefault_vvvvvys function // #jform_datadefault listeners for datadefault_vvvvvyu function
jQuery('#jform_datadefault').on('keyup',function() jQuery('#jform_datadefault').on('keyup',function()
{ {
var datadefault_vvvvvys = jQuery("#jform_datadefault").val(); var datadefault_vvvvvyu = jQuery("#jform_datadefault").val();
vvvvvys(datadefault_vvvvvys); vvvvvyu(datadefault_vvvvvyu);
}); });
jQuery('#adminForm').on('change', '#jform_datadefault',function (e) jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datadefault_vvvvvys = jQuery("#jform_datadefault").val(); var datadefault_vvvvvyu = jQuery("#jform_datadefault").val();
vvvvvys(datadefault_vvvvvys); vvvvvyu(datadefault_vvvvvyu);
}); });
// #jform_datatype listeners for datatype_vvvvvyt function // #jform_datatype listeners for datatype_vvvvvyv function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var datatype_vvvvvyt = jQuery("#jform_datatype").val(); var datatype_vvvvvyv = jQuery("#jform_datatype").val();
vvvvvyt(datatype_vvvvvyt); vvvvvyv(datatype_vvvvvyv);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var datatype_vvvvvyt = jQuery("#jform_datatype").val(); var datatype_vvvvvyv = jQuery("#jform_datatype").val();
vvvvvyt(datatype_vvvvvyt); vvvvvyv(datatype_vvvvvyv);
}); });
// #jform_store listeners for store_vvvvvyu function // #jform_store listeners for store_vvvvvyw function
jQuery('#jform_store').on('keyup',function() jQuery('#jform_store').on('keyup',function()
{ {
var store_vvvvvyu = jQuery("#jform_store").val(); var store_vvvvvyw = jQuery("#jform_store").val();
var datatype_vvvvvyu = jQuery("#jform_datatype").val(); var datatype_vvvvvyw = jQuery("#jform_datatype").val();
vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); vvvvvyw(store_vvvvvyw,datatype_vvvvvyw);
}); });
jQuery('#adminForm').on('change', '#jform_store',function (e) jQuery('#adminForm').on('change', '#jform_store',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvvyu = jQuery("#jform_store").val(); var store_vvvvvyw = jQuery("#jform_store").val();
var datatype_vvvvvyu = jQuery("#jform_datatype").val(); var datatype_vvvvvyw = jQuery("#jform_datatype").val();
vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); vvvvvyw(store_vvvvvyw,datatype_vvvvvyw);
}); });
// #jform_datatype listeners for datatype_vvvvvyu function // #jform_datatype listeners for datatype_vvvvvyw function
jQuery('#jform_datatype').on('keyup',function() jQuery('#jform_datatype').on('keyup',function()
{ {
var store_vvvvvyu = jQuery("#jform_store").val(); var store_vvvvvyw = jQuery("#jform_store").val();
var datatype_vvvvvyu = jQuery("#jform_datatype").val(); var datatype_vvvvvyw = jQuery("#jform_datatype").val();
vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); vvvvvyw(store_vvvvvyw,datatype_vvvvvyw);
}); });
jQuery('#adminForm').on('change', '#jform_datatype',function (e) jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{ {
e.preventDefault(); e.preventDefault();
var store_vvvvvyu = jQuery("#jform_store").val(); var store_vvvvvyw = jQuery("#jform_store").val();
var datatype_vvvvvyu = jQuery("#jform_datatype").val(); var datatype_vvvvvyw = jQuery("#jform_datatype").val();
vvvvvyu(store_vvvvvyu,datatype_vvvvvyu); vvvvvyw(store_vvvvvyw,datatype_vvvvvyw);
}); });
// #jform_add_css_view listeners for add_css_view_vvvvvyw function // #jform_add_css_view listeners for add_css_view_vvvvvyy function
jQuery('#jform_add_css_view').on('keyup',function() jQuery('#jform_add_css_view').on('keyup',function()
{ {
var add_css_view_vvvvvyw = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvyy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvyw(add_css_view_vvvvvyw); vvvvvyy(add_css_view_vvvvvyy);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_view_vvvvvyw = jQuery("#jform_add_css_view input[type='radio']:checked").val(); var add_css_view_vvvvvyy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvyw(add_css_view_vvvvvyw); vvvvvyy(add_css_view_vvvvvyy);
}); });
// #jform_add_css_views listeners for add_css_views_vvvvvyx function // #jform_add_css_views listeners for add_css_views_vvvvvyz function
jQuery('#jform_add_css_views').on('keyup',function() jQuery('#jform_add_css_views').on('keyup',function()
{ {
var add_css_views_vvvvvyx = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvyz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvyx(add_css_views_vvvvvyx); vvvvvyz(add_css_views_vvvvvyz);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_views_vvvvvyx = jQuery("#jform_add_css_views input[type='radio']:checked").val(); var add_css_views_vvvvvyz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvyx(add_css_views_vvvvvyx); vvvvvyz(add_css_views_vvvvvyz);
}); });
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvyy function // #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvza function
jQuery('#jform_add_javascript_view_footer').on('keyup',function() jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{ {
var add_javascript_view_footer_vvvvvyy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvza = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvyy(add_javascript_view_footer_vvvvvyy); vvvvvza(add_javascript_view_footer_vvvvvza);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_view_footer_vvvvvyy = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); var add_javascript_view_footer_vvvvvza = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvyy(add_javascript_view_footer_vvvvvyy); vvvvvza(add_javascript_view_footer_vvvvvza);
}); });
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvyz function // #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvzb function
jQuery('#jform_add_javascript_views_footer').on('keyup',function() jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{ {
var add_javascript_views_footer_vvvvvyz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvzb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvyz(add_javascript_views_footer_vvvvvyz); vvvvvzb(add_javascript_views_footer_vvvvvzb);
}); });
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_javascript_views_footer_vvvvvyz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); var add_javascript_views_footer_vvvvvzb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvyz(add_javascript_views_footer_vvvvvyz); vvvvvzb(add_javascript_views_footer_vvvvvzb);
}); });

View File

@ -103,63 +103,33 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_location listeners for location_vvvvvza function // #jform_location listeners for location_vvvvvzc function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_vvvvvza = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzc = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvza(location_vvvvvza); vvvvvzc(location_vvvvvzc);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_vvvvvza = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzc = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvza(location_vvvvvza); vvvvvzc(location_vvvvvzc);
}); });
// #jform_location listeners for location_vvvvvzb function // #jform_location listeners for location_vvvvvzd function
jQuery('#jform_location').on('keyup',function() jQuery('#jform_location').on('keyup',function()
{ {
var location_vvvvvzb = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzd = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzb(location_vvvvvzb); vvvvvzd(location_vvvvvzd);
}); });
jQuery('#adminForm').on('change', '#jform_location',function (e) jQuery('#adminForm').on('change', '#jform_location',function (e)
{ {
e.preventDefault(); e.preventDefault();
var location_vvvvvzb = jQuery("#jform_location input[type='radio']:checked").val(); var location_vvvvvzd = jQuery("#jform_location input[type='radio']:checked").val();
vvvvvzb(location_vvvvvzb); vvvvvzd(location_vvvvvzd);
});
// #jform_type listeners for type_vvvvvzc function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvvzc = jQuery("#jform_type").val();
vvvvvzc(type_vvvvvzc);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvvzc = jQuery("#jform_type").val();
vvvvvzc(type_vvvvvzc);
});
// #jform_type listeners for type_vvvvvzd function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvvzd = jQuery("#jform_type").val();
vvvvvzd(type_vvvvvzd);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvvzd = jQuery("#jform_type").val();
vvvvvzd(type_vvvvvzd);
}); });
@ -178,18 +148,48 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
}); });
// #jform_target listeners for target_vvvvvzf function // #jform_type listeners for type_vvvvvzf function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvvzf = jQuery("#jform_type").val();
vvvvvzf(type_vvvvvzf);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvvzf = jQuery("#jform_type").val();
vvvvvzf(type_vvvvvzf);
});
// #jform_type listeners for type_vvvvvzg function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvvzg = jQuery("#jform_type").val();
vvvvvzg(type_vvvvvzg);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvvzg = jQuery("#jform_type").val();
vvvvvzg(type_vvvvvzg);
});
// #jform_target listeners for target_vvvvvzh function
jQuery('#jform_target').on('keyup',function() jQuery('#jform_target').on('keyup',function()
{ {
var target_vvvvvzf = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvvzh = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzf(target_vvvvvzf); vvvvvzh(target_vvvvvzh);
}); });
jQuery('#adminForm').on('change', '#jform_target',function (e) jQuery('#adminForm').on('change', '#jform_target',function (e)
{ {
e.preventDefault(); e.preventDefault();
var target_vvvvvzf = jQuery("#jform_target input[type='radio']:checked").val(); var target_vvvvvzh = jQuery("#jform_target input[type='radio']:checked").val();
vvvvvzf(target_vvvvvzf); vvvvvzh(target_vvvvvzh);
}); });

View File

@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvxu function // #jform_add_php_view listeners for add_php_view_vvvvvxw function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvxu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxu(add_php_view_vvvvvxu); vvvvvxw(add_php_view_vvvvvxw);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvxu = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxw = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxu(add_php_view_vvvvvxu); vvvvvxw(add_php_view_vvvvvxw);
}); });

View File

@ -135,138 +135,138 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvxk function // #jform_add_php_view listeners for add_php_view_vvvvvxm function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvxk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxm = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxk(add_php_view_vvvvvxk); vvvvvxm(add_php_view_vvvvvxm);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvxk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxm = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxk(add_php_view_vvvvvxk); vvvvvxm(add_php_view_vvvvvxm);
}); });
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxl function // #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvxn function
jQuery('#jform_add_php_jview_display').on('keyup',function() jQuery('#jform_add_php_jview_display').on('keyup',function()
{ {
var add_php_jview_display_vvvvvxl = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxn = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxl(add_php_jview_display_vvvvvxl); vvvvvxn(add_php_jview_display_vvvvvxn);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_display_vvvvvxl = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); var add_php_jview_display_vvvvvxn = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvxl(add_php_jview_display_vvvvvxl); vvvvvxn(add_php_jview_display_vvvvvxn);
}); });
// #jform_add_php_jview listeners for add_php_jview_vvvvvxm function // #jform_add_php_jview listeners for add_php_jview_vvvvvxo function
jQuery('#jform_add_php_jview').on('keyup',function() jQuery('#jform_add_php_jview').on('keyup',function()
{ {
var add_php_jview_vvvvvxm = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxo = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxm(add_php_jview_vvvvvxm); vvvvvxo(add_php_jview_vvvvvxo);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_jview_vvvvvxm = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); var add_php_jview_vvvvvxo = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvxm(add_php_jview_vvvvvxm); vvvvvxo(add_php_jview_vvvvvxo);
}); });
// #jform_add_php_document listeners for add_php_document_vvvvvxn function // #jform_add_php_document listeners for add_php_document_vvvvvxp function
jQuery('#jform_add_php_document').on('keyup',function() jQuery('#jform_add_php_document').on('keyup',function()
{ {
var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxp = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxn(add_php_document_vvvvvxn); vvvvvxp(add_php_document_vvvvvxp);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_document_vvvvvxn = jQuery("#jform_add_php_document input[type='radio']:checked").val(); var add_php_document_vvvvvxp = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxn(add_php_document_vvvvvxn); vvvvvxp(add_php_document_vvvvvxp);
}); });
// #jform_add_css_document listeners for add_css_document_vvvvvxo function // #jform_add_css_document listeners for add_css_document_vvvvvxq function
jQuery('#jform_add_css_document').on('keyup',function() jQuery('#jform_add_css_document').on('keyup',function()
{ {
var add_css_document_vvvvvxo = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxq = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxo(add_css_document_vvvvvxo); vvvvvxq(add_css_document_vvvvvxq);
}); });
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_document_vvvvvxo = jQuery("#jform_add_css_document input[type='radio']:checked").val(); var add_css_document_vvvvvxq = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvxo(add_css_document_vvvvvxo); vvvvvxq(add_css_document_vvvvvxq);
}); });
// #jform_add_js_document listeners for add_js_document_vvvvvxp function // #jform_add_js_document listeners for add_js_document_vvvvvxr function
jQuery('#jform_add_js_document').on('keyup',function() jQuery('#jform_add_js_document').on('keyup',function()
{ {
var add_js_document_vvvvvxp = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxr = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxp(add_js_document_vvvvvxp); vvvvvxr(add_js_document_vvvvvxr);
}); });
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_js_document_vvvvvxp = jQuery("#jform_add_js_document input[type='radio']:checked").val(); var add_js_document_vvvvvxr = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvxp(add_js_document_vvvvvxp); vvvvvxr(add_js_document_vvvvvxr);
}); });
// #jform_add_css listeners for add_css_vvvvvxq function // #jform_add_css listeners for add_css_vvvvvxs function
jQuery('#jform_add_css').on('keyup',function() jQuery('#jform_add_css').on('keyup',function()
{ {
var add_css_vvvvvxq = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxs = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxq(add_css_vvvvvxq); vvvvvxs(add_css_vvvvvxs);
}); });
jQuery('#adminForm').on('change', '#jform_add_css',function (e) jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_css_vvvvvxq = jQuery("#jform_add_css input[type='radio']:checked").val(); var add_css_vvvvvxs = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvxq(add_css_vvvvvxq); vvvvvxs(add_css_vvvvvxs);
}); });
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxr function // #jform_add_php_ajax listeners for add_php_ajax_vvvvvxt function
jQuery('#jform_add_php_ajax').on('keyup',function() jQuery('#jform_add_php_ajax').on('keyup',function()
{ {
var add_php_ajax_vvvvvxr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxt = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxr(add_php_ajax_vvvvvxr); vvvvvxt(add_php_ajax_vvvvvxt);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_ajax_vvvvvxr = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); var add_php_ajax_vvvvvxt = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxr(add_php_ajax_vvvvvxr); vvvvvxt(add_php_ajax_vvvvvxt);
}); });
// #jform_add_custom_button listeners for add_custom_button_vvvvvxs function // #jform_add_custom_button listeners for add_custom_button_vvvvvxu function
jQuery('#jform_add_custom_button').on('keyup',function() jQuery('#jform_add_custom_button').on('keyup',function()
{ {
var add_custom_button_vvvvvxs = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxu = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxs(add_custom_button_vvvvvxs); vvvvvxu(add_custom_button_vvvvvxu);
}); });
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_custom_button_vvvvvxs = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); var add_custom_button_vvvvvxu = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvxs(add_custom_button_vvvvvxs); vvvvvxu(add_custom_button_vvvvvxu);
}); });

View File

@ -114,18 +114,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript"> <script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvxt function // #jform_add_php_view listeners for add_php_view_vvvvvxv function
jQuery('#jform_add_php_view').on('keyup',function() jQuery('#jform_add_php_view').on('keyup',function()
{ {
var add_php_view_vvvvvxt = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxv = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxt(add_php_view_vvvvvxt); vvvvvxv(add_php_view_vvvvvxv);
}); });
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{ {
e.preventDefault(); e.preventDefault();
var add_php_view_vvvvvxt = jQuery("#jform_add_php_view input[type='radio']:checked").val(); var add_php_view_vvvvvxv = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvxt(add_php_view_vvvvvxt); vvvvvxv(add_php_view_vvvvvxv);
}); });

View File

@ -70,7 +70,6 @@
<menu>COM_COMPONENTBUILDER_MENU</menu> <menu>COM_COMPONENTBUILDER_MENU</menu>
<submenu> <submenu>
<!-- Instead of link you can specify individual link attributes --> <!-- Instead of link you can specify individual link attributes -->
<menu option="com_componentbuilder" view="compiler">COM_COMPONENTBUILDER_MENU_COMPILER</menu>
<menu option="com_componentbuilder" view="components">COM_COMPONENTBUILDER_MENU_COMPONENTS</menu> <menu option="com_componentbuilder" view="components">COM_COMPONENTBUILDER_MENU_COMPONENTS</menu>
<menu option="com_componentbuilder" view="admin_views">COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS</menu> <menu option="com_componentbuilder" view="admin_views">COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS</menu>
<menu option="com_componentbuilder" view="custom_admin_views">COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS</menu> <menu option="com_componentbuilder" view="custom_admin_views">COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS</menu>

View File

@ -1255,9 +1255,9 @@ class com_componentbuilderInstallerScript
$component->type_title = 'Componentbuilder Component'; $component->type_title = 'Componentbuilder Component';
$component->type_alias = 'com_componentbuilder.component'; $component->type_alias = 'com_componentbuilder.component';
$component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","addfootable":"addfootable","name":"name","php_helper_admin":"php_helper_admin","emptycontributors":"emptycontributors","php_helper_site":"php_helper_site","sql":"sql","creatuserhelper":"creatuserhelper","addreadme":"addreadme","css":"css","email":"email","php_admin_event":"php_admin_event","website":"website","php_site_event":"php_site_event","copyright":"copyright","php_dashboard_methods":"php_dashboard_methods","add_license":"add_license","license_type":"license_type","whmcs_key":"whmcs_key","number":"number","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required"}}'; $component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_site_event":"php_site_event","css":"css","debug_linenr":"debug_linenr","emptycontributors":"emptycontributors","update_server":"update_server","creatuserhelper":"creatuserhelper","description":"description","php_admin_event":"php_admin_event","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","add_update_server":"add_update_server","php_dashboard_methods":"php_dashboard_methods","addfootable":"addfootable","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","sql":"sql","email":"email","addreadme":"addreadme","website":"website","add_sales_server":"add_sales_server","copyright":"copyright","add_license":"add_license","license_type":"license_type","number":"number","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}';
$component->router = 'ComponentbuilderHelperRoute::getComponentRoute'; $component->router = 'ComponentbuilderHelperRoute::getComponentRoute';
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","addfootable","emptycontributors","creatuserhelper","addreadme","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; $component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","emptycontributors","creatuserhelper","add_update_server","addfootable","addreadme","add_sales_server","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
// Set the object into the content types table. // Set the object into the content types table.
$component_Inserted = $db->insertObject('#__content_types', $component); $component_Inserted = $db->insertObject('#__content_types', $component);
@ -1439,9 +1439,9 @@ class com_componentbuilderInstallerScript
$component->type_title = 'Componentbuilder Component'; $component->type_title = 'Componentbuilder Component';
$component->type_alias = 'com_componentbuilder.component'; $component->type_alias = 'com_componentbuilder.component';
$component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","addfootable":"addfootable","name":"name","php_helper_admin":"php_helper_admin","emptycontributors":"emptycontributors","php_helper_site":"php_helper_site","sql":"sql","creatuserhelper":"creatuserhelper","addreadme":"addreadme","css":"css","email":"email","php_admin_event":"php_admin_event","website":"website","php_site_event":"php_site_event","copyright":"copyright","php_dashboard_methods":"php_dashboard_methods","add_license":"add_license","license_type":"license_type","whmcs_key":"whmcs_key","number":"number","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required"}}'; $component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_site_event":"php_site_event","css":"css","debug_linenr":"debug_linenr","emptycontributors":"emptycontributors","update_server":"update_server","creatuserhelper":"creatuserhelper","description":"description","php_admin_event":"php_admin_event","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","add_update_server":"add_update_server","php_dashboard_methods":"php_dashboard_methods","addfootable":"addfootable","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","sql":"sql","email":"email","addreadme":"addreadme","website":"website","add_sales_server":"add_sales_server","copyright":"copyright","add_license":"add_license","license_type":"license_type","number":"number","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}';
$component->router = 'ComponentbuilderHelperRoute::getComponentRoute'; $component->router = 'ComponentbuilderHelperRoute::getComponentRoute';
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","addfootable","emptycontributors","creatuserhelper","addreadme","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; $component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","emptycontributors","creatuserhelper","add_update_server","addfootable","addreadme","add_sales_server","add_license","license_type","number","adduikit","add_css","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
// Check if component type is already in content_type DB. // Check if component type is already in content_type DB.
$component_id = null; $component_id = null;