improved the redirect option to work even if the parent method returns false. Resolved gh-330 by addig a full width class

This commit is contained in:
Llewellyn van der Merwe 2018-08-14 10:25:46 +02:00
parent 62bdb8a659
commit 70e198abf3
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
79 changed files with 5175 additions and 5457 deletions

View File

@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.5) with **ALL** its features and **ALL** concepts totally open-source and free!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.6) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -125,13 +125,13 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 7th August, 2018
+ *Version*: 2.8.5
+ *Last Build*: 14th August, 2018
+ *Version*: 2.8.6
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **187020**
+ *Field count*: **1059**
+ *File count*: **1239**
+ *Line count*: **186762**
+ *Field count*: **1061**
+ *File count*: **1240**
+ *Folder count*: **197**
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.5) with **ALL** its features and **ALL** concepts totally open-source and free!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.8.6) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@ -125,13 +125,13 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 7th August, 2018
+ *Version*: 2.8.5
+ *Last Build*: 14th August, 2018
+ *Version*: 2.8.6
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **187020**
+ *Field count*: **1059**
+ *File count*: **1239**
+ *Line count*: **186762**
+ *Field count*: **1061**
+ *File count*: **1240**
+ *Folder count*: **197**
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -145,8 +145,6 @@ class ###Component###Controller###View### extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -180,16 +178,6 @@ class ###Component###Controller###View### extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -221,8 +209,6 @@ class ###Component###Controller###View### extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -258,7 +244,6 @@ class ###Component###Controller###View### extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -145,8 +145,6 @@ class ###Component###Controller###View### extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -180,16 +178,6 @@ class ###Component###Controller###View### extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -221,8 +209,6 @@ class ###Component###Controller###View### extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -258,7 +244,6 @@ class ###Component###Controller###View### extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerAdmin_fields extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('admin_fields.access', 'com_componentbuilder');
$access = $user->authorise('admin_fields.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('admin_fields.create', $this->option);
return $user->authorise('admin_fields.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerAdmin_fields extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerAdmin_fields extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerAdmin_fields extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerAdmin_fields extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerAdmin_fields_conditions extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('admin_fields_conditions.access', 'com_componentbuilder');
$access = $user->authorise('admin_fields_conditions.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('admin_fields_conditions.create', $this->option);
return $user->authorise('admin_fields_conditions.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerAdmin_fields_conditions extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerAdmin_fields_conditions extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerAdmin_fields_conditions extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerAdmin_fields_conditions extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerAdmin_fields_relations extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('admin_fields_relations.access', 'com_componentbuilder');
$access = $user->authorise('admin_fields_relations.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('admin_fields_relations.create', $this->option);
return $user->authorise('admin_fields_relations.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerAdmin_fields_relations extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerAdmin_fields_relations extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerAdmin_fields_relations extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerAdmin_fields_relations extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('admin_view.access', 'com_componentbuilder');
$access = $user->authorise('admin_view.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('admin_view.create', $this->option);
return $user->authorise('admin_view.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerAdmin_view extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_admin_views extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_admin_views.access', 'com_componentbuilder');
$access = $user->authorise('component_admin_views.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_admin_views.create', $this->option);
return $user->authorise('component_admin_views.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_admin_views extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_admin_views extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_admin_views extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_admin_views extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_config extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_config.access', 'com_componentbuilder');
$access = $user->authorise('component_config.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_config.create', $this->option);
return $user->authorise('component_config.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_config extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_config extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_config extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_config extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends JController
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_custom_admin_menus.access', 'com_componentbuilder');
$access = $user->authorise('component_custom_admin_menus.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_custom_admin_menus.create', $this->option);
return $user->authorise('component_custom_admin_menus.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends JController
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends JController
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends JController
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_custom_admin_menus extends JController
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_custom_admin_views extends JController
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_custom_admin_views.access', 'com_componentbuilder');
$access = $user->authorise('component_custom_admin_views.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_custom_admin_views.create', $this->option);
return $user->authorise('component_custom_admin_views.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_custom_admin_views extends JController
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_custom_admin_views extends JController
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_custom_admin_views extends JController
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_custom_admin_views extends JController
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_dashboard extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_dashboard.access', 'com_componentbuilder');
$access = $user->authorise('component_dashboard.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_dashboard.create', $this->option);
return $user->authorise('component_dashboard.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_dashboard extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_dashboard extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_dashboard extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_dashboard extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_files_folders extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_files_folders.access', 'com_componentbuilder');
$access = $user->authorise('component_files_folders.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_files_folders.create', $this->option);
return $user->authorise('component_files_folders.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_files_folders extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_files_folders extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_files_folders extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_files_folders extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_mysql_tweaks.access', 'com_componentbuilder');
$access = $user->authorise('component_mysql_tweaks.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_mysql_tweaks.create', $this->option);
return $user->authorise('component_mysql_tweaks.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_mysql_tweaks extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_site_views extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_site_views.access', 'com_componentbuilder');
$access = $user->authorise('component_site_views.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_site_views.create', $this->option);
return $user->authorise('component_site_views.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_site_views extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_site_views extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_site_views extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_site_views extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerComponent_updates extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('component_updates.access', 'com_componentbuilder');
$access = $user->authorise('component_updates.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('component_updates.create', $this->option);
return $user->authorise('component_updates.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerComponent_updates extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerComponent_updates extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerComponent_updates extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerComponent_updates extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,12 +50,15 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('custom_admin_view.access', 'com_componentbuilder');
$access = $user->authorise('custom_admin_view.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}
@ -197,8 +200,6 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerCustom_code extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('custom_code.access', 'com_componentbuilder');
$access = $user->authorise('custom_code.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('custom_code.create', $this->option);
return $user->authorise('custom_code.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerCustom_code extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerCustom_code extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerCustom_code extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerCustom_code extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('dynamic_get.access', 'com_componentbuilder');
$access = $user->authorise('dynamic_get.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('dynamic_get.create', $this->option);
return $user->authorise('dynamic_get.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerDynamic_get extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerField extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('field.access', 'com_componentbuilder');
$access = $user->authorise('field.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('field.create', $this->option);
return $user->authorise('field.create', $this->option);
}
/**
@ -196,8 +199,6 @@ class ComponentbuilderControllerField extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -231,16 +232,6 @@ class ComponentbuilderControllerField extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -272,8 +263,6 @@ class ComponentbuilderControllerField extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -309,7 +298,6 @@ class ComponentbuilderControllerField extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('fieldtype.access', 'com_componentbuilder');
$access = $user->authorise('fieldtype.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('fieldtype.create', $this->option);
return $user->authorise('fieldtype.create', $this->option);
}
/**
@ -196,8 +199,6 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -231,16 +232,6 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -272,8 +263,6 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -309,7 +298,6 @@ class ComponentbuilderControllerFieldtype extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('help_document.access', 'com_componentbuilder');
$access = $user->authorise('help_document.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('help_document.create', $this->option);
return $user->authorise('help_document.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerHelp_document extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -75,14 +75,17 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('joomla_component.access', 'com_componentbuilder');
$access = $user->authorise('joomla_component.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('joomla_component.create', $this->option);
return $user->authorise('joomla_component.create', $this->option);
}
/**
@ -222,8 +225,6 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -257,16 +258,6 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -298,8 +289,6 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -335,7 +324,6 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerLanguage extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('language.access', 'com_componentbuilder');
$access = $user->authorise('language.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('language.create', $this->option);
return $user->authorise('language.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerLanguage extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLanguage extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLanguage extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLanguage extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerLanguage_translation extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('language_translation.access', 'com_componentbuilder');
$access = $user->authorise('language_translation.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('language_translation.create', $this->option);
return $user->authorise('language_translation.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerLanguage_translation extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLanguage_translation extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLanguage_translation extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLanguage_translation extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,12 +50,15 @@ class ComponentbuilderControllerLayout extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('layout.access', 'com_componentbuilder');
$access = $user->authorise('layout.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}
@ -197,8 +200,6 @@ class ComponentbuilderControllerLayout extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLayout extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLayout extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLayout extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerLibrary extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('library.access', 'com_componentbuilder');
$access = $user->authorise('library.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('library.create', $this->option);
return $user->authorise('library.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerLibrary extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLibrary extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLibrary extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLibrary extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerLibrary_config extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('library_config.access', 'com_componentbuilder');
$access = $user->authorise('library_config.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('library_config.create', $this->option);
return $user->authorise('library_config.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerLibrary_config extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLibrary_config extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLibrary_config extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLibrary_config extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends JControllerFo
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('library_files_folders_urls.access', 'com_componentbuilder');
$access = $user->authorise('library_files_folders_urls.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('library_files_folders_urls.create', $this->option);
return $user->authorise('library_files_folders_urls.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends JControllerFo
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends JControllerFo
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends JControllerFo
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerLibrary_files_folders_urls extends JControllerFo
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerServer extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('server.access', 'com_componentbuilder');
$access = $user->authorise('server.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('server.create', $this->option);
return $user->authorise('server.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerServer extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerServer extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerServer extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerServer extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,12 +50,15 @@ class ComponentbuilderControllerSite_view extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('site_view.access', 'com_componentbuilder');
$access = $user->authorise('site_view.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}
@ -197,8 +200,6 @@ class ComponentbuilderControllerSite_view extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerSite_view extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerSite_view extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerSite_view extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,12 +50,15 @@ class ComponentbuilderControllerSnippet extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('snippet.access', 'com_componentbuilder');
$access = $user->authorise('snippet.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}
@ -197,8 +200,6 @@ class ComponentbuilderControllerSnippet extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerSnippet extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerSnippet extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerSnippet extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerSnippet_type extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('snippet_type.access', 'com_componentbuilder');
$access = $user->authorise('snippet_type.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('snippet_type.create', $this->option);
return $user->authorise('snippet_type.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerSnippet_type extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerSnippet_type extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerSnippet_type extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerSnippet_type extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,12 +50,15 @@ class ComponentbuilderControllerTemplate extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('template.access', 'com_componentbuilder');
$access = $user->authorise('template.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return parent::allowAdd($data);
}
@ -197,8 +200,6 @@ class ComponentbuilderControllerTemplate extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerTemplate extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerTemplate extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerTemplate extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -50,14 +50,17 @@ class ComponentbuilderControllerValidation_rule extends JControllerForm
*/
protected function allowAdd($data = array())
{
// Get user object.
$user = JFactory::getUser();
// Access check.
$access = JFactory::getUser()->authorise('validation_rule.access', 'com_componentbuilder');
$access = $user->authorise('validation_rule.access', 'com_componentbuilder');
if (!$access)
{
return false;
}
// In the absense of better information, revert to the component permissions.
return JFactory::getUser()->authorise('validation_rule.create', $this->option);
return $user->authorise('validation_rule.create', $this->option);
}
/**
@ -197,8 +200,6 @@ class ComponentbuilderControllerValidation_rule extends JControllerForm
$cancel = parent::cancel($key);
if ($cancel)
{
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
{
$redirect = base64_decode($return);
@ -232,16 +233,6 @@ class ComponentbuilderControllerValidation_rule extends JControllerForm
)
);
}
}
else
{
// Redirect to the items screen.
$this->setRedirect(
JRoute::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list, false
)
);
}
return $cancel;
}
@ -273,8 +264,6 @@ class ComponentbuilderControllerValidation_rule extends JControllerForm
$saved = parent::save($key, $urlVar);
if ($saved)
{
// This is not needed since parent save already does this
// Due to the ref and refid implementation we need to add this
if ($canReturn)
@ -310,7 +299,6 @@ class ComponentbuilderControllerValidation_rule extends JControllerForm
)
);
}
}
return $saved;
}

View File

@ -10469,6 +10469,8 @@ class Interpretation extends Fields
$allow = array();
// set component name
$component = ComponentbuilderHelper::safeString($this->componentData->name_code);
// prepare custom permission script
$customAllow = $this->getCustomScriptBuilder('php_allowadd', $viewName_single, '', null, true);
// setup correct core target
$coreLoad = false;
if (isset($this->permissionCore[$viewName_single]))
@ -10533,22 +10535,26 @@ class Interpretation extends Fields
}
else
{
$allow[] = PHP_EOL . $this->_t(2) . "//" . $this->setLine(__LINE__) . " Get user object.";
$allow[] = $this->_t(2) . "\$user = JFactory::getUser();";
// check if the item has permissions.
if ($coreLoad && isset($core['core.access']) && isset($this->permissionBuilder['global'][$core['core.access']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.access']]) && in_array($viewName_single, $this->permissionBuilder['global'][$core['core.access']]))
{
$allow[] = PHP_EOL . $this->_t(2) . "//" . $this->setLine(__LINE__) . " Access check.";
$allow[] = $this->_t(2) . "\$access = JFactory::getUser()->authorise('" . $core['core.access'] . "', 'com_" . $component . "');";
$allow[] = $this->_t(2) . "//" . $this->setLine(__LINE__) . " Access check.";
$allow[] = $this->_t(2) . "\$access = \$user->authorise('" . $core['core.access'] . "', 'com_" . $component . "');";
$allow[] = $this->_t(2) . "if (!\$access)";
$allow[] = $this->_t(2) . "{";
$allow[] = $this->_t(3) . "return false;";
$allow[] = $this->_t(2) . "}";
}
// load custom permission script
$allow[] = $customAllow;
// check if the item has permissions.
if ($coreLoad && isset($core['core.create']) && isset($this->permissionBuilder['global'][$core['core.create']]) && ComponentbuilderHelper::checkArray($this->permissionBuilder['global'][$core['core.create']]) && in_array($viewName_single, $this->permissionBuilder['global'][$core['core.create']]))
{
// setup the default script
$allow[] = $this->_t(2) . "//" . $this->setLine(__LINE__) . " In the absense of better information, revert to the component permissions.";
$allow[] = $this->_t(2) . "return JFactory::getUser()->authorise('" . $core['core.create'] . "', \$this->option);";
$allow[] = $this->_t(2) . "return \$user->authorise('" . $core['core.create'] . "', \$this->option);";
}
else
{

View File

@ -412,6 +412,8 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH="Add Php After Publish"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL="Add PHP (script - after publish)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX="Add Php Ajax"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AJAX_LABEL="Add PHP (AJAX)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD="Add Php Allowadd"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD_LABEL="Add PHP (allowAdd Method)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT="Add Php Allowedit"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL="Add PHP (allowEdit Method)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY="Add Php Batchcopy"
@ -754,6 +756,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL="PHP publish Method afte
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add PHP Methods that should run in the AJAX Model. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="PHP Ajax Methods"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD="Php Allowadd"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_DESCRIPTION="Add PHP Here that should run in the allowAdd Method to add custom access control. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_LABEL="PHP allowAdd Method<br /><small>An array of input data. => ($data) and the user object => ($user) are already set.</small>"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT="Php Allowedit"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION="Add PHP Here that should run in the allowEdit Method to add custom access control. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL="PHP allowEdit Method<br /><small>The record ID => ($recordId) and the user object => ($user) are already set.</small>"

View File

@ -34,6 +34,8 @@ $fields = $displayData->get('fields') ?: array(
'php_save',
'add_php_postsavehook',
'php_postsavehook',
'add_php_allowadd',
'php_allowadd',
'add_php_allowedit',
'php_allowedit',
'add_php_batchcopy',

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->waefields;
$items = $displayData->waffields;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->waolinked_components;
$items = $displayData->waplinked_components;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=joomla_components&task=joomla_component.edit";

View File

@ -86,10 +86,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->metadata = $registry->toArray();
}
if (!empty($item->php_import_headers))
if (!empty($item->php_import_save))
{
// base64 Decode php_import_headers.
$item->php_import_headers = base64_decode($item->php_import_headers);
// base64 Decode php_import_save.
$item->php_import_save = base64_decode($item->php_import_save);
}
if (!empty($item->html_import_view))
@ -98,16 +98,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->html_import_view = base64_decode($item->html_import_view);
}
if (!empty($item->php_import_save))
if (!empty($item->php_import_headers))
{
// base64 Decode php_import_save.
$item->php_import_save = base64_decode($item->php_import_save);
}
if (!empty($item->php_getitem))
{
// base64 Decode php_getitem.
$item->php_getitem = base64_decode($item->php_getitem);
// base64 Decode php_import_headers.
$item->php_import_headers = base64_decode($item->php_import_headers);
}
if (!empty($item->php_getitems))
@ -170,10 +164,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_postsavehook = base64_decode($item->php_postsavehook);
}
if (!empty($item->php_allowedit))
if (!empty($item->php_allowadd))
{
// base64 Decode php_allowedit.
$item->php_allowedit = base64_decode($item->php_allowedit);
// base64 Decode php_allowadd.
$item->php_allowadd = base64_decode($item->php_allowadd);
}
if (!empty($item->javascript_view_footer))
@ -182,42 +176,48 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
}
if (!empty($item->php_allowedit))
{
// base64 Decode php_allowedit.
$item->php_allowedit = base64_decode($item->php_allowedit);
}
if (!empty($item->php_batchcopy))
{
// base64 Decode php_batchcopy.
$item->php_batchcopy = base64_decode($item->php_batchcopy);
}
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
}
if (!empty($item->javascript_views_file))
{
// base64 Decode javascript_views_file.
$item->javascript_views_file = base64_decode($item->javascript_views_file);
}
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
}
if (!empty($item->php_before_publish))
{
// base64 Decode php_before_publish.
$item->php_before_publish = base64_decode($item->php_before_publish);
}
if (!empty($item->php_after_publish))
{
// base64 Decode php_after_publish.
$item->php_after_publish = base64_decode($item->php_after_publish);
}
if (!empty($item->javascript_views_footer))
{
// base64 Decode javascript_views_footer.
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
}
if (!empty($item->php_after_publish))
{
// base64 Decode php_after_publish.
$item->php_after_publish = base64_decode($item->php_after_publish);
}
if (!empty($item->php_before_delete))
{
// base64 Decode php_before_delete.
@ -230,36 +230,36 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_after_delete = base64_decode($item->php_after_delete);
}
if (!empty($item->php_document))
{
// base64 Decode php_document.
$item->php_document = base64_decode($item->php_document);
}
if (!empty($item->php_controller))
{
// base64 Decode php_controller.
$item->php_controller = base64_decode($item->php_controller);
}
if (!empty($item->php_document))
{
// base64 Decode php_document.
$item->php_document = base64_decode($item->php_document);
}
if (!empty($item->php_model))
{
// base64 Decode php_model.
$item->php_model = base64_decode($item->php_model);
}
if (!empty($item->sql))
{
// base64 Decode sql.
$item->sql = base64_decode($item->sql);
}
if (!empty($item->php_controller_list))
{
// base64 Decode php_controller_list.
$item->php_controller_list = base64_decode($item->php_controller_list);
}
if (!empty($item->sql))
{
// base64 Decode sql.
$item->sql = base64_decode($item->sql);
}
if (!empty($item->php_model_list))
{
// base64 Decode php_model_list.
@ -272,18 +272,18 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import_display = base64_decode($item->php_import_display);
}
if (!empty($item->php_import))
{
// base64 Decode php_import.
$item->php_import = base64_decode($item->php_import);
}
if (!empty($item->php_ajaxmethod))
{
// base64 Decode php_ajaxmethod.
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
}
if (!empty($item->php_import))
{
// base64 Decode php_import.
$item->php_import = base64_decode($item->php_import);
}
if (!empty($item->php_import_setdata))
{
// base64 Decode php_import_setdata.
@ -296,12 +296,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import_ext = base64_decode($item->php_import_ext);
}
if (!empty($item->addtables))
if (!empty($item->php_getitem))
{
// Convert the addtables field to an array.
$addtables = new Registry;
$addtables->loadString($item->addtables);
$item->addtables = $addtables->toArray();
// base64 Decode php_getitem.
$item->php_getitem = base64_decode($item->php_getitem);
}
if (!empty($item->addpermissions))
@ -336,6 +334,14 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->alias_builder = $alias_builder->toArray();
}
if (!empty($item->addtables))
{
// Convert the addtables field to an array.
$addtables = new Registry;
$addtables->loadString($item->addtables);
$item->addtables = $addtables->toArray();
}
if (!empty($item->custom_button))
{
// Convert the custom_button field to an array.
@ -1206,19 +1212,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['system_name'] = $data['name_single'];
}
// Set the addtables items to data.
if (isset($data['addtables']) && is_array($data['addtables']))
{
$addtables = new JRegistry;
$addtables->loadArray($data['addtables']);
$data['addtables'] = (string) $addtables;
}
elseif (!isset($data['addtables']))
{
// Set the empty addtables to data
$data['addtables'] = '';
}
// Set the addpermissions items to data.
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
{
@ -1271,6 +1264,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['alias_builder'] = '';
}
// Set the addtables items to data.
if (isset($data['addtables']) && is_array($data['addtables']))
{
$addtables = new JRegistry;
$addtables->loadArray($data['addtables']);
$data['addtables'] = (string) $addtables;
}
elseif (!isset($data['addtables']))
{
// Set the empty addtables to data
$data['addtables'] = '';
}
// Set the custom_button items to data.
if (isset($data['custom_button']) && is_array($data['custom_button']))
{
@ -1297,10 +1303,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['ajax_input'] = '';
}
// Set the php_import_headers string to base64 string.
if (isset($data['php_import_headers']))
// Set the php_import_save string to base64 string.
if (isset($data['php_import_save']))
{
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
$data['php_import_save'] = base64_encode($data['php_import_save']);
}
// Set the html_import_view string to base64 string.
@ -1309,16 +1315,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['html_import_view'] = base64_encode($data['html_import_view']);
}
// Set the php_import_save string to base64 string.
if (isset($data['php_import_save']))
// Set the php_import_headers string to base64 string.
if (isset($data['php_import_headers']))
{
$data['php_import_save'] = base64_encode($data['php_import_save']);
}
// Set the php_getitem string to base64 string.
if (isset($data['php_getitem']))
{
$data['php_getitem'] = base64_encode($data['php_getitem']);
$data['php_import_headers'] = base64_encode($data['php_import_headers']);
}
// Set the php_getitems string to base64 string.
@ -1381,10 +1381,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
}
// Set the php_allowedit string to base64 string.
if (isset($data['php_allowedit']))
// Set the php_allowadd string to base64 string.
if (isset($data['php_allowadd']))
{
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
$data['php_allowadd'] = base64_encode($data['php_allowadd']);
}
// Set the javascript_view_footer string to base64 string.
@ -1393,42 +1393,48 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
}
// Set the php_allowedit string to base64 string.
if (isset($data['php_allowedit']))
{
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
}
// Set the php_batchcopy string to base64 string.
if (isset($data['php_batchcopy']))
{
$data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
}
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
}
// Set the javascript_views_file string to base64 string.
if (isset($data['javascript_views_file']))
{
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
}
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
}
// Set the php_before_publish string to base64 string.
if (isset($data['php_before_publish']))
{
$data['php_before_publish'] = base64_encode($data['php_before_publish']);
}
// Set the php_after_publish string to base64 string.
if (isset($data['php_after_publish']))
{
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
}
// Set the javascript_views_footer string to base64 string.
if (isset($data['javascript_views_footer']))
{
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
}
// Set the php_after_publish string to base64 string.
if (isset($data['php_after_publish']))
{
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
}
// Set the php_before_delete string to base64 string.
if (isset($data['php_before_delete']))
{
@ -1441,36 +1447,36 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_after_delete'] = base64_encode($data['php_after_delete']);
}
// Set the php_document string to base64 string.
if (isset($data['php_document']))
{
$data['php_document'] = base64_encode($data['php_document']);
}
// Set the php_controller string to base64 string.
if (isset($data['php_controller']))
{
$data['php_controller'] = base64_encode($data['php_controller']);
}
// Set the php_document string to base64 string.
if (isset($data['php_document']))
{
$data['php_document'] = base64_encode($data['php_document']);
}
// Set the php_model string to base64 string.
if (isset($data['php_model']))
{
$data['php_model'] = base64_encode($data['php_model']);
}
// Set the sql string to base64 string.
if (isset($data['sql']))
{
$data['sql'] = base64_encode($data['sql']);
}
// Set the php_controller_list string to base64 string.
if (isset($data['php_controller_list']))
{
$data['php_controller_list'] = base64_encode($data['php_controller_list']);
}
// Set the sql string to base64 string.
if (isset($data['sql']))
{
$data['sql'] = base64_encode($data['sql']);
}
// Set the php_model_list string to base64 string.
if (isset($data['php_model_list']))
{
@ -1483,18 +1489,18 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_import_display'] = base64_encode($data['php_import_display']);
}
// Set the php_import string to base64 string.
if (isset($data['php_import']))
{
$data['php_import'] = base64_encode($data['php_import']);
}
// Set the php_ajaxmethod string to base64 string.
if (isset($data['php_ajaxmethod']))
{
$data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']);
}
// Set the php_import string to base64 string.
if (isset($data['php_import']))
{
$data['php_import'] = base64_encode($data['php_import']);
}
// Set the php_import_setdata string to base64 string.
if (isset($data['php_import_setdata']))
{
@ -1507,6 +1513,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_import_ext'] = base64_encode($data['php_import_ext']);
}
// Set the php_getitem string to base64 string.
if (isset($data['php_getitem']))
{
$data['php_getitem'] = base64_encode($data['php_getitem']);
}
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))
{

View File

@ -241,14 +241,12 @@ class ComponentbuilderModelAdmin_views extends JModelList
continue;
}
// decode php_import_headers
$item->php_import_headers = base64_decode($item->php_import_headers);
// decode html_import_view
$item->html_import_view = base64_decode($item->html_import_view);
// decode php_import_save
$item->php_import_save = base64_decode($item->php_import_save);
// decode php_getitem
$item->php_getitem = base64_decode($item->php_getitem);
// decode html_import_view
$item->html_import_view = base64_decode($item->html_import_view);
// decode php_import_headers
$item->php_import_headers = base64_decode($item->php_import_headers);
// decode php_getitems
$item->php_getitems = base64_decode($item->php_getitems);
// decode php_getitems_after_all
@ -269,48 +267,52 @@ class ComponentbuilderModelAdmin_views extends JModelList
$item->javascript_view_file = base64_decode($item->javascript_view_file);
// decode php_postsavehook
$item->php_postsavehook = base64_decode($item->php_postsavehook);
// decode php_allowedit
$item->php_allowedit = base64_decode($item->php_allowedit);
// decode php_allowadd
$item->php_allowadd = base64_decode($item->php_allowadd);
// decode javascript_view_footer
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
// decode php_allowedit
$item->php_allowedit = base64_decode($item->php_allowedit);
// decode php_batchcopy
$item->php_batchcopy = base64_decode($item->php_batchcopy);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode javascript_views_file
$item->javascript_views_file = base64_decode($item->javascript_views_file);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode php_before_publish
$item->php_before_publish = base64_decode($item->php_before_publish);
// decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish);
// decode javascript_views_footer
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
// decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish);
// decode php_before_delete
$item->php_before_delete = base64_decode($item->php_before_delete);
// decode php_after_delete
$item->php_after_delete = base64_decode($item->php_after_delete);
// decode php_document
$item->php_document = base64_decode($item->php_document);
// decode php_controller
$item->php_controller = base64_decode($item->php_controller);
// decode php_document
$item->php_document = base64_decode($item->php_document);
// decode php_model
$item->php_model = base64_decode($item->php_model);
// decode sql
$item->sql = base64_decode($item->sql);
// decode php_controller_list
$item->php_controller_list = base64_decode($item->php_controller_list);
// decode sql
$item->sql = base64_decode($item->sql);
// decode php_model_list
$item->php_model_list = base64_decode($item->php_model_list);
// decode php_import_display
$item->php_import_display = base64_decode($item->php_import_display);
// decode php_import
$item->php_import = base64_decode($item->php_import);
// decode php_ajaxmethod
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
// decode php_import
$item->php_import = base64_decode($item->php_import);
// decode php_import_setdata
$item->php_import_setdata = base64_decode($item->php_import_setdata);
// decode php_import_ext
$item->php_import_ext = base64_decode($item->php_import_ext);
// decode php_getitem
$item->php_getitem = base64_decode($item->php_getitem);
// unset the values we don't want exported.
unset($item->asset_id);
unset($item->checked_out);

View File

@ -36,23 +36,24 @@ class JFormFieldFields extends JFormFieldList
public function getOptions()
{
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select($db->quoteName(array('a.id','a.name','b.name'),array('id','field_name','type')));
$query->from($db->quoteName('#__componentbuilder_field', 'a'));
$query = $db->getQuery(true);
$query->select($db->quoteName(array('a.id','a.name','b.name'),array('id','field_name','type')));
$query->from($db->quoteName('#__componentbuilder_field', 'a'));
$query->join('LEFT', '#__componentbuilder_fieldtype AS b ON b.id = a.fieldtype');
$query->where($db->quoteName('a.published') . ' >= 1');
$query->order('a.name ASC');
$db->setQuery((string)$query);
$items = $db->loadObjectList();
$options = array();
if ($items)
{
$query->where($db->quoteName('a.published') . ' >= 1');
$query->order('a.name ASC');
$db->setQuery((string)$query);
$items = $db->loadObjectList();
$options = array();
if ($items)
{
$options[] = JHtml::_('select.option', '', 'Select an option');
foreach($items as $item)
{
$options[] = JHtml::_('select.option', $item->id, $item->field_name . ' [' . $item->type . ']');
}
}
return $options;
}
return $options;
}
}

View File

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

View File

@ -114,7 +114,7 @@
name="field"
label="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_FIELDS_FIELD_DESCRIPTION"
class="list_class"
class="list_class fieldFull"
multiple="false"
required="false"
button="false"

View File

@ -34,17 +34,18 @@ jform_vvvvvxvvxj_required = false;
jform_vvvvvxwvxk_required = false;
jform_vvvvvxxvxl_required = false;
jform_vvvvvxyvxm_required = false;
jform_vvvvvycvxn_required = false;
jform_vvvvvycvxo_required = false;
jform_vvvvvycvxp_required = false;
jform_vvvvvycvxq_required = false;
jform_vvvvvycvxr_required = false;
jform_vvvvvycvxs_required = false;
jform_vvvvvycvxt_required = false;
jform_vvvvvyevxu_required = false;
jform_vvvvvyevxv_required = false;
jform_vvvvvyevxw_required = false;
jform_vvvvvyevxx_required = false;
jform_vvvvvxzvxn_required = false;
jform_vvvvvydvxo_required = false;
jform_vvvvvydvxp_required = false;
jform_vvvvvydvxq_required = false;
jform_vvvvvydvxr_required = false;
jform_vvvvvydvxs_required = false;
jform_vvvvvydvxt_required = false;
jform_vvvvvydvxu_required = false;
jform_vvvvvyfvxv_required = false;
jform_vvvvvyfvxw_required = false;
jform_vvvvvyfvxx_required = false;
jform_vvvvvyfvxy_required = false;
// Initial Script
jQuery(document).ready(function()
@ -94,49 +95,52 @@ jQuery(document).ready(function()
var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxo(add_php_postsavehook_vvvvvxo);
var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxp(add_php_allowedit_vvvvvxp);
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxp(add_php_allowadd_vvvvvxp);
var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxq(add_php_batchcopy_vvvvvxq);
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxq(add_php_allowedit_vvvvvxq);
var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxr(add_php_batchmove_vvvvvxr);
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxr(add_php_batchcopy_vvvvvxr);
var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxs(add_php_before_publish_vvvvvxs);
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxs(add_php_batchmove_vvvvvxs);
var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxt(add_php_after_publish_vvvvvxt);
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxt(add_php_before_publish_vvvvvxt);
var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxu(add_php_before_delete_vvvvvxu);
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxu(add_php_after_publish_vvvvvxu);
var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxv(add_php_after_delete_vvvvvxv);
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxv(add_php_before_delete_vvvvvxv);
var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxw(add_php_document_vvvvvxw);
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxw(add_php_after_delete_vvvvvxw);
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxx(add_sql_vvvvvxx);
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxx(add_php_document_vvvvvxx);
var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
vvvvvxy(add_sql_vvvvvxy);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
var add_custom_import_vvvvvyc = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyc(add_custom_import_vvvvvyc);
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyd(add_custom_import_vvvvvyd);
var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvye(add_custom_button_vvvvvye);
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye);
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyf(add_custom_button_vvvvvyf);
});
// the vvvvvxa function
@ -607,320 +611,351 @@ function vvvvvxo(add_php_postsavehook_vvvvvxo)
}
// the vvvvvxp function
function vvvvvxp(add_php_allowedit_vvvvvxp)
function vvvvvxp(add_php_allowadd_vvvvvxp)
{
// set the function logic
if (add_php_allowedit_vvvvvxp == 1)
if (add_php_allowadd_vvvvvxp == 1)
{
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
if (jform_vvvvvxpvxd_required)
{
updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required');
updateFieldRequired('php_allowadd',0);
jQuery('#jform_php_allowadd').prop('required','required');
jQuery('#jform_php_allowadd').attr('aria-required',true);
jQuery('#jform_php_allowadd').addClass('required');
jform_vvvvvxpvxd_required = false;
}
}
else
{
jQuery('#jform_php_allowedit-lbl').closest('.control-group').hide();
jQuery('#jform_php_allowadd-lbl').closest('.control-group').hide();
if (!jform_vvvvvxpvxd_required)
{
updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required');
updateFieldRequired('php_allowadd',1);
jQuery('#jform_php_allowadd').removeAttr('required');
jQuery('#jform_php_allowadd').removeAttr('aria-required');
jQuery('#jform_php_allowadd').removeClass('required');
jform_vvvvvxpvxd_required = true;
}
}
}
// the vvvvvxq function
function vvvvvxq(add_php_batchcopy_vvvvvxq)
function vvvvvxq(add_php_allowedit_vvvvvxq)
{
// set the function logic
if (add_php_batchcopy_vvvvvxq == 1)
if (add_php_allowedit_vvvvvxq == 1)
{
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
if (jform_vvvvvxqvxe_required)
{
updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required');
updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required');
jform_vvvvvxqvxe_required = false;
}
}
else
{
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide();
jQuery('#jform_php_allowedit-lbl').closest('.control-group').hide();
if (!jform_vvvvvxqvxe_required)
{
updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required');
updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required');
jform_vvvvvxqvxe_required = true;
}
}
}
// the vvvvvxr function
function vvvvvxr(add_php_batchmove_vvvvvxr)
function vvvvvxr(add_php_batchcopy_vvvvvxr)
{
// set the function logic
if (add_php_batchmove_vvvvvxr == 1)
if (add_php_batchcopy_vvvvvxr == 1)
{
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
if (jform_vvvvvxrvxf_required)
{
updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required');
updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required');
jform_vvvvvxrvxf_required = false;
}
}
else
{
jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide();
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide();
if (!jform_vvvvvxrvxf_required)
{
updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required');
updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required');
jform_vvvvvxrvxf_required = true;
}
}
}
// the vvvvvxs function
function vvvvvxs(add_php_before_publish_vvvvvxs)
function vvvvvxs(add_php_batchmove_vvvvvxs)
{
// set the function logic
if (add_php_before_publish_vvvvvxs == 1)
if (add_php_batchmove_vvvvvxs == 1)
{
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
if (jform_vvvvvxsvxg_required)
{
updateFieldRequired('php_before_publish',0);
jQuery('#jform_php_before_publish').prop('required','required');
jQuery('#jform_php_before_publish').attr('aria-required',true);
jQuery('#jform_php_before_publish').addClass('required');
updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required');
jform_vvvvvxsvxg_required = false;
}
}
else
{
jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide();
jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide();
if (!jform_vvvvvxsvxg_required)
{
updateFieldRequired('php_before_publish',1);
jQuery('#jform_php_before_publish').removeAttr('required');
jQuery('#jform_php_before_publish').removeAttr('aria-required');
jQuery('#jform_php_before_publish').removeClass('required');
updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required');
jform_vvvvvxsvxg_required = true;
}
}
}
// the vvvvvxt function
function vvvvvxt(add_php_after_publish_vvvvvxt)
function vvvvvxt(add_php_before_publish_vvvvvxt)
{
// set the function logic
if (add_php_after_publish_vvvvvxt == 1)
if (add_php_before_publish_vvvvvxt == 1)
{
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
if (jform_vvvvvxtvxh_required)
{
updateFieldRequired('php_after_publish',0);
jQuery('#jform_php_after_publish').prop('required','required');
jQuery('#jform_php_after_publish').attr('aria-required',true);
jQuery('#jform_php_after_publish').addClass('required');
updateFieldRequired('php_before_publish',0);
jQuery('#jform_php_before_publish').prop('required','required');
jQuery('#jform_php_before_publish').attr('aria-required',true);
jQuery('#jform_php_before_publish').addClass('required');
jform_vvvvvxtvxh_required = false;
}
}
else
{
jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide();
jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide();
if (!jform_vvvvvxtvxh_required)
{
updateFieldRequired('php_after_publish',1);
jQuery('#jform_php_after_publish').removeAttr('required');
jQuery('#jform_php_after_publish').removeAttr('aria-required');
jQuery('#jform_php_after_publish').removeClass('required');
updateFieldRequired('php_before_publish',1);
jQuery('#jform_php_before_publish').removeAttr('required');
jQuery('#jform_php_before_publish').removeAttr('aria-required');
jQuery('#jform_php_before_publish').removeClass('required');
jform_vvvvvxtvxh_required = true;
}
}
}
// the vvvvvxu function
function vvvvvxu(add_php_before_delete_vvvvvxu)
function vvvvvxu(add_php_after_publish_vvvvvxu)
{
// set the function logic
if (add_php_before_delete_vvvvvxu == 1)
if (add_php_after_publish_vvvvvxu == 1)
{
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
if (jform_vvvvvxuvxi_required)
{
updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required');
updateFieldRequired('php_after_publish',0);
jQuery('#jform_php_after_publish').prop('required','required');
jQuery('#jform_php_after_publish').attr('aria-required',true);
jQuery('#jform_php_after_publish').addClass('required');
jform_vvvvvxuvxi_required = false;
}
}
else
{
jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide();
jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide();
if (!jform_vvvvvxuvxi_required)
{
updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required');
updateFieldRequired('php_after_publish',1);
jQuery('#jform_php_after_publish').removeAttr('required');
jQuery('#jform_php_after_publish').removeAttr('aria-required');
jQuery('#jform_php_after_publish').removeClass('required');
jform_vvvvvxuvxi_required = true;
}
}
}
// the vvvvvxv function
function vvvvvxv(add_php_after_delete_vvvvvxv)
function vvvvvxv(add_php_before_delete_vvvvvxv)
{
// set the function logic
if (add_php_after_delete_vvvvvxv == 1)
if (add_php_before_delete_vvvvvxv == 1)
{
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
if (jform_vvvvvxvvxj_required)
{
updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required');
updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required');
jform_vvvvvxvvxj_required = false;
}
}
else
{
jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide();
jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide();
if (!jform_vvvvvxvvxj_required)
{
updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required');
updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required');
jform_vvvvvxvvxj_required = true;
}
}
}
// the vvvvvxw function
function vvvvvxw(add_php_document_vvvvvxw)
function vvvvvxw(add_php_after_delete_vvvvvxw)
{
// set the function logic
if (add_php_document_vvvvvxw == 1)
if (add_php_after_delete_vvvvvxw == 1)
{
jQuery('#jform_php_document-lbl').closest('.control-group').show();
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
if (jform_vvvvvxwvxk_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required');
jform_vvvvvxwvxk_required = false;
}
}
else
{
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide();
if (!jform_vvvvvxwvxk_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required');
jform_vvvvvxwvxk_required = true;
}
}
}
// the vvvvvxx function
function vvvvvxx(add_sql_vvvvvxx)
function vvvvvxx(add_php_document_vvvvvxx)
{
// set the function logic
if (add_sql_vvvvvxx == 1)
if (add_php_document_vvvvvxx == 1)
{
jQuery('#jform_source').closest('.control-group').show();
jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvxxvxl_required)
{
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvxxvxl_required = false;
}
}
else
{
jQuery('#jform_source').closest('.control-group').hide();
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvxxvxl_required)
{
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvxxvxl_required = true;
}
}
}
// the vvvvvxy function
function vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy)
function vvvvvxy(add_sql_vvvvvxy)
{
// set the function logic
if (source_vvvvvxy == 2 && add_sql_vvvvvxy == 1)
if (add_sql_vvvvvxy == 1)
{
jQuery('#jform_sql').closest('.control-group').show();
jQuery('#jform_source').closest('.control-group').show();
if (jform_vvvvvxyvxm_required)
{
updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required');
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
jform_vvvvvxyvxm_required = false;
}
}
else
{
jQuery('#jform_sql').closest('.control-group').hide();
jQuery('#jform_source').closest('.control-group').hide();
if (!jform_vvvvvxyvxm_required)
{
updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required');
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
jform_vvvvvxyvxm_required = true;
}
}
}
// the vvvvvya function
function vvvvvya(source_vvvvvya,add_sql_vvvvvya)
// the vvvvvxz function
function vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz)
{
// set the function logic
if (source_vvvvvya == 1 && add_sql_vvvvvya == 1)
if (source_vvvvvxz == 2 && add_sql_vvvvvxz == 1)
{
jQuery('#jform_sql').closest('.control-group').show();
if (jform_vvvvvxzvxn_required)
{
updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required');
jform_vvvvvxzvxn_required = false;
}
}
else
{
jQuery('#jform_sql').closest('.control-group').hide();
if (!jform_vvvvvxzvxn_required)
{
updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required');
jform_vvvvvxzvxn_required = true;
}
}
}
// the vvvvvyb function
function vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb)
{
// set the function logic
if (source_vvvvvyb == 1 && add_sql_vvvvvyb == 1)
{
jQuery('#jform_addtables-lbl').closest('.control-group').show();
}
@ -930,158 +965,158 @@ function vvvvvya(source_vvvvvya,add_sql_vvvvvya)
}
}
// the vvvvvyc function
function vvvvvyc(add_custom_import_vvvvvyc)
// the vvvvvyd function
function vvvvvyd(add_custom_import_vvvvvyd)
{
// set the function logic
if (add_custom_import_vvvvvyc == 1)
if (add_custom_import_vvvvvyd == 1)
{
jQuery('#jform_html_import_view').closest('.control-group').show();
if (jform_vvvvvycvxn_required)
if (jform_vvvvvydvxo_required)
{
updateFieldRequired('html_import_view',0);
jQuery('#jform_html_import_view').prop('required','required');
jQuery('#jform_html_import_view').attr('aria-required',true);
jQuery('#jform_html_import_view').addClass('required');
jform_vvvvvycvxn_required = false;
jform_vvvvvydvxo_required = false;
}
jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show();
if (jform_vvvvvycvxo_required)
if (jform_vvvvvydvxp_required)
{
updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required');
jform_vvvvvycvxo_required = false;
jform_vvvvvydvxp_required = false;
}
jQuery('#jform_php_import_ext').closest('.control-group').show();
if (jform_vvvvvycvxp_required)
if (jform_vvvvvydvxq_required)
{
updateFieldRequired('php_import_ext',0);
jQuery('#jform_php_import_ext').prop('required','required');
jQuery('#jform_php_import_ext').attr('aria-required',true);
jQuery('#jform_php_import_ext').addClass('required');
jform_vvvvvycvxp_required = false;
jform_vvvvvydvxq_required = false;
}
jQuery('#jform_php_import_headers').closest('.control-group').show();
if (jform_vvvvvycvxq_required)
if (jform_vvvvvydvxr_required)
{
updateFieldRequired('php_import_headers',0);
jQuery('#jform_php_import_headers').prop('required','required');
jQuery('#jform_php_import_headers').attr('aria-required',true);
jQuery('#jform_php_import_headers').addClass('required');
jform_vvvvvycvxq_required = false;
jform_vvvvvydvxr_required = false;
}
jQuery('#jform_php_import').closest('.control-group').show();
if (jform_vvvvvycvxr_required)
if (jform_vvvvvydvxs_required)
{
updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required');
jform_vvvvvycvxr_required = false;
jform_vvvvvydvxs_required = false;
}
jQuery('#jform_php_import_save').closest('.control-group').show();
if (jform_vvvvvycvxs_required)
if (jform_vvvvvydvxt_required)
{
updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required');
jform_vvvvvycvxs_required = false;
jform_vvvvvydvxt_required = false;
}
jQuery('#jform_php_import_setdata').closest('.control-group').show();
if (jform_vvvvvycvxt_required)
if (jform_vvvvvydvxu_required)
{
updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required');
jform_vvvvvycvxt_required = false;
jform_vvvvvydvxu_required = false;
}
}
else
{
jQuery('#jform_html_import_view').closest('.control-group').hide();
if (!jform_vvvvvycvxn_required)
if (!jform_vvvvvydvxo_required)
{
updateFieldRequired('html_import_view',1);
jQuery('#jform_html_import_view').removeAttr('required');
jQuery('#jform_html_import_view').removeAttr('aria-required');
jQuery('#jform_html_import_view').removeClass('required');
jform_vvvvvycvxn_required = true;
jform_vvvvvydvxo_required = true;
}
jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide();
if (!jform_vvvvvycvxo_required)
if (!jform_vvvvvydvxp_required)
{
updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required');
jform_vvvvvycvxo_required = true;
jform_vvvvvydvxp_required = true;
}
jQuery('#jform_php_import_ext').closest('.control-group').hide();
if (!jform_vvvvvycvxp_required)
if (!jform_vvvvvydvxq_required)
{
updateFieldRequired('php_import_ext',1);
jQuery('#jform_php_import_ext').removeAttr('required');
jQuery('#jform_php_import_ext').removeAttr('aria-required');
jQuery('#jform_php_import_ext').removeClass('required');
jform_vvvvvycvxp_required = true;
jform_vvvvvydvxq_required = true;
}
jQuery('#jform_php_import_headers').closest('.control-group').hide();
if (!jform_vvvvvycvxq_required)
if (!jform_vvvvvydvxr_required)
{
updateFieldRequired('php_import_headers',1);
jQuery('#jform_php_import_headers').removeAttr('required');
jQuery('#jform_php_import_headers').removeAttr('aria-required');
jQuery('#jform_php_import_headers').removeClass('required');
jform_vvvvvycvxq_required = true;
jform_vvvvvydvxr_required = true;
}
jQuery('#jform_php_import').closest('.control-group').hide();
if (!jform_vvvvvycvxr_required)
if (!jform_vvvvvydvxs_required)
{
updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required');
jform_vvvvvycvxr_required = true;
jform_vvvvvydvxs_required = true;
}
jQuery('#jform_php_import_save').closest('.control-group').hide();
if (!jform_vvvvvycvxs_required)
if (!jform_vvvvvydvxt_required)
{
updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required');
jform_vvvvvycvxs_required = true;
jform_vvvvvydvxt_required = true;
}
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
if (!jform_vvvvvycvxt_required)
if (!jform_vvvvvydvxu_required)
{
updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required');
jform_vvvvvycvxt_required = true;
jform_vvvvvydvxu_required = true;
}
}
}
// the vvvvvyd function
function vvvvvyd(add_custom_import_vvvvvyd)
// the vvvvvye function
function vvvvvye(add_custom_import_vvvvvye)
{
// set the function logic
if (add_custom_import_vvvvvyd == 0)
if (add_custom_import_vvvvvye == 0)
{
jQuery('.note_beginner_import').closest('.control-group').show();
}
@ -1091,51 +1126,51 @@ function vvvvvyd(add_custom_import_vvvvvyd)
}
}
// the vvvvvye function
function vvvvvye(add_custom_button_vvvvvye)
// the vvvvvyf function
function vvvvvyf(add_custom_button_vvvvvyf)
{
// set the function logic
if (add_custom_button_vvvvvye == 1)
if (add_custom_button_vvvvvyf == 1)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
if (jform_vvvvvyevxu_required)
if (jform_vvvvvyfvxv_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvyevxu_required = false;
jform_vvvvvyfvxv_required = false;
}
jQuery('#jform_php_controller_list-lbl').closest('.control-group').show();
if (jform_vvvvvyevxv_required)
if (jform_vvvvvyfvxw_required)
{
updateFieldRequired('php_controller_list',0);
jQuery('#jform_php_controller_list').prop('required','required');
jQuery('#jform_php_controller_list').attr('aria-required',true);
jQuery('#jform_php_controller_list').addClass('required');
jform_vvvvvyevxv_required = false;
jform_vvvvvyfvxw_required = false;
}
jQuery('#jform_php_model-lbl').closest('.control-group').show();
if (jform_vvvvvyevxw_required)
if (jform_vvvvvyfvxx_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvyevxw_required = false;
jform_vvvvvyfvxx_required = false;
}
jQuery('#jform_php_model_list-lbl').closest('.control-group').show();
if (jform_vvvvvyevxx_required)
if (jform_vvvvvyfvxy_required)
{
updateFieldRequired('php_model_list',0);
jQuery('#jform_php_model_list').prop('required','required');
jQuery('#jform_php_model_list').attr('aria-required',true);
jQuery('#jform_php_model_list').addClass('required');
jform_vvvvvyevxx_required = false;
jform_vvvvvyfvxy_required = false;
}
}
@ -1143,40 +1178,40 @@ function vvvvvye(add_custom_button_vvvvvye)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
if (!jform_vvvvvyevxu_required)
if (!jform_vvvvvyfvxv_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvyevxu_required = true;
jform_vvvvvyfvxv_required = true;
}
jQuery('#jform_php_controller_list-lbl').closest('.control-group').hide();
if (!jform_vvvvvyevxv_required)
if (!jform_vvvvvyfvxw_required)
{
updateFieldRequired('php_controller_list',1);
jQuery('#jform_php_controller_list').removeAttr('required');
jQuery('#jform_php_controller_list').removeAttr('aria-required');
jQuery('#jform_php_controller_list').removeClass('required');
jform_vvvvvyevxv_required = true;
jform_vvvvvyfvxw_required = true;
}
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
if (!jform_vvvvvyevxw_required)
if (!jform_vvvvvyfvxx_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvyevxw_required = true;
jform_vvvvvyfvxx_required = true;
}
jQuery('#jform_php_model_list-lbl').closest('.control-group').hide();
if (!jform_vvvvvyevxx_required)
if (!jform_vvvvvyfvxy_required)
{
updateFieldRequired('php_model_list',1);
jQuery('#jform_php_model_list').removeAttr('required');
jQuery('#jform_php_model_list').removeAttr('aria-required');
jQuery('#jform_php_model_list').removeClass('required');
jform_vvvvvyevxx_required = true;
jform_vvvvvyfvxy_required = true;
}
}
}

View File

@ -144,25 +144,11 @@
message="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
<!-- Add_php_before_publish Field. Type: Radio. (joomla) -->
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_before_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -200,61 +186,48 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Icon_add Field. Type: Media. (joomla) -->
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<field
type="media"
name="icon_add"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
<!-- Php_import_headers Field. Type: Textarea. (joomla) -->
type="radio"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_headers"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_LABEL"
name="php_import_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
required="true"
/>
<!-- Addtables Field. Type: Subform. (joomla) -->
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
<field
type="subform"
name="addtables"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
icon="list">
<form hidden="true" name="list_addtables_modal" repeat="true">
<!-- Table Field. Type: Dbtables. (custom) -->
<field
type="dbtables"
name="table"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
class="list_class"
multiple="false"
type="radio"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="false"
button="false"
/>
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="sourcemap"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
required="false"
/>
</form>
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Type Field. Type: List. (joomla) -->
<field
@ -307,11 +280,11 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION"
directory=""
/>
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -327,54 +300,11 @@
name="not_required"
default="[]"
/>
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<!-- Add_php_after_publish Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_custom_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
name="add_php_after_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -386,19 +316,11 @@
</field>
<!-- Note_on_permissions Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_permissions" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_PERMISSIONS_DESCRIPTION" heading="h4" class="alert alert-info note_on_permissions" />
<!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Add_php_getitems_after_all Field. Type: Radio. (joomla) -->
<!-- Add_sql Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getitems_after_all"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -481,36 +403,29 @@
</field>
</form>
</field>
<!-- Add_php_getform Field. Type: Radio. (joomla) -->
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
<field
type="radio"
name="add_php_getform"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="textarea"
name="html_import_view"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
required="true"
/>
<!-- Note_on_tabs Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_tabs" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_TABS_DESCRIPTION" heading="h4" class="alert alert-info note_on_tabs" />
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<!-- Icon_add Field. Type: Media. (joomla) -->
<field
type="radio"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
type="media"
name="icon_add"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
<!-- Addtabs Field. Type: Subform. (joomla) -->
<field
type="subform"
@ -539,11 +454,11 @@
/>
</form>
</field>
<!-- Add_php_allowedit Field. Type: Radio. (joomla) -->
<!-- Add_php_getform Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
name="add_php_getform"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -555,11 +470,11 @@
</field>
<!-- Note_on_linked_views Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_on_linked_views" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_LINKED_VIEWS_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ON_LINKED_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_linked_views" />
<!-- Add_php_batchmove Field. Type: Radio. (joomla) -->
<!-- Add_php_save Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
name="add_php_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -658,11 +573,11 @@
</field>
</form>
</field>
<!-- Add_php_after_publish Field. Type: Radio. (joomla) -->
<!-- Add_php_allowadd Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_after_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL"
name="add_php_allowadd"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -674,11 +589,11 @@
</field>
<!-- Note_create_edit_notice Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_create_edit_notice" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_NOTICE_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_NOTICE_DESCRIPTION" heading="h4" class="alert alert-info note_create_edit_notice" />
<!-- Add_php_after_delete Field. Type: Radio. (joomla) -->
<!-- Add_php_batchcopy Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
name="add_php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -702,11 +617,11 @@
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM</option>
</field>
<!-- Add_sql Field. Type: Radio. (joomla) -->
<!-- Add_php_before_publish Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_sql"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_SQL_LABEL"
name="add_php_before_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -718,23 +633,36 @@
</field>
<!-- Note_alias_builder_custom Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_alias_builder_custom" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_CUSTOM_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_CUSTOM_DESCRIPTION" heading="h4" class="alert alert-info note_alias_builder_custom" showon="alias_builder_type:2" />
<!-- Note_beginner_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_beginner_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_BEGINNER_IMPORT_DESCRIPTION" heading="h4" class="alert alert-info note_beginner_import" />
<!-- Add_php_before_delete Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_DELETE_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Note_alias_builder_default Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_alias_builder_default" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_DEFAULT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ALIAS_BUILDER_DEFAULT_DESCRIPTION" heading="h4" class="alert alert-info note_alias_builder_default" showon="alias_builder_type:1" />
<!-- Html_import_view Field. Type: Textarea. (joomla) -->
<!-- Add_php_document Field. Type: Radio. (joomla) -->
<field
type="textarea"
name="html_import_view"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
required="true"
/>
type="radio"
name="add_php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Alias_builder Field. Type: Aliasbuilder. (custom) -->
<field
type="aliasbuilder"
@ -745,40 +673,109 @@
multiple="true"
showon="alias_builder_type:2"
/>
<!-- Php_import_save Field. Type: Textarea. (joomla) -->
<!-- Addtables Field. Type: Subform. (joomla) -->
<field
type="subform"
name="addtables"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_LABEL"
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
icon="list">
<form hidden="true" name="list_addtables_modal" repeat="true">
<!-- Table Field. Type: Dbtables. (custom) -->
<field
type="dbtables"
name="table"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE_LABEL"
class="list_class"
multiple="false"
default="0"
required="false"
button="false"
/>
<!-- Sourcemap Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_save"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SAVE_HINT"
required="true"
name="sourcemap"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_LABEL"
rows="22"
cols="30"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_DESCRIPTION"
class="text_area span4"
filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCEMAP_HINT"
required="false"
/>
</form>
</field>
<!-- Note_create_edit_buttons Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_create_edit_buttons" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_BUTTONS_DESCRIPTION" class="note_create_edit_buttons" />
<!-- Php_getitem Field. Type: Editor. (joomla) -->
<!-- Add_custom_import Field. Type: Radio. (joomla) -->
<field
type="editor"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
width="100%"
height="450px"
cols="15"
type="radio"
name="add_custom_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_CUSTOM_IMPORT_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Add_php_getitems Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_import_headers Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_headers"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_LABEL"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HEADERS_HINT"
required="true"
validate="code"
/>
<!-- Add_php_getitems_after_all Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_php_getitems_after_all"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
class="btn-group btn-group-yesno"
default="0"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_YES</option>
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Note_create_edit_display Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_create_edit_display" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_CREATE_EDIT_DISPLAY_DESCRIPTION" class="note_create_edit_display" />
<!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Php_getitems Field. Type: Editor. (joomla) -->
<field
type="editor"
@ -1005,12 +1002,12 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_allowedit Field. Type: Editor. (joomla) -->
<!-- Php_allowadd Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
name="php_allowadd"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1039,12 +1036,12 @@
required="true"
validate="code"
/>
<!-- Php_batchcopy Field. Type: Editor. (joomla) -->
<!-- Php_allowedit Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1070,12 +1067,12 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_batchmove Field. Type: Editor. (joomla) -->
<!-- Php_batchcopy Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
name="php_batchcopy"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1104,12 +1101,12 @@
required="true"
validate="code"
/>
<!-- Php_before_publish Field. Type: Editor. (joomla) -->
<!-- Php_batchmove Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_before_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION"
name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1135,12 +1132,12 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_after_publish Field. Type: Editor. (joomla) -->
<!-- Php_before_publish Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_after_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
name="php_before_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1169,12 +1166,12 @@
required="true"
validate="code"
/>
<!-- Php_before_delete Field. Type: Editor. (joomla) -->
<!-- Php_after_publish Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
name="php_after_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1200,12 +1197,12 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_after_delete Field. Type: Editor. (joomla) -->
<!-- Php_before_delete Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
name="php_before_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1726,16 +1723,16 @@
</field>
</form>
</field>
<!-- Php_document Field. Type: Editor. (joomla) -->
<!-- Php_after_delete Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="50"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
@ -1760,6 +1757,40 @@
required="false"
validate="code"
/>
<!-- Php_document Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_document"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="50"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="true"
validate="code"
/>
<!-- Php_model Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_model"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
/>
<!-- Source Field. Type: Radio. (joomla) -->
<field
type="radio"
@ -1773,12 +1804,12 @@
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
</field>
<!-- Php_model Field. Type: Editor. (joomla) -->
<!-- Php_controller_list Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_model"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION"
name="php_controller_list"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION"
width="100%"
height="450px"
cols="15"
@ -1803,25 +1834,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SQL_HINT"
required="true"
/>
<!-- Php_controller_list Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_controller_list"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="false"
validate="code"
/>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Php_model_list Field. Type: Editor. (joomla) -->
<field
type="editor"
@ -1839,19 +1851,8 @@
required="false"
validate="code"
/>
<!-- Php_import_display Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_display"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT"
required="true"
/>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Add_php_ajax Field. Type: Radio. (joomla) -->
<field
type="radio"
@ -1866,17 +1867,17 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_import Field. Type: Textarea. (joomla) -->
<!-- Php_import_display Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
name="php_import_display"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY_HINT"
required="true"
/>
<!-- Php_ajaxmethod Field. Type: Editor. (joomla) -->
@ -1896,17 +1897,17 @@
required="true"
validate="code"
/>
<!-- Php_import_setdata Field. Type: Textarea. (joomla) -->
<!-- Php_import Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_setdata"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_LABEL"
name="php_import"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_HINT"
required="true"
/>
<!-- Ajax_input Field. Type: Subform. (joomla) -->
@ -2040,17 +2041,17 @@
/>
</form>
</field>
<!-- Php_import_ext Field. Type: Textarea. (joomla) -->
<!-- Php_import_setdata Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_ext"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_LABEL"
name="php_import_setdata"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_DESCRIPTION"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_HINT"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT"
required="true"
/>
<!-- Add_php_getitem Field. Type: Radio. (joomla) -->
@ -2067,6 +2068,36 @@
<option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_NO</option>
</field>
<!-- Php_import_ext Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_import_ext"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_EXT_HINT"
required="true"
/>
<!-- Php_getitem Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_getitem"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="true"
validate="code"
/>
</fieldset>
<!-- Access Control Fields. -->

View File

@ -113,7 +113,7 @@
name="field"
label="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_LABEL"
description="COM_COMPONENTBUILDER_COMPONENT_CONFIG_FIELD_DESCRIPTION"
class="list_class"
class="list_class fieldFull"
multiple="false"
required="false"
button="false"

View File

@ -9,7 +9,6 @@
*/
// Some Global Values
jform_vvvvvyfvxy_required = false;
jform_vvvvvygvxz_required = false;
jform_vvvvvyhvya_required = false;
jform_vvvvvyivyb_required = false;
@ -17,286 +16,287 @@ jform_vvvvvyjvyc_required = false;
jform_vvvvvykvyd_required = false;
jform_vvvvvylvye_required = false;
jform_vvvvvymvyf_required = false;
jform_vvvvvymvyg_required = false;
jform_vvvvvynvyg_required = false;
jform_vvvvvynvyh_required = false;
jform_vvvvvyovyi_required = false;
jform_vvvvvypvyj_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyf(add_php_view_vvvvvyf);
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyg(add_php_jview_display_vvvvvyg);
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyh(add_php_jview_vvvvvyh);
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyi(add_php_document_vvvvvyi);
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyj(add_css_document_vvvvvyj);
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
var add_javascript_file_vvvvvyk = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyk(add_javascript_file_vvvvvyk);
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyl(add_js_document_vvvvvyl);
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym);
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
var add_css_vvvvvyn = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyn(add_css_vvvvvyn);
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
var add_php_ajax_vvvvvyo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyo(add_php_ajax_vvvvvyo);
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
});
// the vvvvvyf function
function vvvvvyf(add_php_view_vvvvvyf)
// the vvvvvyg function
function vvvvvyg(add_php_view_vvvvvyg)
{
// set the function logic
if (add_php_view_vvvvvyf == 1)
if (add_php_view_vvvvvyg == 1)
{
jQuery('#jform_php_view-lbl').closest('.control-group').show();
if (jform_vvvvvyfvxy_required)
if (jform_vvvvvygvxz_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvyfvxy_required = false;
}
}
else
{
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvyfvxy_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyfvxy_required = true;
}
}
}
// the vvvvvyg function
function vvvvvyg(add_php_jview_display_vvvvvyg)
{
// set the function logic
if (add_php_jview_display_vvvvvyg == 1)
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvygvxz_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvygvxz_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvygvxz_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvygvxz_required = true;
}
}
}
// the vvvvvyh function
function vvvvvyh(add_php_jview_vvvvvyh)
function vvvvvyh(add_php_jview_display_vvvvvyh)
{
// set the function logic
if (add_php_jview_vvvvvyh == 1)
if (add_php_jview_display_vvvvvyh == 1)
{
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvyhvya_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyhvya_required = false;
}
}
else
{
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
if (!jform_vvvvvyhvya_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyhvya_required = true;
}
}
}
// the vvvvvyi function
function vvvvvyi(add_php_document_vvvvvyi)
function vvvvvyi(add_php_jview_vvvvvyi)
{
// set the function logic
if (add_php_document_vvvvvyi == 1)
if (add_php_jview_vvvvvyi == 1)
{
jQuery('#jform_php_document-lbl').closest('.control-group').show();
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
if (jform_vvvvvyivyb_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvyivyb_required = false;
}
}
else
{
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
if (!jform_vvvvvyivyb_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvyivyb_required = true;
}
}
}
// the vvvvvyj function
function vvvvvyj(add_css_document_vvvvvyj)
function vvvvvyj(add_php_document_vvvvvyj)
{
// set the function logic
if (add_css_document_vvvvvyj == 1)
if (add_php_document_vvvvvyj == 1)
{
jQuery('#jform_css_document-lbl').closest('.control-group').show();
jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvyjvyc_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvyjvyc_required = false;
}
}
else
{
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvyjvyc_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvyjvyc_required = true;
}
}
}
// the vvvvvyk function
function vvvvvyk(add_javascript_file_vvvvvyk)
function vvvvvyk(add_css_document_vvvvvyk)
{
// set the function logic
if (add_javascript_file_vvvvvyk == 1)
if (add_css_document_vvvvvyk == 1)
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
jQuery('#jform_css_document-lbl').closest('.control-group').show();
if (jform_vvvvvykvyd_required)
{
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvykvyd_required = false;
}
}
else
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvykvyd_required)
{
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvykvyd_required = true;
}
}
}
// the vvvvvyl function
function vvvvvyl(add_js_document_vvvvvyl)
function vvvvvyl(add_javascript_file_vvvvvyl)
{
// set the function logic
if (add_js_document_vvvvvyl == 1)
if (add_javascript_file_vvvvvyl == 1)
{
jQuery('#jform_js_document-lbl').closest('.control-group').show();
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
if (jform_vvvvvylvye_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvylvye_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvylvye_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvylvye_required = true;
}
}
}
// the vvvvvym function
function vvvvvym(add_custom_button_vvvvvym)
function vvvvvym(add_js_document_vvvvvym)
{
// set the function logic
if (add_custom_button_vvvvvym == 1)
if (add_js_document_vvvvvym == 1)
{
jQuery('#jform_js_document-lbl').closest('.control-group').show();
if (jform_vvvvvymvyf_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvymvyf_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvymvyf_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvymvyf_required = true;
}
}
}
// the vvvvvyn function
function vvvvvyn(add_custom_button_vvvvvyn)
{
// set the function logic
if (add_custom_button_vvvvvyn == 1)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
if (jform_vvvvvymvyf_required)
if (jform_vvvvvynvyg_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvymvyf_required = false;
jform_vvvvvynvyg_required = false;
}
jQuery('#jform_php_model-lbl').closest('.control-group').show();
if (jform_vvvvvymvyg_required)
if (jform_vvvvvynvyh_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvymvyg_required = false;
jform_vvvvvynvyh_required = false;
}
}
@ -304,72 +304,72 @@ function vvvvvym(add_custom_button_vvvvvym)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
if (!jform_vvvvvymvyf_required)
if (!jform_vvvvvynvyg_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvymvyf_required = true;
jform_vvvvvynvyg_required = true;
}
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
if (!jform_vvvvvymvyg_required)
if (!jform_vvvvvynvyh_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvymvyg_required = true;
}
}
}
// the vvvvvyn function
function vvvvvyn(add_css_vvvvvyn)
{
// set the function logic
if (add_css_vvvvvyn == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
if (jform_vvvvvynvyh_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvynvyh_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
if (!jform_vvvvvynvyh_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvynvyh_required = true;
}
}
}
// the vvvvvyo function
function vvvvvyo(add_php_ajax_vvvvvyo)
function vvvvvyo(add_css_vvvvvyo)
{
// set the function logic
if (add_php_ajax_vvvvvyo == 1)
if (add_css_vvvvvyo == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
if (jform_vvvvvyovyi_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyovyi_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
if (!jform_vvvvvyovyi_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyovyi_required = true;
}
}
}
// the vvvvvyp function
function vvvvvyp(add_php_ajax_vvvvvyp)
{
// set the function logic
if (add_php_ajax_vvvvvyp == 1)
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
if (jform_vvvvvyovyi_required)
if (jform_vvvvvypvyj_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvyovyi_required = false;
jform_vvvvvypvyj_required = false;
}
}
@ -377,13 +377,13 @@ function vvvvvyo(add_php_ajax_vvvvvyo)
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
if (!jform_vvvvvyovyi_required)
if (!jform_vvvvvypvyj_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvyovyi_required = true;
jform_vvvvvypvyj_required = true;
}
}
}

View File

@ -9,43 +9,43 @@
*/
// Some Global Values
jform_vvvvwabvzq_required = false;
jform_vvvvwacvzr_required = false;
jform_vvvvwacvzs_required = false;
jform_vvvvwacvzt_required = false;
jform_vvvvwadvzs_required = false;
jform_vvvvwadvzt_required = false;
jform_vvvvwadvzu_required = false;
// Initial Script
jQuery(document).ready(function()
{
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwab(target_vvvvwab);
var target_vvvvwac = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwac(target_vvvvwac);
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwad(target_vvvvwad,type_vvvvwad);
vvvvwad(target_vvvvwad);
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(type_vvvvwae,target_vvvvwae);
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwae(target_vvvvwae,type_vvvvwae);
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf,target_vvvvwaf);
});
// the vvvvwab function
function vvvvwab(target_vvvvwab)
// the vvvvwac function
function vvvvwac(target_vvvvwac)
{
// set the function logic
if (target_vvvvwab == 2)
if (target_vvvvwac == 2)
{
jQuery('#jform_function_name').closest('.control-group').show();
if (jform_vvvvwabvzq_required)
if (jform_vvvvwacvzr_required)
{
updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required');
jform_vvvvwabvzq_required = false;
jform_vvvvwacvzr_required = false;
}
jQuery('.note_jcb_placeholder').closest('.control-group').show();
@ -54,99 +54,99 @@ function vvvvwab(target_vvvvwab)
else
{
jQuery('#jform_function_name').closest('.control-group').hide();
if (!jform_vvvvwabvzq_required)
if (!jform_vvvvwacvzr_required)
{
updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required');
jform_vvvvwabvzq_required = true;
jform_vvvvwacvzr_required = true;
}
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide();
}
}
// the vvvvwac function
function vvvvwac(target_vvvvwac)
// the vvvvwad function
function vvvvwad(target_vvvvwad)
{
// set the function logic
if (target_vvvvwac == 1)
if (target_vvvvwad == 1)
{
jQuery('#jform_component').closest('.control-group').show();
if (jform_vvvvwacvzr_required)
if (jform_vvvvwadvzs_required)
{
updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required');
jform_vvvvwacvzr_required = false;
jform_vvvvwadvzs_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
if (jform_vvvvwacvzs_required)
if (jform_vvvvwadvzt_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwacvzs_required = false;
jform_vvvvwadvzt_required = false;
}
jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show();
if (jform_vvvvwacvzt_required)
if (jform_vvvvwadvzu_required)
{
updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required');
jform_vvvvwacvzt_required = false;
jform_vvvvwadvzu_required = false;
}
}
else
{
jQuery('#jform_component').closest('.control-group').hide();
if (!jform_vvvvwacvzr_required)
if (!jform_vvvvwadvzs_required)
{
updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required');
jform_vvvvwacvzr_required = true;
jform_vvvvwadvzs_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
if (!jform_vvvvwacvzs_required)
if (!jform_vvvvwadvzt_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwacvzs_required = true;
jform_vvvvwadvzt_required = true;
}
jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide();
if (!jform_vvvvwacvzt_required)
if (!jform_vvvvwadvzu_required)
{
updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required');
jform_vvvvwacvzt_required = true;
jform_vvvvwadvzu_required = true;
}
}
}
// the vvvvwad function
function vvvvwad(target_vvvvwad,type_vvvvwad)
// the vvvvwae function
function vvvvwae(target_vvvvwae,type_vvvvwae)
{
// set the function logic
if (target_vvvvwad == 1 && type_vvvvwad == 1)
if (target_vvvvwae == 1 && type_vvvvwae == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
@ -158,11 +158,11 @@ function vvvvwad(target_vvvvwad,type_vvvvwad)
}
}
// the vvvvwae function
function vvvvwae(type_vvvvwae,target_vvvvwae)
// the vvvvwaf function
function vvvvwaf(type_vvvvwaf,target_vvvvwaf)
{
// set the function logic
if (type_vvvvwae == 1 && target_vvvvwae == 1)
if (type_vvvvwaf == 1 && target_vvvvwaf == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();

File diff suppressed because it is too large Load Diff

View File

@ -9,151 +9,96 @@
*/
// Some Global Values
jform_vvvvwanvzw_required = false;
jform_vvvvwaovzx_required = false;
jform_vvvvwapvzy_required = false;
jform_vvvvwaqvzz_required = false;
jform_vvvvwatwaa_required = false;
jform_vvvvwarwaa_required = false;
jform_vvvvwauwab_required = false;
jform_vvvvwavwac_required = false;
jform_vvvvwawwad_required = false;
jform_vvvvwaxwae_required = false;
// Initial Script
jQuery(document).ready(function()
{
var datalenght_vvvvwan = jQuery("#jform_datalenght").val();
vvvvwan(datalenght_vvvvwan);
var datalenght_vvvvwao = jQuery("#jform_datalenght").val();
vvvvwao(datalenght_vvvvwao);
var datadefault_vvvvwao = jQuery("#jform_datadefault").val();
vvvvwao(datadefault_vvvvwao);
var datatype_vvvvwap = jQuery("#jform_datatype").val();
vvvvwap(datatype_vvvvwap);
var datadefault_vvvvwap = jQuery("#jform_datadefault").val();
vvvvwap(datadefault_vvvvwap);
var datatype_vvvvwaq = jQuery("#jform_datatype").val();
vvvvwaq(datatype_vvvvwaq);
var store_vvvvwar = jQuery("#jform_store").val();
var datatype_vvvvwar = jQuery("#jform_datatype").val();
vvvvwar(store_vvvvwar,datatype_vvvvwar);
vvvvwar(datatype_vvvvwar);
var add_css_view_vvvvwat = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwat(add_css_view_vvvvwat);
var store_vvvvwas = jQuery("#jform_store").val();
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(store_vvvvwas,datatype_vvvvwas);
var add_css_views_vvvvwau = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwau(add_css_views_vvvvwau);
var add_css_view_vvvvwau = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwau(add_css_view_vvvvwau);
var add_javascript_view_footer_vvvvwav = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwav(add_javascript_view_footer_vvvvwav);
var add_css_views_vvvvwav = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwav(add_css_views_vvvvwav);
var add_javascript_views_footer_vvvvwaw = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_views_footer_vvvvwaw);
var add_javascript_view_footer_vvvvwaw = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_view_footer_vvvvwaw);
var add_javascript_views_footer_vvvvwax = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwax(add_javascript_views_footer_vvvvwax);
});
// the vvvvwan function
function vvvvwan(datalenght_vvvvwan)
// the vvvvwao function
function vvvvwao(datalenght_vvvvwao)
{
if (isSet(datalenght_vvvvwan) && datalenght_vvvvwan.constructor !== Array)
if (isSet(datalenght_vvvvwao) && datalenght_vvvvwao.constructor !== Array)
{
var temp_vvvvwan = datalenght_vvvvwan;
var datalenght_vvvvwan = [];
datalenght_vvvvwan.push(temp_vvvvwan);
var temp_vvvvwao = datalenght_vvvvwao;
var datalenght_vvvvwao = [];
datalenght_vvvvwao.push(temp_vvvvwao);
}
else if (!isSet(datalenght_vvvvwan))
else if (!isSet(datalenght_vvvvwao))
{
var datalenght_vvvvwan = [];
var datalenght_vvvvwao = [];
}
var datalenght = datalenght_vvvvwan.some(datalenght_vvvvwan_SomeFunc);
var datalenght = datalenght_vvvvwao.some(datalenght_vvvvwao_SomeFunc);
// set this function logic
if (datalenght)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvwanvzw_required)
if (jform_vvvvwaovzx_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvwanvzw_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvwanvzw_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwanvzw_required = true;
}
}
}
// the vvvvwan Some function
function datalenght_vvvvwan_SomeFunc(datalenght_vvvvwan)
{
// set the function logic
if (datalenght_vvvvwan == 'Other')
{
return true;
}
return false;
}
// the vvvvwao function
function vvvvwao(datadefault_vvvvwao)
{
if (isSet(datadefault_vvvvwao) && datadefault_vvvvwao.constructor !== Array)
{
var temp_vvvvwao = datadefault_vvvvwao;
var datadefault_vvvvwao = [];
datadefault_vvvvwao.push(temp_vvvvwao);
}
else if (!isSet(datadefault_vvvvwao))
{
var datadefault_vvvvwao = [];
}
var datadefault = datadefault_vvvvwao.some(datadefault_vvvvwao_SomeFunc);
// set this function logic
if (datadefault)
{
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvwaovzx_required)
{
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwaovzx_required = false;
}
}
else
{
jQuery('#jform_datadefault_other').closest('.control-group').hide();
jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvwaovzx_required)
{
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwaovzx_required = true;
}
}
}
// the vvvvwao Some function
function datadefault_vvvvwao_SomeFunc(datadefault_vvvvwao)
function datalenght_vvvvwao_SomeFunc(datalenght_vvvvwao)
{
// set the function logic
if (datadefault_vvvvwao == 'Other')
if (datalenght_vvvvwao == 'Other')
{
return true;
}
@ -161,58 +106,54 @@ function datadefault_vvvvwao_SomeFunc(datadefault_vvvvwao)
}
// the vvvvwap function
function vvvvwap(datatype_vvvvwap)
function vvvvwap(datadefault_vvvvwap)
{
if (isSet(datatype_vvvvwap) && datatype_vvvvwap.constructor !== Array)
if (isSet(datadefault_vvvvwap) && datadefault_vvvvwap.constructor !== Array)
{
var temp_vvvvwap = datatype_vvvvwap;
var datatype_vvvvwap = [];
datatype_vvvvwap.push(temp_vvvvwap);
var temp_vvvvwap = datadefault_vvvvwap;
var datadefault_vvvvwap = [];
datadefault_vvvvwap.push(temp_vvvvwap);
}
else if (!isSet(datatype_vvvvwap))
else if (!isSet(datadefault_vvvvwap))
{
var datatype_vvvvwap = [];
var datadefault_vvvvwap = [];
}
var datatype = datatype_vvvvwap.some(datatype_vvvvwap_SomeFunc);
var datadefault = datadefault_vvvvwap.some(datadefault_vvvvwap_SomeFunc);
// set this function logic
if (datatype)
if (datadefault)
{
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvwapvzy_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvwapvzy_required = false;
}
}
else
{
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvwapvzy_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwapvzy_required = true;
}
}
}
// the vvvvwap Some function
function datatype_vvvvwap_SomeFunc(datatype_vvvvwap)
function datadefault_vvvvwap_SomeFunc(datadefault_vvvvwap)
{
// set the function logic
if (datatype_vvvvwap == 'CHAR' || datatype_vvvvwap == 'VARCHAR' || datatype_vvvvwap == 'DATETIME' || datatype_vvvvwap == 'DATE' || datatype_vvvvwap == 'TIME' || datatype_vvvvwap == 'INT' || datatype_vvvvwap == 'TINYINT' || datatype_vvvvwap == 'BIGINT' || datatype_vvvvwap == 'FLOAT' || datatype_vvvvwap == 'DECIMAL' || datatype_vvvvwap == 'DOUBLE')
if (datadefault_vvvvwap == 'Other')
{
return true;
}
@ -238,26 +179,30 @@ function vvvvwaq(datatype_vvvvwaq)
// set this function logic
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvwaqvzz_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwaqvzz_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvwaqvzz_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwaqvzz_required = true;
}
}
@ -267,7 +212,7 @@ function vvvvwaq(datatype_vvvvwaq)
function datatype_vvvvwaq_SomeFunc(datatype_vvvvwaq)
{
// set the function logic
if (datatype_vvvvwaq == 'CHAR' || datatype_vvvvwaq == 'VARCHAR' || datatype_vvvvwaq == 'TEXT' || datatype_vvvvwaq == 'MEDIUMTEXT' || datatype_vvvvwaq == 'LONGTEXT')
if (datatype_vvvvwaq == 'CHAR' || datatype_vvvvwaq == 'VARCHAR' || datatype_vvvvwaq == 'DATETIME' || datatype_vvvvwaq == 'DATE' || datatype_vvvvwaq == 'TIME' || datatype_vvvvwaq == 'INT' || datatype_vvvvwaq == 'TINYINT' || datatype_vvvvwaq == 'BIGINT' || datatype_vvvvwaq == 'FLOAT' || datatype_vvvvwaq == 'DECIMAL' || datatype_vvvvwaq == 'DOUBLE')
{
return true;
}
@ -275,20 +220,8 @@ function datatype_vvvvwaq_SomeFunc(datatype_vvvvwaq)
}
// the vvvvwar function
function vvvvwar(store_vvvvwar,datatype_vvvvwar)
function vvvvwar(datatype_vvvvwar)
{
if (isSet(store_vvvvwar) && store_vvvvwar.constructor !== Array)
{
var temp_vvvvwar = store_vvvvwar;
var store_vvvvwar = [];
store_vvvvwar.push(temp_vvvvwar);
}
else if (!isSet(store_vvvvwar))
{
var store_vvvvwar = [];
}
var store = store_vvvvwar.some(store_vvvvwar_SomeFunc);
if (isSet(datatype_vvvvwar) && datatype_vvvvwar.constructor !== Array)
{
var temp_vvvvwar = datatype_vvvvwar;
@ -303,25 +236,31 @@ function vvvvwar(store_vvvvwar,datatype_vvvvwar)
// set this function logic
if (store && datatype)
if (datatype)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvwarwaa_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwarwaa_required = false;
}
}
else
{
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
}
}
// the vvvvwar Some function
function store_vvvvwar_SomeFunc(store_vvvvwar)
{
// set the function logic
if (store_vvvvwar == 4)
jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvwarwaa_required)
{
return true;
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwarwaa_required = true;
}
}
return false;
}
// the vvvvwar Some function
@ -335,126 +274,187 @@ function datatype_vvvvwar_SomeFunc(datatype_vvvvwar)
return false;
}
// the vvvvwat function
function vvvvwat(add_css_view_vvvvwat)
// the vvvvwas function
function vvvvwas(store_vvvvwas,datatype_vvvvwas)
{
if (isSet(store_vvvvwas) && store_vvvvwas.constructor !== Array)
{
var temp_vvvvwas = store_vvvvwas;
var store_vvvvwas = [];
store_vvvvwas.push(temp_vvvvwas);
}
else if (!isSet(store_vvvvwas))
{
var store_vvvvwas = [];
}
var store = store_vvvvwas.some(store_vvvvwas_SomeFunc);
if (isSet(datatype_vvvvwas) && datatype_vvvvwas.constructor !== Array)
{
var temp_vvvvwas = datatype_vvvvwas;
var datatype_vvvvwas = [];
datatype_vvvvwas.push(temp_vvvvwas);
}
else if (!isSet(datatype_vvvvwas))
{
var datatype_vvvvwas = [];
}
var datatype = datatype_vvvvwas.some(datatype_vvvvwas_SomeFunc);
// set this function logic
if (store && datatype)
{
jQuery('.note_whmcs_encryption').closest('.control-group').show();
}
else
{
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
}
}
// the vvvvwas Some function
function store_vvvvwas_SomeFunc(store_vvvvwas)
{
// set the function logic
if (add_css_view_vvvvwat == 1)
if (store_vvvvwas == 4)
{
return true;
}
return false;
}
// the vvvvwas Some function
function datatype_vvvvwas_SomeFunc(datatype_vvvvwas)
{
// set the function logic
if (datatype_vvvvwas == 'CHAR' || datatype_vvvvwas == 'VARCHAR' || datatype_vvvvwas == 'TEXT' || datatype_vvvvwas == 'MEDIUMTEXT' || datatype_vvvvwas == 'LONGTEXT')
{
return true;
}
return false;
}
// the vvvvwau function
function vvvvwau(add_css_view_vvvvwau)
{
// set the function logic
if (add_css_view_vvvvwau == 1)
{
jQuery('#jform_css_view-lbl').closest('.control-group').show();
if (jform_vvvvwatwaa_required)
if (jform_vvvvwauwab_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
jform_vvvvwatwaa_required = false;
}
}
else
{
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
if (!jform_vvvvwatwaa_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwatwaa_required = true;
}
}
}
// the vvvvwau function
function vvvvwau(add_css_views_vvvvwau)
{
// set the function logic
if (add_css_views_vvvvwau == 1)
{
jQuery('#jform_css_views-lbl').closest('.control-group').show();
if (jform_vvvvwauwab_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwauwab_required = false;
}
}
else
{
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
if (!jform_vvvvwauwab_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwauwab_required = true;
}
}
}
// the vvvvwav function
function vvvvwav(add_javascript_view_footer_vvvvwav)
function vvvvwav(add_css_views_vvvvwav)
{
// set the function logic
if (add_javascript_view_footer_vvvvwav == 1)
if (add_css_views_vvvvwav == 1)
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
jQuery('#jform_css_views-lbl').closest('.control-group').show();
if (jform_vvvvwavwac_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwavwac_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
if (!jform_vvvvwavwac_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvwavwac_required = true;
}
}
}
// the vvvvwaw function
function vvvvwaw(add_javascript_views_footer_vvvvwaw)
function vvvvwaw(add_javascript_view_footer_vvvvwaw)
{
// set the function logic
if (add_javascript_views_footer_vvvvwaw == 1)
if (add_javascript_view_footer_vvvvwaw == 1)
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
if (jform_vvvvwawwad_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwawwad_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
if (!jform_vvvvwawwad_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwawwad_required = true;
}
}
}
// the vvvvwax function
function vvvvwax(add_javascript_views_footer_vvvvwax)
{
// set the function logic
if (add_javascript_views_footer_vvvvwax == 1)
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
if (jform_vvvvwaxwae_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwaxwae_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
if (!jform_vvvvwaxwae_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwawwad_required = true;
jform_vvvvwaxwae_required = true;
}
}
}

View File

@ -9,24 +9,21 @@
*/
// Some Global Values
jform_vvvvwbhwap_required = false;
jform_vvvvwbiwaq_required = false;
jform_vvvvwbjwar_required = false;
jform_vvvvwbkwas_required = false;
jform_vvvvwblwat_required = false;
jform_vvvvwbmwau_required = false;
jform_vvvvwbnwav_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_vvvvwbh = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbh(location_vvvvwbh);
var location_vvvvwbi = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbi(location_vvvvwbi);
var type_vvvvwbj = jQuery("#jform_type").val();
vvvvwbj(type_vvvvwbj);
var location_vvvvwbj = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbj(location_vvvvwbj);
var type_vvvvwbk = jQuery("#jform_type").val();
vvvvwbk(type_vvvvwbk);
@ -34,127 +31,75 @@ jQuery(document).ready(function()
var type_vvvvwbl = jQuery("#jform_type").val();
vvvvwbl(type_vvvvwbl);
var target_vvvvwbm = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbm(target_vvvvwbm);
var type_vvvvwbm = jQuery("#jform_type").val();
vvvvwbm(type_vvvvwbm);
var target_vvvvwbn = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbn(target_vvvvwbn);
});
// the vvvvwbh function
function vvvvwbh(location_vvvvwbh)
{
// set the function logic
if (location_vvvvwbh == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwbhwap_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvwbhwap_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwbhwap_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwbhwap_required = true;
}
}
}
// the vvvvwbi function
function vvvvwbi(location_vvvvwbi)
{
// set the function logic
if (location_vvvvwbi == 2)
if (location_vvvvwbi == 1)
{
jQuery('#jform_site_view').closest('.control-group').show();
jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwbiwaq_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvwbiwaq_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwbiwaq_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwbiwaq_required = true;
}
}
}
// the vvvvwbj function
function vvvvwbj(type_vvvvwbj)
function vvvvwbj(location_vvvvwbj)
{
if (isSet(type_vvvvwbj) && type_vvvvwbj.constructor !== Array)
// set the function logic
if (location_vvvvwbj == 2)
{
var temp_vvvvwbj = type_vvvvwbj;
var type_vvvvwbj = [];
type_vvvvwbj.push(temp_vvvvwbj);
}
else if (!isSet(type_vvvvwbj))
{
var type_vvvvwbj = [];
}
var type = type_vvvvwbj.some(type_vvvvwbj_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
jQuery('#jform_site_view').closest('.control-group').show();
if (jform_vvvvwbjwar_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
jform_vvvvwbjwar_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvwbjwar_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
jform_vvvvwbjwar_required = true;
}
}
}
// the vvvvwbj Some function
function type_vvvvwbj_SomeFunc(type_vvvvwbj)
{
// set the function logic
if (type_vvvvwbj == 3)
{
return true;
}
return false;
}
// the vvvvwbk function
function vvvvwbk(type_vvvvwbk)
{
@ -174,26 +119,26 @@ function vvvvwbk(type_vvvvwbk)
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvwbkwas_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwbkwas_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvwbkwas_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwbkwas_required = true;
}
}
@ -203,7 +148,7 @@ function vvvvwbk(type_vvvvwbk)
function type_vvvvwbk_SomeFunc(type_vvvvwbk)
{
// set the function logic
if (type_vvvvwbk == 1)
if (type_vvvvwbk == 3)
{
return true;
}
@ -229,26 +174,26 @@ function vvvvwbl(type_vvvvwbl)
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvwblwat_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwblwat_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvwblwat_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwblwat_required = true;
}
}
@ -258,7 +203,7 @@ function vvvvwbl(type_vvvvwbl)
function type_vvvvwbl_SomeFunc(type_vvvvwbl)
{
// set the function logic
if (type_vvvvwbl == 2)
if (type_vvvvwbl == 1)
{
return true;
}
@ -266,32 +211,87 @@ function type_vvvvwbl_SomeFunc(type_vvvvwbl)
}
// the vvvvwbm function
function vvvvwbm(target_vvvvwbm)
function vvvvwbm(type_vvvvwbm)
{
// set the function logic
if (target_vvvvwbm == 1)
if (isSet(type_vvvvwbm) && type_vvvvwbm.constructor !== Array)
{
jQuery('#jform_groups').closest('.control-group').show();
var temp_vvvvwbm = type_vvvvwbm;
var type_vvvvwbm = [];
type_vvvvwbm.push(temp_vvvvwbm);
}
else if (!isSet(type_vvvvwbm))
{
var type_vvvvwbm = [];
}
var type = type_vvvvwbm.some(type_vvvvwbm_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvwbmwau_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvwbmwau_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvwbmwau_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwbmwau_required = true;
}
}
}
// the vvvvwbm Some function
function type_vvvvwbm_SomeFunc(type_vvvvwbm)
{
// set the function logic
if (type_vvvvwbm == 2)
{
return true;
}
return false;
}
// the vvvvwbn function
function vvvvwbn(target_vvvvwbn)
{
// set the function logic
if (target_vvvvwbn == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvwbnwav_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwbnwav_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvwbnwav_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvwbmwau_required = true;
jform_vvvvwbnwav_required = true;
}
}
}

View File

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

View File

@ -9,15 +9,12 @@
*/
// Some Global Values
jform_vvvvwagvzu_required = false;
jform_vvvvwamvzv_required = false;
jform_vvvvwahvzv_required = false;
jform_vvvvwanvzw_required = false;
// Initial Script
jQuery(document).ready(function()
{
var how_vvvvwaf = jQuery("#jform_how").val();
vvvvwaf(how_vvvvwaf);
var how_vvvvwag = jQuery("#jform_how").val();
vvvvwag(how_vvvvwag);
@ -36,48 +33,13 @@ jQuery(document).ready(function()
var how_vvvvwal = jQuery("#jform_how").val();
vvvvwal(how_vvvvwal);
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwam(type_vvvvwam);
var how_vvvvwam = jQuery("#jform_how").val();
vvvvwam(how_vvvvwam);
var type_vvvvwan = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwan(type_vvvvwan);
});
// the vvvvwaf function
function vvvvwaf(how_vvvvwaf)
{
if (isSet(how_vvvvwaf) && how_vvvvwaf.constructor !== Array)
{
var temp_vvvvwaf = how_vvvvwaf;
var how_vvvvwaf = [];
how_vvvvwaf.push(temp_vvvvwaf);
}
else if (!isSet(how_vvvvwaf))
{
var how_vvvvwaf = [];
}
var how = how_vvvvwaf.some(how_vvvvwaf_SomeFunc);
// set this function logic
if (how)
{
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
// the vvvvwaf Some function
function how_vvvvwaf_SomeFunc(how_vvvvwaf)
{
// set the function logic
if (how_vvvvwaf == 2)
{
return true;
}
return false;
}
// the vvvvwag function
function vvvvwag(how_vvvvwag)
{
@ -97,28 +59,11 @@ function vvvvwag(how_vvvvwag)
// set this function logic
if (how)
{
jQuery('#jform_php_setdocument').closest('.control-group').show();
if (jform_vvvvwagvzu_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvwagvzu_required = false;
}
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('#jform_php_setdocument').closest('.control-group').hide();
if (!jform_vvvvwagvzu_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvwagvzu_required = true;
}
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
@ -126,7 +71,7 @@ function vvvvwag(how_vvvvwag)
function how_vvvvwag_SomeFunc(how_vvvvwag)
{
// set the function logic
if (how_vvvvwag == 3)
if (how_vvvvwag == 2)
{
return true;
}
@ -152,11 +97,28 @@ function vvvvwah(how_vvvvwah)
// set this function logic
if (how)
{
jQuery('.note_display_library_config').closest('.control-group').show();
jQuery('#jform_php_setdocument').closest('.control-group').show();
if (jform_vvvvwahvzv_required)
{
updateFieldRequired('php_setdocument',0);
jQuery('#jform_php_setdocument').prop('required','required');
jQuery('#jform_php_setdocument').attr('aria-required',true);
jQuery('#jform_php_setdocument').addClass('required');
jform_vvvvwahvzv_required = false;
}
}
else
{
jQuery('.note_display_library_config').closest('.control-group').hide();
jQuery('#jform_php_setdocument').closest('.control-group').hide();
if (!jform_vvvvwahvzv_required)
{
updateFieldRequired('php_setdocument',1);
jQuery('#jform_php_setdocument').removeAttr('required');
jQuery('#jform_php_setdocument').removeAttr('aria-required');
jQuery('#jform_php_setdocument').removeClass('required');
jform_vvvvwahvzv_required = true;
}
}
}
@ -164,7 +126,7 @@ function vvvvwah(how_vvvvwah)
function how_vvvvwah_SomeFunc(how_vvvvwah)
{
// set the function logic
if (how_vvvvwah == 2 || how_vvvvwah == 3)
if (how_vvvvwah == 3)
{
return true;
}
@ -190,11 +152,11 @@ function vvvvwai(how_vvvvwai)
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
@ -202,7 +164,7 @@ function vvvvwai(how_vvvvwai)
function how_vvvvwai_SomeFunc(how_vvvvwai)
{
// set the function logic
if (how_vvvvwai == 1 || how_vvvvwai == 2 || how_vvvvwai == 3)
if (how_vvvvwai == 2 || how_vvvvwai == 3)
{
return true;
}
@ -228,15 +190,11 @@ function vvvvwaj(how_vvvvwaj)
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
@ -244,7 +202,7 @@ function vvvvwaj(how_vvvvwaj)
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
{
// set the function logic
if (how_vvvvwaj == 0)
if (how_vvvvwaj == 1 || how_vvvvwaj == 2 || how_vvvvwaj == 3)
{
return true;
}
@ -270,13 +228,15 @@ function vvvvwak(how_vvvvwak)
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
@ -284,7 +244,7 @@ function vvvvwak(how_vvvvwak)
function how_vvvvwak_SomeFunc(how_vvvvwak)
{
// set the function logic
if (how_vvvvwak == 1)
if (how_vvvvwak == 0)
{
return true;
}
@ -307,6 +267,46 @@ function vvvvwal(how_vvvvwal)
var how = how_vvvvwal.some(how_vvvvwal_SomeFunc);
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
}
}
// the vvvvwal Some function
function how_vvvvwal_SomeFunc(how_vvvvwal)
{
// set the function logic
if (how_vvvvwal == 1)
{
return true;
}
return false;
}
// the vvvvwam function
function vvvvwam(how_vvvvwam)
{
if (isSet(how_vvvvwam) && how_vvvvwam.constructor !== Array)
{
var temp_vvvvwam = how_vvvvwam;
var how_vvvvwam = [];
how_vvvvwam.push(temp_vvvvwam);
}
else if (!isSet(how_vvvvwam))
{
var how_vvvvwam = [];
}
var how = how_vvvvwam.some(how_vvvvwam_SomeFunc);
// set this function logic
if (how)
{
@ -322,44 +322,44 @@ function vvvvwal(how_vvvvwal)
}
}
// the vvvvwal Some function
function how_vvvvwal_SomeFunc(how_vvvvwal)
// the vvvvwam Some function
function how_vvvvwam_SomeFunc(how_vvvvwam)
{
// set the function logic
if (how_vvvvwal == 4)
if (how_vvvvwam == 4)
{
return true;
}
return false;
}
// the vvvvwam function
function vvvvwam(type_vvvvwam)
// the vvvvwan function
function vvvvwan(type_vvvvwan)
{
// set the function logic
if (type_vvvvwam == 2)
if (type_vvvvwan == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
if (jform_vvvvwamvzv_required)
if (jform_vvvvwanvzw_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
jform_vvvvwamvzv_required = false;
jform_vvvvwanvzw_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
if (!jform_vvvvwamvzv_required)
if (!jform_vvvvwanvzw_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
jform_vvvvwamvzv_required = true;
jform_vvvvwanvzw_required = true;
}
}
}

View File

@ -113,7 +113,7 @@
name="field"
label="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_LABEL"
description="COM_COMPONENTBUILDER_LIBRARY_CONFIG_FIELD_DESCRIPTION"
class="list_class"
class="list_class fieldFull"
multiple="false"
required="false"
button="false"

View File

@ -9,175 +9,42 @@
*/
// Some Global Values
jform_vvvvwaxwaf_required = false;
jform_vvvvwaxwag_required = false;
jform_vvvvwaxwah_required = false;
jform_vvvvwaxwai_required = false;
jform_vvvvwaxwaj_required = false;
jform_vvvvwaywag_required = false;
jform_vvvvwaywah_required = false;
jform_vvvvwaywai_required = false;
jform_vvvvwaywaj_required = false;
jform_vvvvwaywak_required = false;
jform_vvvvwazwal_required = false;
jform_vvvvwbbwam_required = false;
jform_vvvvwbdwan_required = false;
jform_vvvvwbawam_required = false;
jform_vvvvwbcwan_required = false;
jform_vvvvwbewao_required = false;
// Initial Script
jQuery(document).ready(function()
{
var protocol_vvvvwax = jQuery("#jform_protocol").val();
vvvvwax(protocol_vvvvwax);
var protocol_vvvvway = jQuery("#jform_protocol").val();
vvvvway(protocol_vvvvway);
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
vvvvwaz(protocol_vvvvwaz);
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
var protocol_vvvvwba = jQuery("#jform_protocol").val();
var authentication_vvvvwba = jQuery("#jform_authentication").val();
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
var protocol_vvvvwbg = jQuery("#jform_protocol").val();
var authentication_vvvvwbg = jQuery("#jform_authentication").val();
vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
});
// the vvvvwax function
function vvvvwax(protocol_vvvvwax)
{
if (isSet(protocol_vvvvwax) && protocol_vvvvwax.constructor !== Array)
{
var temp_vvvvwax = protocol_vvvvwax;
var protocol_vvvvwax = [];
protocol_vvvvwax.push(temp_vvvvwax);
}
else if (!isSet(protocol_vvvvwax))
{
var protocol_vvvvwax = [];
}
var protocol = protocol_vvvvwax.some(protocol_vvvvwax_SomeFunc);
// set this function logic
if (protocol)
{
jQuery('#jform_authentication').closest('.control-group').show();
if (jform_vvvvwaxwaf_required)
{
updateFieldRequired('authentication',0);
jQuery('#jform_authentication').prop('required','required');
jQuery('#jform_authentication').attr('aria-required',true);
jQuery('#jform_authentication').addClass('required');
jform_vvvvwaxwaf_required = false;
}
jQuery('#jform_host').closest('.control-group').show();
if (jform_vvvvwaxwag_required)
{
updateFieldRequired('host',0);
jQuery('#jform_host').prop('required','required');
jQuery('#jform_host').attr('aria-required',true);
jQuery('#jform_host').addClass('required');
jform_vvvvwaxwag_required = false;
}
jQuery('#jform_port').closest('.control-group').show();
if (jform_vvvvwaxwah_required)
{
updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required');
jform_vvvvwaxwah_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
if (jform_vvvvwaxwai_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwaxwai_required = false;
}
jQuery('.note_ssh_security').closest('.control-group').show();
jQuery('#jform_username').closest('.control-group').show();
if (jform_vvvvwaxwaj_required)
{
updateFieldRequired('username',0);
jQuery('#jform_username').prop('required','required');
jQuery('#jform_username').attr('aria-required',true);
jQuery('#jform_username').addClass('required');
jform_vvvvwaxwaj_required = false;
}
}
else
{
jQuery('#jform_authentication').closest('.control-group').hide();
if (!jform_vvvvwaxwaf_required)
{
updateFieldRequired('authentication',1);
jQuery('#jform_authentication').removeAttr('required');
jQuery('#jform_authentication').removeAttr('aria-required');
jQuery('#jform_authentication').removeClass('required');
jform_vvvvwaxwaf_required = true;
}
jQuery('#jform_host').closest('.control-group').hide();
if (!jform_vvvvwaxwag_required)
{
updateFieldRequired('host',1);
jQuery('#jform_host').removeAttr('required');
jQuery('#jform_host').removeAttr('aria-required');
jQuery('#jform_host').removeClass('required');
jform_vvvvwaxwag_required = true;
}
jQuery('#jform_port').closest('.control-group').hide();
if (!jform_vvvvwaxwah_required)
{
updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required');
jform_vvvvwaxwah_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
if (!jform_vvvvwaxwai_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwaxwai_required = true;
}
jQuery('.note_ssh_security').closest('.control-group').hide();
jQuery('#jform_username').closest('.control-group').hide();
if (!jform_vvvvwaxwaj_required)
{
updateFieldRequired('username',1);
jQuery('#jform_username').removeAttr('required');
jQuery('#jform_username').removeAttr('aria-required');
jQuery('#jform_username').removeClass('required');
jform_vvvvwaxwaj_required = true;
}
}
}
// the vvvvwax Some function
function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
{
// set the function logic
if (protocol_vvvvwax == 2)
{
return true;
}
return false;
}
// the vvvvway function
function vvvvway(protocol_vvvvway)
{
@ -197,28 +64,104 @@ function vvvvway(protocol_vvvvway)
// set this function logic
if (protocol)
{
jQuery('.note_ftp_signature').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show();
jQuery('#jform_authentication').closest('.control-group').show();
if (jform_vvvvwaywag_required)
{
updateFieldRequired('authentication',0);
jQuery('#jform_authentication').prop('required','required');
jQuery('#jform_authentication').attr('aria-required',true);
jQuery('#jform_authentication').addClass('required');
jform_vvvvwaywag_required = false;
}
jQuery('#jform_host').closest('.control-group').show();
if (jform_vvvvwaywah_required)
{
updateFieldRequired('host',0);
jQuery('#jform_host').prop('required','required');
jQuery('#jform_host').attr('aria-required',true);
jQuery('#jform_host').addClass('required');
jform_vvvvwaywah_required = false;
}
jQuery('#jform_port').closest('.control-group').show();
if (jform_vvvvwaywai_required)
{
updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required');
jform_vvvvwaywai_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
if (jform_vvvvwaywaj_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwaywaj_required = false;
}
jQuery('.note_ssh_security').closest('.control-group').show();
jQuery('#jform_username').closest('.control-group').show();
if (jform_vvvvwaywak_required)
{
updateFieldRequired('signature',0);
jQuery('#jform_signature').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_signature').addClass('required');
updateFieldRequired('username',0);
jQuery('#jform_username').prop('required','required');
jQuery('#jform_username').attr('aria-required',true);
jQuery('#jform_username').addClass('required');
jform_vvvvwaywak_required = false;
}
}
else
{
jQuery('.note_ftp_signature').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide();
jQuery('#jform_authentication').closest('.control-group').hide();
if (!jform_vvvvwaywag_required)
{
updateFieldRequired('authentication',1);
jQuery('#jform_authentication').removeAttr('required');
jQuery('#jform_authentication').removeAttr('aria-required');
jQuery('#jform_authentication').removeClass('required');
jform_vvvvwaywag_required = true;
}
jQuery('#jform_host').closest('.control-group').hide();
if (!jform_vvvvwaywah_required)
{
updateFieldRequired('host',1);
jQuery('#jform_host').removeAttr('required');
jQuery('#jform_host').removeAttr('aria-required');
jQuery('#jform_host').removeClass('required');
jform_vvvvwaywah_required = true;
}
jQuery('#jform_port').closest('.control-group').hide();
if (!jform_vvvvwaywai_required)
{
updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required');
jform_vvvvwaywai_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
if (!jform_vvvvwaywaj_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwaywaj_required = true;
}
jQuery('.note_ssh_security').closest('.control-group').hide();
jQuery('#jform_username').closest('.control-group').hide();
if (!jform_vvvvwaywak_required)
{
updateFieldRequired('signature',1);
jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required');
updateFieldRequired('username',1);
jQuery('#jform_username').removeAttr('required');
jQuery('#jform_username').removeAttr('aria-required');
jQuery('#jform_username').removeClass('required');
jform_vvvvwaywak_required = true;
}
}
@ -228,7 +171,7 @@ function vvvvway(protocol_vvvvway)
function protocol_vvvvway_SomeFunc(protocol_vvvvway)
{
// set the function logic
if (protocol_vvvvway == 1)
if (protocol_vvvvway == 2)
{
return true;
}
@ -236,7 +179,7 @@ function protocol_vvvvway_SomeFunc(protocol_vvvvway)
}
// the vvvvwaz function
function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
function vvvvwaz(protocol_vvvvwaz)
{
if (isSet(protocol_vvvvwaz) && protocol_vvvvwaz.constructor !== Array)
{
@ -250,42 +193,32 @@ function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
}
var protocol = protocol_vvvvwaz.some(protocol_vvvvwaz_SomeFunc);
if (isSet(authentication_vvvvwaz) && authentication_vvvvwaz.constructor !== Array)
{
var temp_vvvvwaz = authentication_vvvvwaz;
var authentication_vvvvwaz = [];
authentication_vvvvwaz.push(temp_vvvvwaz);
}
else if (!isSet(authentication_vvvvwaz))
{
var authentication_vvvvwaz = [];
}
var authentication = authentication_vvvvwaz.some(authentication_vvvvwaz_SomeFunc);
// set this function logic
if (protocol && authentication)
if (protocol)
{
jQuery('#jform_password').closest('.control-group').show();
jQuery('.note_ftp_signature').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show();
if (jform_vvvvwazwal_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
updateFieldRequired('signature',0);
jQuery('#jform_signature').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_signature').addClass('required');
jform_vvvvwazwal_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
jQuery('.note_ftp_signature').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide();
if (!jform_vvvvwazwal_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
updateFieldRequired('signature',1);
jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required');
jform_vvvvwazwal_required = true;
}
}
@ -295,206 +228,273 @@ function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
function protocol_vvvvwaz_SomeFunc(protocol_vvvvwaz)
{
// set the function logic
if (protocol_vvvvwaz == 2)
if (protocol_vvvvwaz == 1)
{
return true;
}
return false;
}
// the vvvvwaz Some function
function authentication_vvvvwaz_SomeFunc(authentication_vvvvwaz)
// the vvvvwba function
function vvvvwba(protocol_vvvvwba,authentication_vvvvwba)
{
if (isSet(protocol_vvvvwba) && protocol_vvvvwba.constructor !== Array)
{
var temp_vvvvwba = protocol_vvvvwba;
var protocol_vvvvwba = [];
protocol_vvvvwba.push(temp_vvvvwba);
}
else if (!isSet(protocol_vvvvwba))
{
var protocol_vvvvwba = [];
}
var protocol = protocol_vvvvwba.some(protocol_vvvvwba_SomeFunc);
if (isSet(authentication_vvvvwba) && authentication_vvvvwba.constructor !== Array)
{
var temp_vvvvwba = authentication_vvvvwba;
var authentication_vvvvwba = [];
authentication_vvvvwba.push(temp_vvvvwba);
}
else if (!isSet(authentication_vvvvwba))
{
var authentication_vvvvwba = [];
}
var authentication = authentication_vvvvwba.some(authentication_vvvvwba_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_password').closest('.control-group').show();
if (jform_vvvvwbawam_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
jform_vvvvwbawam_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
if (!jform_vvvvwbawam_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
jform_vvvvwbawam_required = true;
}
}
}
// the vvvvwba Some function
function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
{
// set the function logic
if (authentication_vvvvwaz == 1 || authentication_vvvvwaz == 3 || authentication_vvvvwaz == 5)
if (protocol_vvvvwba == 2)
{
return true;
}
return false;
}
// the vvvvwbb function
function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
// the vvvvwba Some function
function authentication_vvvvwba_SomeFunc(authentication_vvvvwba)
{
if (isSet(protocol_vvvvwbb) && protocol_vvvvwbb.constructor !== Array)
// set the function logic
if (authentication_vvvvwba == 1 || authentication_vvvvwba == 3 || authentication_vvvvwba == 5)
{
var temp_vvvvwbb = protocol_vvvvwbb;
var protocol_vvvvwbb = [];
protocol_vvvvwbb.push(temp_vvvvwbb);
return true;
}
else if (!isSet(protocol_vvvvwbb))
{
var protocol_vvvvwbb = [];
}
var protocol = protocol_vvvvwbb.some(protocol_vvvvwbb_SomeFunc);
return false;
}
if (isSet(authentication_vvvvwbb) && authentication_vvvvwbb.constructor !== Array)
// the vvvvwbc function
function vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc)
{
if (isSet(protocol_vvvvwbc) && protocol_vvvvwbc.constructor !== Array)
{
var temp_vvvvwbb = authentication_vvvvwbb;
var authentication_vvvvwbb = [];
authentication_vvvvwbb.push(temp_vvvvwbb);
var temp_vvvvwbc = protocol_vvvvwbc;
var protocol_vvvvwbc = [];
protocol_vvvvwbc.push(temp_vvvvwbc);
}
else if (!isSet(authentication_vvvvwbb))
else if (!isSet(protocol_vvvvwbc))
{
var authentication_vvvvwbb = [];
var protocol_vvvvwbc = [];
}
var authentication = authentication_vvvvwbb.some(authentication_vvvvwbb_SomeFunc);
var protocol = protocol_vvvvwbc.some(protocol_vvvvwbc_SomeFunc);
if (isSet(authentication_vvvvwbc) && authentication_vvvvwbc.constructor !== Array)
{
var temp_vvvvwbc = authentication_vvvvwbc;
var authentication_vvvvwbc = [];
authentication_vvvvwbc.push(temp_vvvvwbc);
}
else if (!isSet(authentication_vvvvwbc))
{
var authentication_vvvvwbc = [];
}
var authentication = authentication_vvvvwbc.some(authentication_vvvvwbc_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_private').closest('.control-group').show();
if (jform_vvvvwbbwam_required)
if (jform_vvvvwbcwan_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
jform_vvvvwbbwam_required = false;
jform_vvvvwbcwan_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
if (!jform_vvvvwbbwam_required)
if (!jform_vvvvwbcwan_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
jform_vvvvwbbwam_required = true;
jform_vvvvwbcwan_required = true;
}
}
}
// the vvvvwbb Some function
function protocol_vvvvwbb_SomeFunc(protocol_vvvvwbb)
// the vvvvwbc Some function
function protocol_vvvvwbc_SomeFunc(protocol_vvvvwbc)
{
// set the function logic
if (protocol_vvvvwbb == 2)
if (protocol_vvvvwbc == 2)
{
return true;
}
return false;
}
// the vvvvwbb Some function
function authentication_vvvvwbb_SomeFunc(authentication_vvvvwbb)
// the vvvvwbc Some function
function authentication_vvvvwbc_SomeFunc(authentication_vvvvwbc)
{
// set the function logic
if (authentication_vvvvwbb == 2 || authentication_vvvvwbb == 3)
if (authentication_vvvvwbc == 2 || authentication_vvvvwbc == 3)
{
return true;
}
return false;
}
// the vvvvwbd function
function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
// the vvvvwbe function
function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
{
if (isSet(protocol_vvvvwbd) && protocol_vvvvwbd.constructor !== Array)
if (isSet(protocol_vvvvwbe) && protocol_vvvvwbe.constructor !== Array)
{
var temp_vvvvwbd = protocol_vvvvwbd;
var protocol_vvvvwbd = [];
protocol_vvvvwbd.push(temp_vvvvwbd);
var temp_vvvvwbe = protocol_vvvvwbe;
var protocol_vvvvwbe = [];
protocol_vvvvwbe.push(temp_vvvvwbe);
}
else if (!isSet(protocol_vvvvwbd))
else if (!isSet(protocol_vvvvwbe))
{
var protocol_vvvvwbd = [];
var protocol_vvvvwbe = [];
}
var protocol = protocol_vvvvwbd.some(protocol_vvvvwbd_SomeFunc);
var protocol = protocol_vvvvwbe.some(protocol_vvvvwbe_SomeFunc);
if (isSet(authentication_vvvvwbd) && authentication_vvvvwbd.constructor !== Array)
if (isSet(authentication_vvvvwbe) && authentication_vvvvwbe.constructor !== Array)
{
var temp_vvvvwbd = authentication_vvvvwbd;
var authentication_vvvvwbd = [];
authentication_vvvvwbd.push(temp_vvvvwbd);
var temp_vvvvwbe = authentication_vvvvwbe;
var authentication_vvvvwbe = [];
authentication_vvvvwbe.push(temp_vvvvwbe);
}
else if (!isSet(authentication_vvvvwbd))
else if (!isSet(authentication_vvvvwbe))
{
var authentication_vvvvwbd = [];
var authentication_vvvvwbe = [];
}
var authentication = authentication_vvvvwbd.some(authentication_vvvvwbd_SomeFunc);
var authentication = authentication_vvvvwbe.some(authentication_vvvvwbe_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_private_key').closest('.control-group').show();
if (jform_vvvvwbdwan_required)
if (jform_vvvvwbewao_required)
{
updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required');
jform_vvvvwbdwan_required = false;
jform_vvvvwbewao_required = false;
}
}
else
{
jQuery('#jform_private_key').closest('.control-group').hide();
if (!jform_vvvvwbdwan_required)
if (!jform_vvvvwbewao_required)
{
updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required');
jform_vvvvwbdwan_required = true;
jform_vvvvwbewao_required = true;
}
}
}
// the vvvvwbd Some function
function protocol_vvvvwbd_SomeFunc(protocol_vvvvwbd)
// the vvvvwbe Some function
function protocol_vvvvwbe_SomeFunc(protocol_vvvvwbe)
{
// set the function logic
if (protocol_vvvvwbd == 2)
if (protocol_vvvvwbe == 2)
{
return true;
}
return false;
}
// the vvvvwbd Some function
function authentication_vvvvwbd_SomeFunc(authentication_vvvvwbd)
// the vvvvwbe Some function
function authentication_vvvvwbe_SomeFunc(authentication_vvvvwbe)
{
// set the function logic
if (authentication_vvvvwbd == 4 || authentication_vvvvwbd == 5)
if (authentication_vvvvwbe == 4 || authentication_vvvvwbe == 5)
{
return true;
}
return false;
}
// the vvvvwbf function
function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
// the vvvvwbg function
function vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg)
{
if (isSet(protocol_vvvvwbf) && protocol_vvvvwbf.constructor !== Array)
if (isSet(protocol_vvvvwbg) && protocol_vvvvwbg.constructor !== Array)
{
var temp_vvvvwbf = protocol_vvvvwbf;
var protocol_vvvvwbf = [];
protocol_vvvvwbf.push(temp_vvvvwbf);
var temp_vvvvwbg = protocol_vvvvwbg;
var protocol_vvvvwbg = [];
protocol_vvvvwbg.push(temp_vvvvwbg);
}
else if (!isSet(protocol_vvvvwbf))
else if (!isSet(protocol_vvvvwbg))
{
var protocol_vvvvwbf = [];
var protocol_vvvvwbg = [];
}
var protocol = protocol_vvvvwbf.some(protocol_vvvvwbf_SomeFunc);
var protocol = protocol_vvvvwbg.some(protocol_vvvvwbg_SomeFunc);
if (isSet(authentication_vvvvwbf) && authentication_vvvvwbf.constructor !== Array)
if (isSet(authentication_vvvvwbg) && authentication_vvvvwbg.constructor !== Array)
{
var temp_vvvvwbf = authentication_vvvvwbf;
var authentication_vvvvwbf = [];
authentication_vvvvwbf.push(temp_vvvvwbf);
var temp_vvvvwbg = authentication_vvvvwbg;
var authentication_vvvvwbg = [];
authentication_vvvvwbg.push(temp_vvvvwbg);
}
else if (!isSet(authentication_vvvvwbf))
else if (!isSet(authentication_vvvvwbg))
{
var authentication_vvvvwbf = [];
var authentication_vvvvwbg = [];
}
var authentication = authentication_vvvvwbf.some(authentication_vvvvwbf_SomeFunc);
var authentication = authentication_vvvvwbg.some(authentication_vvvvwbg_SomeFunc);
// set this function logic
@ -508,22 +508,22 @@ function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
}
}
// the vvvvwbf Some function
function protocol_vvvvwbf_SomeFunc(protocol_vvvvwbf)
// the vvvvwbg Some function
function protocol_vvvvwbg_SomeFunc(protocol_vvvvwbg)
{
// set the function logic
if (protocol_vvvvwbf == 2)
if (protocol_vvvvwbg == 2)
{
return true;
}
return false;
}
// the vvvvwbf Some function
function authentication_vvvvwbf_SomeFunc(authentication_vvvvwbf)
// the vvvvwbg Some function
function authentication_vvvvwbg_SomeFunc(authentication_vvvvwbg)
{
// set the function logic
if (authentication_vvvvwbf == 2 || authentication_vvvvwbf == 3 || authentication_vvvvwbf == 4 || authentication_vvvvwbf == 5)
if (authentication_vvvvwbg == 2 || authentication_vvvvwbg == 3 || authentication_vvvvwbg == 4 || authentication_vvvvwbg == 5)
{
return true;
}

View File

@ -9,7 +9,6 @@
*/
// Some Global Values
jform_vvvvvypvyj_required = false;
jform_vvvvvyqvyk_required = false;
jform_vvvvvyrvyl_required = false;
jform_vvvvvysvym_required = false;
@ -19,308 +18,309 @@ jform_vvvvvyvvyp_required = false;
jform_vvvvvywvyq_required = false;
jform_vvvvvyxvyr_required = false;
jform_vvvvvyyvys_required = false;
jform_vvvvvyyvyt_required = false;
jform_vvvvvyzvyt_required = false;
jform_vvvvvyzvyu_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyp(add_php_view_vvvvvyp);
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
var add_php_jview_display_vvvvvyq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyq(add_php_jview_display_vvvvvyq);
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
var add_php_jview_vvvvvyr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyr(add_php_jview_vvvvvyr);
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
var add_php_document_vvvvvys = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvys(add_php_document_vvvvvys);
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
var add_css_document_vvvvvyt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyt(add_css_document_vvvvvyt);
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
var add_javascript_file_vvvvvyu = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyu(add_javascript_file_vvvvvyu);
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
var add_js_document_vvvvvyv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyv(add_js_document_vvvvvyv);
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyw(add_css_vvvvvyw);
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyx(add_php_ajax_vvvvvyx);
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
var add_custom_button_vvvvvyy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyy(add_custom_button_vvvvvyy);
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
var button_position_vvvvvyz = jQuery("#jform_button_position").val();
vvvvvyz(button_position_vvvvvyz);
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
});
// the vvvvvyp function
function vvvvvyp(add_php_view_vvvvvyp)
// the vvvvvyq function
function vvvvvyq(add_php_view_vvvvvyq)
{
// set the function logic
if (add_php_view_vvvvvyp == 1)
if (add_php_view_vvvvvyq == 1)
{
jQuery('#jform_php_view-lbl').closest('.control-group').show();
if (jform_vvvvvypvyj_required)
if (jform_vvvvvyqvyk_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvypvyj_required = false;
}
}
else
{
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvypvyj_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvypvyj_required = true;
}
}
}
// the vvvvvyq function
function vvvvvyq(add_php_jview_display_vvvvvyq)
{
// set the function logic
if (add_php_jview_display_vvvvvyq == 1)
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvyqvyk_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyqvyk_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvyqvyk_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyqvyk_required = true;
}
}
}
// the vvvvvyr function
function vvvvvyr(add_php_jview_vvvvvyr)
function vvvvvyr(add_php_jview_display_vvvvvyr)
{
// set the function logic
if (add_php_jview_vvvvvyr == 1)
if (add_php_jview_display_vvvvvyr == 1)
{
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvyrvyl_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyrvyl_required = false;
}
}
else
{
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
if (!jform_vvvvvyrvyl_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyrvyl_required = true;
}
}
}
// the vvvvvys function
function vvvvvys(add_php_document_vvvvvys)
function vvvvvys(add_php_jview_vvvvvys)
{
// set the function logic
if (add_php_document_vvvvvys == 1)
if (add_php_jview_vvvvvys == 1)
{
jQuery('#jform_php_document-lbl').closest('.control-group').show();
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
if (jform_vvvvvysvym_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvysvym_required = false;
}
}
else
{
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
if (!jform_vvvvvysvym_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvysvym_required = true;
}
}
}
// the vvvvvyt function
function vvvvvyt(add_css_document_vvvvvyt)
function vvvvvyt(add_php_document_vvvvvyt)
{
// set the function logic
if (add_css_document_vvvvvyt == 1)
if (add_php_document_vvvvvyt == 1)
{
jQuery('#jform_css_document-lbl').closest('.control-group').show();
jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvytvyn_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvytvyn_required = false;
}
}
else
{
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvytvyn_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvytvyn_required = true;
}
}
}
// the vvvvvyu function
function vvvvvyu(add_javascript_file_vvvvvyu)
function vvvvvyu(add_css_document_vvvvvyu)
{
// set the function logic
if (add_javascript_file_vvvvvyu == 1)
if (add_css_document_vvvvvyu == 1)
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
jQuery('#jform_css_document-lbl').closest('.control-group').show();
if (jform_vvvvvyuvyo_required)
{
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvyuvyo_required = false;
}
}
else
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvyuvyo_required)
{
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvyuvyo_required = true;
}
}
}
// the vvvvvyv function
function vvvvvyv(add_js_document_vvvvvyv)
function vvvvvyv(add_javascript_file_vvvvvyv)
{
// set the function logic
if (add_js_document_vvvvvyv == 1)
if (add_javascript_file_vvvvvyv == 1)
{
jQuery('#jform_js_document-lbl').closest('.control-group').show();
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
if (jform_vvvvvyvvyp_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvyvvyp_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvyvvyp_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvyvvyp_required = true;
}
}
}
// the vvvvvyw function
function vvvvvyw(add_css_vvvvvyw)
function vvvvvyw(add_js_document_vvvvvyw)
{
// set the function logic
if (add_css_vvvvvyw == 1)
if (add_js_document_vvvvvyw == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
jQuery('#jform_js_document-lbl').closest('.control-group').show();
if (jform_vvvvvywvyq_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvywvyq_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvywvyq_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvywvyq_required = true;
}
}
}
// the vvvvvyx function
function vvvvvyx(add_php_ajax_vvvvvyx)
function vvvvvyx(add_css_vvvvvyx)
{
// set the function logic
if (add_php_ajax_vvvvvyx == 1)
if (add_css_vvvvvyx == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
if (jform_vvvvvyxvyr_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyxvyr_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
if (!jform_vvvvvyxvyr_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyxvyr_required = true;
}
}
}
// the vvvvvyy function
function vvvvvyy(add_php_ajax_vvvvvyy)
{
// set the function logic
if (add_php_ajax_vvvvvyy == 1)
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
if (jform_vvvvvyxvyr_required)
if (jform_vvvvvyyvys_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvyxvyr_required = false;
jform_vvvvvyyvys_required = false;
}
}
@ -328,42 +328,42 @@ function vvvvvyx(add_php_ajax_vvvvvyx)
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
if (!jform_vvvvvyxvyr_required)
if (!jform_vvvvvyyvys_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvyxvyr_required = true;
jform_vvvvvyyvys_required = true;
}
}
}
// the vvvvvyy function
function vvvvvyy(add_custom_button_vvvvvyy)
// the vvvvvyz function
function vvvvvyz(add_custom_button_vvvvvyz)
{
// set the function logic
if (add_custom_button_vvvvvyy == 1)
if (add_custom_button_vvvvvyz == 1)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
if (jform_vvvvvyyvys_required)
if (jform_vvvvvyzvyt_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvyyvys_required = false;
jform_vvvvvyzvyt_required = false;
}
jQuery('#jform_php_model-lbl').closest('.control-group').show();
if (jform_vvvvvyyvyt_required)
if (jform_vvvvvyzvyu_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvyyvyt_required = false;
jform_vvvvvyzvyu_required = false;
}
}
@ -371,40 +371,40 @@ function vvvvvyy(add_custom_button_vvvvvyy)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
if (!jform_vvvvvyyvys_required)
if (!jform_vvvvvyzvyt_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvyyvys_required = true;
jform_vvvvvyzvyt_required = true;
}
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
if (!jform_vvvvvyyvyt_required)
if (!jform_vvvvvyzvyu_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvyyvyt_required = true;
jform_vvvvvyzvyu_required = true;
}
}
}
// the vvvvvyz function
function vvvvvyz(button_position_vvvvvyz)
// the vvvvvza function
function vvvvvza(button_position_vvvvvza)
{
if (isSet(button_position_vvvvvyz) && button_position_vvvvvyz.constructor !== Array)
if (isSet(button_position_vvvvvza) && button_position_vvvvvza.constructor !== Array)
{
var temp_vvvvvyz = button_position_vvvvvyz;
var button_position_vvvvvyz = [];
button_position_vvvvvyz.push(temp_vvvvvyz);
var temp_vvvvvza = button_position_vvvvvza;
var button_position_vvvvvza = [];
button_position_vvvvvza.push(temp_vvvvvza);
}
else if (!isSet(button_position_vvvvvyz))
else if (!isSet(button_position_vvvvvza))
{
var button_position_vvvvvyz = [];
var button_position_vvvvvza = [];
}
var button_position = button_position_vvvvvyz.some(button_position_vvvvvyz_SomeFunc);
var button_position = button_position_vvvvvza.some(button_position_vvvvvza_SomeFunc);
// set this function logic
@ -418,11 +418,11 @@ function vvvvvyz(button_position_vvvvvyz)
}
}
// the vvvvvyz Some function
function button_position_vvvvvyz_SomeFunc(button_position_vvvvvyz)
// the vvvvvza Some function
function button_position_vvvvvza_SomeFunc(button_position_vvvvvza)
{
// set the function logic
if (button_position_vvvvvyz == 5)
if (button_position_vvvvvza == 5)
{
return true;
}

View File

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

View File

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

View File

@ -146,6 +146,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`add_php_after_delete` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_after_publish` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_ajax` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_allowadd` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_allowedit` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchcopy` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_batchmove` TINYINT(1) NOT NULL DEFAULT 0,
@ -185,6 +186,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`php_after_delete` MEDIUMTEXT NOT NULL,
`php_after_publish` MEDIUMTEXT NOT NULL,
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
`php_allowadd` MEDIUMTEXT NOT NULL,
`php_allowedit` MEDIUMTEXT NOT NULL,
`php_batchcopy` MEDIUMTEXT NOT NULL,
`php_batchmove` MEDIUMTEXT NOT NULL,
@ -234,25 +236,26 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_state` (`published`),
KEY `idx_name_single` (`name_single`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
KEY `idx_add_php_before_save` (`add_php_before_save`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_type` (`type`),
KEY `idx_add_fadein` (`add_fadein`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_add_sql` (`add_sql`),
KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),

View File

@ -0,0 +1,3 @@
ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_allowadd` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_ajax`;
ALTER TABLE `#__componentbuilder_admin_view` ADD `php_allowadd` MEDIUMTEXT NOT NULL AFTER `php_ajaxmethod`;

View File

@ -430,221 +430,221 @@ jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
});
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxp function
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxp function
jQuery('#jform_add_php_allowadd').on('keyup',function()
{
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxp(add_php_allowadd_vvvvvxp);
});
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
{
e.preventDefault();
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxp(add_php_allowadd_vvvvvxp);
});
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxq function
jQuery('#jform_add_php_allowedit').on('keyup',function()
{
var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxp(add_php_allowedit_vvvvvxp);
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxq(add_php_allowedit_vvvvvxq);
});
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
{
e.preventDefault();
var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxp(add_php_allowedit_vvvvvxp);
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxq(add_php_allowedit_vvvvvxq);
});
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxq function
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxr function
jQuery('#jform_add_php_batchcopy').on('keyup',function()
{
var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxq(add_php_batchcopy_vvvvvxq);
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxr(add_php_batchcopy_vvvvvxr);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
{
e.preventDefault();
var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxq(add_php_batchcopy_vvvvvxq);
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxr(add_php_batchcopy_vvvvvxr);
});
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxr function
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxs function
jQuery('#jform_add_php_batchmove').on('keyup',function()
{
var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxr(add_php_batchmove_vvvvvxr);
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxs(add_php_batchmove_vvvvvxs);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
{
e.preventDefault();
var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxr(add_php_batchmove_vvvvvxr);
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxs(add_php_batchmove_vvvvvxs);
});
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxs function
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxt function
jQuery('#jform_add_php_before_publish').on('keyup',function()
{
var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxs(add_php_before_publish_vvvvvxs);
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxt(add_php_before_publish_vvvvvxt);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
{
e.preventDefault();
var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxs(add_php_before_publish_vvvvvxs);
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxt(add_php_before_publish_vvvvvxt);
});
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxt function
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxu function
jQuery('#jform_add_php_after_publish').on('keyup',function()
{
var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxt(add_php_after_publish_vvvvvxt);
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxu(add_php_after_publish_vvvvvxu);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
{
e.preventDefault();
var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxt(add_php_after_publish_vvvvvxt);
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxu(add_php_after_publish_vvvvvxu);
});
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxu function
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxv function
jQuery('#jform_add_php_before_delete').on('keyup',function()
{
var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxu(add_php_before_delete_vvvvvxu);
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxv(add_php_before_delete_vvvvvxv);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
{
e.preventDefault();
var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxu(add_php_before_delete_vvvvvxu);
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxv(add_php_before_delete_vvvvvxv);
});
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxv function
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxw function
jQuery('#jform_add_php_after_delete').on('keyup',function()
{
var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxv(add_php_after_delete_vvvvvxv);
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxw(add_php_after_delete_vvvvvxw);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
{
e.preventDefault();
var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxv(add_php_after_delete_vvvvvxv);
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxw(add_php_after_delete_vvvvvxw);
});
// #jform_add_php_document listeners for add_php_document_vvvvvxw function
// #jform_add_php_document listeners for add_php_document_vvvvvxx function
jQuery('#jform_add_php_document').on('keyup',function()
{
var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxw(add_php_document_vvvvvxw);
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxx(add_php_document_vvvvvxx);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxw(add_php_document_vvvvvxw);
});
// #jform_add_sql listeners for add_sql_vvvvvxx function
jQuery('#jform_add_sql').on('keyup',function()
{
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxx(add_sql_vvvvvxx);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxx(add_sql_vvvvvxx);
});
// #jform_source listeners for source_vvvvvxy function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxx(add_php_document_vvvvvxx);
});
// #jform_add_sql listeners for add_sql_vvvvvxy function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
vvvvvxy(add_sql_vvvvvxy);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
vvvvvxy(add_sql_vvvvvxy);
});
// #jform_source listeners for source_vvvvvya function
// #jform_source listeners for source_vvvvvxz function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
});
// #jform_add_sql listeners for add_sql_vvvvvya function
// #jform_add_sql listeners for add_sql_vvvvvxz function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
});
// #jform_add_custom_import listeners for add_custom_import_vvvvvyc function
jQuery('#jform_add_custom_import').on('keyup',function()
// #jform_source listeners for source_vvvvvyb function
jQuery('#jform_source').on('keyup',function()
{
var add_custom_import_vvvvvyc = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyc(add_custom_import_vvvvvyc);
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
});
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var add_custom_import_vvvvvyc = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyc(add_custom_import_vvvvvyc);
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
});
// #jform_add_sql listeners for add_sql_vvvvvyb function
jQuery('#jform_add_sql').on('keyup',function()
{
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
});
@ -663,18 +663,33 @@ jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvye function
// #jform_add_custom_import listeners for add_custom_import_vvvvvye function
jQuery('#jform_add_custom_import').on('keyup',function()
{
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
{
e.preventDefault();
var add_custom_import_vvvvvye = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvye(add_custom_import_vvvvvye);
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvyf function
jQuery('#jform_add_custom_button').on('keyup',function()
{
var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvye(add_custom_button_vvvvvye);
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyf(add_custom_button_vvvvvyf);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvye(add_custom_button_vvvvvye);
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyf(add_custom_button_vvvvvyf);
});

View File

@ -159,153 +159,153 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyf function
// #jform_add_php_view listeners for add_php_view_vvvvvyg function
jQuery('#jform_add_php_view').on('keyup',function()
{
var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyf(add_php_view_vvvvvyf);
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyf(add_php_view_vvvvvyf);
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
});
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyg function
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyh function
jQuery('#jform_add_php_jview_display').on('keyup',function()
{
var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyg(add_php_jview_display_vvvvvyg);
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{
e.preventDefault();
var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyg(add_php_jview_display_vvvvvyg);
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
});
// #jform_add_php_jview listeners for add_php_jview_vvvvvyh function
// #jform_add_php_jview listeners for add_php_jview_vvvvvyi function
jQuery('#jform_add_php_jview').on('keyup',function()
{
var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyh(add_php_jview_vvvvvyh);
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{
e.preventDefault();
var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyh(add_php_jview_vvvvvyh);
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
});
// #jform_add_php_document listeners for add_php_document_vvvvvyi function
// #jform_add_php_document listeners for add_php_document_vvvvvyj function
jQuery('#jform_add_php_document').on('keyup',function()
{
var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyi(add_php_document_vvvvvyi);
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyi(add_php_document_vvvvvyi);
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
});
// #jform_add_css_document listeners for add_css_document_vvvvvyj function
// #jform_add_css_document listeners for add_css_document_vvvvvyk function
jQuery('#jform_add_css_document').on('keyup',function()
{
var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyj(add_css_document_vvvvvyj);
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
});
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{
e.preventDefault();
var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyj(add_css_document_vvvvvyj);
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
});
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyk function
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyl function
jQuery('#jform_add_javascript_file').on('keyup',function()
{
var add_javascript_file_vvvvvyk = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyk(add_javascript_file_vvvvvyk);
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{
e.preventDefault();
var add_javascript_file_vvvvvyk = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyk(add_javascript_file_vvvvvyk);
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
});
// #jform_add_js_document listeners for add_js_document_vvvvvyl function
// #jform_add_js_document listeners for add_js_document_vvvvvym function
jQuery('#jform_add_js_document').on('keyup',function()
{
var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyl(add_js_document_vvvvvyl);
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
});
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{
e.preventDefault();
var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyl(add_js_document_vvvvvyl);
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvym function
// #jform_add_custom_button listeners for add_custom_button_vvvvvyn function
jQuery('#jform_add_custom_button').on('keyup',function()
{
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym);
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvym(add_custom_button_vvvvvym);
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
});
// #jform_add_css listeners for add_css_vvvvvyn function
// #jform_add_css listeners for add_css_vvvvvyo function
jQuery('#jform_add_css').on('keyup',function()
{
var add_css_vvvvvyn = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyn(add_css_vvvvvyn);
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
});
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{
e.preventDefault();
var add_css_vvvvvyn = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyn(add_css_vvvvvyn);
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
});
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyo function
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyp function
jQuery('#jform_add_php_ajax').on('keyup',function()
{
var add_php_ajax_vvvvvyo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyo(add_php_ajax_vvvvvyo);
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
});
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{
e.preventDefault();
var add_php_ajax_vvvvvyo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyo(add_php_ajax_vvvvvyo);
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
});

View File

@ -113,21 +113,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_target listeners for target_vvvvwab function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwab(target_vvvvwab);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwab(target_vvvvwab);
});
// #jform_target listeners for target_vvvvwac function
jQuery('#jform_target').on('keyup',function()
{
@ -147,67 +132,82 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwad(target_vvvvwad,type_vvvvwad);
vvvvwad(target_vvvvwad);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwad(target_vvvvwad,type_vvvvwad);
});
// #jform_type listeners for type_vvvvwad function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwad(target_vvvvwad,type_vvvvwad);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwad(target_vvvvwad,type_vvvvwad);
});
// #jform_type listeners for type_vvvvwae function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(type_vvvvwae,target_vvvvwae);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(type_vvvvwae,target_vvvvwae);
vvvvwad(target_vvvvwad);
});
// #jform_target listeners for target_vvvvwae function
jQuery('#jform_target').on('keyup',function()
{
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(type_vvvvwae,target_vvvvwae);
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwae(target_vvvvwae,type_vvvvwae);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(type_vvvvwae,target_vvvvwae);
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwae(target_vvvvwae,type_vvvvwae);
});
// #jform_type listeners for type_vvvvwae function
jQuery('#jform_type').on('keyup',function()
{
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwae(target_vvvvwae,type_vvvvwae);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwae(target_vvvvwae,type_vvvvwae);
});
// #jform_type listeners for type_vvvvwaf function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf,target_vvvvwaf);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf,target_vvvvwaf);
});
// #jform_target listeners for target_vvvvwaf function
jQuery('#jform_target').on('keyup',function()
{
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf,target_vvvvwaf);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwaf(type_vvvvwaf,target_vvvvwaf);
});

View File

@ -153,33 +153,18 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvzc function
// #jform_gettype listeners for gettype_vvvvvzd function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(gettype_vvvvvzc);
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(gettype_vvvvvzd);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzc = jQuery("#jform_gettype").val();
vvvvvzc(gettype_vvvvvzc);
});
// #jform_main_source listeners for main_source_vvvvvzd function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzd = jQuery("#jform_main_source").val();
vvvvvzd(main_source_vvvvvzd);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzd = jQuery("#jform_main_source").val();
vvvvvzd(main_source_vvvvvzd);
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(gettype_vvvvvzd);
});
@ -228,18 +213,18 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
});
// #jform_addcalculation listeners for addcalculation_vvvvvzh function
jQuery('#jform_addcalculation').on('keyup',function()
// #jform_main_source listeners for main_source_vvvvvzh function
jQuery('#jform_main_source').on('keyup',function()
{
var addcalculation_vvvvvzh = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzh(addcalculation_vvvvvzh);
var main_source_vvvvvzh = jQuery("#jform_main_source").val();
vvvvvzh(main_source_vvvvvzh);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzh = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzh(addcalculation_vvvvvzh);
var main_source_vvvvvzh = jQuery("#jform_main_source").val();
vvvvvzh(main_source_vvvvvzh);
});
@ -247,33 +232,14 @@ jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#jform_addcalculation').on('keyup',function()
{
var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi);
vvvvvzi(addcalculation_vvvvvzi);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi);
});
// #jform_gettype listeners for gettype_vvvvvzi function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi);
vvvvvzi(addcalculation_vvvvvzi);
});
@ -311,18 +277,37 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
});
// #jform_main_source listeners for main_source_vvvvvzm function
jQuery('#jform_main_source').on('keyup',function()
// #jform_addcalculation listeners for addcalculation_vvvvvzk function
jQuery('#jform_addcalculation').on('keyup',function()
{
var main_source_vvvvvzm = jQuery("#jform_main_source").val();
vvvvvzm(main_source_vvvvvzm);
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var main_source_vvvvvzm = jQuery("#jform_main_source").val();
vvvvvzm(main_source_vvvvvzm);
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
});
// #jform_gettype listeners for gettype_vvvvvzk function
jQuery('#jform_gettype').on('keyup',function()
{
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
});
@ -341,203 +326,203 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
});
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzo function
// #jform_main_source listeners for main_source_vvvvvzo function
jQuery('#jform_main_source').on('keyup',function()
{
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzo(main_source_vvvvvzo);
});
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzo(main_source_vvvvvzo);
});
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzp function
jQuery('#jform_add_php_before_getitem').on('keyup',function()
{
var add_php_before_getitem_vvvvvzo = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzo = jQuery("#jform_gettype").val();
vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo);
var add_php_before_getitem_vvvvvzp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
{
e.preventDefault();
var add_php_before_getitem_vvvvvzo = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzo = jQuery("#jform_gettype").val();
vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo);
});
// #jform_gettype listeners for gettype_vvvvvzo function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitem_vvvvvzo = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzo = jQuery("#jform_gettype").val();
vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitem_vvvvvzo = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzo = jQuery("#jform_gettype").val();
vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo);
});
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzp function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzp = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var add_php_before_getitem_vvvvvzp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzp = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp);
vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp);
});
// #jform_gettype listeners for gettype_vvvvvzp function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_after_getitem_vvvvvzp = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var add_php_before_getitem_vvvvvzp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp);
vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzp = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var add_php_before_getitem_vvvvvzp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzp = jQuery("#jform_gettype").val();
vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp);
vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp);
});
// #jform_gettype listeners for gettype_vvvvvzr function
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzq function
jQuery('#jform_add_php_after_getitem').on('keyup',function()
{
var add_php_after_getitem_vvvvvzq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
{
e.preventDefault();
var add_php_after_getitem_vvvvvzq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq);
});
// #jform_gettype listeners for gettype_vvvvvzq function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(gettype_vvvvvzr);
var add_php_after_getitem_vvvvvzq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(gettype_vvvvvzr);
});
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzs function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
var add_php_getlistquery_vvvvvzs = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvvzs = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs);
var add_php_after_getitem_vvvvvzq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq);
});
// #jform_gettype listeners for gettype_vvvvvzs function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_getlistquery_vvvvvzs = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs);
vvvvvzs(gettype_vvvvvzs);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvvzs = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs);
vvvvvzs(gettype_vvvvvzs);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzt function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzt function
jQuery('#jform_add_php_getlistquery').on('keyup',function()
{
var add_php_before_getitems_vvvvvzt = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var add_php_getlistquery_vvvvvzt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt);
vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_before_getitems_vvvvvzt = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var add_php_getlistquery_vvvvvzt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt);
vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt);
});
// #jform_gettype listeners for gettype_vvvvvzt function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_before_getitems_vvvvvzt = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var add_php_getlistquery_vvvvvzt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt);
vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_before_getitems_vvvvvzt = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var add_php_getlistquery_vvvvvzt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt);
vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt);
});
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzu function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzu function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvvzu = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var add_php_before_getitems_vvvvvzu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu);
vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvvzu = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var add_php_before_getitems_vvvvvzu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu);
vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu);
});
// #jform_gettype listeners for gettype_vvvvvzu function
jQuery('#jform_gettype').on('keyup',function()
{
var add_php_after_getitems_vvvvvzu = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var add_php_before_getitems_vvvvvzu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu);
vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvvzu = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var add_php_before_getitems_vvvvvzu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu);
vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu);
});
// #jform_gettype listeners for gettype_vvvvvzw function
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzv function
jQuery('#jform_add_php_after_getitems').on('keyup',function()
{
var add_php_after_getitems_vvvvvzv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
{
e.preventDefault();
var add_php_after_getitems_vvvvvzv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv);
});
// #jform_gettype listeners for gettype_vvvvvzv function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(gettype_vvvvvzw);
var add_php_after_getitems_vvvvvzv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(gettype_vvvvvzw);
var add_php_after_getitems_vvvvvzv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv);
});
@ -575,33 +560,48 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvvzz = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz);
vvvvvzz(gettype_vvvvvzz);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvvzz = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz);
vvvvvzz(gettype_vvvvvzz);
});
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvvzz function
// #jform_gettype listeners for gettype_vvvvwaa function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaa = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaa = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa);
});
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwaa function
jQuery('#jform_add_php_router_parse').on('keyup',function()
{
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvvzz = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz);
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaa = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa);
});
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
{
e.preventDefault();
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvvzz = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz);
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
var add_php_router_parse_vvvvwaa = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa);
});

View File

@ -144,48 +144,33 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwan function
// #jform_datalenght listeners for datalenght_vvvvwao function
jQuery('#jform_datalenght').on('keyup',function()
{
var datalenght_vvvvwan = jQuery("#jform_datalenght").val();
vvvvwan(datalenght_vvvvwan);
var datalenght_vvvvwao = jQuery("#jform_datalenght").val();
vvvvwao(datalenght_vvvvwao);
});
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{
e.preventDefault();
var datalenght_vvvvwan = jQuery("#jform_datalenght").val();
vvvvwan(datalenght_vvvvwan);
var datalenght_vvvvwao = jQuery("#jform_datalenght").val();
vvvvwao(datalenght_vvvvwao);
});
// #jform_datadefault listeners for datadefault_vvvvwao function
// #jform_datadefault listeners for datadefault_vvvvwap function
jQuery('#jform_datadefault').on('keyup',function()
{
var datadefault_vvvvwao = jQuery("#jform_datadefault").val();
vvvvwao(datadefault_vvvvwao);
var datadefault_vvvvwap = jQuery("#jform_datadefault").val();
vvvvwap(datadefault_vvvvwap);
});
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{
e.preventDefault();
var datadefault_vvvvwao = jQuery("#jform_datadefault").val();
vvvvwao(datadefault_vvvvwao);
});
// #jform_datatype listeners for datatype_vvvvwap function
jQuery('#jform_datatype').on('keyup',function()
{
var datatype_vvvvwap = jQuery("#jform_datatype").val();
vvvvwap(datatype_vvvvwap);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var datatype_vvvvwap = jQuery("#jform_datatype").val();
vvvvwap(datatype_vvvvwap);
var datadefault_vvvvwap = jQuery("#jform_datadefault").val();
vvvvwap(datadefault_vvvvwap);
});
@ -204,97 +189,112 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
});
// #jform_store listeners for store_vvvvwar function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwar = jQuery("#jform_store").val();
var datatype_vvvvwar = jQuery("#jform_datatype").val();
vvvvwar(store_vvvvwar,datatype_vvvvwar);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwar = jQuery("#jform_store").val();
var datatype_vvvvwar = jQuery("#jform_datatype").val();
vvvvwar(store_vvvvwar,datatype_vvvvwar);
});
// #jform_datatype listeners for datatype_vvvvwar function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwar = jQuery("#jform_store").val();
var datatype_vvvvwar = jQuery("#jform_datatype").val();
vvvvwar(store_vvvvwar,datatype_vvvvwar);
vvvvwar(datatype_vvvvwar);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwar = jQuery("#jform_store").val();
var datatype_vvvvwar = jQuery("#jform_datatype").val();
vvvvwar(store_vvvvwar,datatype_vvvvwar);
vvvvwar(datatype_vvvvwar);
});
// #jform_add_css_view listeners for add_css_view_vvvvwat function
// #jform_store listeners for store_vvvvwas function
jQuery('#jform_store').on('keyup',function()
{
var store_vvvvwas = jQuery("#jform_store").val();
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(store_vvvvwas,datatype_vvvvwas);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var store_vvvvwas = jQuery("#jform_store").val();
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(store_vvvvwas,datatype_vvvvwas);
});
// #jform_datatype listeners for datatype_vvvvwas function
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwas = jQuery("#jform_store").val();
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(store_vvvvwas,datatype_vvvvwas);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwas = jQuery("#jform_store").val();
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(store_vvvvwas,datatype_vvvvwas);
});
// #jform_add_css_view listeners for add_css_view_vvvvwau function
jQuery('#jform_add_css_view').on('keyup',function()
{
var add_css_view_vvvvwat = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwat(add_css_view_vvvvwat);
var add_css_view_vvvvwau = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwau(add_css_view_vvvvwau);
});
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{
e.preventDefault();
var add_css_view_vvvvwat = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwat(add_css_view_vvvvwat);
var add_css_view_vvvvwau = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwau(add_css_view_vvvvwau);
});
// #jform_add_css_views listeners for add_css_views_vvvvwau function
// #jform_add_css_views listeners for add_css_views_vvvvwav function
jQuery('#jform_add_css_views').on('keyup',function()
{
var add_css_views_vvvvwau = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwau(add_css_views_vvvvwau);
var add_css_views_vvvvwav = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwav(add_css_views_vvvvwav);
});
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{
e.preventDefault();
var add_css_views_vvvvwau = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwau(add_css_views_vvvvwau);
var add_css_views_vvvvwav = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwav(add_css_views_vvvvwav);
});
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwav function
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwaw function
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
{
var add_javascript_view_footer_vvvvwav = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwav(add_javascript_view_footer_vvvvwav);
var add_javascript_view_footer_vvvvwaw = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_view_footer_vvvvwaw);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{
e.preventDefault();
var add_javascript_view_footer_vvvvwav = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwav(add_javascript_view_footer_vvvvwav);
var add_javascript_view_footer_vvvvwaw = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_view_footer_vvvvwaw);
});
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwaw function
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwax function
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
{
var add_javascript_views_footer_vvvvwaw = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_views_footer_vvvvwaw);
var add_javascript_views_footer_vvvvwax = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwax(add_javascript_views_footer_vvvvwax);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{
e.preventDefault();
var add_javascript_views_footer_vvvvwaw = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaw(add_javascript_views_footer_vvvvwaw);
var add_javascript_views_footer_vvvvwax = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwax(add_javascript_views_footer_vvvvwax);
});

View File

@ -55,7 +55,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
}
// Get Linked view data
$this->waefields = $this->get('Waefields');
$this->waffields = $this->get('Waffields');
// Set the toolbar
$this->addToolBar();

View File

@ -113,21 +113,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_location listeners for location_vvvvwbh function
jQuery('#jform_location').on('keyup',function()
{
var location_vvvvwbh = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbh(location_vvvvwbh);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var location_vvvvwbh = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbh(location_vvvvwbh);
});
// #jform_location listeners for location_vvvvwbi function
jQuery('#jform_location').on('keyup',function()
{
@ -143,18 +128,18 @@ jQuery('#adminForm').on('change', '#jform_location',function (e)
});
// #jform_type listeners for type_vvvvwbj function
jQuery('#jform_type').on('keyup',function()
// #jform_location listeners for location_vvvvwbj function
jQuery('#jform_location').on('keyup',function()
{
var type_vvvvwbj = jQuery("#jform_type").val();
vvvvwbj(type_vvvvwbj);
var location_vvvvwbj = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbj(location_vvvvwbj);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var type_vvvvwbj = jQuery("#jform_type").val();
vvvvwbj(type_vvvvwbj);
var location_vvvvwbj = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbj(location_vvvvwbj);
});
@ -188,18 +173,33 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
});
// #jform_target listeners for target_vvvvwbm function
// #jform_type listeners for type_vvvvwbm function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwbm = jQuery("#jform_type").val();
vvvvwbm(type_vvvvwbm);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwbm = jQuery("#jform_type").val();
vvvvwbm(type_vvvvwbm);
});
// #jform_target listeners for target_vvvvwbn function
jQuery('#jform_target').on('keyup',function()
{
var target_vvvvwbm = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbm(target_vvvvwbm);
var target_vvvvwbn = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbn(target_vvvvwbn);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwbm = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbm(target_vvvvwbm);
var target_vvvvwbn = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwbn(target_vvvvwbn);
});

View File

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

View File

@ -143,21 +143,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_how listeners for how_vvvvwaf function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwaf = jQuery("#jform_how").val();
vvvvwaf(how_vvvvwaf);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwaf = jQuery("#jform_how").val();
vvvvwaf(how_vvvvwaf);
});
// #jform_how listeners for how_vvvvwag function
jQuery('#jform_how').on('keyup',function()
{
@ -248,18 +233,33 @@ jQuery('#adminForm').on('change', '#jform_how',function (e)
});
// #jform_type listeners for type_vvvvwam function
// #jform_how listeners for how_vvvvwam function
jQuery('#jform_how').on('keyup',function()
{
var how_vvvvwam = jQuery("#jform_how").val();
vvvvwam(how_vvvvwam);
});
jQuery('#adminForm').on('change', '#jform_how',function (e)
{
e.preventDefault();
var how_vvvvwam = jQuery("#jform_how").val();
vvvvwam(how_vvvvwam);
});
// #jform_type listeners for type_vvvvwan function
jQuery('#jform_type').on('keyup',function()
{
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwam(type_vvvvwam);
var type_vvvvwan = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwan(type_vvvvwan);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwam(type_vvvvwam);
var type_vvvvwan = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwan(type_vvvvwan);
});

View File

@ -122,21 +122,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_protocol listeners for protocol_vvvvwax function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwax = jQuery("#jform_protocol").val();
vvvvwax(protocol_vvvvwax);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwax = jQuery("#jform_protocol").val();
vvvvwax(protocol_vvvvwax);
});
// #jform_protocol listeners for protocol_vvvvway function
jQuery('#jform_protocol').on('keyup',function()
{
@ -156,135 +141,150 @@ jQuery('#adminForm').on('change', '#jform_protocol',function (e)
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
vvvvwaz(protocol_vvvvwaz);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
vvvvwaz(protocol_vvvvwaz);
});
// #jform_authentication listeners for authentication_vvvvwaz function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwaz = jQuery("#jform_protocol").val();
var authentication_vvvvwaz = jQuery("#jform_authentication").val();
vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
});
// #jform_protocol listeners for protocol_vvvvwbb function
// #jform_protocol listeners for protocol_vvvvwba function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
var protocol_vvvvwba = jQuery("#jform_protocol").val();
var authentication_vvvvwba = jQuery("#jform_authentication").val();
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
var protocol_vvvvwba = jQuery("#jform_protocol").val();
var authentication_vvvvwba = jQuery("#jform_authentication").val();
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
});
// #jform_authentication listeners for authentication_vvvvwbb function
// #jform_authentication listeners for authentication_vvvvwba function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
var protocol_vvvvwba = jQuery("#jform_protocol").val();
var authentication_vvvvwba = jQuery("#jform_authentication").val();
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
var authentication_vvvvwbb = jQuery("#jform_authentication").val();
vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
var protocol_vvvvwba = jQuery("#jform_protocol").val();
var authentication_vvvvwba = jQuery("#jform_authentication").val();
vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
});
// #jform_protocol listeners for protocol_vvvvwbd function
// #jform_protocol listeners for protocol_vvvvwbc function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
});
// #jform_authentication listeners for authentication_vvvvwbd function
// #jform_authentication listeners for authentication_vvvvwbc function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbd = jQuery("#jform_protocol").val();
var authentication_vvvvwbd = jQuery("#jform_authentication").val();
vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
var protocol_vvvvwbc = jQuery("#jform_protocol").val();
var authentication_vvvvwbc = jQuery("#jform_authentication").val();
vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
});
// #jform_protocol listeners for protocol_vvvvwbf function
// #jform_protocol listeners for protocol_vvvvwbe function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
});
// #jform_authentication listeners for authentication_vvvvwbf function
// #jform_authentication listeners for authentication_vvvvwbe function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbf = jQuery("#jform_protocol").val();
var authentication_vvvvwbf = jQuery("#jform_authentication").val();
vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
var protocol_vvvvwbe = jQuery("#jform_protocol").val();
var authentication_vvvvwbe = jQuery("#jform_authentication").val();
vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
});
// #jform_protocol listeners for protocol_vvvvwbg function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbg = jQuery("#jform_protocol").val();
var authentication_vvvvwbg = jQuery("#jform_authentication").val();
vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbg = jQuery("#jform_protocol").val();
var authentication_vvvvwbg = jQuery("#jform_authentication").val();
vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
});
// #jform_authentication listeners for authentication_vvvvwbg function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwbg = jQuery("#jform_protocol").val();
var authentication_vvvvwbg = jQuery("#jform_authentication").val();
vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbg = jQuery("#jform_protocol").val();
var authentication_vvvvwbg = jQuery("#jform_authentication").val();
vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
});

View File

@ -55,7 +55,7 @@ class ComponentbuilderViewServer extends JViewLegacy
}
// Get Linked view data
$this->waolinked_components = $this->get('Waolinked_components');
$this->waplinked_components = $this->get('Waplinked_components');
// Set the toolbar
$this->addToolBar();

View File

@ -162,168 +162,168 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvyp function
// #jform_add_php_view listeners for add_php_view_vvvvvyq function
jQuery('#jform_add_php_view').on('keyup',function()
{
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyp(add_php_view_vvvvvyp);
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyp(add_php_view_vvvvvyp);
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
});
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyq function
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyr function
jQuery('#jform_add_php_jview_display').on('keyup',function()
{
var add_php_jview_display_vvvvvyq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyq(add_php_jview_display_vvvvvyq);
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{
e.preventDefault();
var add_php_jview_display_vvvvvyq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyq(add_php_jview_display_vvvvvyq);
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
});
// #jform_add_php_jview listeners for add_php_jview_vvvvvyr function
// #jform_add_php_jview listeners for add_php_jview_vvvvvys function
jQuery('#jform_add_php_jview').on('keyup',function()
{
var add_php_jview_vvvvvyr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyr(add_php_jview_vvvvvyr);
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{
e.preventDefault();
var add_php_jview_vvvvvyr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyr(add_php_jview_vvvvvyr);
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
});
// #jform_add_php_document listeners for add_php_document_vvvvvys function
// #jform_add_php_document listeners for add_php_document_vvvvvyt function
jQuery('#jform_add_php_document').on('keyup',function()
{
var add_php_document_vvvvvys = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvys(add_php_document_vvvvvys);
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvys = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvys(add_php_document_vvvvvys);
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
});
// #jform_add_css_document listeners for add_css_document_vvvvvyt function
// #jform_add_css_document listeners for add_css_document_vvvvvyu function
jQuery('#jform_add_css_document').on('keyup',function()
{
var add_css_document_vvvvvyt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyt(add_css_document_vvvvvyt);
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
});
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{
e.preventDefault();
var add_css_document_vvvvvyt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyt(add_css_document_vvvvvyt);
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
});
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyu function
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyv function
jQuery('#jform_add_javascript_file').on('keyup',function()
{
var add_javascript_file_vvvvvyu = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyu(add_javascript_file_vvvvvyu);
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{
e.preventDefault();
var add_javascript_file_vvvvvyu = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyu(add_javascript_file_vvvvvyu);
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
});
// #jform_add_js_document listeners for add_js_document_vvvvvyv function
// #jform_add_js_document listeners for add_js_document_vvvvvyw function
jQuery('#jform_add_js_document').on('keyup',function()
{
var add_js_document_vvvvvyv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyv(add_js_document_vvvvvyv);
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
});
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{
e.preventDefault();
var add_js_document_vvvvvyv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyv(add_js_document_vvvvvyv);
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
});
// #jform_add_css listeners for add_css_vvvvvyw function
// #jform_add_css listeners for add_css_vvvvvyx function
jQuery('#jform_add_css').on('keyup',function()
{
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyw(add_css_vvvvvyw);
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
});
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{
e.preventDefault();
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyw(add_css_vvvvvyw);
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
});
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyx function
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyy function
jQuery('#jform_add_php_ajax').on('keyup',function()
{
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyx(add_php_ajax_vvvvvyx);
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
});
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{
e.preventDefault();
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyx(add_php_ajax_vvvvvyx);
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
});
// #jform_add_custom_button listeners for add_custom_button_vvvvvyy function
// #jform_add_custom_button listeners for add_custom_button_vvvvvyz function
jQuery('#jform_add_custom_button').on('keyup',function()
{
var add_custom_button_vvvvvyy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyy(add_custom_button_vvvvvyy);
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvyy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyy(add_custom_button_vvvvvyy);
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
});
// #jform_button_position listeners for button_position_vvvvvyz function
// #jform_button_position listeners for button_position_vvvvvza function
jQuery('#jform_button_position').on('keyup',function()
{
var button_position_vvvvvyz = jQuery("#jform_button_position").val();
vvvvvyz(button_position_vvvvvyz);
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
});
jQuery('#adminForm').on('change', '#jform_button_position',function (e)
{
e.preventDefault();
var button_position_vvvvvyz = jQuery("#jform_button_position").val();
vvvvvyz(button_position_vvvvvyz);
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
});

View File

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

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name>
<creationDate>7th August, 2018</creationDate>
<creationDate>14th August, 2018</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
<copyright>Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>2.8.5</version>
<version>2.8.6</version>
<description><![CDATA[
<h1>Component Builder (v.2.8.5)</h1>
<h1>Component Builder (v.2.8.6)</h1>
<div style="clear: both;"></div>
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.

View File

@ -441,4 +441,21 @@
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
<update>
<name>Component Builder</name>
<description>Builds Complex Joomla Components</description>
<element>com_componentbuilder</element>
<type>component</type>
<version>2.8.6</version>
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
<downloads>
<downloadurl type="full" format="zip">http://domain.com/demo.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>http://www.joomlacomponentbuilder.com</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
</updates>

View File

@ -3378,9 +3378,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitem","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_single":"name_single","name_list":"name_list","short_description":"short_description","add_php_before_publish":"add_php_before_publish","add_php_batchcopy":"add_php_batchcopy","add_php_postsavehook":"add_php_postsavehook","add_php_before_save":"add_php_before_save","icon_add":"icon_add","php_import_headers":"php_import_headers","type":"type","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","add_php_before_delete":"add_php_before_delete","not_required":"not_required","add_php_document":"add_php_document","add_php_getitems":"add_php_getitems","add_custom_import":"add_custom_import","add_php_getlistquery":"add_php_getlistquery","icon":"icon","add_php_getitems_after_all":"add_php_getitems_after_all","add_php_getform":"add_php_getform","add_php_save":"add_php_save","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitem":"php_getitem","php_getitems":"php_getitems","add_css_view":"add_css_view","php_getitems_after_all":"php_getitems_after_all","css_view":"css_view","php_getlistquery":"php_getlistquery","add_css_views":"add_css_views","php_getform":"php_getform","css_views":"css_views","php_before_save":"php_before_save","add_javascript_view_file":"add_javascript_view_file","php_save":"php_save","javascript_view_file":"javascript_view_file","php_postsavehook":"php_postsavehook","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","source":"source","php_model":"php_model","sql":"sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","php_import_display":"php_import_display","add_php_ajax":"add_php_ajax","php_import":"php_import","php_ajaxmethod":"php_ajaxmethod","php_import_setdata":"php_import_setdata","php_import_ext":"php_import_ext","add_php_getitem":"add_php_getitem"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","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_single":"name_single","name_list":"name_list","short_description":"short_description","add_php_allowedit":"add_php_allowedit","add_php_postsavehook":"add_php_postsavehook","add_php_before_save":"add_php_before_save","add_php_getlistquery":"add_php_getlistquery","php_import_save":"php_import_save","add_php_after_delete":"add_php_after_delete","type":"type","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","add_php_batchmove":"add_php_batchmove","not_required":"not_required","add_php_after_publish":"add_php_after_publish","add_sql":"add_sql","html_import_view":"html_import_view","icon_add":"icon_add","add_php_getform":"add_php_getform","add_php_save":"add_php_save","add_php_allowadd":"add_php_allowadd","add_php_batchcopy":"add_php_batchcopy","alias_builder_type":"alias_builder_type","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","add_php_document":"add_php_document","alias_builder":"alias_builder","add_custom_import":"add_custom_import","add_php_getitems":"add_php_getitems","php_import_headers":"php_import_headers","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","php_getitems":"php_getitems","add_css_view":"add_css_view","php_getitems_after_all":"php_getitems_after_all","css_view":"css_view","php_getlistquery":"php_getlistquery","add_css_views":"add_css_views","php_getform":"php_getform","css_views":"css_views","php_before_save":"php_before_save","add_javascript_view_file":"add_javascript_view_file","php_save":"php_save","javascript_view_file":"javascript_view_file","php_postsavehook":"php_postsavehook","add_javascript_view_footer":"add_javascript_view_footer","php_allowadd":"php_allowadd","javascript_view_footer":"javascript_view_footer","php_allowedit":"php_allowedit","add_javascript_views_file":"add_javascript_views_file","php_batchcopy":"php_batchcopy","javascript_views_file":"javascript_views_file","php_batchmove":"php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","php_before_publish":"php_before_publish","javascript_views_footer":"javascript_views_footer","php_after_publish":"php_after_publish","add_custom_button":"add_custom_button","php_before_delete":"php_before_delete","php_after_delete":"php_after_delete","php_controller":"php_controller","php_document":"php_document","php_model":"php_model","source":"source","php_controller_list":"php_controller_list","sql":"sql","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","php_import_display":"php_import_display","php_ajaxmethod":"php_ajaxmethod","php_import":"php_import","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext","php_getitem":"php_getitem"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.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","add_php_before_publish","add_php_batchcopy","add_php_postsavehook","add_php_before_save","type","add_fadein","add_php_before_delete","add_php_document","add_php_getitems","add_custom_import","add_php_getlistquery","add_php_getitems_after_all","add_php_getform","add_php_save","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem"],"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"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.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","add_php_allowedit","add_php_postsavehook","add_php_before_save","add_php_getlistquery","add_php_after_delete","type","add_fadein","add_php_batchmove","add_php_after_publish","add_sql","add_php_getform","add_php_save","add_php_allowadd","add_php_batchcopy","add_php_before_publish","add_php_before_delete","add_php_document","add_custom_import","add_php_getitems","add_php_getitems_after_all","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem"],"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"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
// Set the object into the content types table.
$admin_view_Inserted = $db->insertObject('#__content_types', $admin_view);
@ -3829,9 +3829,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitem","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_single":"name_single","name_list":"name_list","short_description":"short_description","add_php_before_publish":"add_php_before_publish","add_php_batchcopy":"add_php_batchcopy","add_php_postsavehook":"add_php_postsavehook","add_php_before_save":"add_php_before_save","icon_add":"icon_add","php_import_headers":"php_import_headers","type":"type","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","add_php_before_delete":"add_php_before_delete","not_required":"not_required","add_php_document":"add_php_document","add_php_getitems":"add_php_getitems","add_custom_import":"add_custom_import","add_php_getlistquery":"add_php_getlistquery","icon":"icon","add_php_getitems_after_all":"add_php_getitems_after_all","add_php_getform":"add_php_getform","add_php_save":"add_php_save","add_php_allowedit":"add_php_allowedit","add_php_batchmove":"add_php_batchmove","add_php_after_publish":"add_php_after_publish","add_php_after_delete":"add_php_after_delete","alias_builder_type":"alias_builder_type","add_sql":"add_sql","html_import_view":"html_import_view","alias_builder":"alias_builder","php_import_save":"php_import_save","php_getitem":"php_getitem","php_getitems":"php_getitems","add_css_view":"add_css_view","php_getitems_after_all":"php_getitems_after_all","css_view":"css_view","php_getlistquery":"php_getlistquery","add_css_views":"add_css_views","php_getform":"php_getform","css_views":"css_views","php_before_save":"php_before_save","add_javascript_view_file":"add_javascript_view_file","php_save":"php_save","javascript_view_file":"javascript_view_file","php_postsavehook":"php_postsavehook","add_javascript_view_footer":"add_javascript_view_footer","php_allowedit":"php_allowedit","javascript_view_footer":"javascript_view_footer","php_batchcopy":"php_batchcopy","add_javascript_views_file":"add_javascript_views_file","php_batchmove":"php_batchmove","javascript_views_file":"javascript_views_file","php_before_publish":"php_before_publish","add_javascript_views_footer":"add_javascript_views_footer","php_after_publish":"php_after_publish","javascript_views_footer":"javascript_views_footer","php_before_delete":"php_before_delete","add_custom_button":"add_custom_button","php_after_delete":"php_after_delete","php_document":"php_document","php_controller":"php_controller","source":"source","php_model":"php_model","sql":"sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","php_import_display":"php_import_display","add_php_ajax":"add_php_ajax","php_import":"php_import","php_ajaxmethod":"php_ajaxmethod","php_import_setdata":"php_import_setdata","php_import_ext":"php_import_ext","add_php_getitem":"add_php_getitem"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_getitems","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_single":"name_single","name_list":"name_list","short_description":"short_description","add_php_allowedit":"add_php_allowedit","add_php_postsavehook":"add_php_postsavehook","add_php_before_save":"add_php_before_save","add_php_getlistquery":"add_php_getlistquery","php_import_save":"php_import_save","add_php_after_delete":"add_php_after_delete","type":"type","add_fadein":"add_fadein","description":"description","icon_category":"icon_category","add_php_batchmove":"add_php_batchmove","not_required":"not_required","add_php_after_publish":"add_php_after_publish","add_sql":"add_sql","html_import_view":"html_import_view","icon_add":"icon_add","add_php_getform":"add_php_getform","add_php_save":"add_php_save","add_php_allowadd":"add_php_allowadd","add_php_batchcopy":"add_php_batchcopy","alias_builder_type":"alias_builder_type","add_php_before_publish":"add_php_before_publish","add_php_before_delete":"add_php_before_delete","add_php_document":"add_php_document","alias_builder":"alias_builder","add_custom_import":"add_custom_import","add_php_getitems":"add_php_getitems","php_import_headers":"php_import_headers","add_php_getitems_after_all":"add_php_getitems_after_all","icon":"icon","php_getitems":"php_getitems","add_css_view":"add_css_view","php_getitems_after_all":"php_getitems_after_all","css_view":"css_view","php_getlistquery":"php_getlistquery","add_css_views":"add_css_views","php_getform":"php_getform","css_views":"css_views","php_before_save":"php_before_save","add_javascript_view_file":"add_javascript_view_file","php_save":"php_save","javascript_view_file":"javascript_view_file","php_postsavehook":"php_postsavehook","add_javascript_view_footer":"add_javascript_view_footer","php_allowadd":"php_allowadd","javascript_view_footer":"javascript_view_footer","php_allowedit":"php_allowedit","add_javascript_views_file":"add_javascript_views_file","php_batchcopy":"php_batchcopy","javascript_views_file":"javascript_views_file","php_batchmove":"php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","php_before_publish":"php_before_publish","javascript_views_footer":"javascript_views_footer","php_after_publish":"php_after_publish","add_custom_button":"add_custom_button","php_before_delete":"php_before_delete","php_after_delete":"php_after_delete","php_controller":"php_controller","php_document":"php_document","php_model":"php_model","source":"source","php_controller_list":"php_controller_list","sql":"sql","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","php_import_display":"php_import_display","php_ajaxmethod":"php_ajaxmethod","php_import":"php_import","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext","php_getitem":"php_getitem"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.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","add_php_before_publish","add_php_batchcopy","add_php_postsavehook","add_php_before_save","type","add_fadein","add_php_before_delete","add_php_document","add_php_getitems","add_custom_import","add_php_getlistquery","add_php_getitems_after_all","add_php_getform","add_php_save","add_php_allowedit","add_php_batchmove","add_php_after_publish","add_php_after_delete","add_sql","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem"],"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"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.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","add_php_allowedit","add_php_postsavehook","add_php_before_save","add_php_getlistquery","add_php_after_delete","type","add_fadein","add_php_batchmove","add_php_after_publish","add_sql","add_php_getform","add_php_save","add_php_allowadd","add_php_batchcopy","add_php_before_publish","add_php_before_delete","add_php_document","add_custom_import","add_php_getitems","add_php_getitems_after_all","add_css_view","add_css_views","add_javascript_view_file","add_javascript_view_footer","add_javascript_views_file","add_javascript_views_footer","add_custom_button","source","add_php_ajax","add_php_getitem"],"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"},{"sourceColumn": "alias_builder","targetTable": "#__componentbuilder_field","targetColumn": "id","displayColumn": "name"}]}';
// Check if admin_view type is already in content_type DB.
$admin_view_id = null;
@ -4989,7 +4989,7 @@ class com_componentbuilderInstallerScript
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a>
<h3>Upgrade to Version 2.8.5 Was Successful! Let us know if anything is not working as expected.</h3>';
<h3>Upgrade to Version 2.8.6 Was Successful! Let us know if anything is not working as expected.</h3>';
}
}