forked from joomla/Component-Builder
Added Captcha field type. Started adding the crowdin integration.
This commit is contained in:
parent
a23f1fe79a
commit
80c588a33a
12
README.md
12
README.md
@ -12,7 +12,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!
|
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.9.16) 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.9.18) 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)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -146,13 +146,13 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 6th May, 2019
|
+ *Last Build*: 15th May, 2019
|
||||||
+ *Version*: 2.9.16
|
+ *Version*: 2.9.18
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **205396**
|
+ *Line count*: **206359**
|
||||||
+ *Field count*: **1130**
|
+ *Field count*: **1136**
|
||||||
+ *File count*: **1342**
|
+ *File count*: **1344**
|
||||||
+ *Folder count*: **209**
|
+ *Folder count*: **209**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
|
@ -12,7 +12,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!
|
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.9.16) 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.9.18) 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)
|
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||||
|
|
||||||
@ -146,13 +146,13 @@ TODO
|
|||||||
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||||
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
|
||||||
+ *First Build*: 30th April, 2015
|
+ *First Build*: 30th April, 2015
|
||||||
+ *Last Build*: 6th May, 2019
|
+ *Last Build*: 15th May, 2019
|
||||||
+ *Version*: 2.9.16
|
+ *Version*: 2.9.18
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **205396**
|
+ *Line count*: **206359**
|
||||||
+ *Field count*: **1130**
|
+ *Field count*: **1136**
|
||||||
+ *File count*: **1342**
|
+ *File count*: **1344**
|
||||||
+ *Folder count*: **209**
|
+ *Folder count*: **209**
|
||||||
|
|
||||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||||
|
@ -76,6 +76,7 @@
|
|||||||
<action name="compiler.dashboard_list" title="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST_DESC" />
|
<action name="compiler.dashboard_list" title="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST" description="COM_COMPONENTBUILDER_COMPILER_DASHBOARD_LIST_DESC" />
|
||||||
<action name="compiler.run_expansion" title="COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
<action name="compiler.run_expansion" title="COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC" />
|
||||||
<action name="compiler.submenu" title="COM_COMPONENTBUILDER_COMPILER_SUBMENU" description="COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC" />
|
<action name="compiler.submenu" title="COM_COMPONENTBUILDER_COMPILER_SUBMENU" description="COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC" />
|
||||||
|
<action name="compiler.translate" title="COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS_DESC" />
|
||||||
<action name="component_admin_views.access" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC" />
|
<action name="component_admin_views.access" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC" />
|
||||||
<action name="component_admin_views.batch" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE_DESC" />
|
<action name="component_admin_views.batch" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE_DESC" />
|
||||||
<action name="component_admin_views.create" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE_DESC" />
|
<action name="component_admin_views.create" title="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE" description="COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_CREATE_DESC" />
|
||||||
|
@ -30,6 +30,7 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
$this->registerTask('getComponentDetails', 'ajax');
|
$this->registerTask('getComponentDetails', 'ajax');
|
||||||
$this->registerTask('getCronPath', 'ajax');
|
$this->registerTask('getCronPath', 'ajax');
|
||||||
$this->registerTask('getJCBpackageInfo', 'ajax');
|
$this->registerTask('getJCBpackageInfo', 'ajax');
|
||||||
|
$this->registerTask('getCrowdinDetails', 'ajax');
|
||||||
$this->registerTask('tableColumns', 'ajax');
|
$this->registerTask('tableColumns', 'ajax');
|
||||||
$this->registerTask('fieldSelectOptions', 'ajax');
|
$this->registerTask('fieldSelectOptions', 'ajax');
|
||||||
$this->registerTask('getDynamicScripts', 'ajax');
|
$this->registerTask('getDynamicScripts', 'ajax');
|
||||||
@ -261,6 +262,45 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'getCrowdinDetails':
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$returnRaw = $jinput->get('raw', false, 'BOOLEAN');
|
||||||
|
$identifierValue = $jinput->get('identifier', NULL, 'CMD');
|
||||||
|
$keyValue = $jinput->get('key', NULL, 'ALNUM');
|
||||||
|
if($identifierValue && $keyValue && $user->id != 0)
|
||||||
|
{
|
||||||
|
$result = $this->getModel('ajax')->getCrowdinDetails($identifierValue, $keyValue);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$result = false;
|
||||||
|
}
|
||||||
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
|
{
|
||||||
|
echo $callback . "(".json_encode($result).");";
|
||||||
|
}
|
||||||
|
elseif($returnRaw)
|
||||||
|
{
|
||||||
|
echo json_encode($result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "(".json_encode($result).");";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch(Exception $e)
|
||||||
|
{
|
||||||
|
if($callback = $jinput->get('callback', null, 'CMD'))
|
||||||
|
{
|
||||||
|
echo $callback."(".json_encode($e).");";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo "(".json_encode($e).");";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
case 'tableColumns':
|
case 'tableColumns':
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -35,79 +35,6 @@ class ComponentbuilderControllerCompiler extends JControllerAdmin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run the Expansion
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function runExpansion()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
|
||||||
// check if user has the right
|
|
||||||
$user = JFactory::getUser();
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
|
|
||||||
// set massage
|
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
|
||||||
// check if this user has the right to run expansion
|
|
||||||
if($user->authorise('compiler.run_expansion', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// set massage
|
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
|
||||||
// run expansion via API
|
|
||||||
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
|
||||||
// is there a message returned
|
|
||||||
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
|
||||||
{
|
|
||||||
$this->setRedirect($redirect_url, $result);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
elseif (is_numeric($result) && 1 == $result)
|
|
||||||
{
|
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Clear tmp folder
|
|
||||||
*
|
|
||||||
* @return true on success
|
|
||||||
*/
|
|
||||||
public function clearTmp()
|
|
||||||
{
|
|
||||||
// Check for request forgeries
|
|
||||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
|
||||||
// check if user has the right
|
|
||||||
$user = JFactory::getUser();
|
|
||||||
// set page redirect
|
|
||||||
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
|
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_COULD_NOT_CLEAR_THE_TMP_FOLDER');
|
|
||||||
if($user->authorise('core.admin', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// get the model
|
|
||||||
$model = $this->getModel('compiler');
|
|
||||||
// get tmp folder
|
|
||||||
$comConfig = JFactory::getConfig();
|
|
||||||
$tmp = $comConfig->get('tmp_path');
|
|
||||||
if ($model->emptyFolder($tmp))
|
|
||||||
{
|
|
||||||
$message = JText::_('COM_COMPONENTBUILDER_BTHE_TMP_FOLDER_HAS_BEEN_CLEAR_SUCCESSFULLYB');
|
|
||||||
$this->setRedirect($redirect_url, $message, 'message');
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$this->setRedirect($redirect_url, $message, 'error');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the Compiler
|
* Run the Compiler
|
||||||
*
|
*
|
||||||
@ -234,4 +161,111 @@ class ComponentbuilderControllerCompiler extends JControllerAdmin
|
|||||||
$this->setRedirect($redirect_url,$message,'error');
|
$this->setRedirect($redirect_url,$message,'error');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run the Expansion
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function runExpansion()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
// set page redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
|
||||||
|
// set massage
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE');
|
||||||
|
// check if this user has the right to run expansion
|
||||||
|
if($user->authorise('compiler.run_expansion', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
// set massage
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_EXPANSION_FAILED_PLEASE_CHECK_YOUR_SETTINGS_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TAB');
|
||||||
|
// run expansion via API
|
||||||
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.expand');
|
||||||
|
// is there a message returned
|
||||||
|
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
||||||
|
{
|
||||||
|
$this->setRedirect($redirect_url, $result);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
elseif (is_numeric($result) && 1 == $result)
|
||||||
|
{
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_BTHE_EXPANSION_WAS_SUCCESSFULLYB_TO_SEE_MORE_INFORMATION_CHANGE_THE_BRETURN_OPTIONS_FOR_BUILDB_TO_BDISPLAY_MESSAGEB_IN_THE_GLOBAL_OPTIONS_OF_JCB_UNDER_THE_DEVELOPMENT_METHOD_TABB');
|
||||||
|
$this->setRedirect($redirect_url, $message, 'message');
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$this->setRedirect($redirect_url, $message, 'error');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clear tmp folder
|
||||||
|
*
|
||||||
|
* @return true on success
|
||||||
|
*/
|
||||||
|
public function clearTmp()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
// set page redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_COULD_NOT_CLEAR_THE_TMP_FOLDER');
|
||||||
|
if($user->authorise('core.admin', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
// get the model
|
||||||
|
$model = $this->getModel('compiler');
|
||||||
|
// get tmp folder
|
||||||
|
$comConfig = JFactory::getConfig();
|
||||||
|
$tmp = $comConfig->get('tmp_path');
|
||||||
|
if ($model->emptyFolder($tmp))
|
||||||
|
{
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_BTHE_TMP_FOLDER_HAS_BEEN_CLEAR_SUCCESSFULLYB');
|
||||||
|
$this->setRedirect($redirect_url, $message, 'message');
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$this->setRedirect($redirect_url, $message, 'error');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run the Translator
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function runTranslator()
|
||||||
|
{
|
||||||
|
// Check for request forgeries
|
||||||
|
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||||
|
// check if user has the right
|
||||||
|
$user = JFactory::getUser();
|
||||||
|
// set page redirect
|
||||||
|
$redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=compiler', false);
|
||||||
|
// set massage
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_TRANSLATOR_MODULE');
|
||||||
|
// check if this user has the right to run expansion
|
||||||
|
if($user->authorise('compiler.run_translator', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
// set massage
|
||||||
|
$message = JText::_('COM_COMPONENTBUILDER_TRANSLATION_FAILED_SINCE_THERE_ARE_NO_COMPONENTS_LINKED_WITH_TRANSLATION_TOOLS');
|
||||||
|
// run translator via API
|
||||||
|
$result = ComponentbuilderHelper::getFileContents(JURI::root() . 'index.php?option=com_componentbuilder&task=api.translator');
|
||||||
|
// is there a message returned
|
||||||
|
if (!is_numeric($result) && ComponentbuilderHelper::checkString($result))
|
||||||
|
{
|
||||||
|
$this->setRedirect($redirect_url, $result);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$this->setRedirect($redirect_url, $message, 'error');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -360,6 +360,7 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
|
|||||||
'component_config' => 'joomla_component',
|
'component_config' => 'joomla_component',
|
||||||
'component_dashboard' => 'joomla_component',
|
'component_dashboard' => 'joomla_component',
|
||||||
'component_files_folders' => 'joomla_component',
|
'component_files_folders' => 'joomla_component',
|
||||||
|
'component_placeholders' => 'joomla_component',
|
||||||
'custom_code' => 'component'
|
'custom_code' => 'component'
|
||||||
);
|
);
|
||||||
foreach($_tablesArray as $_updateTable => $_key)
|
foreach($_tablesArray as $_updateTable => $_key)
|
||||||
|
@ -13465,7 +13465,7 @@ class Interpretation extends Fields
|
|||||||
if (isset($this->categoryBuilder[$nameList]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$nameList]) && !in_array($otherViews, $catArray))
|
if (isset($this->categoryBuilder[$nameList]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$nameList]) && !in_array($otherViews, $catArray))
|
||||||
{
|
{
|
||||||
// get the extention array
|
// get the extention array
|
||||||
$_extetion_array = explode('.', $this->categoryBuilder[$nameList]['extension']);
|
$_extetion_array = (array) explode('.', $this->categoryBuilder[$nameList]['extension']);
|
||||||
// set the meny selection
|
// set the meny selection
|
||||||
if (isset($_extetion_array[1]))
|
if (isset($_extetion_array[1]))
|
||||||
{
|
{
|
||||||
|
@ -2612,7 +2612,7 @@ abstract class ComponentbuilderHelper
|
|||||||
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
||||||
),
|
),
|
||||||
'plain' => array(
|
'plain' => array(
|
||||||
'cachehandler', 'calendar', 'checkbox', 'chromestyle', 'color', 'componentlayout', 'contenttype', 'editor', 'editors',
|
'cachehandler', 'calendar', 'checkbox', 'chromestyle', 'color', 'componentlayout', 'contenttype', 'editor', 'editors', 'captcha',
|
||||||
'email', 'file', 'headertag', 'helpsite', 'hidden', 'integer', 'language', 'media', 'menu', 'menuitem', 'meter', 'modulelayout',
|
'email', 'file', 'headertag', 'helpsite', 'hidden', 'integer', 'language', 'media', 'menu', 'menuitem', 'meter', 'modulelayout',
|
||||||
'moduleorder', 'moduletag', 'number', 'password', 'range', 'rules', 'tag', 'tel', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
'moduleorder', 'moduletag', 'number', 'password', 'range', 'rules', 'tag', 'tel', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
||||||
),
|
),
|
||||||
@ -4459,6 +4459,115 @@ abstract class ComponentbuilderHelper
|
|||||||
return implode("\n", $table);
|
return implode("\n", $table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy date
|
||||||
|
*/
|
||||||
|
public static function fancyDate($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('jS \o\f F Y',$date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get date based in period past
|
||||||
|
*/
|
||||||
|
public static function fancyDynamicDate($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
// older then year
|
||||||
|
$lastyear = date("Y", strtotime("-1 year"));
|
||||||
|
$tragetyear = date("Y", $date);
|
||||||
|
if ($tragetyear <= $lastyear)
|
||||||
|
{
|
||||||
|
return date('m/d/y', $date);
|
||||||
|
}
|
||||||
|
// same day
|
||||||
|
$yesterday = strtotime("-1 day");
|
||||||
|
if ($date > $yesterday)
|
||||||
|
{
|
||||||
|
return date('g:i A', $date);
|
||||||
|
}
|
||||||
|
// just month day
|
||||||
|
return date('M j', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy day time and date
|
||||||
|
*/
|
||||||
|
public static function fancyDayTimeDate($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('D ga jS \o\f F Y',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy time and date
|
||||||
|
*/
|
||||||
|
public static function fancyDateTime($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('(G:i) jS \o\f F Y',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice hour:minutes time
|
||||||
|
*/
|
||||||
|
public static function fancyTime($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('G:i',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the date as 2004/05 (for charts)
|
||||||
|
*/
|
||||||
|
public static function setYearMonth($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('Y/m', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the date as 2004/05/03 (for charts)
|
||||||
|
*/
|
||||||
|
public static function setYearMonthDay($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('Y/m/d', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if string is a valid time stamp
|
||||||
|
*/
|
||||||
|
public static function isValidTimeStamp($timestamp)
|
||||||
|
{
|
||||||
|
return ((int) $timestamp === $timestamp)
|
||||||
|
&& ($timestamp <= PHP_INT_MAX)
|
||||||
|
&& ($timestamp >= ~PHP_INT_MAX);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load the Component xml manifest.
|
* Load the Component xml manifest.
|
||||||
**/
|
**/
|
||||||
|
@ -1443,6 +1443,8 @@ COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS="Compiler Run Expansio
|
|||||||
COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC=" Allows the users in this group to access the run expansion button."
|
COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC=" Allows the users in this group to access the run expansion button."
|
||||||
COM_COMPONENTBUILDER_COMPILER_SUBMENU="Compiler Submenu"
|
COM_COMPONENTBUILDER_COMPILER_SUBMENU="Compiler Submenu"
|
||||||
COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC="Allows the users in this group to submenu of Compiler"
|
COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC="Allows the users in this group to submenu of Compiler"
|
||||||
|
COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS="Compiler Translate Button Access"
|
||||||
|
COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS_DESC=" Allows the users in this group to access the translate button."
|
||||||
COM_COMPONENTBUILDER_COMPILE_COMPONENT="Compile Component"
|
COM_COMPONENTBUILDER_COMPILE_COMPONENT="Compile Component"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS="Components"
|
COM_COMPONENTBUILDER_COMPONENTS="Components"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS="Components Admin Views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS="Components Admin Views"
|
||||||
@ -2724,6 +2726,7 @@ COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_STATUS="Status"
|
|||||||
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC="A count of the number of times this Component Site Views has been revised."
|
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_DESC="A count of the number of times this Component Site Views has been revised."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL="Revision"
|
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VERSION_LABEL="Revision"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VIEWS="Views"
|
COM_COMPONENTBUILDER_COMPONENT_SITE_VIEWS_VIEWS="Views"
|
||||||
|
COM_COMPONENTBUILDER_COMPONENT_SUCCESSFULLY_LINKED="Component Successfully Linked"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES="Component Updates"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES="Component Updates"
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_DESC="The user that created this Component Updates."
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_DESC="The user that created this Component Updates."
|
||||||
COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_LABEL="Created By"
|
COM_COMPONENTBUILDER_COMPONENT_UPDATES_CREATED_BY_LABEL="Created By"
|
||||||
@ -5104,6 +5107,23 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_DATE_DESC="The date this Joomla Co
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_DATE_LABEL="Created Date"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_DATE_LABEL="Created Date"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER="Creatuserhelper"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER="Creatuserhelper"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN="Crowdin"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY="Crowdin Account Api Key"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_DESCRIPTION="Your crowdin API key will be used to interact with your account in relation to global API methods."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_LABEL="Crowdin Account API (Key)<br /><small>(encrypted field)</small>"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_MESSAGE="Error! Please add api key here."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY="Crowdin Project Api Key"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_DESCRIPTION="The crowdin project API key will be used to interact with this project's API methods."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_LABEL="Crowdin Project API (Key)<br /><small>(encrypted field)</small>"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_MESSAGE="Error! Please add api key here."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER="Crowdin Project Identifier"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_DESCRIPTION="Add the crowdin project identifier here."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_LABEL="Crowdin Project Identifier"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_MESSAGE="Error! Please add identifier here."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME="Crowdin Username"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_DESCRIPTION="Add the crowdin username here."
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_LABEL="Crowdin Username<br /><small>(encrypted field)</small>"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_MESSAGE="Error! Please add username here."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN="Css Admin"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN="Css Admin"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION="Add CSS for the entire back-end of your component. Do not add the style tags."
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION="Add CSS for the entire back-end of your component. Do not add the style tags."
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL="CSS (admin)"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL="CSS (admin)"
|
||||||
@ -5216,6 +5236,24 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_DESCRIPTION="
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL="Dynamic Builder (mySql) Option"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL="Dynamic Builder (mySql) Option"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_COMPONENT_FILES_FOLDERS_DESCRIPTION="You can add custom files and folders to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here.<span id='jform_button_component_files_folders'></span>"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_COMPONENT_FILES_FOLDERS_DESCRIPTION="You can add custom files and folders to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here.<span id='jform_button_component_files_folders'></span>"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_COMPONENT_FILES_FOLDERS_LABEL="Adding Custom Files & Folder"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_COMPONENT_FILES_FOLDERS_LABEL="Adding Custom Files & Folder"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_CROWDIN_DESCRIPTION="
|
||||||
|
<div class='alert alert-warning'>
|
||||||
|
<h4>Feature not ready?</h4>
|
||||||
|
<p>We are still working on this integration, so it is not fully ready. Hopefully with the next update.</p>
|
||||||
|
</div>
|
||||||
|
<div id='crowdin_information_box'>
|
||||||
|
<div class='alert alert-info'>
|
||||||
|
<h4>How to use Crowdin with JCB?</h4>
|
||||||
|
<p>You will need an account with Crowdin https://crowdin.com/, then setup a project following these steps https://support.crowdin.com/creating-project/<br />
|
||||||
|
Once your project is created get the project API key following these steps https://support.crowdin.com/api/api-integration-setup/<br />
|
||||||
|
Then add the Project API key and identifier details below, and your done! Next time you compile this component JCB will automatically sync your project with Crowdin.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id='crowdin_success_box'>
|
||||||
|
</div>
|
||||||
|
<div id='crowdin_error_box'>
|
||||||
|
</div>"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_CROWDIN_LABEL="Crowdin"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_ADMIN_VIEWS_DESCRIPTION="<h4>Linked Admin Views <span id='header_component_admin_views_buttons'></span></h4><div id='display_component_admin_views' >Display of the admin views will load here!</div>"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_ADMIN_VIEWS_DESCRIPTION="<h4>Linked Admin Views <span id='header_component_admin_views_buttons'></span></h4><div id='display_component_admin_views' >Display of the admin views will load here!</div>"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_CUSTOM_ADMIN_VIEWS_DESCRIPTION="<h4>Linked Custom Admin Views <span id='header_component_custom_admin_views_buttons'></span></h4><div id='display_component_custom_admin_views' >Display of the custom admin views will load here!</div>"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_CUSTOM_ADMIN_VIEWS_DESCRIPTION="<h4>Linked Custom Admin Views <span id='header_component_custom_admin_views_buttons'></span></h4><div id='display_component_custom_admin_views' >Display of the custom admin views will load here!</div>"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_SITE_VIEWS_DESCRIPTION="<h4>Linked Site Views <span id='header_component_site_views_buttons'></span></h4><div id='display_component_site_views' >Display of the site views will load here!</div>"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_SITE_VIEWS_DESCRIPTION="<h4>Linked Site Views <span id='header_component_site_views_buttons'></span></h4><div id='display_component_site_views' >Display of the site views will load here!</div>"
|
||||||
@ -5379,6 +5417,8 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TOIGNORE_HINT="Coma separated names of fol
|
|||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TOIGNORE_LABEL="Repository Folders or Files to Ignore"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TOIGNORE_LABEL="Repository Folders or Files to Ignore"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TO_IGNORE_NOTE_DESCRIPTION="During compilation JCB deletes all files and folders from the repository folder, and then adds the newly created files and folders back into the repository folder. Yet there may be files or folders you may not want deleted, like the <b>.git</b> folder, since JCB does not dynamically create that folder and so it will not be placed back, but simply delete it, unless you add it in this text field below, so that it will be ignored, and therefore not deleted in the first place. You can add multiple folders and files, separated by commas. Like: <code>.git, .hg</code>"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TO_IGNORE_NOTE_DESCRIPTION="During compilation JCB deletes all files and folders from the repository folder, and then adds the newly created files and folders back into the repository folder. Yet there may be files or folders you may not want deleted, like the <b>.git</b> folder, since JCB does not dynamically create that folder and so it will not be placed back, but simply delete it, unless you add it in this text field below, so that it will be ignored, and therefore not deleted in the first place. You can add multiple folders and files, separated by commas. Like: <code>.git, .hg</code>"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TO_IGNORE_NOTE_LABEL="Repository Folders or Files to Ignore"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TO_IGNORE_NOTE_LABEL="Repository Folders or Files to Ignore"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL="Translation Tool"
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL_LABEL="Translation Tool"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATES_NOT_READY="Updates (NOT READY!)"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATES_NOT_READY="Updates (NOT READY!)"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER="Update Server"
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER="Update Server"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_DESCRIPTION="Select your update server for this component."
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_DESCRIPTION="Select your update server for this component."
|
||||||
@ -7353,6 +7393,8 @@ COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_BJCB_GLOBAL_O
|
|||||||
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_JCB_GLOBAL_OPTIONS_GO_TO_THE_COMPANY_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the JCB Global Options, go to the Company tab and add the correct company details there."
|
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_JCB_GLOBAL_OPTIONS_GO_TO_THE_COMPANY_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the JCB Global Options, go to the Company tab and add the correct company details there."
|
||||||
COM_COMPONENTBUILDER_TO_SHARE_THESE_SNIPPETS_WITH_THE_REST_OF_THE_JCB_COMMUNITY="To share these snippets with the rest of the JCB community,"
|
COM_COMPONENTBUILDER_TO_SHARE_THESE_SNIPPETS_WITH_THE_REST_OF_THE_JCB_COMMUNITY="To share these snippets with the rest of the JCB community,"
|
||||||
COM_COMPONENTBUILDER_TO_SHARE_THIS_SNIPPET_WITH_THE_REST_OF_THE_JCB_COMMUNITY="To share this snippet with the rest of the JCB community,"
|
COM_COMPONENTBUILDER_TO_SHARE_THIS_SNIPPET_WITH_THE_REST_OF_THE_JCB_COMMUNITY="To share this snippet with the rest of the JCB community,"
|
||||||
|
COM_COMPONENTBUILDER_TRANSLATE="Translate"
|
||||||
|
COM_COMPONENTBUILDER_TRANSLATION_FAILED_SINCE_THERE_ARE_NO_COMPONENTS_LINKED_WITH_TRANSLATION_TOOLS="Translation failed, since there are no components linked with translation tools!"
|
||||||
COM_COMPONENTBUILDER_TRASHED="Trashed"
|
COM_COMPONENTBUILDER_TRASHED="Trashed"
|
||||||
COM_COMPONENTBUILDER_TUTORIAL_ON_FORKING_JCB_SNIPPETS_BSB="Tutorial on forking JCB snippets: <b>%s</b>"
|
COM_COMPONENTBUILDER_TUTORIAL_ON_FORKING_JCB_SNIPPETS_BSB="Tutorial on forking JCB snippets: <b>%s</b>"
|
||||||
COM_COMPONENTBUILDER_TUTORIAL_ON_MAKING_A_PULL_REQUEST_BSB="Tutorial on making a pull request: <b>%s</b>"
|
COM_COMPONENTBUILDER_TUTORIAL_ON_MAKING_A_PULL_REQUEST_BSB="Tutorial on making a pull request: <b>%s</b>"
|
||||||
@ -7488,6 +7530,7 @@ COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_THE_SERVER_DETAILS_BS_
|
|||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_CLONE_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to clone a component, please contact your system administrator for more help."
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_CLONE_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to clone a component, please contact your system administrator for more help."
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_IMPORT_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to import a component, please contact your system administrator for more help."
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_IMPORT_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to import a component, please contact your system administrator for more help."
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE="You do not have permission to run the expansion module!"
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_EXPANSION_MODULE="You do not have permission to run the expansion module!"
|
||||||
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_RUN_THE_TRANSLATOR_MODULE="You do not have permission to run the translator module!"
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_SHARE_THE_SNIPPETS_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to share the snippets, please contact your system administrator for more help."
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_SHARE_THE_SNIPPETS_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to share the snippets, please contact your system administrator for more help."
|
||||||
COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE="You have %s %s. Adding more then %s %s is considered bad practice."
|
COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE="You have %s %s. Adding more then %s %s is considered bad practice."
|
||||||
COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE_YOUR_S_PAGE_LOAD_IN_JCB_WILL_SLOWDOWN_YOU_SHOULD_CONSIDER_DECOUPLING_SOME_OF_THESE_S="You have %s %s. Adding more then %s %s is considered bad practice. Your %s page load in JCB will slowdown. You should consider decoupling some of these %s."
|
COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE_YOUR_S_PAGE_LOAD_IN_JCB_WILL_SLOWDOWN_YOU_SHOULD_CONSIDER_DECOUPLING_SOME_OF_THESE_S="You have %s %s. Adding more then %s %s is considered bad practice. Your %s page load in JCB will slowdown. You should consider decoupling some of these %s."
|
||||||
|
@ -121,6 +121,8 @@ COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS="Compiler Run Expansio
|
|||||||
COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC=" Allows the users in this group to access the run expansion button."
|
COM_COMPONENTBUILDER_COMPILER_RUN_EXPANSION_BUTTON_ACCESS_DESC=" Allows the users in this group to access the run expansion button."
|
||||||
COM_COMPONENTBUILDER_COMPILER_SUBMENU="Compiler Submenu"
|
COM_COMPONENTBUILDER_COMPILER_SUBMENU="Compiler Submenu"
|
||||||
COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC="Allows the users in this group to submenu of Compiler"
|
COM_COMPONENTBUILDER_COMPILER_SUBMENU_DESC="Allows the users in this group to submenu of Compiler"
|
||||||
|
COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS="Compiler Translate Button Access"
|
||||||
|
COM_COMPONENTBUILDER_COMPILER_TRANSLATE_BUTTON_ACCESS_DESC=" Allows the users in this group to access the translate button."
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS="Components Admin Views Access"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS="Components Admin Views Access"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components admin views"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_ACCESS_DESC="Allows the users in this group to access access components admin views"
|
||||||
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE="Components Admin Views Batch Use"
|
COM_COMPONENTBUILDER_COMPONENTS_ADMIN_VIEWS_BATCH_USE="Components Admin Views Batch Use"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
// set the defaults
|
// set the defaults
|
||||||
$items = $displayData->wamfields;
|
$items = $displayData->wapfields;
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
$id = $displayData->item->id;
|
$id = $displayData->item->id;
|
||||||
// set the edit URL
|
// set the edit URL
|
||||||
|
@ -29,11 +29,9 @@ $fields = $displayData->get('fields') ?: array(
|
|||||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="form-vertical">
|
|
||||||
<?php foreach($fields as $field): ?>
|
<?php foreach($fields as $field): ?>
|
||||||
<?php if (in_array($field, $hiddenFields)) : ?>
|
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||||
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
|
34
admin/layouts/joomla_component/dynamic_integration_right.php
Normal file
34
admin/layouts/joomla_component/dynamic_integration_right.php
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Component.Builder
|
||||||
|
*
|
||||||
|
* @created 30th April, 2015
|
||||||
|
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||||
|
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||||
|
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
|
*/
|
||||||
|
|
||||||
|
// No direct access to this file
|
||||||
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
|
$form = $displayData->getForm();
|
||||||
|
|
||||||
|
$fields = $displayData->get('fields') ?: array(
|
||||||
|
'translation_tool',
|
||||||
|
'note_crowdin',
|
||||||
|
'crowdin_project_identifier',
|
||||||
|
'crowdin_project_api_key',
|
||||||
|
'crowdin_username',
|
||||||
|
'crowdin_account_api_key'
|
||||||
|
);
|
||||||
|
|
||||||
|
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||||
|
|
||||||
|
?>
|
||||||
|
<?php foreach($fields as $field): ?>
|
||||||
|
<?php if (in_array($field, $hiddenFields)) : ?>
|
||||||
|
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
||||||
|
<?php endforeach; ?>
|
@ -13,7 +13,7 @@
|
|||||||
defined('_JEXEC') or die('Restricted access');
|
defined('_JEXEC') or die('Restricted access');
|
||||||
|
|
||||||
// set the defaults
|
// set the defaults
|
||||||
$items = $displayData->wawlinked_components;
|
$items = $displayData->wazlinked_components;
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
$id = $displayData->item->id;
|
$id = $displayData->item->id;
|
||||||
// set the edit URL
|
// set the edit URL
|
||||||
|
@ -76,6 +76,58 @@ class ComponentbuilderModelAjax extends JModelList
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* get the crowdin project details (html)
|
||||||
|
**/
|
||||||
|
public function getCrowdinDetails($identifier, $key)
|
||||||
|
{
|
||||||
|
// set the url
|
||||||
|
$url = "https://api.crowdin.com/api/project/$identifier/info?key=$key&json";
|
||||||
|
// get the details
|
||||||
|
if (($details = ComponentbuilderHelper::getFileContents($url, false)) !== false && ComponentbuilderHelper::checkJson($details))
|
||||||
|
{
|
||||||
|
$details = json_decode($details, true);
|
||||||
|
// check if there is an error
|
||||||
|
if (isset($details['error']))
|
||||||
|
{
|
||||||
|
return array('error' => '<div class="alert alert-error">' . $details['error']['message'] . '<br /><br /><small>Identifier: ' . $identifier . '</small></div>');
|
||||||
|
}
|
||||||
|
// build the details html
|
||||||
|
if (isset($details['details']))
|
||||||
|
{
|
||||||
|
$html = '<div class="alert alert-success" id="crowdin_message">';
|
||||||
|
$html .= '<h1>' . JText::_('COM_COMPONENTBUILDER_COMPONENT_SUCCESSFULLY_LINKED') . '</h1>';
|
||||||
|
$html .= '<h3>' . $details['details']['name'] . '</h3>';
|
||||||
|
if (ComponentbuilderHelper::checkString($details['details']['description']))
|
||||||
|
{
|
||||||
|
$html .= '<p>';
|
||||||
|
$html .= $details['details']['description'];
|
||||||
|
$html .= '</p>';
|
||||||
|
}
|
||||||
|
$html .= '<ul>';
|
||||||
|
$html .= '<li>Number of participants: <b>';
|
||||||
|
$html .= $details['details']['participants_count'];
|
||||||
|
$html .= '</b></li>';
|
||||||
|
$html .= '<li>Total strings count: <b>';
|
||||||
|
$html .= $details['details']['total_strings_count'];
|
||||||
|
$html .= '</b></li>';
|
||||||
|
$html .= '<li>Total words count: <b>';
|
||||||
|
$html .= $details['details']['total_words_count'];
|
||||||
|
$html .= '</b></li>';
|
||||||
|
$html .= '<li>Created: <b>';
|
||||||
|
$html .= ComponentbuilderHelper::fancyDate($details['details']['created']);
|
||||||
|
$html .= '</b></li>';
|
||||||
|
$html .= '<li>Last activity: <b>';
|
||||||
|
$html .= ComponentbuilderHelper::fancyDate($details['details']['last_activity']);
|
||||||
|
$html .= '</b></li>';
|
||||||
|
$html .= '</ul>';
|
||||||
|
$html .= '</div>';
|
||||||
|
return array('html' => $html);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the component details (html)
|
* get the component details (html)
|
||||||
**/
|
**/
|
||||||
|
@ -155,7 +155,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @return mixed An array of data items on success, false on failure.
|
* @return mixed An array of data items on success, false on failure.
|
||||||
*/
|
*/
|
||||||
public function getWamfields()
|
public function getWapfields()
|
||||||
{
|
{
|
||||||
// Get the user object.
|
// Get the user object.
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
@ -237,13 +237,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
|||||||
foreach ($items as $nr => &$item)
|
foreach ($items as $nr => &$item)
|
||||||
{
|
{
|
||||||
// convert datatype
|
// convert datatype
|
||||||
$item->datatype = $this->selectionTranslationWamfields($item->datatype, 'datatype');
|
$item->datatype = $this->selectionTranslationWapfields($item->datatype, 'datatype');
|
||||||
// convert indexes
|
// convert indexes
|
||||||
$item->indexes = $this->selectionTranslationWamfields($item->indexes, 'indexes');
|
$item->indexes = $this->selectionTranslationWapfields($item->indexes, 'indexes');
|
||||||
// convert null_switch
|
// convert null_switch
|
||||||
$item->null_switch = $this->selectionTranslationWamfields($item->null_switch, 'null_switch');
|
$item->null_switch = $this->selectionTranslationWapfields($item->null_switch, 'null_switch');
|
||||||
// convert store
|
// convert store
|
||||||
$item->store = $this->selectionTranslationWamfields($item->store, 'store');
|
$item->store = $this->selectionTranslationWapfields($item->store, 'store');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @return translatable string
|
* @return translatable string
|
||||||
*/
|
*/
|
||||||
public function selectionTranslationWamfields($value,$name)
|
public function selectionTranslationWapfields($value,$name)
|
||||||
{
|
{
|
||||||
// Array of datatype language strings
|
// Array of datatype language strings
|
||||||
if ($name === 'datatype')
|
if ($name === 'datatype')
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -9,302 +9,302 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvvygvxz_required = false;
|
jform_vvvvvyhvyc_required = false;
|
||||||
jform_vvvvvyhvya_required = false;
|
jform_vvvvvyivyd_required = false;
|
||||||
jform_vvvvvyivyb_required = false;
|
jform_vvvvvyjvye_required = false;
|
||||||
jform_vvvvvyjvyc_required = false;
|
jform_vvvvvykvyf_required = false;
|
||||||
jform_vvvvvykvyd_required = false;
|
jform_vvvvvylvyg_required = false;
|
||||||
jform_vvvvvylvye_required = false;
|
jform_vvvvvymvyh_required = false;
|
||||||
jform_vvvvvymvyf_required = false;
|
jform_vvvvvynvyi_required = false;
|
||||||
jform_vvvvvynvyg_required = false;
|
jform_vvvvvyovyj_required = false;
|
||||||
jform_vvvvvynvyh_required = false;
|
jform_vvvvvyovyk_required = false;
|
||||||
jform_vvvvvyovyi_required = false;
|
jform_vvvvvypvyl_required = false;
|
||||||
jform_vvvvvypvyj_required = false;
|
jform_vvvvvyqvym_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyg(add_php_view_vvvvvyg);
|
vvvvvyh(add_php_view_vvvvvyh);
|
||||||
|
|
||||||
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyh(add_php_jview_display_vvvvvyh);
|
vvvvvyi(add_php_jview_display_vvvvvyi);
|
||||||
|
|
||||||
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvyi(add_php_jview_vvvvvyi);
|
vvvvvyj(add_php_jview_vvvvvyj);
|
||||||
|
|
||||||
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyj(add_php_document_vvvvvyj);
|
vvvvvyk(add_php_document_vvvvvyk);
|
||||||
|
|
||||||
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyk(add_css_document_vvvvvyk);
|
vvvvvyl(add_css_document_vvvvvyl);
|
||||||
|
|
||||||
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyl(add_javascript_file_vvvvvyl);
|
vvvvvym(add_javascript_file_vvvvvym);
|
||||||
|
|
||||||
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvym(add_js_document_vvvvvym);
|
vvvvvyn(add_js_document_vvvvvyn);
|
||||||
|
|
||||||
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyn(add_custom_button_vvvvvyn);
|
vvvvvyo(add_custom_button_vvvvvyo);
|
||||||
|
|
||||||
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyo(add_css_vvvvvyo);
|
vvvvvyp(add_css_vvvvvyp);
|
||||||
|
|
||||||
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyp(add_php_ajax_vvvvvyp);
|
vvvvvyq(add_php_ajax_vvvvvyq);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvvyg function
|
// the vvvvvyh function
|
||||||
function vvvvvyg(add_php_view_vvvvvyg)
|
function vvvvvyh(add_php_view_vvvvvyh)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_view_vvvvvyg == 1)
|
if (add_php_view_vvvvvyh == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_view field
|
// add required attribute to php_view field
|
||||||
if (jform_vvvvvygvxz_required)
|
if (jform_vvvvvyhvyc_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',0);
|
updateFieldRequired('php_view',0);
|
||||||
jQuery('#jform_php_view').prop('required','required');
|
jQuery('#jform_php_view').prop('required','required');
|
||||||
jQuery('#jform_php_view').attr('aria-required',true);
|
jQuery('#jform_php_view').attr('aria-required',true);
|
||||||
jQuery('#jform_php_view').addClass('required');
|
jQuery('#jform_php_view').addClass('required');
|
||||||
jform_vvvvvygvxz_required = false;
|
jform_vvvvvyhvyc_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_view field
|
// remove required attribute from php_view field
|
||||||
if (!jform_vvvvvygvxz_required)
|
if (!jform_vvvvvyhvyc_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',1);
|
updateFieldRequired('php_view',1);
|
||||||
jQuery('#jform_php_view').removeAttr('required');
|
jQuery('#jform_php_view').removeAttr('required');
|
||||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_view').removeClass('required');
|
jQuery('#jform_php_view').removeClass('required');
|
||||||
jform_vvvvvygvxz_required = true;
|
jform_vvvvvyhvyc_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyh function
|
// the vvvvvyi function
|
||||||
function vvvvvyh(add_php_jview_display_vvvvvyh)
|
function vvvvvyi(add_php_jview_display_vvvvvyi)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_jview_display_vvvvvyh == 1)
|
if (add_php_jview_display_vvvvvyi == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_jview_display field
|
// add required attribute to php_jview_display field
|
||||||
if (jform_vvvvvyhvya_required)
|
if (jform_vvvvvyivyd_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview_display',0);
|
updateFieldRequired('php_jview_display',0);
|
||||||
jQuery('#jform_php_jview_display').prop('required','required');
|
jQuery('#jform_php_jview_display').prop('required','required');
|
||||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||||
jQuery('#jform_php_jview_display').addClass('required');
|
jQuery('#jform_php_jview_display').addClass('required');
|
||||||
jform_vvvvvyhvya_required = false;
|
jform_vvvvvyivyd_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_jview_display field
|
// remove required attribute from php_jview_display field
|
||||||
if (!jform_vvvvvyhvya_required)
|
if (!jform_vvvvvyivyd_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview_display',1);
|
updateFieldRequired('php_jview_display',1);
|
||||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_jview_display').removeClass('required');
|
jQuery('#jform_php_jview_display').removeClass('required');
|
||||||
jform_vvvvvyhvya_required = true;
|
jform_vvvvvyivyd_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyi function
|
// the vvvvvyj function
|
||||||
function vvvvvyi(add_php_jview_vvvvvyi)
|
function vvvvvyj(add_php_jview_vvvvvyj)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_jview_vvvvvyi == 1)
|
if (add_php_jview_vvvvvyj == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_jview field
|
// add required attribute to php_jview field
|
||||||
if (jform_vvvvvyivyb_required)
|
if (jform_vvvvvyjvye_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview',0);
|
updateFieldRequired('php_jview',0);
|
||||||
jQuery('#jform_php_jview').prop('required','required');
|
jQuery('#jform_php_jview').prop('required','required');
|
||||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||||
jQuery('#jform_php_jview').addClass('required');
|
jQuery('#jform_php_jview').addClass('required');
|
||||||
jform_vvvvvyivyb_required = false;
|
jform_vvvvvyjvye_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_jview field
|
// remove required attribute from php_jview field
|
||||||
if (!jform_vvvvvyivyb_required)
|
if (!jform_vvvvvyjvye_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview',1);
|
updateFieldRequired('php_jview',1);
|
||||||
jQuery('#jform_php_jview').removeAttr('required');
|
jQuery('#jform_php_jview').removeAttr('required');
|
||||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_jview').removeClass('required');
|
jQuery('#jform_php_jview').removeClass('required');
|
||||||
jform_vvvvvyivyb_required = true;
|
jform_vvvvvyjvye_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyj function
|
// the vvvvvyk function
|
||||||
function vvvvvyj(add_php_document_vvvvvyj)
|
function vvvvvyk(add_php_document_vvvvvyk)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_document_vvvvvyj == 1)
|
if (add_php_document_vvvvvyk == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_document field
|
// add required attribute to php_document field
|
||||||
if (jform_vvvvvyjvyc_required)
|
if (jform_vvvvvykvyf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_document',0);
|
updateFieldRequired('php_document',0);
|
||||||
jQuery('#jform_php_document').prop('required','required');
|
jQuery('#jform_php_document').prop('required','required');
|
||||||
jQuery('#jform_php_document').attr('aria-required',true);
|
jQuery('#jform_php_document').attr('aria-required',true);
|
||||||
jQuery('#jform_php_document').addClass('required');
|
jQuery('#jform_php_document').addClass('required');
|
||||||
jform_vvvvvyjvyc_required = false;
|
jform_vvvvvykvyf_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_document field
|
// remove required attribute from php_document field
|
||||||
if (!jform_vvvvvyjvyc_required)
|
if (!jform_vvvvvykvyf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_document',1);
|
updateFieldRequired('php_document',1);
|
||||||
jQuery('#jform_php_document').removeAttr('required');
|
jQuery('#jform_php_document').removeAttr('required');
|
||||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_document').removeClass('required');
|
jQuery('#jform_php_document').removeClass('required');
|
||||||
jform_vvvvvyjvyc_required = true;
|
jform_vvvvvykvyf_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyk function
|
// the vvvvvyl function
|
||||||
function vvvvvyk(add_css_document_vvvvvyk)
|
function vvvvvyl(add_css_document_vvvvvyl)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_document_vvvvvyk == 1)
|
if (add_css_document_vvvvvyl == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css_document field
|
// add required attribute to css_document field
|
||||||
if (jform_vvvvvykvyd_required)
|
if (jform_vvvvvylvyg_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_document',0);
|
updateFieldRequired('css_document',0);
|
||||||
jQuery('#jform_css_document').prop('required','required');
|
jQuery('#jform_css_document').prop('required','required');
|
||||||
jQuery('#jform_css_document').attr('aria-required',true);
|
jQuery('#jform_css_document').attr('aria-required',true);
|
||||||
jQuery('#jform_css_document').addClass('required');
|
jQuery('#jform_css_document').addClass('required');
|
||||||
jform_vvvvvykvyd_required = false;
|
jform_vvvvvylvyg_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css_document field
|
// remove required attribute from css_document field
|
||||||
if (!jform_vvvvvykvyd_required)
|
if (!jform_vvvvvylvyg_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_document',1);
|
updateFieldRequired('css_document',1);
|
||||||
jQuery('#jform_css_document').removeAttr('required');
|
jQuery('#jform_css_document').removeAttr('required');
|
||||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_css_document').removeClass('required');
|
jQuery('#jform_css_document').removeClass('required');
|
||||||
jform_vvvvvykvyd_required = true;
|
jform_vvvvvylvyg_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyl function
|
// the vvvvvym function
|
||||||
function vvvvvyl(add_javascript_file_vvvvvyl)
|
function vvvvvym(add_javascript_file_vvvvvym)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_javascript_file_vvvvvyl == 1)
|
if (add_javascript_file_vvvvvym == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||||
// add required attribute to javascript_file field
|
// add required attribute to javascript_file field
|
||||||
if (jform_vvvvvylvye_required)
|
if (jform_vvvvvymvyh_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_file',0);
|
updateFieldRequired('javascript_file',0);
|
||||||
jQuery('#jform_javascript_file').prop('required','required');
|
jQuery('#jform_javascript_file').prop('required','required');
|
||||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||||
jQuery('#jform_javascript_file').addClass('required');
|
jQuery('#jform_javascript_file').addClass('required');
|
||||||
jform_vvvvvylvye_required = false;
|
jform_vvvvvymvyh_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from javascript_file field
|
// remove required attribute from javascript_file field
|
||||||
if (!jform_vvvvvylvye_required)
|
if (!jform_vvvvvymvyh_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_file',1);
|
updateFieldRequired('javascript_file',1);
|
||||||
jQuery('#jform_javascript_file').removeAttr('required');
|
jQuery('#jform_javascript_file').removeAttr('required');
|
||||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||||
jQuery('#jform_javascript_file').removeClass('required');
|
jQuery('#jform_javascript_file').removeClass('required');
|
||||||
jform_vvvvvylvye_required = true;
|
jform_vvvvvymvyh_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvym function
|
// the vvvvvyn function
|
||||||
function vvvvvym(add_js_document_vvvvvym)
|
function vvvvvyn(add_js_document_vvvvvyn)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_js_document_vvvvvym == 1)
|
if (add_js_document_vvvvvyn == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to js_document field
|
// add required attribute to js_document field
|
||||||
if (jform_vvvvvymvyf_required)
|
if (jform_vvvvvynvyi_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('js_document',0);
|
updateFieldRequired('js_document',0);
|
||||||
jQuery('#jform_js_document').prop('required','required');
|
jQuery('#jform_js_document').prop('required','required');
|
||||||
jQuery('#jform_js_document').attr('aria-required',true);
|
jQuery('#jform_js_document').attr('aria-required',true);
|
||||||
jQuery('#jform_js_document').addClass('required');
|
jQuery('#jform_js_document').addClass('required');
|
||||||
jform_vvvvvymvyf_required = false;
|
jform_vvvvvynvyi_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from js_document field
|
// remove required attribute from js_document field
|
||||||
if (!jform_vvvvvymvyf_required)
|
if (!jform_vvvvvynvyi_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('js_document',1);
|
updateFieldRequired('js_document',1);
|
||||||
jQuery('#jform_js_document').removeAttr('required');
|
jQuery('#jform_js_document').removeAttr('required');
|
||||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_js_document').removeClass('required');
|
jQuery('#jform_js_document').removeClass('required');
|
||||||
jform_vvvvvymvyf_required = true;
|
jform_vvvvvynvyi_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyn function
|
// the vvvvvyo function
|
||||||
function vvvvvyn(add_custom_button_vvvvvyn)
|
function vvvvvyo(add_custom_button_vvvvvyo)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_custom_button_vvvvvyn == 1)
|
if (add_custom_button_vvvvvyo == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_controller field
|
// add required attribute to php_controller field
|
||||||
if (jform_vvvvvynvyg_required)
|
if (jform_vvvvvyovyj_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_controller',0);
|
updateFieldRequired('php_controller',0);
|
||||||
jQuery('#jform_php_controller').prop('required','required');
|
jQuery('#jform_php_controller').prop('required','required');
|
||||||
jQuery('#jform_php_controller').attr('aria-required',true);
|
jQuery('#jform_php_controller').attr('aria-required',true);
|
||||||
jQuery('#jform_php_controller').addClass('required');
|
jQuery('#jform_php_controller').addClass('required');
|
||||||
jform_vvvvvynvyg_required = false;
|
jform_vvvvvyovyj_required = false;
|
||||||
}
|
}
|
||||||
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_model field
|
// add required attribute to php_model field
|
||||||
if (jform_vvvvvynvyh_required)
|
if (jform_vvvvvyovyk_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_model',0);
|
updateFieldRequired('php_model',0);
|
||||||
jQuery('#jform_php_model').prop('required','required');
|
jQuery('#jform_php_model').prop('required','required');
|
||||||
jQuery('#jform_php_model').attr('aria-required',true);
|
jQuery('#jform_php_model').attr('aria-required',true);
|
||||||
jQuery('#jform_php_model').addClass('required');
|
jQuery('#jform_php_model').addClass('required');
|
||||||
jform_vvvvvynvyh_required = false;
|
jform_vvvvvyovyk_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -312,75 +312,75 @@ function vvvvvyn(add_custom_button_vvvvvyn)
|
|||||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||||
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_controller field
|
// remove required attribute from php_controller field
|
||||||
if (!jform_vvvvvynvyg_required)
|
if (!jform_vvvvvyovyj_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_controller',1);
|
updateFieldRequired('php_controller',1);
|
||||||
jQuery('#jform_php_controller').removeAttr('required');
|
jQuery('#jform_php_controller').removeAttr('required');
|
||||||
jQuery('#jform_php_controller').removeAttr('aria-required');
|
jQuery('#jform_php_controller').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_controller').removeClass('required');
|
jQuery('#jform_php_controller').removeClass('required');
|
||||||
jform_vvvvvynvyg_required = true;
|
jform_vvvvvyovyj_required = true;
|
||||||
}
|
}
|
||||||
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_model field
|
// remove required attribute from php_model field
|
||||||
if (!jform_vvvvvynvyh_required)
|
if (!jform_vvvvvyovyk_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_model',1);
|
updateFieldRequired('php_model',1);
|
||||||
jQuery('#jform_php_model').removeAttr('required');
|
jQuery('#jform_php_model').removeAttr('required');
|
||||||
jQuery('#jform_php_model').removeAttr('aria-required');
|
jQuery('#jform_php_model').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_model').removeClass('required');
|
jQuery('#jform_php_model').removeClass('required');
|
||||||
jform_vvvvvynvyh_required = true;
|
jform_vvvvvyovyk_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyo function
|
// the vvvvvyp function
|
||||||
function vvvvvyo(add_css_vvvvvyo)
|
function vvvvvyp(add_css_vvvvvyp)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_vvvvvyo == 1)
|
if (add_css_vvvvvyp == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css field
|
// add required attribute to css field
|
||||||
if (jform_vvvvvyovyi_required)
|
if (jform_vvvvvypvyl_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css',0);
|
updateFieldRequired('css',0);
|
||||||
jQuery('#jform_css').prop('required','required');
|
jQuery('#jform_css').prop('required','required');
|
||||||
jQuery('#jform_css').attr('aria-required',true);
|
jQuery('#jform_css').attr('aria-required',true);
|
||||||
jQuery('#jform_css').addClass('required');
|
jQuery('#jform_css').addClass('required');
|
||||||
jform_vvvvvyovyi_required = false;
|
jform_vvvvvypvyl_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css field
|
// remove required attribute from css field
|
||||||
if (!jform_vvvvvyovyi_required)
|
if (!jform_vvvvvypvyl_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css',1);
|
updateFieldRequired('css',1);
|
||||||
jQuery('#jform_css').removeAttr('required');
|
jQuery('#jform_css').removeAttr('required');
|
||||||
jQuery('#jform_css').removeAttr('aria-required');
|
jQuery('#jform_css').removeAttr('aria-required');
|
||||||
jQuery('#jform_css').removeClass('required');
|
jQuery('#jform_css').removeClass('required');
|
||||||
jform_vvvvvyovyi_required = true;
|
jform_vvvvvypvyl_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyp function
|
// the vvvvvyq function
|
||||||
function vvvvvyp(add_php_ajax_vvvvvyp)
|
function vvvvvyq(add_php_ajax_vvvvvyq)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_ajax_vvvvvyp == 1)
|
if (add_php_ajax_vvvvvyq == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_ajaxmethod field
|
// add required attribute to php_ajaxmethod field
|
||||||
if (jform_vvvvvypvyj_required)
|
if (jform_vvvvvyqvym_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_ajaxmethod',0);
|
updateFieldRequired('php_ajaxmethod',0);
|
||||||
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
||||||
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
||||||
jQuery('#jform_php_ajaxmethod').addClass('required');
|
jQuery('#jform_php_ajaxmethod').addClass('required');
|
||||||
jform_vvvvvypvyj_required = false;
|
jform_vvvvvyqvym_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -388,13 +388,13 @@ function vvvvvyp(add_php_ajax_vvvvvyp)
|
|||||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_ajaxmethod field
|
// remove required attribute from php_ajaxmethod field
|
||||||
if (!jform_vvvvvypvyj_required)
|
if (!jform_vvvvvyqvym_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_ajaxmethod',1);
|
updateFieldRequired('php_ajaxmethod',1);
|
||||||
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
||||||
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
||||||
jform_vvvvvypvyj_required = true;
|
jform_vvvvvyqvym_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,44 +9,44 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvwaevzr_required = false;
|
|
||||||
jform_vvvvwafvzs_required = false;
|
|
||||||
jform_vvvvwafvzt_required = false;
|
|
||||||
jform_vvvvwafvzu_required = false;
|
jform_vvvvwafvzu_required = false;
|
||||||
|
jform_vvvvwagvzv_required = false;
|
||||||
|
jform_vvvvwagvzw_required = false;
|
||||||
|
jform_vvvvwagvzx_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
vvvvwae(target_vvvvwae);
|
|
||||||
|
|
||||||
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwaf(target_vvvvwaf);
|
vvvvwaf(target_vvvvwaf);
|
||||||
|
|
||||||
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
|
vvvvwag(target_vvvvwag);
|
||||||
vvvvwag(target_vvvvwag,type_vvvvwag);
|
|
||||||
|
|
||||||
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwah(type_vvvvwah,target_vvvvwah);
|
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwah(target_vvvvwah,type_vvvvwah);
|
||||||
|
|
||||||
|
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwai(type_vvvvwai,target_vvvvwai);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvwae function
|
// the vvvvwaf function
|
||||||
function vvvvwae(target_vvvvwae)
|
function vvvvwaf(target_vvvvwaf)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (target_vvvvwae == 2)
|
if (target_vvvvwaf == 2)
|
||||||
{
|
{
|
||||||
jQuery('#jform_function_name').closest('.control-group').show();
|
jQuery('#jform_function_name').closest('.control-group').show();
|
||||||
// add required attribute to function_name field
|
// add required attribute to function_name field
|
||||||
if (jform_vvvvwaevzr_required)
|
if (jform_vvvvwafvzu_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('function_name',0);
|
updateFieldRequired('function_name',0);
|
||||||
jQuery('#jform_function_name').prop('required','required');
|
jQuery('#jform_function_name').prop('required','required');
|
||||||
jQuery('#jform_function_name').attr('aria-required',true);
|
jQuery('#jform_function_name').attr('aria-required',true);
|
||||||
jQuery('#jform_function_name').addClass('required');
|
jQuery('#jform_function_name').addClass('required');
|
||||||
jform_vvvvwaevzr_required = false;
|
jform_vvvvwafvzu_required = false;
|
||||||
}
|
}
|
||||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||||
jQuery('#jform_system_name').closest('.control-group').show();
|
jQuery('#jform_system_name').closest('.control-group').show();
|
||||||
@ -55,102 +55,102 @@ function vvvvwae(target_vvvvwae)
|
|||||||
{
|
{
|
||||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||||
// remove required attribute from function_name field
|
// remove required attribute from function_name field
|
||||||
if (!jform_vvvvwaevzr_required)
|
if (!jform_vvvvwafvzu_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('function_name',1);
|
updateFieldRequired('function_name',1);
|
||||||
jQuery('#jform_function_name').removeAttr('required');
|
jQuery('#jform_function_name').removeAttr('required');
|
||||||
jQuery('#jform_function_name').removeAttr('aria-required');
|
jQuery('#jform_function_name').removeAttr('aria-required');
|
||||||
jQuery('#jform_function_name').removeClass('required');
|
jQuery('#jform_function_name').removeClass('required');
|
||||||
jform_vvvvwaevzr_required = true;
|
jform_vvvvwafvzu_required = true;
|
||||||
}
|
}
|
||||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwaf function
|
// the vvvvwag function
|
||||||
function vvvvwaf(target_vvvvwaf)
|
function vvvvwag(target_vvvvwag)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (target_vvvvwaf == 1)
|
if (target_vvvvwag == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_component').closest('.control-group').show();
|
jQuery('#jform_component').closest('.control-group').show();
|
||||||
// add required attribute to component field
|
// add required attribute to component field
|
||||||
if (jform_vvvvwafvzs_required)
|
if (jform_vvvvwagvzv_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('component',0);
|
updateFieldRequired('component',0);
|
||||||
jQuery('#jform_component').prop('required','required');
|
jQuery('#jform_component').prop('required','required');
|
||||||
jQuery('#jform_component').attr('aria-required',true);
|
jQuery('#jform_component').attr('aria-required',true);
|
||||||
jQuery('#jform_component').addClass('required');
|
jQuery('#jform_component').addClass('required');
|
||||||
jform_vvvvwafvzs_required = false;
|
jform_vvvvwagvzv_required = false;
|
||||||
}
|
}
|
||||||
jQuery('#jform_path').closest('.control-group').show();
|
jQuery('#jform_path').closest('.control-group').show();
|
||||||
// add required attribute to path field
|
// add required attribute to path field
|
||||||
if (jform_vvvvwafvzt_required)
|
if (jform_vvvvwagvzw_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('path',0);
|
updateFieldRequired('path',0);
|
||||||
jQuery('#jform_path').prop('required','required');
|
jQuery('#jform_path').prop('required','required');
|
||||||
jQuery('#jform_path').attr('aria-required',true);
|
jQuery('#jform_path').attr('aria-required',true);
|
||||||
jQuery('#jform_path').addClass('required');
|
jQuery('#jform_path').addClass('required');
|
||||||
jform_vvvvwafvzt_required = false;
|
jform_vvvvwagvzw_required = false;
|
||||||
}
|
}
|
||||||
jQuery('#jform_from_line').closest('.control-group').show();
|
jQuery('#jform_from_line').closest('.control-group').show();
|
||||||
jQuery('#jform_hashtarget').closest('.control-group').show();
|
jQuery('#jform_hashtarget').closest('.control-group').show();
|
||||||
jQuery('#jform_to_line').closest('.control-group').show();
|
jQuery('#jform_to_line').closest('.control-group').show();
|
||||||
jQuery('#jform_type').closest('.control-group').show();
|
jQuery('#jform_type').closest('.control-group').show();
|
||||||
// add required attribute to type field
|
// add required attribute to type field
|
||||||
if (jform_vvvvwafvzu_required)
|
if (jform_vvvvwagvzx_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('type',0);
|
updateFieldRequired('type',0);
|
||||||
jQuery('#jform_type').prop('required','required');
|
jQuery('#jform_type').prop('required','required');
|
||||||
jQuery('#jform_type').attr('aria-required',true);
|
jQuery('#jform_type').attr('aria-required',true);
|
||||||
jQuery('#jform_type').addClass('required');
|
jQuery('#jform_type').addClass('required');
|
||||||
jform_vvvvwafvzu_required = false;
|
jform_vvvvwagvzx_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_component').closest('.control-group').hide();
|
jQuery('#jform_component').closest('.control-group').hide();
|
||||||
// remove required attribute from component field
|
// remove required attribute from component field
|
||||||
if (!jform_vvvvwafvzs_required)
|
if (!jform_vvvvwagvzv_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('component',1);
|
updateFieldRequired('component',1);
|
||||||
jQuery('#jform_component').removeAttr('required');
|
jQuery('#jform_component').removeAttr('required');
|
||||||
jQuery('#jform_component').removeAttr('aria-required');
|
jQuery('#jform_component').removeAttr('aria-required');
|
||||||
jQuery('#jform_component').removeClass('required');
|
jQuery('#jform_component').removeClass('required');
|
||||||
jform_vvvvwafvzs_required = true;
|
jform_vvvvwagvzv_required = true;
|
||||||
}
|
}
|
||||||
jQuery('#jform_path').closest('.control-group').hide();
|
jQuery('#jform_path').closest('.control-group').hide();
|
||||||
// remove required attribute from path field
|
// remove required attribute from path field
|
||||||
if (!jform_vvvvwafvzt_required)
|
if (!jform_vvvvwagvzw_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('path',1);
|
updateFieldRequired('path',1);
|
||||||
jQuery('#jform_path').removeAttr('required');
|
jQuery('#jform_path').removeAttr('required');
|
||||||
jQuery('#jform_path').removeAttr('aria-required');
|
jQuery('#jform_path').removeAttr('aria-required');
|
||||||
jQuery('#jform_path').removeClass('required');
|
jQuery('#jform_path').removeClass('required');
|
||||||
jform_vvvvwafvzt_required = true;
|
jform_vvvvwagvzw_required = true;
|
||||||
}
|
}
|
||||||
jQuery('#jform_from_line').closest('.control-group').hide();
|
jQuery('#jform_from_line').closest('.control-group').hide();
|
||||||
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
||||||
jQuery('#jform_to_line').closest('.control-group').hide();
|
jQuery('#jform_to_line').closest('.control-group').hide();
|
||||||
jQuery('#jform_type').closest('.control-group').hide();
|
jQuery('#jform_type').closest('.control-group').hide();
|
||||||
// remove required attribute from type field
|
// remove required attribute from type field
|
||||||
if (!jform_vvvvwafvzu_required)
|
if (!jform_vvvvwagvzx_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('type',1);
|
updateFieldRequired('type',1);
|
||||||
jQuery('#jform_type').removeAttr('required');
|
jQuery('#jform_type').removeAttr('required');
|
||||||
jQuery('#jform_type').removeAttr('aria-required');
|
jQuery('#jform_type').removeAttr('aria-required');
|
||||||
jQuery('#jform_type').removeClass('required');
|
jQuery('#jform_type').removeClass('required');
|
||||||
jform_vvvvwafvzu_required = true;
|
jform_vvvvwagvzx_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwag function
|
// the vvvvwah function
|
||||||
function vvvvwag(target_vvvvwag,type_vvvvwag)
|
function vvvvwah(target_vvvvwah,type_vvvvwah)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (target_vvvvwag == 1 && type_vvvvwag == 1)
|
if (target_vvvvwah == 1 && type_vvvvwah == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||||
jQuery('#jform_to_line').closest('.control-group').show();
|
jQuery('#jform_to_line').closest('.control-group').show();
|
||||||
@ -162,11 +162,11 @@ function vvvvwag(target_vvvvwag,type_vvvvwag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwah function
|
// the vvvvwai function
|
||||||
function vvvvwah(type_vvvvwah,target_vvvvwah)
|
function vvvvwai(type_vvvvwai,target_vvvvwai)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_vvvvwah == 1 && target_vvvvwah == 1)
|
if (type_vvvvwai == 1 && target_vvvvwai == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||||
jQuery('#jform_to_line').closest('.control-group').show();
|
jQuery('#jform_to_line').closest('.control-group').show();
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -9,61 +9,61 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvwaqvzx_required = false;
|
jform_vvvvwarwaa_required = false;
|
||||||
jform_vvvvwarvzy_required = false;
|
jform_vvvvwaswab_required = false;
|
||||||
jform_vvvvwasvzz_required = false;
|
jform_vvvvwatwac_required = false;
|
||||||
jform_vvvvwatwaa_required = false;
|
jform_vvvvwauwad_required = false;
|
||||||
jform_vvvvwawwab_required = false;
|
jform_vvvvwaxwae_required = false;
|
||||||
jform_vvvvwaxwac_required = false;
|
jform_vvvvwaywaf_required = false;
|
||||||
jform_vvvvwaywad_required = false;
|
jform_vvvvwazwag_required = false;
|
||||||
jform_vvvvwazwae_required = false;
|
jform_vvvvwbawah_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
|
||||||
vvvvwaq(datalenght_vvvvwaq);
|
vvvvwar(datalenght_vvvvwar);
|
||||||
|
|
||||||
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
|
||||||
vvvvwar(datadefault_vvvvwar);
|
vvvvwas(datadefault_vvvvwas);
|
||||||
|
|
||||||
var datatype_vvvvwas = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwas(datatype_vvvvwas);
|
|
||||||
|
|
||||||
var datatype_vvvvwat = jQuery("#jform_datatype").val();
|
var datatype_vvvvwat = jQuery("#jform_datatype").val();
|
||||||
vvvvwat(datatype_vvvvwat);
|
vvvvwat(datatype_vvvvwat);
|
||||||
|
|
||||||
var store_vvvvwau = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
||||||
vvvvwau(store_vvvvwau,datatype_vvvvwau);
|
vvvvwau(datatype_vvvvwau);
|
||||||
|
|
||||||
var add_css_view_vvvvwaw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
var store_vvvvwav = jQuery("#jform_store").val();
|
||||||
vvvvwaw(add_css_view_vvvvwaw);
|
var datatype_vvvvwav = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwav(store_vvvvwav,datatype_vvvvwav);
|
||||||
|
|
||||||
var add_css_views_vvvvwax = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||||
vvvvwax(add_css_views_vvvvwax);
|
vvvvwax(add_css_view_vvvvwax);
|
||||||
|
|
||||||
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||||
vvvvway(add_javascript_view_footer_vvvvway);
|
vvvvway(add_css_views_vvvvway);
|
||||||
|
|
||||||
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||||
vvvvwaz(add_javascript_views_footer_vvvvwaz);
|
vvvvwaz(add_javascript_view_footer_vvvvwaz);
|
||||||
|
|
||||||
|
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||||
|
vvvvwba(add_javascript_views_footer_vvvvwba);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvwaq function
|
// the vvvvwar function
|
||||||
function vvvvwaq(datalenght_vvvvwaq)
|
function vvvvwar(datalenght_vvvvwar)
|
||||||
{
|
{
|
||||||
if (isSet(datalenght_vvvvwaq) && datalenght_vvvvwaq.constructor !== Array)
|
if (isSet(datalenght_vvvvwar) && datalenght_vvvvwar.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwaq = datalenght_vvvvwaq;
|
var temp_vvvvwar = datalenght_vvvvwar;
|
||||||
var datalenght_vvvvwaq = [];
|
var datalenght_vvvvwar = [];
|
||||||
datalenght_vvvvwaq.push(temp_vvvvwaq);
|
datalenght_vvvvwar.push(temp_vvvvwar);
|
||||||
}
|
}
|
||||||
else if (!isSet(datalenght_vvvvwaq))
|
else if (!isSet(datalenght_vvvvwar))
|
||||||
{
|
{
|
||||||
var datalenght_vvvvwaq = [];
|
var datalenght_vvvvwar = [];
|
||||||
}
|
}
|
||||||
var datalenght = datalenght_vvvvwaq.some(datalenght_vvvvwaq_SomeFunc);
|
var datalenght = datalenght_vvvvwar.some(datalenght_vvvvwar_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
@ -71,91 +71,35 @@ function vvvvwaq(datalenght_vvvvwaq)
|
|||||||
{
|
{
|
||||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||||
// add required attribute to datalenght_other field
|
// add required attribute to datalenght_other field
|
||||||
if (jform_vvvvwaqvzx_required)
|
if (jform_vvvvwarwaa_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('datalenght_other',0);
|
updateFieldRequired('datalenght_other',0);
|
||||||
jQuery('#jform_datalenght_other').prop('required','required');
|
jQuery('#jform_datalenght_other').prop('required','required');
|
||||||
jQuery('#jform_datalenght_other').attr('aria-required',true);
|
jQuery('#jform_datalenght_other').attr('aria-required',true);
|
||||||
jQuery('#jform_datalenght_other').addClass('required');
|
jQuery('#jform_datalenght_other').addClass('required');
|
||||||
jform_vvvvwaqvzx_required = false;
|
jform_vvvvwarwaa_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||||
// remove required attribute from datalenght_other field
|
// remove required attribute from datalenght_other field
|
||||||
if (!jform_vvvvwaqvzx_required)
|
if (!jform_vvvvwarwaa_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('datalenght_other',1);
|
updateFieldRequired('datalenght_other',1);
|
||||||
jQuery('#jform_datalenght_other').removeAttr('required');
|
jQuery('#jform_datalenght_other').removeAttr('required');
|
||||||
jQuery('#jform_datalenght_other').removeAttr('aria-required');
|
jQuery('#jform_datalenght_other').removeAttr('aria-required');
|
||||||
jQuery('#jform_datalenght_other').removeClass('required');
|
jQuery('#jform_datalenght_other').removeClass('required');
|
||||||
jform_vvvvwaqvzx_required = true;
|
jform_vvvvwarwaa_required = true;
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwaq Some function
|
|
||||||
function datalenght_vvvvwaq_SomeFunc(datalenght_vvvvwaq)
|
|
||||||
{
|
|
||||||
// set the function logic
|
|
||||||
if (datalenght_vvvvwaq == 'Other')
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwar function
|
|
||||||
function vvvvwar(datadefault_vvvvwar)
|
|
||||||
{
|
|
||||||
if (isSet(datadefault_vvvvwar) && datadefault_vvvvwar.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwar = datadefault_vvvvwar;
|
|
||||||
var datadefault_vvvvwar = [];
|
|
||||||
datadefault_vvvvwar.push(temp_vvvvwar);
|
|
||||||
}
|
|
||||||
else if (!isSet(datadefault_vvvvwar))
|
|
||||||
{
|
|
||||||
var datadefault_vvvvwar = [];
|
|
||||||
}
|
|
||||||
var datadefault = datadefault_vvvvwar.some(datadefault_vvvvwar_SomeFunc);
|
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
|
||||||
if (datadefault)
|
|
||||||
{
|
|
||||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
|
||||||
// add required attribute to datadefault_other field
|
|
||||||
if (jform_vvvvwarvzy_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_vvvvwarvzy_required = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
|
||||||
// remove required attribute from datadefault_other field
|
|
||||||
if (!jform_vvvvwarvzy_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_vvvvwarvzy_required = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwar Some function
|
// the vvvvwar Some function
|
||||||
function datadefault_vvvvwar_SomeFunc(datadefault_vvvvwar)
|
function datalenght_vvvvwar_SomeFunc(datalenght_vvvvwar)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (datadefault_vvvvwar == 'Other')
|
if (datalenght_vvvvwar == 'Other')
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -163,59 +107,55 @@ function datadefault_vvvvwar_SomeFunc(datadefault_vvvvwar)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwas function
|
// the vvvvwas function
|
||||||
function vvvvwas(datatype_vvvvwas)
|
function vvvvwas(datadefault_vvvvwas)
|
||||||
{
|
{
|
||||||
if (isSet(datatype_vvvvwas) && datatype_vvvvwas.constructor !== Array)
|
if (isSet(datadefault_vvvvwas) && datadefault_vvvvwas.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwas = datatype_vvvvwas;
|
var temp_vvvvwas = datadefault_vvvvwas;
|
||||||
var datatype_vvvvwas = [];
|
var datadefault_vvvvwas = [];
|
||||||
datatype_vvvvwas.push(temp_vvvvwas);
|
datadefault_vvvvwas.push(temp_vvvvwas);
|
||||||
}
|
}
|
||||||
else if (!isSet(datatype_vvvvwas))
|
else if (!isSet(datadefault_vvvvwas))
|
||||||
{
|
{
|
||||||
var datatype_vvvvwas = [];
|
var datadefault_vvvvwas = [];
|
||||||
}
|
}
|
||||||
var datatype = datatype_vvvvwas.some(datatype_vvvvwas_SomeFunc);
|
var datadefault = datadefault_vvvvwas.some(datadefault_vvvvwas_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (datatype)
|
if (datadefault)
|
||||||
{
|
{
|
||||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
// add required attribute to datadefault_other field
|
||||||
jQuery('#jform_indexes').closest('.control-group').show();
|
if (jform_vvvvwaswab_required)
|
||||||
// add required attribute to indexes field
|
|
||||||
if (jform_vvvvwasvzz_required)
|
|
||||||
{
|
{
|
||||||
updateFieldRequired('indexes',0);
|
updateFieldRequired('datadefault_other',0);
|
||||||
jQuery('#jform_indexes').prop('required','required');
|
jQuery('#jform_datadefault_other').prop('required','required');
|
||||||
jQuery('#jform_indexes').attr('aria-required',true);
|
jQuery('#jform_datadefault_other').attr('aria-required',true);
|
||||||
jQuery('#jform_indexes').addClass('required');
|
jQuery('#jform_datadefault_other').addClass('required');
|
||||||
jform_vvvvwasvzz_required = false;
|
jform_vvvvwaswab_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
// remove required attribute from datadefault_other field
|
||||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
if (!jform_vvvvwaswab_required)
|
||||||
// remove required attribute from indexes field
|
|
||||||
if (!jform_vvvvwasvzz_required)
|
|
||||||
{
|
{
|
||||||
updateFieldRequired('indexes',1);
|
updateFieldRequired('datadefault_other',1);
|
||||||
jQuery('#jform_indexes').removeAttr('required');
|
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||||
jQuery('#jform_indexes').removeClass('required');
|
jQuery('#jform_datadefault_other').removeClass('required');
|
||||||
jform_vvvvwasvzz_required = true;
|
jform_vvvvwaswab_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwas Some function
|
// the vvvvwas Some function
|
||||||
function datatype_vvvvwas_SomeFunc(datatype_vvvvwas)
|
function datadefault_vvvvwas_SomeFunc(datadefault_vvvvwas)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (datatype_vvvvwas == 'CHAR' || datatype_vvvvwas == 'VARCHAR' || datatype_vvvvwas == 'DATETIME' || datatype_vvvvwas == 'DATE' || datatype_vvvvwas == 'TIME' || datatype_vvvvwas == 'INT' || datatype_vvvvwas == 'TINYINT' || datatype_vvvvwas == 'BIGINT' || datatype_vvvvwas == 'FLOAT' || datatype_vvvvwas == 'DECIMAL' || datatype_vvvvwas == 'DOUBLE')
|
if (datadefault_vvvvwas == 'Other')
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -241,28 +181,32 @@ function vvvvwat(datatype_vvvvwat)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (datatype)
|
if (datatype)
|
||||||
{
|
{
|
||||||
jQuery('#jform_store').closest('.control-group').show();
|
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||||
// add required attribute to store field
|
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||||
if (jform_vvvvwatwaa_required)
|
jQuery('#jform_indexes').closest('.control-group').show();
|
||||||
|
// add required attribute to indexes field
|
||||||
|
if (jform_vvvvwatwac_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('store',0);
|
updateFieldRequired('indexes',0);
|
||||||
jQuery('#jform_store').prop('required','required');
|
jQuery('#jform_indexes').prop('required','required');
|
||||||
jQuery('#jform_store').attr('aria-required',true);
|
jQuery('#jform_indexes').attr('aria-required',true);
|
||||||
jQuery('#jform_store').addClass('required');
|
jQuery('#jform_indexes').addClass('required');
|
||||||
jform_vvvvwatwaa_required = false;
|
jform_vvvvwatwac_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_store').closest('.control-group').hide();
|
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||||
// remove required attribute from store field
|
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||||
if (!jform_vvvvwatwaa_required)
|
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||||
|
// remove required attribute from indexes field
|
||||||
|
if (!jform_vvvvwatwac_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('store',1);
|
updateFieldRequired('indexes',1);
|
||||||
jQuery('#jform_store').removeAttr('required');
|
jQuery('#jform_indexes').removeAttr('required');
|
||||||
jQuery('#jform_store').removeAttr('aria-required');
|
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||||
jQuery('#jform_store').removeClass('required');
|
jQuery('#jform_indexes').removeClass('required');
|
||||||
jform_vvvvwatwaa_required = true;
|
jform_vvvvwatwac_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -271,7 +215,7 @@ function vvvvwat(datatype_vvvvwat)
|
|||||||
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
|
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (datatype_vvvvwat == 'CHAR' || datatype_vvvvwat == 'VARCHAR' || datatype_vvvvwat == 'TEXT' || datatype_vvvvwat == 'MEDIUMTEXT' || datatype_vvvvwat == 'LONGTEXT' || datatype_vvvvwat == 'BLOB' || datatype_vvvvwat == 'TINYBLOB' || datatype_vvvvwat == 'MEDIUMBLOB' || datatype_vvvvwat == 'LONGBLOB')
|
if (datatype_vvvvwat == 'CHAR' || datatype_vvvvwat == 'VARCHAR' || datatype_vvvvwat == 'DATETIME' || datatype_vvvvwat == 'DATE' || datatype_vvvvwat == 'TIME' || datatype_vvvvwat == 'INT' || datatype_vvvvwat == 'TINYINT' || datatype_vvvvwat == 'BIGINT' || datatype_vvvvwat == 'FLOAT' || datatype_vvvvwat == 'DECIMAL' || datatype_vvvvwat == 'DOUBLE')
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -279,20 +223,8 @@ function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwau function
|
// the vvvvwau function
|
||||||
function vvvvwau(store_vvvvwau,datatype_vvvvwau)
|
function vvvvwau(datatype_vvvvwau)
|
||||||
{
|
{
|
||||||
if (isSet(store_vvvvwau) && store_vvvvwau.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwau = store_vvvvwau;
|
|
||||||
var store_vvvvwau = [];
|
|
||||||
store_vvvvwau.push(temp_vvvvwau);
|
|
||||||
}
|
|
||||||
else if (!isSet(store_vvvvwau))
|
|
||||||
{
|
|
||||||
var store_vvvvwau = [];
|
|
||||||
}
|
|
||||||
var store = store_vvvvwau.some(store_vvvvwau_SomeFunc);
|
|
||||||
|
|
||||||
if (isSet(datatype_vvvvwau) && datatype_vvvvwau.constructor !== Array)
|
if (isSet(datatype_vvvvwau) && datatype_vvvvwau.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwau = datatype_vvvvwau;
|
var temp_vvvvwau = datatype_vvvvwau;
|
||||||
@ -307,25 +239,32 @@ function vvvvwau(store_vvvvwau,datatype_vvvvwau)
|
|||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (store && datatype)
|
if (datatype)
|
||||||
{
|
{
|
||||||
jQuery('.note_whmcs_encryption').closest('.control-group').show();
|
jQuery('#jform_store').closest('.control-group').show();
|
||||||
|
// add required attribute to store field
|
||||||
|
if (jform_vvvvwauwad_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('store',0);
|
||||||
|
jQuery('#jform_store').prop('required','required');
|
||||||
|
jQuery('#jform_store').attr('aria-required',true);
|
||||||
|
jQuery('#jform_store').addClass('required');
|
||||||
|
jform_vvvvwauwad_required = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_whmcs_encryption').closest('.control-group').hide();
|
jQuery('#jform_store').closest('.control-group').hide();
|
||||||
}
|
// remove required attribute from store field
|
||||||
}
|
if (!jform_vvvvwauwad_required)
|
||||||
|
|
||||||
// the vvvvwau Some function
|
|
||||||
function store_vvvvwau_SomeFunc(store_vvvvwau)
|
|
||||||
{
|
{
|
||||||
// set the function logic
|
updateFieldRequired('store',1);
|
||||||
if (store_vvvvwau == 4)
|
jQuery('#jform_store').removeAttr('required');
|
||||||
{
|
jQuery('#jform_store').removeAttr('aria-required');
|
||||||
return true;
|
jQuery('#jform_store').removeClass('required');
|
||||||
|
jform_vvvvwauwad_required = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwau Some function
|
// the vvvvwau Some function
|
||||||
@ -339,130 +278,191 @@ function datatype_vvvvwau_SomeFunc(datatype_vvvvwau)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwaw function
|
// the vvvvwav function
|
||||||
function vvvvwaw(add_css_view_vvvvwaw)
|
function vvvvwav(store_vvvvwav,datatype_vvvvwav)
|
||||||
|
{
|
||||||
|
if (isSet(store_vvvvwav) && store_vvvvwav.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwav = store_vvvvwav;
|
||||||
|
var store_vvvvwav = [];
|
||||||
|
store_vvvvwav.push(temp_vvvvwav);
|
||||||
|
}
|
||||||
|
else if (!isSet(store_vvvvwav))
|
||||||
|
{
|
||||||
|
var store_vvvvwav = [];
|
||||||
|
}
|
||||||
|
var store = store_vvvvwav.some(store_vvvvwav_SomeFunc);
|
||||||
|
|
||||||
|
if (isSet(datatype_vvvvwav) && datatype_vvvvwav.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwav = datatype_vvvvwav;
|
||||||
|
var datatype_vvvvwav = [];
|
||||||
|
datatype_vvvvwav.push(temp_vvvvwav);
|
||||||
|
}
|
||||||
|
else if (!isSet(datatype_vvvvwav))
|
||||||
|
{
|
||||||
|
var datatype_vvvvwav = [];
|
||||||
|
}
|
||||||
|
var datatype = datatype_vvvvwav.some(datatype_vvvvwav_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 vvvvwav Some function
|
||||||
|
function store_vvvvwav_SomeFunc(store_vvvvwav)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_view_vvvvwaw == 1)
|
if (store_vvvvwav == 4)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwav Some function
|
||||||
|
function datatype_vvvvwav_SomeFunc(datatype_vvvvwav)
|
||||||
|
{
|
||||||
|
// set the function logic
|
||||||
|
if (datatype_vvvvwav == 'CHAR' || datatype_vvvvwav == 'VARCHAR' || datatype_vvvvwav == 'TEXT' || datatype_vvvvwav == 'MEDIUMTEXT' || datatype_vvvvwav == 'LONGTEXT' || datatype_vvvvwav == 'BLOB' || datatype_vvvvwav == 'TINYBLOB' || datatype_vvvvwav == 'MEDIUMBLOB' || datatype_vvvvwav == 'LONGBLOB')
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwax function
|
||||||
|
function vvvvwax(add_css_view_vvvvwax)
|
||||||
|
{
|
||||||
|
// set the function logic
|
||||||
|
if (add_css_view_vvvvwax == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css_view field
|
// add required attribute to css_view field
|
||||||
if (jform_vvvvwawwab_required)
|
if (jform_vvvvwaxwae_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_view',0);
|
updateFieldRequired('css_view',0);
|
||||||
jQuery('#jform_css_view').prop('required','required');
|
jQuery('#jform_css_view').prop('required','required');
|
||||||
jQuery('#jform_css_view').attr('aria-required',true);
|
jQuery('#jform_css_view').attr('aria-required',true);
|
||||||
jQuery('#jform_css_view').addClass('required');
|
jQuery('#jform_css_view').addClass('required');
|
||||||
jform_vvvvwawwab_required = false;
|
jform_vvvvwaxwae_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
|
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css_view field
|
// remove required attribute from css_view field
|
||||||
if (!jform_vvvvwawwab_required)
|
if (!jform_vvvvwaxwae_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_view',1);
|
updateFieldRequired('css_view',1);
|
||||||
jQuery('#jform_css_view').removeAttr('required');
|
jQuery('#jform_css_view').removeAttr('required');
|
||||||
jQuery('#jform_css_view').removeAttr('aria-required');
|
jQuery('#jform_css_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_css_view').removeClass('required');
|
jQuery('#jform_css_view').removeClass('required');
|
||||||
jform_vvvvwawwab_required = true;
|
jform_vvvvwaxwae_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwax function
|
// the vvvvway function
|
||||||
function vvvvwax(add_css_views_vvvvwax)
|
function vvvvway(add_css_views_vvvvway)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_views_vvvvwax == 1)
|
if (add_css_views_vvvvway == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css_views field
|
// add required attribute to css_views field
|
||||||
if (jform_vvvvwaxwac_required)
|
if (jform_vvvvwaywaf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_views',0);
|
updateFieldRequired('css_views',0);
|
||||||
jQuery('#jform_css_views').prop('required','required');
|
jQuery('#jform_css_views').prop('required','required');
|
||||||
jQuery('#jform_css_views').attr('aria-required',true);
|
jQuery('#jform_css_views').attr('aria-required',true);
|
||||||
jQuery('#jform_css_views').addClass('required');
|
jQuery('#jform_css_views').addClass('required');
|
||||||
jform_vvvvwaxwac_required = false;
|
jform_vvvvwaywaf_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
|
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css_views field
|
// remove required attribute from css_views field
|
||||||
if (!jform_vvvvwaxwac_required)
|
if (!jform_vvvvwaywaf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_views',1);
|
updateFieldRequired('css_views',1);
|
||||||
jQuery('#jform_css_views').removeAttr('required');
|
jQuery('#jform_css_views').removeAttr('required');
|
||||||
jQuery('#jform_css_views').removeAttr('aria-required');
|
jQuery('#jform_css_views').removeAttr('aria-required');
|
||||||
jQuery('#jform_css_views').removeClass('required');
|
jQuery('#jform_css_views').removeClass('required');
|
||||||
jform_vvvvwaxwac_required = true;
|
jform_vvvvwaywaf_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvway function
|
// the vvvvwaz function
|
||||||
function vvvvway(add_javascript_view_footer_vvvvway)
|
function vvvvwaz(add_javascript_view_footer_vvvvwaz)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_javascript_view_footer_vvvvway == 1)
|
if (add_javascript_view_footer_vvvvwaz == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||||
// add required attribute to javascript_view_footer field
|
// add required attribute to javascript_view_footer field
|
||||||
if (jform_vvvvwaywad_required)
|
if (jform_vvvvwazwag_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_view_footer',0);
|
updateFieldRequired('javascript_view_footer',0);
|
||||||
jQuery('#jform_javascript_view_footer').prop('required','required');
|
jQuery('#jform_javascript_view_footer').prop('required','required');
|
||||||
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
|
||||||
jQuery('#jform_javascript_view_footer').addClass('required');
|
jQuery('#jform_javascript_view_footer').addClass('required');
|
||||||
jform_vvvvwaywad_required = false;
|
jform_vvvvwazwag_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
|
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from javascript_view_footer field
|
// remove required attribute from javascript_view_footer field
|
||||||
if (!jform_vvvvwaywad_required)
|
if (!jform_vvvvwazwag_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_view_footer',1);
|
updateFieldRequired('javascript_view_footer',1);
|
||||||
jQuery('#jform_javascript_view_footer').removeAttr('required');
|
jQuery('#jform_javascript_view_footer').removeAttr('required');
|
||||||
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
|
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
|
||||||
jQuery('#jform_javascript_view_footer').removeClass('required');
|
jQuery('#jform_javascript_view_footer').removeClass('required');
|
||||||
jform_vvvvwaywad_required = true;
|
jform_vvvvwazwag_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwaz function
|
// the vvvvwba function
|
||||||
function vvvvwaz(add_javascript_views_footer_vvvvwaz)
|
function vvvvwba(add_javascript_views_footer_vvvvwba)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_javascript_views_footer_vvvvwaz == 1)
|
if (add_javascript_views_footer_vvvvwba == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||||
// add required attribute to javascript_views_footer field
|
// add required attribute to javascript_views_footer field
|
||||||
if (jform_vvvvwazwae_required)
|
if (jform_vvvvwbawah_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_views_footer',0);
|
updateFieldRequired('javascript_views_footer',0);
|
||||||
jQuery('#jform_javascript_views_footer').prop('required','required');
|
jQuery('#jform_javascript_views_footer').prop('required','required');
|
||||||
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
|
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
|
||||||
jQuery('#jform_javascript_views_footer').addClass('required');
|
jQuery('#jform_javascript_views_footer').addClass('required');
|
||||||
jform_vvvvwazwae_required = false;
|
jform_vvvvwbawah_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
|
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from javascript_views_footer field
|
// remove required attribute from javascript_views_footer field
|
||||||
if (!jform_vvvvwazwae_required)
|
if (!jform_vvvvwbawah_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_views_footer',1);
|
updateFieldRequired('javascript_views_footer',1);
|
||||||
jQuery('#jform_javascript_views_footer').removeAttr('required');
|
jQuery('#jform_javascript_views_footer').removeAttr('required');
|
||||||
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
|
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
|
||||||
jQuery('#jform_javascript_views_footer').removeClass('required');
|
jQuery('#jform_javascript_views_footer').removeClass('required');
|
||||||
jform_vvvvwazwae_required = true;
|
jform_vvvvwbawah_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -9,24 +9,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvwbwwax_required = false;
|
jform_vvvvwbxwba_required = false;
|
||||||
jform_vvvvwbxway_required = false;
|
jform_vvvvwbywbb_required = false;
|
||||||
jform_vvvvwbywaz_required = false;
|
jform_vvvvwbzwbc_required = false;
|
||||||
jform_vvvvwbzwba_required = false;
|
jform_vvvvwcawbd_required = false;
|
||||||
jform_vvvvwcawbb_required = false;
|
jform_vvvvwcbwbe_required = false;
|
||||||
jform_vvvvwcbwbc_required = false;
|
jform_vvvvwccwbf_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var location_vvvvwbw = jQuery("#jform_location input[type='radio']:checked").val();
|
|
||||||
vvvvwbw(location_vvvvwbw);
|
|
||||||
|
|
||||||
var location_vvvvwbx = jQuery("#jform_location input[type='radio']:checked").val();
|
var location_vvvvwbx = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
vvvvwbx(location_vvvvwbx);
|
vvvvwbx(location_vvvvwbx);
|
||||||
|
|
||||||
var type_vvvvwby = jQuery("#jform_type").val();
|
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
vvvvwby(type_vvvvwby);
|
vvvvwby(location_vvvvwby);
|
||||||
|
|
||||||
var type_vvvvwbz = jQuery("#jform_type").val();
|
var type_vvvvwbz = jQuery("#jform_type").val();
|
||||||
vvvvwbz(type_vvvvwbz);
|
vvvvwbz(type_vvvvwbz);
|
||||||
@ -34,130 +31,77 @@ jQuery(document).ready(function()
|
|||||||
var type_vvvvwca = jQuery("#jform_type").val();
|
var type_vvvvwca = jQuery("#jform_type").val();
|
||||||
vvvvwca(type_vvvvwca);
|
vvvvwca(type_vvvvwca);
|
||||||
|
|
||||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
var type_vvvvwcb = jQuery("#jform_type").val();
|
||||||
vvvvwcb(target_vvvvwcb);
|
vvvvwcb(type_vvvvwcb);
|
||||||
|
|
||||||
|
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwcc(target_vvvvwcc);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvwbw function
|
// the vvvvwbx function
|
||||||
function vvvvwbw(location_vvvvwbw)
|
function vvvvwbx(location_vvvvwbx)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (location_vvvvwbw == 1)
|
if (location_vvvvwbx == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||||
// add required attribute to admin_view field
|
// add required attribute to admin_view field
|
||||||
if (jform_vvvvwbwwax_required)
|
if (jform_vvvvwbxwba_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('admin_view',0);
|
updateFieldRequired('admin_view',0);
|
||||||
jQuery('#jform_admin_view').prop('required','required');
|
jQuery('#jform_admin_view').prop('required','required');
|
||||||
jQuery('#jform_admin_view').attr('aria-required',true);
|
jQuery('#jform_admin_view').attr('aria-required',true);
|
||||||
jQuery('#jform_admin_view').addClass('required');
|
jQuery('#jform_admin_view').addClass('required');
|
||||||
jform_vvvvwbwwax_required = false;
|
jform_vvvvwbxwba_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||||
// remove required attribute from admin_view field
|
// remove required attribute from admin_view field
|
||||||
if (!jform_vvvvwbwwax_required)
|
if (!jform_vvvvwbxwba_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('admin_view',1);
|
updateFieldRequired('admin_view',1);
|
||||||
jQuery('#jform_admin_view').removeAttr('required');
|
jQuery('#jform_admin_view').removeAttr('required');
|
||||||
jQuery('#jform_admin_view').removeAttr('aria-required');
|
jQuery('#jform_admin_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_admin_view').removeClass('required');
|
jQuery('#jform_admin_view').removeClass('required');
|
||||||
jform_vvvvwbwwax_required = true;
|
jform_vvvvwbxwba_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbx function
|
// the vvvvwby function
|
||||||
function vvvvwbx(location_vvvvwbx)
|
function vvvvwby(location_vvvvwby)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (location_vvvvwbx == 2)
|
if (location_vvvvwby == 2)
|
||||||
{
|
{
|
||||||
jQuery('#jform_site_view').closest('.control-group').show();
|
jQuery('#jform_site_view').closest('.control-group').show();
|
||||||
// add required attribute to site_view field
|
// add required attribute to site_view field
|
||||||
if (jform_vvvvwbxway_required)
|
if (jform_vvvvwbywbb_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('site_view',0);
|
updateFieldRequired('site_view',0);
|
||||||
jQuery('#jform_site_view').prop('required','required');
|
jQuery('#jform_site_view').prop('required','required');
|
||||||
jQuery('#jform_site_view').attr('aria-required',true);
|
jQuery('#jform_site_view').attr('aria-required',true);
|
||||||
jQuery('#jform_site_view').addClass('required');
|
jQuery('#jform_site_view').addClass('required');
|
||||||
jform_vvvvwbxway_required = false;
|
jform_vvvvwbywbb_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||||
// remove required attribute from site_view field
|
// remove required attribute from site_view field
|
||||||
if (!jform_vvvvwbxway_required)
|
if (!jform_vvvvwbywbb_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('site_view',1);
|
updateFieldRequired('site_view',1);
|
||||||
jQuery('#jform_site_view').removeAttr('required');
|
jQuery('#jform_site_view').removeAttr('required');
|
||||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_site_view').removeClass('required');
|
jQuery('#jform_site_view').removeClass('required');
|
||||||
jform_vvvvwbxway_required = true;
|
jform_vvvvwbywbb_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwby function
|
|
||||||
function vvvvwby(type_vvvvwby)
|
|
||||||
{
|
|
||||||
if (isSet(type_vvvvwby) && type_vvvvwby.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwby = type_vvvvwby;
|
|
||||||
var type_vvvvwby = [];
|
|
||||||
type_vvvvwby.push(temp_vvvvwby);
|
|
||||||
}
|
|
||||||
else if (!isSet(type_vvvvwby))
|
|
||||||
{
|
|
||||||
var type_vvvvwby = [];
|
|
||||||
}
|
|
||||||
var type = type_vvvvwby.some(type_vvvvwby_SomeFunc);
|
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
|
||||||
if (type)
|
|
||||||
{
|
|
||||||
jQuery('#jform_url').closest('.control-group').show();
|
|
||||||
// add required attribute to url field
|
|
||||||
if (jform_vvvvwbywaz_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('url',0);
|
|
||||||
jQuery('#jform_url').prop('required','required');
|
|
||||||
jQuery('#jform_url').attr('aria-required',true);
|
|
||||||
jQuery('#jform_url').addClass('required');
|
|
||||||
jform_vvvvwbywaz_required = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
jQuery('#jform_url').closest('.control-group').hide();
|
|
||||||
// remove required attribute from url field
|
|
||||||
if (!jform_vvvvwbywaz_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('url',1);
|
|
||||||
jQuery('#jform_url').removeAttr('required');
|
|
||||||
jQuery('#jform_url').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_url').removeClass('required');
|
|
||||||
jform_vvvvwbywaz_required = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwby Some function
|
|
||||||
function type_vvvvwby_SomeFunc(type_vvvvwby)
|
|
||||||
{
|
|
||||||
// set the function logic
|
|
||||||
if (type_vvvvwby == 3)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwbz function
|
// the vvvvwbz function
|
||||||
function vvvvwbz(type_vvvvwbz)
|
function vvvvwbz(type_vvvvwbz)
|
||||||
{
|
{
|
||||||
@ -177,28 +121,28 @@ function vvvvwbz(type_vvvvwbz)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (type)
|
if (type)
|
||||||
{
|
{
|
||||||
jQuery('#jform_article').closest('.control-group').show();
|
jQuery('#jform_url').closest('.control-group').show();
|
||||||
// add required attribute to article field
|
// add required attribute to url field
|
||||||
if (jform_vvvvwbzwba_required)
|
if (jform_vvvvwbzwbc_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('article',0);
|
updateFieldRequired('url',0);
|
||||||
jQuery('#jform_article').prop('required','required');
|
jQuery('#jform_url').prop('required','required');
|
||||||
jQuery('#jform_article').attr('aria-required',true);
|
jQuery('#jform_url').attr('aria-required',true);
|
||||||
jQuery('#jform_article').addClass('required');
|
jQuery('#jform_url').addClass('required');
|
||||||
jform_vvvvwbzwba_required = false;
|
jform_vvvvwbzwbc_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_article').closest('.control-group').hide();
|
jQuery('#jform_url').closest('.control-group').hide();
|
||||||
// remove required attribute from article field
|
// remove required attribute from url field
|
||||||
if (!jform_vvvvwbzwba_required)
|
if (!jform_vvvvwbzwbc_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('article',1);
|
updateFieldRequired('url',1);
|
||||||
jQuery('#jform_article').removeAttr('required');
|
jQuery('#jform_url').removeAttr('required');
|
||||||
jQuery('#jform_article').removeAttr('aria-required');
|
jQuery('#jform_url').removeAttr('aria-required');
|
||||||
jQuery('#jform_article').removeClass('required');
|
jQuery('#jform_url').removeClass('required');
|
||||||
jform_vvvvwbzwba_required = true;
|
jform_vvvvwbzwbc_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -207,7 +151,7 @@ function vvvvwbz(type_vvvvwbz)
|
|||||||
function type_vvvvwbz_SomeFunc(type_vvvvwbz)
|
function type_vvvvwbz_SomeFunc(type_vvvvwbz)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_vvvvwbz == 1)
|
if (type_vvvvwbz == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -233,28 +177,28 @@ function vvvvwca(type_vvvvwca)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (type)
|
if (type)
|
||||||
{
|
{
|
||||||
jQuery('#jform_content-lbl').closest('.control-group').show();
|
jQuery('#jform_article').closest('.control-group').show();
|
||||||
// add required attribute to content field
|
// add required attribute to article field
|
||||||
if (jform_vvvvwcawbb_required)
|
if (jform_vvvvwcawbd_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('content',0);
|
updateFieldRequired('article',0);
|
||||||
jQuery('#jform_content').prop('required','required');
|
jQuery('#jform_article').prop('required','required');
|
||||||
jQuery('#jform_content').attr('aria-required',true);
|
jQuery('#jform_article').attr('aria-required',true);
|
||||||
jQuery('#jform_content').addClass('required');
|
jQuery('#jform_article').addClass('required');
|
||||||
jform_vvvvwcawbb_required = false;
|
jform_vvvvwcawbd_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
jQuery('#jform_article').closest('.control-group').hide();
|
||||||
// remove required attribute from content field
|
// remove required attribute from article field
|
||||||
if (!jform_vvvvwcawbb_required)
|
if (!jform_vvvvwcawbd_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('content',1);
|
updateFieldRequired('article',1);
|
||||||
jQuery('#jform_content').removeAttr('required');
|
jQuery('#jform_article').removeAttr('required');
|
||||||
jQuery('#jform_content').removeAttr('aria-required');
|
jQuery('#jform_article').removeAttr('aria-required');
|
||||||
jQuery('#jform_content').removeClass('required');
|
jQuery('#jform_article').removeClass('required');
|
||||||
jform_vvvvwcawbb_required = true;
|
jform_vvvvwcawbd_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -263,7 +207,7 @@ function vvvvwca(type_vvvvwca)
|
|||||||
function type_vvvvwca_SomeFunc(type_vvvvwca)
|
function type_vvvvwca_SomeFunc(type_vvvvwca)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_vvvvwca == 2)
|
if (type_vvvvwca == 1)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -271,33 +215,89 @@ function type_vvvvwca_SomeFunc(type_vvvvwca)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwcb function
|
// the vvvvwcb function
|
||||||
function vvvvwcb(target_vvvvwcb)
|
function vvvvwcb(type_vvvvwcb)
|
||||||
|
{
|
||||||
|
if (isSet(type_vvvvwcb) && type_vvvvwcb.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwcb = type_vvvvwcb;
|
||||||
|
var type_vvvvwcb = [];
|
||||||
|
type_vvvvwcb.push(temp_vvvvwcb);
|
||||||
|
}
|
||||||
|
else if (!isSet(type_vvvvwcb))
|
||||||
|
{
|
||||||
|
var type_vvvvwcb = [];
|
||||||
|
}
|
||||||
|
var type = type_vvvvwcb.some(type_vvvvwcb_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
|
// set this function logic
|
||||||
|
if (type)
|
||||||
|
{
|
||||||
|
jQuery('#jform_content-lbl').closest('.control-group').show();
|
||||||
|
// add required attribute to content field
|
||||||
|
if (jform_vvvvwcbwbe_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('content',0);
|
||||||
|
jQuery('#jform_content').prop('required','required');
|
||||||
|
jQuery('#jform_content').attr('aria-required',true);
|
||||||
|
jQuery('#jform_content').addClass('required');
|
||||||
|
jform_vvvvwcbwbe_required = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
jQuery('#jform_content-lbl').closest('.control-group').hide();
|
||||||
|
// remove required attribute from content field
|
||||||
|
if (!jform_vvvvwcbwbe_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('content',1);
|
||||||
|
jQuery('#jform_content').removeAttr('required');
|
||||||
|
jQuery('#jform_content').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_content').removeClass('required');
|
||||||
|
jform_vvvvwcbwbe_required = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwcb Some function
|
||||||
|
function type_vvvvwcb_SomeFunc(type_vvvvwcb)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (target_vvvvwcb == 1)
|
if (type_vvvvwcb == 2)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwcc function
|
||||||
|
function vvvvwcc(target_vvvvwcc)
|
||||||
|
{
|
||||||
|
// set the function logic
|
||||||
|
if (target_vvvvwcc == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_groups').closest('.control-group').show();
|
jQuery('#jform_groups').closest('.control-group').show();
|
||||||
// add required attribute to groups field
|
// add required attribute to groups field
|
||||||
if (jform_vvvvwcbwbc_required)
|
if (jform_vvvvwccwbf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('groups',0);
|
updateFieldRequired('groups',0);
|
||||||
jQuery('#jform_groups').prop('required','required');
|
jQuery('#jform_groups').prop('required','required');
|
||||||
jQuery('#jform_groups').attr('aria-required',true);
|
jQuery('#jform_groups').attr('aria-required',true);
|
||||||
jQuery('#jform_groups').addClass('required');
|
jQuery('#jform_groups').addClass('required');
|
||||||
jform_vvvvwcbwbc_required = false;
|
jform_vvvvwccwbf_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_groups').closest('.control-group').hide();
|
jQuery('#jform_groups').closest('.control-group').hide();
|
||||||
// remove required attribute from groups field
|
// remove required attribute from groups field
|
||||||
if (!jform_vvvvwcbwbc_required)
|
if (!jform_vvvvwccwbf_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('groups',1);
|
updateFieldRequired('groups',1);
|
||||||
jQuery('#jform_groups').removeAttr('required');
|
jQuery('#jform_groups').removeAttr('required');
|
||||||
jQuery('#jform_groups').removeAttr('aria-required');
|
jQuery('#jform_groups').removeAttr('aria-required');
|
||||||
jQuery('#jform_groups').removeClass('required');
|
jQuery('#jform_groups').removeClass('required');
|
||||||
jform_vvvvwcbwbc_required = true;
|
jform_vvvvwccwbf_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,9 @@ jform_vvvvvwovwk_required = false;
|
|||||||
jform_vvvvvwpvwl_required = false;
|
jform_vvvvvwpvwl_required = false;
|
||||||
jform_vvvvvwwvwm_required = false;
|
jform_vvvvvwwvwm_required = false;
|
||||||
jform_vvvvvwxvwn_required = false;
|
jform_vvvvvwxvwn_required = false;
|
||||||
|
jform_vvvvvxavwo_required = false;
|
||||||
|
jform_vvvvvxavwp_required = false;
|
||||||
|
jform_vvvvvxavwq_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
@ -122,6 +125,9 @@ jQuery(document).ready(function()
|
|||||||
|
|
||||||
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||||
vvvvvwz(dashboard_type_vvvvvwz);
|
vvvvvwz(dashboard_type_vvvvvwz);
|
||||||
|
|
||||||
|
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
|
||||||
|
vvvvvxa(translation_tool_vvvvvxa);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvvvv function
|
// the vvvvvvv function
|
||||||
@ -886,6 +892,106 @@ function vvvvvwz(dashboard_type_vvvvvwz)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the vvvvvxa function
|
||||||
|
function vvvvvxa(translation_tool_vvvvvxa)
|
||||||
|
{
|
||||||
|
if (isSet(translation_tool_vvvvvxa) && translation_tool_vvvvvxa.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvvxa = translation_tool_vvvvvxa;
|
||||||
|
var translation_tool_vvvvvxa = [];
|
||||||
|
translation_tool_vvvvvxa.push(temp_vvvvvxa);
|
||||||
|
}
|
||||||
|
else if (!isSet(translation_tool_vvvvvxa))
|
||||||
|
{
|
||||||
|
var translation_tool_vvvvvxa = [];
|
||||||
|
}
|
||||||
|
var translation_tool = translation_tool_vvvvvxa.some(translation_tool_vvvvvxa_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
|
// set this function logic
|
||||||
|
if (translation_tool)
|
||||||
|
{
|
||||||
|
jQuery('#jform_crowdin_account_api_key').closest('.control-group').show();
|
||||||
|
jQuery('.note_crowdin').closest('.control-group').show();
|
||||||
|
jQuery('#jform_crowdin_project_api_key').closest('.control-group').show();
|
||||||
|
// add required attribute to crowdin_project_api_key field
|
||||||
|
if (jform_vvvvvxavwo_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_project_api_key',0);
|
||||||
|
jQuery('#jform_crowdin_project_api_key').prop('required','required');
|
||||||
|
jQuery('#jform_crowdin_project_api_key').attr('aria-required',true);
|
||||||
|
jQuery('#jform_crowdin_project_api_key').addClass('required');
|
||||||
|
jform_vvvvvxavwo_required = false;
|
||||||
|
}
|
||||||
|
jQuery('#jform_crowdin_project_identifier').closest('.control-group').show();
|
||||||
|
// add required attribute to crowdin_project_identifier field
|
||||||
|
if (jform_vvvvvxavwp_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_project_identifier',0);
|
||||||
|
jQuery('#jform_crowdin_project_identifier').prop('required','required');
|
||||||
|
jQuery('#jform_crowdin_project_identifier').attr('aria-required',true);
|
||||||
|
jQuery('#jform_crowdin_project_identifier').addClass('required');
|
||||||
|
jform_vvvvvxavwp_required = false;
|
||||||
|
}
|
||||||
|
jQuery('#jform_crowdin_username').closest('.control-group').show();
|
||||||
|
// add required attribute to crowdin_username field
|
||||||
|
if (jform_vvvvvxavwq_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_username',0);
|
||||||
|
jQuery('#jform_crowdin_username').prop('required','required');
|
||||||
|
jQuery('#jform_crowdin_username').attr('aria-required',true);
|
||||||
|
jQuery('#jform_crowdin_username').addClass('required');
|
||||||
|
jform_vvvvvxavwq_required = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
jQuery('#jform_crowdin_account_api_key').closest('.control-group').hide();
|
||||||
|
jQuery('.note_crowdin').closest('.control-group').hide();
|
||||||
|
jQuery('#jform_crowdin_project_api_key').closest('.control-group').hide();
|
||||||
|
// remove required attribute from crowdin_project_api_key field
|
||||||
|
if (!jform_vvvvvxavwo_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_project_api_key',1);
|
||||||
|
jQuery('#jform_crowdin_project_api_key').removeAttr('required');
|
||||||
|
jQuery('#jform_crowdin_project_api_key').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_crowdin_project_api_key').removeClass('required');
|
||||||
|
jform_vvvvvxavwo_required = true;
|
||||||
|
}
|
||||||
|
jQuery('#jform_crowdin_project_identifier').closest('.control-group').hide();
|
||||||
|
// remove required attribute from crowdin_project_identifier field
|
||||||
|
if (!jform_vvvvvxavwp_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_project_identifier',1);
|
||||||
|
jQuery('#jform_crowdin_project_identifier').removeAttr('required');
|
||||||
|
jQuery('#jform_crowdin_project_identifier').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_crowdin_project_identifier').removeClass('required');
|
||||||
|
jform_vvvvvxavwp_required = true;
|
||||||
|
}
|
||||||
|
jQuery('#jform_crowdin_username').closest('.control-group').hide();
|
||||||
|
// remove required attribute from crowdin_username field
|
||||||
|
if (!jform_vvvvvxavwq_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('crowdin_username',1);
|
||||||
|
jQuery('#jform_crowdin_username').removeAttr('required');
|
||||||
|
jQuery('#jform_crowdin_username').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_crowdin_username').removeClass('required');
|
||||||
|
jform_vvvvvxavwq_required = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvvxa Some function
|
||||||
|
function translation_tool_vvvvvxa_SomeFunc(translation_tool_vvvvvxa)
|
||||||
|
{
|
||||||
|
// set the function logic
|
||||||
|
if (translation_tool_vvvvvxa == 1)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// update required fields
|
// update required fields
|
||||||
function updateFieldRequired(name,status)
|
function updateFieldRequired(name,status)
|
||||||
{
|
{
|
||||||
@ -967,8 +1073,54 @@ jQuery(document).ready(function()
|
|||||||
|
|
||||||
// check and load all the customcode edit buttons
|
// check and load all the customcode edit buttons
|
||||||
setTimeout(getEditCustomCodeButtons, 400);
|
setTimeout(getEditCustomCodeButtons, 400);
|
||||||
|
|
||||||
|
// get crowdin detail if set
|
||||||
|
setTimeout(getTranslationToolDetails, 600);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function getTranslationToolDetails(){
|
||||||
|
// get the translation tool selection
|
||||||
|
var tool = jQuery("#jform_translation_tool").val();
|
||||||
|
// trigger Crowdin
|
||||||
|
if (tool == 1) {
|
||||||
|
// get the identifier
|
||||||
|
var identifier = jQuery("#jform_crowdin_project_identifier").val();
|
||||||
|
// get the key
|
||||||
|
var key = jQuery("#jform_crowdin_project_api_key").val();
|
||||||
|
// query server for details
|
||||||
|
getCrowdinDetails_server(identifier, key).done(function(result) {
|
||||||
|
if (result.error){
|
||||||
|
jQuery('#crowdin_information_box').show();
|
||||||
|
jQuery('#crowdin_error_box').show();
|
||||||
|
jQuery('#crowdin_error_box').html(result.error);
|
||||||
|
jQuery('#crowdin_success_box').hide();
|
||||||
|
} else if(result.html) {
|
||||||
|
jQuery('#crowdin_success_box').show();
|
||||||
|
jQuery('#crowdin_success_box').html(result.html);
|
||||||
|
jQuery('#crowdin_error_box').hide();
|
||||||
|
jQuery('#crowdin_information_box').hide();
|
||||||
|
} else {
|
||||||
|
jQuery('#crowdin_information_box').show();
|
||||||
|
jQuery('#crowdin_success_box').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getCrowdinDetails_server(identifier, key){
|
||||||
|
var getUrl = "index.php?option=com_componentbuilder&task=ajax.getCrowdinDetails&format=json&raw=true&vdm="+vastDevMod;
|
||||||
|
if(token.length > 0 && identifier.length > 0 && key.length > 0){
|
||||||
|
var request = 'token='+token+'&identifier='+identifier+'&key='+key;
|
||||||
|
}
|
||||||
|
return jQuery.ajax({
|
||||||
|
type: 'GET',
|
||||||
|
url: getUrl,
|
||||||
|
dataType: 'json',
|
||||||
|
data: request,
|
||||||
|
jsonp: false
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function getAjaxDisplay(type){
|
function getAjaxDisplay(type){
|
||||||
getAjaxDisplay_server(type).done(function(result) {
|
getAjaxDisplay_server(type).done(function(result) {
|
||||||
if(result){
|
if(result){
|
||||||
|
@ -162,12 +162,12 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Php_helper_admin Field. Type: Editor. (joomla) -->
|
<!-- Php_helper_site Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="php_helper_admin"
|
name="php_helper_site"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="550px"
|
height="550px"
|
||||||
cols="15"
|
cols="15"
|
||||||
@ -179,23 +179,6 @@
|
|||||||
required="true"
|
required="true"
|
||||||
validate="code"
|
validate="code"
|
||||||
/>
|
/>
|
||||||
<!-- Add_email_helper Field. Type: Radio. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="radio"
|
|
||||||
name="add_email_helper"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_DESCRIPTION"
|
|
||||||
class="btn-group btn-group-yesno"
|
|
||||||
default="0"
|
|
||||||
required="true">
|
|
||||||
<!-- Option Set. -->
|
|
||||||
<option value="1">
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
|
||||||
<option value="0">
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
|
||||||
</field>
|
|
||||||
<!-- Note_display_component_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="note_display_component_custom_admin_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_CUSTOM_ADMIN_VIEWS_DESCRIPTION" class="note_display_component_custom_admin_views" />
|
|
||||||
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
<!-- Debug_linenr Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="radio"
|
type="radio"
|
||||||
@ -211,25 +194,49 @@
|
|||||||
<option value="0">
|
<option value="0">
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Sql Field. Type: Textarea. (joomla) -->
|
<!-- Crowdin_account_api_key Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="text"
|
||||||
name="sql"
|
name="crowdin_account_api_key"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_LABEL"
|
||||||
rows="30"
|
size="50"
|
||||||
cols="15"
|
maxlength="150"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_DESCRIPTION"
|
||||||
class="text_area span12"
|
class="text_area"
|
||||||
filter="raw"
|
filter="ALNUM"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_HINT"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_MESSAGE"
|
||||||
required="true"
|
autocomplete="off"
|
||||||
/>
|
/>
|
||||||
<!-- Php_preflight_update Field. Type: Editor. (joomla) -->
|
<!-- Update_server Field. Type: Servers. (custom) -->
|
||||||
|
<field
|
||||||
|
type="servers"
|
||||||
|
name="update_server"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_DESCRIPTION"
|
||||||
|
class="list_class"
|
||||||
|
multiple="false"
|
||||||
|
default="0"
|
||||||
|
button="true"
|
||||||
|
/>
|
||||||
|
<!-- Readme Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="php_preflight_update"
|
name="readme"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
|
default="You can use all the normal markdown, including the place-holders."
|
||||||
|
width="100%"
|
||||||
|
height="1200px"
|
||||||
|
buttons="false"
|
||||||
|
editor="none"
|
||||||
|
filter="raw"
|
||||||
|
required="true"
|
||||||
|
/>
|
||||||
|
<!-- Php_postflight_update Field. Type: Editor. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="editor"
|
||||||
|
name="php_postflight_update"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="450px"
|
height="450px"
|
||||||
cols="15"
|
cols="15"
|
||||||
@ -241,23 +248,8 @@
|
|||||||
required="true"
|
required="true"
|
||||||
validate="code"
|
validate="code"
|
||||||
/>
|
/>
|
||||||
<!-- Css_site Field. Type: Editor. (joomla) -->
|
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field
|
<field type="note" name="note_botton_component_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_botton_component_dashboard" />
|
||||||
type="editor"
|
|
||||||
name="css_site"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="450px"
|
|
||||||
cols="15"
|
|
||||||
rows="30"
|
|
||||||
buttons="no"
|
|
||||||
syntax="css"
|
|
||||||
editor="codemirror|none"
|
|
||||||
filter="raw"
|
|
||||||
required="true"
|
|
||||||
validate="code"
|
|
||||||
/>
|
|
||||||
<!-- Description Field. Type: Textarea. (joomla) -->
|
<!-- Description Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -312,23 +304,6 @@
|
|||||||
<option value="0">
|
<option value="0">
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Php_helper_site Field. Type: Editor. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="editor"
|
|
||||||
name="php_helper_site"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="550px"
|
|
||||||
cols="15"
|
|
||||||
rows="80"
|
|
||||||
buttons="no"
|
|
||||||
syntax="php"
|
|
||||||
editor="codemirror|none"
|
|
||||||
filter="raw"
|
|
||||||
required="true"
|
|
||||||
validate="code"
|
|
||||||
/>
|
|
||||||
<!-- Javascript Field. Type: Editor. (joomla) -->
|
<!-- Javascript Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
@ -346,6 +321,23 @@
|
|||||||
required="true"
|
required="true"
|
||||||
validate="code"
|
validate="code"
|
||||||
/>
|
/>
|
||||||
|
<!-- Css_site Field. Type: Editor. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="editor"
|
||||||
|
name="css_site"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_DESCRIPTION"
|
||||||
|
width="100%"
|
||||||
|
height="450px"
|
||||||
|
cols="15"
|
||||||
|
rows="30"
|
||||||
|
buttons="no"
|
||||||
|
syntax="css"
|
||||||
|
editor="codemirror|none"
|
||||||
|
filter="raw"
|
||||||
|
required="true"
|
||||||
|
validate="code"
|
||||||
|
/>
|
||||||
<!-- Copyright Field. Type: Textarea. (joomla) -->
|
<!-- Copyright Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -360,8 +352,23 @@
|
|||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_HINT"
|
||||||
required="true"
|
required="true"
|
||||||
/>
|
/>
|
||||||
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Php_preflight_update Field. Type: Editor. (joomla) -->
|
||||||
<field type="note" name="note_botton_component_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BOTTON_COMPONENT_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_botton_component_dashboard" />
|
<field
|
||||||
|
type="editor"
|
||||||
|
name="php_preflight_update"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
|
||||||
|
width="100%"
|
||||||
|
height="450px"
|
||||||
|
cols="15"
|
||||||
|
rows="30"
|
||||||
|
buttons="no"
|
||||||
|
syntax="php"
|
||||||
|
editor="codemirror|none"
|
||||||
|
filter="raw"
|
||||||
|
required="true"
|
||||||
|
validate="code"
|
||||||
|
/>
|
||||||
<!-- Author Field. Type: Text. (joomla) -->
|
<!-- Author Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="text"
|
type="text"
|
||||||
@ -378,22 +385,18 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Php_postflight_update Field. Type: Editor. (joomla) -->
|
<!-- Sql Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="textarea"
|
||||||
name="php_postflight_update"
|
name="sql"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="450px"
|
|
||||||
cols="15"
|
|
||||||
rows="30"
|
rows="30"
|
||||||
buttons="no"
|
cols="15"
|
||||||
syntax="php"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_DESCRIPTION"
|
||||||
editor="codemirror|none"
|
class="text_area span12"
|
||||||
filter="raw"
|
filter="raw"
|
||||||
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_HINT"
|
||||||
required="true"
|
required="true"
|
||||||
validate="code"
|
|
||||||
/>
|
/>
|
||||||
<!-- Email Field. Type: Text. (joomla) -->
|
<!-- Email Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
@ -410,18 +413,56 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Readme Field. Type: Editor. (joomla) -->
|
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="update_server_target"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="1"
|
||||||
|
required="true">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SERVER</option>
|
||||||
|
<option value="2">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ZIP</option>
|
||||||
|
<option value="3">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_OTHER</option>
|
||||||
|
</field>
|
||||||
|
<!-- Add_email_helper Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="add_email_helper"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_EMAIL_HELPER_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0"
|
||||||
|
required="true">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
|
</field>
|
||||||
|
<!-- Note_crowdin Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_crowdin" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_CROWDIN_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_CROWDIN_DESCRIPTION" heading="h2" class="note_crowdin" />
|
||||||
|
<!-- Php_helper_admin Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="readme"
|
name="php_helper_admin"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
|
||||||
default="You can use all the normal markdown, including the place-holders."
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="1200px"
|
height="550px"
|
||||||
buttons="false"
|
cols="15"
|
||||||
editor="none"
|
rows="80"
|
||||||
|
buttons="no"
|
||||||
|
syntax="php"
|
||||||
|
editor="codemirror|none"
|
||||||
filter="raw"
|
filter="raw"
|
||||||
required="true"
|
required="true"
|
||||||
|
validate="code"
|
||||||
/>
|
/>
|
||||||
<!-- Website Field. Type: Url. (joomla) -->
|
<!-- Website Field. Type: Url. (joomla) -->
|
||||||
<field
|
<field
|
||||||
@ -439,21 +480,38 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Buildcomp Field. Type: Radio. (joomla) -->
|
<!-- Component_version Field. Type: Text. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="radio"
|
type="text"
|
||||||
name="buildcomp"
|
name="component_version"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_DESCRIPTION"
|
size="40"
|
||||||
class="btn-group btn-group-yesno"
|
maxlength="50"
|
||||||
default="0"
|
default="1.0.0"
|
||||||
required="true">
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_DESCRIPTION"
|
||||||
<!-- Option Set. -->
|
class="text_area"
|
||||||
<option value="1">
|
required="true"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
filter="CMD"
|
||||||
<option value="0">
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_MESSAGE"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_HINT"
|
||||||
</field>
|
/>
|
||||||
|
<!-- Php_helper_both Field. Type: Editor. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="editor"
|
||||||
|
name="php_helper_both"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION"
|
||||||
|
width="100%"
|
||||||
|
height="550px"
|
||||||
|
cols="15"
|
||||||
|
rows="80"
|
||||||
|
buttons="no"
|
||||||
|
syntax="php"
|
||||||
|
editor="codemirror|none"
|
||||||
|
filter="raw"
|
||||||
|
required="true"
|
||||||
|
validate="code"
|
||||||
|
/>
|
||||||
<!-- Add_license Field. Type: Radio. (joomla) -->
|
<!-- Add_license Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="radio"
|
type="radio"
|
||||||
@ -469,24 +527,23 @@
|
|||||||
<option value="0">
|
<option value="0">
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Adduikit Field. Type: List. (joomla) -->
|
<!-- Php_admin_event Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="list"
|
type="editor"
|
||||||
name="adduikit"
|
name="php_admin_event"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDUIKIT_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDUIKIT_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
|
||||||
class="btn-group btn-group-yesno"
|
width="100%"
|
||||||
default="0">
|
height="450px"
|
||||||
<!-- Option Set. -->
|
cols="15"
|
||||||
<option value="0">
|
rows="30"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC</option>
|
buttons="no"
|
||||||
<option value="2">
|
syntax="php"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_BOTH_VTWO_AMP_VTHREE</option>
|
editor="codemirror|none"
|
||||||
<option value="1">
|
filter="raw"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTWO</option>
|
required="true"
|
||||||
<option value="3">
|
validate="code"
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTHREE</option>
|
/>
|
||||||
</field>
|
|
||||||
<!-- License_type Field. Type: List. (joomla) -->
|
<!-- License_type Field. Type: List. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="list"
|
type="list"
|
||||||
@ -508,16 +565,16 @@
|
|||||||
<option value="4">
|
<option value="4">
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option>
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Php_helper_both Field. Type: Editor. (joomla) -->
|
<!-- Php_site_event Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="php_helper_both"
|
name="php_site_event"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="550px"
|
height="450px"
|
||||||
cols="15"
|
cols="15"
|
||||||
rows="80"
|
rows="30"
|
||||||
buttons="no"
|
buttons="no"
|
||||||
syntax="php"
|
syntax="php"
|
||||||
editor="codemirror|none"
|
editor="codemirror|none"
|
||||||
@ -527,18 +584,18 @@
|
|||||||
/>
|
/>
|
||||||
<!-- Note_whmcs_lisencing_note Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_whmcs_lisencing_note Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_whmcs_lisencing_note" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_lisencing_note" />
|
<field type="note" name="note_whmcs_lisencing_note" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_WHMCS_LISENCING_NOTE_DESCRIPTION" heading="h4" class="alert alert-success note_whmcs_lisencing_note" />
|
||||||
<!-- Php_admin_event Field. Type: Editor. (joomla) -->
|
<!-- Css_admin Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="php_admin_event"
|
name="css_admin"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="450px"
|
height="450px"
|
||||||
cols="15"
|
cols="15"
|
||||||
rows="30"
|
rows="30"
|
||||||
buttons="no"
|
buttons="no"
|
||||||
syntax="php"
|
syntax="css"
|
||||||
editor="codemirror|none"
|
editor="codemirror|none"
|
||||||
filter="raw"
|
filter="raw"
|
||||||
required="true"
|
required="true"
|
||||||
@ -557,23 +614,8 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Php_site_event Field. Type: Editor. (joomla) -->
|
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field
|
<field type="note" name="note_dynamic_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_dynamic_dashboard" />
|
||||||
type="editor"
|
|
||||||
name="php_site_event"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="450px"
|
|
||||||
cols="15"
|
|
||||||
rows="30"
|
|
||||||
buttons="no"
|
|
||||||
syntax="php"
|
|
||||||
editor="codemirror|none"
|
|
||||||
filter="raw"
|
|
||||||
required="true"
|
|
||||||
validate="code"
|
|
||||||
/>
|
|
||||||
<!-- Whmcs_url Field. Type: Url. (joomla) -->
|
<!-- Whmcs_url Field. Type: Url. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="url"
|
type="url"
|
||||||
@ -589,18 +631,18 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Css_admin Field. Type: Editor. (joomla) -->
|
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="css_admin"
|
name="php_preflight_install"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="450px"
|
height="450px"
|
||||||
cols="15"
|
cols="15"
|
||||||
rows="30"
|
rows="30"
|
||||||
buttons="no"
|
buttons="no"
|
||||||
syntax="css"
|
syntax="php"
|
||||||
editor="codemirror|none"
|
editor="codemirror|none"
|
||||||
filter="raw"
|
filter="raw"
|
||||||
required="true"
|
required="true"
|
||||||
@ -621,8 +663,23 @@
|
|||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_MESSAGE"
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_MESSAGE"
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_HINT"
|
||||||
/>
|
/>
|
||||||
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Php_postflight_install Field. Type: Editor. (joomla) -->
|
||||||
<field type="note" name="note_dynamic_dashboard" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DYNAMIC_DASHBOARD_DESCRIPTION" heading="h4" class="alert alert-info note_dynamic_dashboard" />
|
<field
|
||||||
|
type="editor"
|
||||||
|
name="php_postflight_install"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_DESCRIPTION"
|
||||||
|
width="100%"
|
||||||
|
height="450px"
|
||||||
|
cols="15"
|
||||||
|
rows="30"
|
||||||
|
buttons="no"
|
||||||
|
syntax="php"
|
||||||
|
editor="codemirror|none"
|
||||||
|
filter="raw"
|
||||||
|
required="true"
|
||||||
|
validate="code"
|
||||||
|
/>
|
||||||
<!-- License Field. Type: Textarea. (joomla) -->
|
<!-- License Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -637,12 +694,12 @@
|
|||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_HINT"
|
||||||
required="true"
|
required="true"
|
||||||
/>
|
/>
|
||||||
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
|
<!-- Php_method_uninstall Field. Type: Editor. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="editor"
|
type="editor"
|
||||||
name="php_preflight_install"
|
name="php_method_uninstall"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_DESCRIPTION"
|
||||||
width="100%"
|
width="100%"
|
||||||
height="450px"
|
height="450px"
|
||||||
cols="15"
|
cols="15"
|
||||||
@ -666,65 +723,6 @@
|
|||||||
hide_none="true"
|
hide_none="true"
|
||||||
hide_default="true"
|
hide_default="true"
|
||||||
/>
|
/>
|
||||||
<!-- Php_postflight_install Field. Type: Editor. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="editor"
|
|
||||||
name="php_postflight_install"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="450px"
|
|
||||||
cols="15"
|
|
||||||
rows="30"
|
|
||||||
buttons="no"
|
|
||||||
syntax="php"
|
|
||||||
editor="codemirror|none"
|
|
||||||
filter="raw"
|
|
||||||
required="true"
|
|
||||||
validate="code"
|
|
||||||
/>
|
|
||||||
<!-- Image Field. Type: Media. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="media"
|
|
||||||
name="image"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_DESCRIPTION"
|
|
||||||
directory=""
|
|
||||||
/>
|
|
||||||
<!-- Php_method_uninstall Field. Type: Editor. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="editor"
|
|
||||||
name="php_method_uninstall"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_DESCRIPTION"
|
|
||||||
width="100%"
|
|
||||||
height="450px"
|
|
||||||
cols="15"
|
|
||||||
rows="30"
|
|
||||||
buttons="no"
|
|
||||||
syntax="php"
|
|
||||||
editor="codemirror|none"
|
|
||||||
filter="raw"
|
|
||||||
required="true"
|
|
||||||
validate="code"
|
|
||||||
/>
|
|
||||||
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="radio"
|
|
||||||
name="update_server_target"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_LABEL"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_DESCRIPTION"
|
|
||||||
class="btn-group btn-group-yesno"
|
|
||||||
default="1"
|
|
||||||
required="true">
|
|
||||||
<!-- Option Set. -->
|
|
||||||
<option value="1">
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SERVER</option>
|
|
||||||
<option value="2">
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ZIP</option>
|
|
||||||
<option value="3">
|
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_OTHER</option>
|
|
||||||
</field>
|
|
||||||
<!-- Sql_uninstall Field. Type: Textarea. (joomla) -->
|
<!-- Sql_uninstall Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -738,16 +736,13 @@
|
|||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_HINT"
|
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_HINT"
|
||||||
required="true"
|
required="true"
|
||||||
/>
|
/>
|
||||||
<!-- Update_server Field. Type: Servers. (custom) -->
|
<!-- Image Field. Type: Media. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="servers"
|
type="media"
|
||||||
name="update_server"
|
name="image"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL"
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_DESCRIPTION"
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_DESCRIPTION"
|
||||||
class="list_class"
|
directory=""
|
||||||
multiple="false"
|
|
||||||
default="0"
|
|
||||||
button="true"
|
|
||||||
/>
|
/>
|
||||||
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
@ -763,29 +758,16 @@
|
|||||||
<option value="0">
|
<option value="0">
|
||||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
</field>
|
</field>
|
||||||
<!-- Component_version Field. Type: Text. (joomla) -->
|
|
||||||
<field
|
|
||||||
type="text"
|
|
||||||
name="component_version"
|
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_LABEL"
|
|
||||||
size="40"
|
|
||||||
maxlength="50"
|
|
||||||
default="1.0.0"
|
|
||||||
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_DESCRIPTION"
|
|
||||||
class="text_area"
|
|
||||||
required="true"
|
|
||||||
filter="CMD"
|
|
||||||
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_MESSAGE"
|
|
||||||
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_HINT"
|
|
||||||
/>
|
|
||||||
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="note_update_server_note_zip" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
|
||||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="hidden"
|
type="hidden"
|
||||||
name="not_required"
|
name="not_required"
|
||||||
default="[]"
|
default="[]"
|
||||||
/>
|
/>
|
||||||
|
<!-- Note_update_server_note_zip Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_update_server_note_zip" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
||||||
|
<!-- Note_moved_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_moved_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_moved_views" />
|
||||||
<!-- Sales_server Field. Type: Servers. (custom) -->
|
<!-- Sales_server Field. Type: Servers. (custom) -->
|
||||||
<field
|
<field
|
||||||
type="servers"
|
type="servers"
|
||||||
@ -797,17 +779,31 @@
|
|||||||
default="0"
|
default="0"
|
||||||
button="true"
|
button="true"
|
||||||
/>
|
/>
|
||||||
<!-- Note_moved_views Field. Type: Note. A None Database Field. (joomla) -->
|
|
||||||
<field type="note" name="note_moved_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MOVED_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_moved_views" />
|
|
||||||
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
|
<!-- Spacer_hr_one Field. Type: Spacer. A None Database Field. (joomla) -->
|
||||||
<field type="spacer" name="spacer_hr_one" hr="true" class="spacer_hr_one" />
|
<field type="spacer" name="spacer_hr_one" hr="true" class="spacer_hr_one" />
|
||||||
|
<!-- Crowdin_project_api_key Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="crowdin_project_api_key"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_LABEL"
|
||||||
|
size="50"
|
||||||
|
maxlength="150"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
required="true"
|
||||||
|
filter="ALNUM"
|
||||||
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_API_KEY_MESSAGE"
|
||||||
|
autocomplete="off"
|
||||||
|
onchange="getTranslationToolDetails()"
|
||||||
|
/>
|
||||||
<!-- Note_mysql_tweak_options Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_mysql_tweak_options Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_mysql_tweak_options" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mysql_tweak_options" />
|
<field type="note" name="note_mysql_tweak_options" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION" heading="h4" class="alert alert-info note_mysql_tweak_options" />
|
||||||
<!-- Creatuserhelper Field. Type: Radio. (joomla) -->
|
<!-- Buildcomp Field. Type: Radio. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="radio"
|
type="radio"
|
||||||
name="creatuserhelper"
|
name="buildcomp"
|
||||||
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL"
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_DESCRIPTION"
|
||||||
class="btn-group btn-group-yesno"
|
class="btn-group btn-group-yesno"
|
||||||
default="0"
|
default="0"
|
||||||
required="true">
|
required="true">
|
||||||
@ -1381,10 +1377,87 @@
|
|||||||
</field>
|
</field>
|
||||||
<!-- Note_display_component_site_views Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_display_component_site_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_display_component_site_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_SITE_VIEWS_DESCRIPTION" class="note_display_component_site_views" />
|
<field type="note" name="note_display_component_site_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_SITE_VIEWS_DESCRIPTION" class="note_display_component_site_views" />
|
||||||
<!-- Note_buildcomp_dynamic_mysql Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Translation_tool Field. Type: List. (joomla) -->
|
||||||
<field type="note" name="note_buildcomp_dynamic_mysql" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_DESCRIPTION" heading="h4" class="alert alert-info note_buildcomp_dynamic_mysql" />
|
<field
|
||||||
|
type="list"
|
||||||
|
name="translation_tool"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_TRANSLATION_TOOL_LABEL"
|
||||||
|
class="list_class"
|
||||||
|
multiple="false"
|
||||||
|
default="0">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NONE</option>
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN</option>
|
||||||
|
</field>
|
||||||
<!-- Note_on_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
<!-- Note_on_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
<field type="note" name="note_on_custom_admin_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_custom_admin_views" />
|
<field type="note" name="note_on_custom_admin_views" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_ON_CUSTOM_ADMIN_VIEWS_DESCRIPTION" heading="h4" class="alert alert-info note_on_custom_admin_views" />
|
||||||
|
<!-- Crowdin_project_identifier Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="crowdin_project_identifier"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_LABEL"
|
||||||
|
size="50"
|
||||||
|
maxlength="150"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
required="true"
|
||||||
|
filter="CMD"
|
||||||
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_PROJECT_IDENTIFIER_MESSAGE"
|
||||||
|
autocomplete="off"
|
||||||
|
onchange="getTranslationToolDetails()"
|
||||||
|
/>
|
||||||
|
<!-- Note_display_component_custom_admin_views Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_display_component_custom_admin_views" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_DISPLAY_COMPONENT_CUSTOM_ADMIN_VIEWS_DESCRIPTION" class="note_display_component_custom_admin_views" />
|
||||||
|
<!-- Crowdin_username Field. Type: Text. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="text"
|
||||||
|
name="crowdin_username"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_LABEL"
|
||||||
|
size="50"
|
||||||
|
maxlength="150"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_DESCRIPTION"
|
||||||
|
class="text_area"
|
||||||
|
required="true"
|
||||||
|
filter="CMD"
|
||||||
|
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_USERNAME_MESSAGE"
|
||||||
|
autocomplete="off"
|
||||||
|
/>
|
||||||
|
<!-- Creatuserhelper Field. Type: Radio. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="radio"
|
||||||
|
name="creatuserhelper"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0"
|
||||||
|
required="true">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_YES</option>
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
|
||||||
|
</field>
|
||||||
|
<!-- Note_buildcomp_dynamic_mysql Field. Type: Note. A None Database Field. (joomla) -->
|
||||||
|
<field type="note" name="note_buildcomp_dynamic_mysql" label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_MYSQL_DESCRIPTION" heading="h4" class="alert alert-info note_buildcomp_dynamic_mysql" />
|
||||||
|
<!-- Adduikit Field. Type: List. (joomla) -->
|
||||||
|
<field
|
||||||
|
type="list"
|
||||||
|
name="adduikit"
|
||||||
|
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDUIKIT_LABEL"
|
||||||
|
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADDUIKIT_DESCRIPTION"
|
||||||
|
class="btn-group btn-group-yesno"
|
||||||
|
default="0">
|
||||||
|
<!-- Option Set. -->
|
||||||
|
<option value="0">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC</option>
|
||||||
|
<option value="2">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_BOTH_VTWO_AMP_VTHREE</option>
|
||||||
|
<option value="1">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTWO</option>
|
||||||
|
<option value="3">
|
||||||
|
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADD_UIKIT_VTHREE</option>
|
||||||
|
</field>
|
||||||
<!-- Buildcompsql Field. Type: Textarea. (joomla) -->
|
<!-- Buildcompsql Field. Type: Textarea. (joomla) -->
|
||||||
<field
|
<field
|
||||||
type="textarea"
|
type="textarea"
|
||||||
|
@ -9,43 +9,43 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvvzcvyw_required = false;
|
jform_vvvvvzdvyz_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzc(add_php_view_vvvvvzc);
|
vvvvvzd(add_php_view_vvvvvzd);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvvzc function
|
// the vvvvvzd function
|
||||||
function vvvvvzc(add_php_view_vvvvvzc)
|
function vvvvvzd(add_php_view_vvvvvzd)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_view_vvvvvzc == 1)
|
if (add_php_view_vvvvvzd == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_view field
|
// add required attribute to php_view field
|
||||||
if (jform_vvvvvzcvyw_required)
|
if (jform_vvvvvzdvyz_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',0);
|
updateFieldRequired('php_view',0);
|
||||||
jQuery('#jform_php_view').prop('required','required');
|
jQuery('#jform_php_view').prop('required','required');
|
||||||
jQuery('#jform_php_view').attr('aria-required',true);
|
jQuery('#jform_php_view').attr('aria-required',true);
|
||||||
jQuery('#jform_php_view').addClass('required');
|
jQuery('#jform_php_view').addClass('required');
|
||||||
jform_vvvvvzcvyw_required = false;
|
jform_vvvvvzdvyz_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_view field
|
// remove required attribute from php_view field
|
||||||
if (!jform_vvvvvzcvyw_required)
|
if (!jform_vvvvvzdvyz_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',1);
|
updateFieldRequired('php_view',1);
|
||||||
jQuery('#jform_php_view').removeAttr('required');
|
jQuery('#jform_php_view').removeAttr('required');
|
||||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_view').removeClass('required');
|
jQuery('#jform_php_view').removeClass('required');
|
||||||
jform_vvvvvzcvyw_required = true;
|
jform_vvvvvzdvyz_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,15 +9,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvwajvzv_required = false;
|
jform_vvvvwakvzy_required = false;
|
||||||
jform_vvvvwapvzw_required = false;
|
jform_vvvvwaqvzz_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var how_vvvvwai = jQuery("#jform_how").val();
|
|
||||||
vvvvwai(how_vvvvwai);
|
|
||||||
|
|
||||||
var how_vvvvwaj = jQuery("#jform_how").val();
|
var how_vvvvwaj = jQuery("#jform_how").val();
|
||||||
vvvvwaj(how_vvvvwaj);
|
vvvvwaj(how_vvvvwaj);
|
||||||
|
|
||||||
@ -36,48 +33,13 @@ jQuery(document).ready(function()
|
|||||||
var how_vvvvwao = jQuery("#jform_how").val();
|
var how_vvvvwao = jQuery("#jform_how").val();
|
||||||
vvvvwao(how_vvvvwao);
|
vvvvwao(how_vvvvwao);
|
||||||
|
|
||||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
var how_vvvvwap = jQuery("#jform_how").val();
|
||||||
vvvvwap(type_vvvvwap);
|
vvvvwap(how_vvvvwap);
|
||||||
|
|
||||||
|
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwaq(type_vvvvwaq);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvwai function
|
|
||||||
function vvvvwai(how_vvvvwai)
|
|
||||||
{
|
|
||||||
if (isSet(how_vvvvwai) && how_vvvvwai.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwai = how_vvvvwai;
|
|
||||||
var how_vvvvwai = [];
|
|
||||||
how_vvvvwai.push(temp_vvvvwai);
|
|
||||||
}
|
|
||||||
else if (!isSet(how_vvvvwai))
|
|
||||||
{
|
|
||||||
var how_vvvvwai = [];
|
|
||||||
}
|
|
||||||
var how = how_vvvvwai.some(how_vvvvwai_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 vvvvwai Some function
|
|
||||||
function how_vvvvwai_SomeFunc(how_vvvvwai)
|
|
||||||
{
|
|
||||||
// set the function logic
|
|
||||||
if (how_vvvvwai == 2)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwaj function
|
// the vvvvwaj function
|
||||||
function vvvvwaj(how_vvvvwaj)
|
function vvvvwaj(how_vvvvwaj)
|
||||||
{
|
{
|
||||||
@ -97,29 +59,11 @@ function vvvvwaj(how_vvvvwaj)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_setdocument field
|
|
||||||
if (jform_vvvvwajvzv_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_vvvvwajvzv_required = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_setdocument field
|
|
||||||
if (!jform_vvvvwajvzv_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_vvvvwajvzv_required = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,7 +71,7 @@ function vvvvwaj(how_vvvvwaj)
|
|||||||
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
|
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwaj == 3)
|
if (how_vvvvwaj == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -153,11 +97,29 @@ function vvvvwak(how_vvvvwak)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
jQuery('.note_display_library_config').closest('.control-group').show();
|
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||||
|
// add required attribute to php_setdocument field
|
||||||
|
if (jform_vvvvwakvzy_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_vvvvwakvzy_required = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_display_library_config').closest('.control-group').hide();
|
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||||
|
// remove required attribute from php_setdocument field
|
||||||
|
if (!jform_vvvvwakvzy_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_vvvvwakvzy_required = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +127,7 @@ function vvvvwak(how_vvvvwak)
|
|||||||
function how_vvvvwak_SomeFunc(how_vvvvwak)
|
function how_vvvvwak_SomeFunc(how_vvvvwak)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwak == 2 || how_vvvvwak == 3)
|
if (how_vvvvwak == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -191,11 +153,11 @@ function vvvvwal(how_vvvvwal)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
jQuery('.note_display_library_config').closest('.control-group').show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
jQuery('.note_display_library_config').closest('.control-group').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -203,7 +165,7 @@ function vvvvwal(how_vvvvwal)
|
|||||||
function how_vvvvwal_SomeFunc(how_vvvvwal)
|
function how_vvvvwal_SomeFunc(how_vvvvwal)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwal == 1 || how_vvvvwal == 2 || how_vvvvwal == 3)
|
if (how_vvvvwal == 2 || how_vvvvwal == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -229,15 +191,11 @@ function vvvvwam(how_vvvvwam)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
jQuery('.note_no_behaviour_one').closest('.control-group').show();
|
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
|
||||||
jQuery('.note_no_behaviour_three').closest('.control-group').show();
|
|
||||||
jQuery('.note_no_behaviour_two').closest('.control-group').show();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
|
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
|
||||||
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
|
|
||||||
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -245,7 +203,7 @@ function vvvvwam(how_vvvvwam)
|
|||||||
function how_vvvvwam_SomeFunc(how_vvvvwam)
|
function how_vvvvwam_SomeFunc(how_vvvvwam)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwam == 0)
|
if (how_vvvvwam == 1 || how_vvvvwam == 2 || how_vvvvwam == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -271,13 +229,15 @@ function vvvvwan(how_vvvvwan)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
|
jQuery('.note_no_behaviour_one').closest('.control-group').show();
|
||||||
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
|
jQuery('.note_no_behaviour_three').closest('.control-group').show();
|
||||||
|
jQuery('.note_no_behaviour_two').closest('.control-group').show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
|
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
|
||||||
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
|
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
|
||||||
|
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,7 +245,7 @@ function vvvvwan(how_vvvvwan)
|
|||||||
function how_vvvvwan_SomeFunc(how_vvvvwan)
|
function how_vvvvwan_SomeFunc(how_vvvvwan)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwan == 1)
|
if (how_vvvvwan == 0)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -308,6 +268,46 @@ function vvvvwao(how_vvvvwao)
|
|||||||
var how = how_vvvvwao.some(how_vvvvwao_SomeFunc);
|
var how = how_vvvvwao.some(how_vvvvwao_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 vvvvwao Some function
|
||||||
|
function how_vvvvwao_SomeFunc(how_vvvvwao)
|
||||||
|
{
|
||||||
|
// set the function logic
|
||||||
|
if (how_vvvvwao == 1)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwap function
|
||||||
|
function vvvvwap(how_vvvvwap)
|
||||||
|
{
|
||||||
|
if (isSet(how_vvvvwap) && how_vvvvwap.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwap = how_vvvvwap;
|
||||||
|
var how_vvvvwap = [];
|
||||||
|
how_vvvvwap.push(temp_vvvvwap);
|
||||||
|
}
|
||||||
|
else if (!isSet(how_vvvvwap))
|
||||||
|
{
|
||||||
|
var how_vvvvwap = [];
|
||||||
|
}
|
||||||
|
var how = how_vvvvwap.some(how_vvvvwap_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (how)
|
if (how)
|
||||||
{
|
{
|
||||||
@ -323,45 +323,45 @@ function vvvvwao(how_vvvvwao)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwao Some function
|
// the vvvvwap Some function
|
||||||
function how_vvvvwao_SomeFunc(how_vvvvwao)
|
function how_vvvvwap_SomeFunc(how_vvvvwap)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (how_vvvvwao == 4)
|
if (how_vvvvwap == 4)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwap function
|
// the vvvvwaq function
|
||||||
function vvvvwap(type_vvvvwap)
|
function vvvvwaq(type_vvvvwaq)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (type_vvvvwap == 2)
|
if (type_vvvvwaq == 2)
|
||||||
{
|
{
|
||||||
jQuery('#jform_libraries').closest('.control-group').show();
|
jQuery('#jform_libraries').closest('.control-group').show();
|
||||||
// add required attribute to libraries field
|
// add required attribute to libraries field
|
||||||
if (jform_vvvvwapvzw_required)
|
if (jform_vvvvwaqvzz_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('libraries',0);
|
updateFieldRequired('libraries',0);
|
||||||
jQuery('#jform_libraries').prop('required','required');
|
jQuery('#jform_libraries').prop('required','required');
|
||||||
jQuery('#jform_libraries').attr('aria-required',true);
|
jQuery('#jform_libraries').attr('aria-required',true);
|
||||||
jQuery('#jform_libraries').addClass('required');
|
jQuery('#jform_libraries').addClass('required');
|
||||||
jform_vvvvwapvzw_required = false;
|
jform_vvvvwaqvzz_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_libraries').closest('.control-group').hide();
|
jQuery('#jform_libraries').closest('.control-group').hide();
|
||||||
// remove required attribute from libraries field
|
// remove required attribute from libraries field
|
||||||
if (!jform_vvvvwapvzw_required)
|
if (!jform_vvvvwaqvzz_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('libraries',1);
|
updateFieldRequired('libraries',1);
|
||||||
jQuery('#jform_libraries').removeAttr('required');
|
jQuery('#jform_libraries').removeAttr('required');
|
||||||
jQuery('#jform_libraries').removeAttr('aria-required');
|
jQuery('#jform_libraries').removeAttr('aria-required');
|
||||||
jQuery('#jform_libraries').removeClass('required');
|
jQuery('#jform_libraries').removeClass('required');
|
||||||
jform_vvvvwapvzw_required = true;
|
jform_vvvvwaqvzz_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,180 +9,42 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvwbmwan_required = false;
|
jform_vvvvwbnwaq_required = false;
|
||||||
jform_vvvvwbmwao_required = false;
|
jform_vvvvwbnwar_required = false;
|
||||||
jform_vvvvwbmwap_required = false;
|
|
||||||
jform_vvvvwbmwaq_required = false;
|
|
||||||
jform_vvvvwbmwar_required = false;
|
|
||||||
jform_vvvvwbnwas_required = false;
|
jform_vvvvwbnwas_required = false;
|
||||||
jform_vvvvwbowat_required = false;
|
jform_vvvvwbnwat_required = false;
|
||||||
jform_vvvvwbqwau_required = false;
|
jform_vvvvwbnwau_required = false;
|
||||||
jform_vvvvwbswav_required = false;
|
jform_vvvvwbowav_required = false;
|
||||||
|
jform_vvvvwbpwaw_required = false;
|
||||||
|
jform_vvvvwbrwax_required = false;
|
||||||
|
jform_vvvvwbtway_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbm = jQuery("#jform_protocol").val();
|
|
||||||
vvvvwbm(protocol_vvvvwbm);
|
|
||||||
|
|
||||||
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
|
||||||
vvvvwbn(protocol_vvvvwbn);
|
vvvvwbn(protocol_vvvvwbn);
|
||||||
|
|
||||||
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
|
vvvvwbo(protocol_vvvvwbo);
|
||||||
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
|
|
||||||
|
|
||||||
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
|
||||||
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
|
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
|
||||||
|
|
||||||
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
|
||||||
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
|
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
|
||||||
|
|
||||||
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
|
||||||
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
|
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
|
||||||
|
|
||||||
|
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
|
||||||
|
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
|
||||||
|
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvwbm function
|
|
||||||
function vvvvwbm(protocol_vvvvwbm)
|
|
||||||
{
|
|
||||||
if (isSet(protocol_vvvvwbm) && protocol_vvvvwbm.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwbm = protocol_vvvvwbm;
|
|
||||||
var protocol_vvvvwbm = [];
|
|
||||||
protocol_vvvvwbm.push(temp_vvvvwbm);
|
|
||||||
}
|
|
||||||
else if (!isSet(protocol_vvvvwbm))
|
|
||||||
{
|
|
||||||
var protocol_vvvvwbm = [];
|
|
||||||
}
|
|
||||||
var protocol = protocol_vvvvwbm.some(protocol_vvvvwbm_SomeFunc);
|
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
|
||||||
if (protocol)
|
|
||||||
{
|
|
||||||
jQuery('#jform_authentication').closest('.control-group').show();
|
|
||||||
// add required attribute to authentication field
|
|
||||||
if (jform_vvvvwbmwan_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('authentication',0);
|
|
||||||
jQuery('#jform_authentication').prop('required','required');
|
|
||||||
jQuery('#jform_authentication').attr('aria-required',true);
|
|
||||||
jQuery('#jform_authentication').addClass('required');
|
|
||||||
jform_vvvvwbmwan_required = false;
|
|
||||||
}
|
|
||||||
jQuery('#jform_host').closest('.control-group').show();
|
|
||||||
// add required attribute to host field
|
|
||||||
if (jform_vvvvwbmwao_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('host',0);
|
|
||||||
jQuery('#jform_host').prop('required','required');
|
|
||||||
jQuery('#jform_host').attr('aria-required',true);
|
|
||||||
jQuery('#jform_host').addClass('required');
|
|
||||||
jform_vvvvwbmwao_required = false;
|
|
||||||
}
|
|
||||||
jQuery('#jform_port').closest('.control-group').show();
|
|
||||||
// add required attribute to port field
|
|
||||||
if (jform_vvvvwbmwap_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('port',0);
|
|
||||||
jQuery('#jform_port').prop('required','required');
|
|
||||||
jQuery('#jform_port').attr('aria-required',true);
|
|
||||||
jQuery('#jform_port').addClass('required');
|
|
||||||
jform_vvvvwbmwap_required = false;
|
|
||||||
}
|
|
||||||
jQuery('#jform_path').closest('.control-group').show();
|
|
||||||
// add required attribute to path field
|
|
||||||
if (jform_vvvvwbmwaq_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('path',0);
|
|
||||||
jQuery('#jform_path').prop('required','required');
|
|
||||||
jQuery('#jform_path').attr('aria-required',true);
|
|
||||||
jQuery('#jform_path').addClass('required');
|
|
||||||
jform_vvvvwbmwaq_required = false;
|
|
||||||
}
|
|
||||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
|
||||||
jQuery('#jform_username').closest('.control-group').show();
|
|
||||||
// add required attribute to username field
|
|
||||||
if (jform_vvvvwbmwar_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('username',0);
|
|
||||||
jQuery('#jform_username').prop('required','required');
|
|
||||||
jQuery('#jform_username').attr('aria-required',true);
|
|
||||||
jQuery('#jform_username').addClass('required');
|
|
||||||
jform_vvvvwbmwar_required = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
|
||||||
// remove required attribute from authentication field
|
|
||||||
if (!jform_vvvvwbmwan_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('authentication',1);
|
|
||||||
jQuery('#jform_authentication').removeAttr('required');
|
|
||||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_authentication').removeClass('required');
|
|
||||||
jform_vvvvwbmwan_required = true;
|
|
||||||
}
|
|
||||||
jQuery('#jform_host').closest('.control-group').hide();
|
|
||||||
// remove required attribute from host field
|
|
||||||
if (!jform_vvvvwbmwao_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('host',1);
|
|
||||||
jQuery('#jform_host').removeAttr('required');
|
|
||||||
jQuery('#jform_host').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_host').removeClass('required');
|
|
||||||
jform_vvvvwbmwao_required = true;
|
|
||||||
}
|
|
||||||
jQuery('#jform_port').closest('.control-group').hide();
|
|
||||||
// remove required attribute from port field
|
|
||||||
if (!jform_vvvvwbmwap_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('port',1);
|
|
||||||
jQuery('#jform_port').removeAttr('required');
|
|
||||||
jQuery('#jform_port').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_port').removeClass('required');
|
|
||||||
jform_vvvvwbmwap_required = true;
|
|
||||||
}
|
|
||||||
jQuery('#jform_path').closest('.control-group').hide();
|
|
||||||
// remove required attribute from path field
|
|
||||||
if (!jform_vvvvwbmwaq_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('path',1);
|
|
||||||
jQuery('#jform_path').removeAttr('required');
|
|
||||||
jQuery('#jform_path').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_path').removeClass('required');
|
|
||||||
jform_vvvvwbmwaq_required = true;
|
|
||||||
}
|
|
||||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
|
||||||
jQuery('#jform_username').closest('.control-group').hide();
|
|
||||||
// remove required attribute from username field
|
|
||||||
if (!jform_vvvvwbmwar_required)
|
|
||||||
{
|
|
||||||
updateFieldRequired('username',1);
|
|
||||||
jQuery('#jform_username').removeAttr('required');
|
|
||||||
jQuery('#jform_username').removeAttr('aria-required');
|
|
||||||
jQuery('#jform_username').removeClass('required');
|
|
||||||
jform_vvvvwbmwar_required = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwbm Some function
|
|
||||||
function protocol_vvvvwbm_SomeFunc(protocol_vvvvwbm)
|
|
||||||
{
|
|
||||||
// set the function logic
|
|
||||||
if (protocol_vvvvwbm == 2)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// the vvvvwbn function
|
// the vvvvwbn function
|
||||||
function vvvvwbn(protocol_vvvvwbn)
|
function vvvvwbn(protocol_vvvvwbn)
|
||||||
{
|
{
|
||||||
@ -202,31 +64,111 @@ function vvvvwbn(protocol_vvvvwbn)
|
|||||||
// set this function logic
|
// set this function logic
|
||||||
if (protocol)
|
if (protocol)
|
||||||
{
|
{
|
||||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
jQuery('#jform_authentication').closest('.control-group').show();
|
||||||
jQuery('#jform_signature').closest('.control-group').show();
|
// add required attribute to authentication field
|
||||||
// add required attribute to signature field
|
if (jform_vvvvwbnwaq_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('authentication',0);
|
||||||
|
jQuery('#jform_authentication').prop('required','required');
|
||||||
|
jQuery('#jform_authentication').attr('aria-required',true);
|
||||||
|
jQuery('#jform_authentication').addClass('required');
|
||||||
|
jform_vvvvwbnwaq_required = false;
|
||||||
|
}
|
||||||
|
jQuery('#jform_host').closest('.control-group').show();
|
||||||
|
// add required attribute to host field
|
||||||
|
if (jform_vvvvwbnwar_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('host',0);
|
||||||
|
jQuery('#jform_host').prop('required','required');
|
||||||
|
jQuery('#jform_host').attr('aria-required',true);
|
||||||
|
jQuery('#jform_host').addClass('required');
|
||||||
|
jform_vvvvwbnwar_required = false;
|
||||||
|
}
|
||||||
|
jQuery('#jform_port').closest('.control-group').show();
|
||||||
|
// add required attribute to port field
|
||||||
if (jform_vvvvwbnwas_required)
|
if (jform_vvvvwbnwas_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('signature',0);
|
updateFieldRequired('port',0);
|
||||||
jQuery('#jform_signature').prop('required','required');
|
jQuery('#jform_port').prop('required','required');
|
||||||
jQuery('#jform_signature').attr('aria-required',true);
|
jQuery('#jform_port').attr('aria-required',true);
|
||||||
jQuery('#jform_signature').addClass('required');
|
jQuery('#jform_port').addClass('required');
|
||||||
jform_vvvvwbnwas_required = false;
|
jform_vvvvwbnwas_required = false;
|
||||||
}
|
}
|
||||||
|
jQuery('#jform_path').closest('.control-group').show();
|
||||||
|
// add required attribute to path field
|
||||||
|
if (jform_vvvvwbnwat_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('path',0);
|
||||||
|
jQuery('#jform_path').prop('required','required');
|
||||||
|
jQuery('#jform_path').attr('aria-required',true);
|
||||||
|
jQuery('#jform_path').addClass('required');
|
||||||
|
jform_vvvvwbnwat_required = false;
|
||||||
|
}
|
||||||
|
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||||
|
jQuery('#jform_username').closest('.control-group').show();
|
||||||
|
// add required attribute to username field
|
||||||
|
if (jform_vvvvwbnwau_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('username',0);
|
||||||
|
jQuery('#jform_username').prop('required','required');
|
||||||
|
jQuery('#jform_username').attr('aria-required',true);
|
||||||
|
jQuery('#jform_username').addClass('required');
|
||||||
|
jform_vvvvwbnwau_required = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||||
jQuery('#jform_signature').closest('.control-group').hide();
|
// remove required attribute from authentication field
|
||||||
// remove required attribute from signature field
|
if (!jform_vvvvwbnwaq_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('authentication',1);
|
||||||
|
jQuery('#jform_authentication').removeAttr('required');
|
||||||
|
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_authentication').removeClass('required');
|
||||||
|
jform_vvvvwbnwaq_required = true;
|
||||||
|
}
|
||||||
|
jQuery('#jform_host').closest('.control-group').hide();
|
||||||
|
// remove required attribute from host field
|
||||||
|
if (!jform_vvvvwbnwar_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('host',1);
|
||||||
|
jQuery('#jform_host').removeAttr('required');
|
||||||
|
jQuery('#jform_host').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_host').removeClass('required');
|
||||||
|
jform_vvvvwbnwar_required = true;
|
||||||
|
}
|
||||||
|
jQuery('#jform_port').closest('.control-group').hide();
|
||||||
|
// remove required attribute from port field
|
||||||
if (!jform_vvvvwbnwas_required)
|
if (!jform_vvvvwbnwas_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('signature',1);
|
updateFieldRequired('port',1);
|
||||||
jQuery('#jform_signature').removeAttr('required');
|
jQuery('#jform_port').removeAttr('required');
|
||||||
jQuery('#jform_signature').removeAttr('aria-required');
|
jQuery('#jform_port').removeAttr('aria-required');
|
||||||
jQuery('#jform_signature').removeClass('required');
|
jQuery('#jform_port').removeClass('required');
|
||||||
jform_vvvvwbnwas_required = true;
|
jform_vvvvwbnwas_required = true;
|
||||||
}
|
}
|
||||||
|
jQuery('#jform_path').closest('.control-group').hide();
|
||||||
|
// remove required attribute from path field
|
||||||
|
if (!jform_vvvvwbnwat_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('path',1);
|
||||||
|
jQuery('#jform_path').removeAttr('required');
|
||||||
|
jQuery('#jform_path').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_path').removeClass('required');
|
||||||
|
jform_vvvvwbnwat_required = true;
|
||||||
|
}
|
||||||
|
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||||
|
jQuery('#jform_username').closest('.control-group').hide();
|
||||||
|
// remove required attribute from username field
|
||||||
|
if (!jform_vvvvwbnwau_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('username',1);
|
||||||
|
jQuery('#jform_username').removeAttr('required');
|
||||||
|
jQuery('#jform_username').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_username').removeClass('required');
|
||||||
|
jform_vvvvwbnwau_required = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,7 +176,7 @@ function vvvvwbn(protocol_vvvvwbn)
|
|||||||
function protocol_vvvvwbn_SomeFunc(protocol_vvvvwbn)
|
function protocol_vvvvwbn_SomeFunc(protocol_vvvvwbn)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (protocol_vvvvwbn == 1)
|
if (protocol_vvvvwbn == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -242,7 +184,7 @@ function protocol_vvvvwbn_SomeFunc(protocol_vvvvwbn)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbo function
|
// the vvvvwbo function
|
||||||
function vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo)
|
function vvvvwbo(protocol_vvvvwbo)
|
||||||
{
|
{
|
||||||
if (isSet(protocol_vvvvwbo) && protocol_vvvvwbo.constructor !== Array)
|
if (isSet(protocol_vvvvwbo) && protocol_vvvvwbo.constructor !== Array)
|
||||||
{
|
{
|
||||||
@ -256,44 +198,34 @@ function vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo)
|
|||||||
}
|
}
|
||||||
var protocol = protocol_vvvvwbo.some(protocol_vvvvwbo_SomeFunc);
|
var protocol = protocol_vvvvwbo.some(protocol_vvvvwbo_SomeFunc);
|
||||||
|
|
||||||
if (isSet(authentication_vvvvwbo) && authentication_vvvvwbo.constructor !== Array)
|
|
||||||
{
|
|
||||||
var temp_vvvvwbo = authentication_vvvvwbo;
|
|
||||||
var authentication_vvvvwbo = [];
|
|
||||||
authentication_vvvvwbo.push(temp_vvvvwbo);
|
|
||||||
}
|
|
||||||
else if (!isSet(authentication_vvvvwbo))
|
|
||||||
{
|
|
||||||
var authentication_vvvvwbo = [];
|
|
||||||
}
|
|
||||||
var authentication = authentication_vvvvwbo.some(authentication_vvvvwbo_SomeFunc);
|
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
if (protocol && authentication)
|
if (protocol)
|
||||||
{
|
{
|
||||||
jQuery('#jform_password').closest('.control-group').show();
|
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||||
// add required attribute to password field
|
jQuery('#jform_signature').closest('.control-group').show();
|
||||||
if (jform_vvvvwbowat_required)
|
// add required attribute to signature field
|
||||||
|
if (jform_vvvvwbowav_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('password',0);
|
updateFieldRequired('signature',0);
|
||||||
jQuery('#jform_password').prop('required','required');
|
jQuery('#jform_signature').prop('required','required');
|
||||||
jQuery('#jform_password').attr('aria-required',true);
|
jQuery('#jform_signature').attr('aria-required',true);
|
||||||
jQuery('#jform_password').addClass('required');
|
jQuery('#jform_signature').addClass('required');
|
||||||
jform_vvvvwbowat_required = false;
|
jform_vvvvwbowav_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_password').closest('.control-group').hide();
|
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||||
// remove required attribute from password field
|
jQuery('#jform_signature').closest('.control-group').hide();
|
||||||
if (!jform_vvvvwbowat_required)
|
// remove required attribute from signature field
|
||||||
|
if (!jform_vvvvwbowav_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('password',1);
|
updateFieldRequired('signature',1);
|
||||||
jQuery('#jform_password').removeAttr('required');
|
jQuery('#jform_signature').removeAttr('required');
|
||||||
jQuery('#jform_password').removeAttr('aria-required');
|
jQuery('#jform_signature').removeAttr('aria-required');
|
||||||
jQuery('#jform_password').removeClass('required');
|
jQuery('#jform_signature').removeClass('required');
|
||||||
jform_vvvvwbowat_required = true;
|
jform_vvvvwbowav_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -302,50 +234,118 @@ function vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo)
|
|||||||
function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo)
|
function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (protocol_vvvvwbo == 2)
|
if (protocol_vvvvwbo == 1)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbo Some function
|
// the vvvvwbp function
|
||||||
function authentication_vvvvwbo_SomeFunc(authentication_vvvvwbo)
|
function vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp)
|
||||||
|
{
|
||||||
|
if (isSet(protocol_vvvvwbp) && protocol_vvvvwbp.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwbp = protocol_vvvvwbp;
|
||||||
|
var protocol_vvvvwbp = [];
|
||||||
|
protocol_vvvvwbp.push(temp_vvvvwbp);
|
||||||
|
}
|
||||||
|
else if (!isSet(protocol_vvvvwbp))
|
||||||
|
{
|
||||||
|
var protocol_vvvvwbp = [];
|
||||||
|
}
|
||||||
|
var protocol = protocol_vvvvwbp.some(protocol_vvvvwbp_SomeFunc);
|
||||||
|
|
||||||
|
if (isSet(authentication_vvvvwbp) && authentication_vvvvwbp.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwbp = authentication_vvvvwbp;
|
||||||
|
var authentication_vvvvwbp = [];
|
||||||
|
authentication_vvvvwbp.push(temp_vvvvwbp);
|
||||||
|
}
|
||||||
|
else if (!isSet(authentication_vvvvwbp))
|
||||||
|
{
|
||||||
|
var authentication_vvvvwbp = [];
|
||||||
|
}
|
||||||
|
var authentication = authentication_vvvvwbp.some(authentication_vvvvwbp_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
|
// set this function logic
|
||||||
|
if (protocol && authentication)
|
||||||
|
{
|
||||||
|
jQuery('#jform_password').closest('.control-group').show();
|
||||||
|
// add required attribute to password field
|
||||||
|
if (jform_vvvvwbpwaw_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('password',0);
|
||||||
|
jQuery('#jform_password').prop('required','required');
|
||||||
|
jQuery('#jform_password').attr('aria-required',true);
|
||||||
|
jQuery('#jform_password').addClass('required');
|
||||||
|
jform_vvvvwbpwaw_required = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
jQuery('#jform_password').closest('.control-group').hide();
|
||||||
|
// remove required attribute from password field
|
||||||
|
if (!jform_vvvvwbpwaw_required)
|
||||||
|
{
|
||||||
|
updateFieldRequired('password',1);
|
||||||
|
jQuery('#jform_password').removeAttr('required');
|
||||||
|
jQuery('#jform_password').removeAttr('aria-required');
|
||||||
|
jQuery('#jform_password').removeClass('required');
|
||||||
|
jform_vvvvwbpwaw_required = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// the vvvvwbp Some function
|
||||||
|
function protocol_vvvvwbp_SomeFunc(protocol_vvvvwbp)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (authentication_vvvvwbo == 1 || authentication_vvvvwbo == 3 || authentication_vvvvwbo == 5)
|
if (protocol_vvvvwbp == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbq function
|
// the vvvvwbp Some function
|
||||||
function vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq)
|
function authentication_vvvvwbp_SomeFunc(authentication_vvvvwbp)
|
||||||
{
|
{
|
||||||
if (isSet(protocol_vvvvwbq) && protocol_vvvvwbq.constructor !== Array)
|
// set the function logic
|
||||||
|
if (authentication_vvvvwbp == 1 || authentication_vvvvwbp == 3 || authentication_vvvvwbp == 5)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbq = protocol_vvvvwbq;
|
return true;
|
||||||
var protocol_vvvvwbq = [];
|
|
||||||
protocol_vvvvwbq.push(temp_vvvvwbq);
|
|
||||||
}
|
}
|
||||||
else if (!isSet(protocol_vvvvwbq))
|
return false;
|
||||||
{
|
|
||||||
var protocol_vvvvwbq = [];
|
|
||||||
}
|
}
|
||||||
var protocol = protocol_vvvvwbq.some(protocol_vvvvwbq_SomeFunc);
|
|
||||||
|
|
||||||
if (isSet(authentication_vvvvwbq) && authentication_vvvvwbq.constructor !== Array)
|
// the vvvvwbr function
|
||||||
|
function vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbq = authentication_vvvvwbq;
|
if (isSet(protocol_vvvvwbr) && protocol_vvvvwbr.constructor !== Array)
|
||||||
var authentication_vvvvwbq = [];
|
|
||||||
authentication_vvvvwbq.push(temp_vvvvwbq);
|
|
||||||
}
|
|
||||||
else if (!isSet(authentication_vvvvwbq))
|
|
||||||
{
|
{
|
||||||
var authentication_vvvvwbq = [];
|
var temp_vvvvwbr = protocol_vvvvwbr;
|
||||||
|
var protocol_vvvvwbr = [];
|
||||||
|
protocol_vvvvwbr.push(temp_vvvvwbr);
|
||||||
}
|
}
|
||||||
var authentication = authentication_vvvvwbq.some(authentication_vvvvwbq_SomeFunc);
|
else if (!isSet(protocol_vvvvwbr))
|
||||||
|
{
|
||||||
|
var protocol_vvvvwbr = [];
|
||||||
|
}
|
||||||
|
var protocol = protocol_vvvvwbr.some(protocol_vvvvwbr_SomeFunc);
|
||||||
|
|
||||||
|
if (isSet(authentication_vvvvwbr) && authentication_vvvvwbr.constructor !== Array)
|
||||||
|
{
|
||||||
|
var temp_vvvvwbr = authentication_vvvvwbr;
|
||||||
|
var authentication_vvvvwbr = [];
|
||||||
|
authentication_vvvvwbr.push(temp_vvvvwbr);
|
||||||
|
}
|
||||||
|
else if (!isSet(authentication_vvvvwbr))
|
||||||
|
{
|
||||||
|
var authentication_vvvvwbr = [];
|
||||||
|
}
|
||||||
|
var authentication = authentication_vvvvwbr.some(authentication_vvvvwbr_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
@ -353,78 +353,78 @@ function vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq)
|
|||||||
{
|
{
|
||||||
jQuery('#jform_private').closest('.control-group').show();
|
jQuery('#jform_private').closest('.control-group').show();
|
||||||
// add required attribute to private field
|
// add required attribute to private field
|
||||||
if (jform_vvvvwbqwau_required)
|
if (jform_vvvvwbrwax_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('private',0);
|
updateFieldRequired('private',0);
|
||||||
jQuery('#jform_private').prop('required','required');
|
jQuery('#jform_private').prop('required','required');
|
||||||
jQuery('#jform_private').attr('aria-required',true);
|
jQuery('#jform_private').attr('aria-required',true);
|
||||||
jQuery('#jform_private').addClass('required');
|
jQuery('#jform_private').addClass('required');
|
||||||
jform_vvvvwbqwau_required = false;
|
jform_vvvvwbrwax_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_private').closest('.control-group').hide();
|
jQuery('#jform_private').closest('.control-group').hide();
|
||||||
// remove required attribute from private field
|
// remove required attribute from private field
|
||||||
if (!jform_vvvvwbqwau_required)
|
if (!jform_vvvvwbrwax_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('private',1);
|
updateFieldRequired('private',1);
|
||||||
jQuery('#jform_private').removeAttr('required');
|
jQuery('#jform_private').removeAttr('required');
|
||||||
jQuery('#jform_private').removeAttr('aria-required');
|
jQuery('#jform_private').removeAttr('aria-required');
|
||||||
jQuery('#jform_private').removeClass('required');
|
jQuery('#jform_private').removeClass('required');
|
||||||
jform_vvvvwbqwau_required = true;
|
jform_vvvvwbrwax_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbq Some function
|
// the vvvvwbr Some function
|
||||||
function protocol_vvvvwbq_SomeFunc(protocol_vvvvwbq)
|
function protocol_vvvvwbr_SomeFunc(protocol_vvvvwbr)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (protocol_vvvvwbq == 2)
|
if (protocol_vvvvwbr == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbq Some function
|
// the vvvvwbr Some function
|
||||||
function authentication_vvvvwbq_SomeFunc(authentication_vvvvwbq)
|
function authentication_vvvvwbr_SomeFunc(authentication_vvvvwbr)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (authentication_vvvvwbq == 2 || authentication_vvvvwbq == 3)
|
if (authentication_vvvvwbr == 2 || authentication_vvvvwbr == 3)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbs function
|
// the vvvvwbt function
|
||||||
function vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs)
|
function vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt)
|
||||||
{
|
{
|
||||||
if (isSet(protocol_vvvvwbs) && protocol_vvvvwbs.constructor !== Array)
|
if (isSet(protocol_vvvvwbt) && protocol_vvvvwbt.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbs = protocol_vvvvwbs;
|
var temp_vvvvwbt = protocol_vvvvwbt;
|
||||||
var protocol_vvvvwbs = [];
|
var protocol_vvvvwbt = [];
|
||||||
protocol_vvvvwbs.push(temp_vvvvwbs);
|
protocol_vvvvwbt.push(temp_vvvvwbt);
|
||||||
}
|
}
|
||||||
else if (!isSet(protocol_vvvvwbs))
|
else if (!isSet(protocol_vvvvwbt))
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbs = [];
|
var protocol_vvvvwbt = [];
|
||||||
}
|
}
|
||||||
var protocol = protocol_vvvvwbs.some(protocol_vvvvwbs_SomeFunc);
|
var protocol = protocol_vvvvwbt.some(protocol_vvvvwbt_SomeFunc);
|
||||||
|
|
||||||
if (isSet(authentication_vvvvwbs) && authentication_vvvvwbs.constructor !== Array)
|
if (isSet(authentication_vvvvwbt) && authentication_vvvvwbt.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbs = authentication_vvvvwbs;
|
var temp_vvvvwbt = authentication_vvvvwbt;
|
||||||
var authentication_vvvvwbs = [];
|
var authentication_vvvvwbt = [];
|
||||||
authentication_vvvvwbs.push(temp_vvvvwbs);
|
authentication_vvvvwbt.push(temp_vvvvwbt);
|
||||||
}
|
}
|
||||||
else if (!isSet(authentication_vvvvwbs))
|
else if (!isSet(authentication_vvvvwbt))
|
||||||
{
|
{
|
||||||
var authentication_vvvvwbs = [];
|
var authentication_vvvvwbt = [];
|
||||||
}
|
}
|
||||||
var authentication = authentication_vvvvwbs.some(authentication_vvvvwbs_SomeFunc);
|
var authentication = authentication_vvvvwbt.some(authentication_vvvvwbt_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
@ -432,78 +432,78 @@ function vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs)
|
|||||||
{
|
{
|
||||||
jQuery('#jform_private_key').closest('.control-group').show();
|
jQuery('#jform_private_key').closest('.control-group').show();
|
||||||
// add required attribute to private_key field
|
// add required attribute to private_key field
|
||||||
if (jform_vvvvwbswav_required)
|
if (jform_vvvvwbtway_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('private_key',0);
|
updateFieldRequired('private_key',0);
|
||||||
jQuery('#jform_private_key').prop('required','required');
|
jQuery('#jform_private_key').prop('required','required');
|
||||||
jQuery('#jform_private_key').attr('aria-required',true);
|
jQuery('#jform_private_key').attr('aria-required',true);
|
||||||
jQuery('#jform_private_key').addClass('required');
|
jQuery('#jform_private_key').addClass('required');
|
||||||
jform_vvvvwbswav_required = false;
|
jform_vvvvwbtway_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||||
// remove required attribute from private_key field
|
// remove required attribute from private_key field
|
||||||
if (!jform_vvvvwbswav_required)
|
if (!jform_vvvvwbtway_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('private_key',1);
|
updateFieldRequired('private_key',1);
|
||||||
jQuery('#jform_private_key').removeAttr('required');
|
jQuery('#jform_private_key').removeAttr('required');
|
||||||
jQuery('#jform_private_key').removeAttr('aria-required');
|
jQuery('#jform_private_key').removeAttr('aria-required');
|
||||||
jQuery('#jform_private_key').removeClass('required');
|
jQuery('#jform_private_key').removeClass('required');
|
||||||
jform_vvvvwbswav_required = true;
|
jform_vvvvwbtway_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbs Some function
|
// the vvvvwbt Some function
|
||||||
function protocol_vvvvwbs_SomeFunc(protocol_vvvvwbs)
|
function protocol_vvvvwbt_SomeFunc(protocol_vvvvwbt)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (protocol_vvvvwbs == 2)
|
if (protocol_vvvvwbt == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbs Some function
|
// the vvvvwbt Some function
|
||||||
function authentication_vvvvwbs_SomeFunc(authentication_vvvvwbs)
|
function authentication_vvvvwbt_SomeFunc(authentication_vvvvwbt)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (authentication_vvvvwbs == 4 || authentication_vvvvwbs == 5)
|
if (authentication_vvvvwbt == 4 || authentication_vvvvwbt == 5)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbu function
|
// the vvvvwbv function
|
||||||
function vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu)
|
function vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv)
|
||||||
{
|
{
|
||||||
if (isSet(protocol_vvvvwbu) && protocol_vvvvwbu.constructor !== Array)
|
if (isSet(protocol_vvvvwbv) && protocol_vvvvwbv.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbu = protocol_vvvvwbu;
|
var temp_vvvvwbv = protocol_vvvvwbv;
|
||||||
var protocol_vvvvwbu = [];
|
var protocol_vvvvwbv = [];
|
||||||
protocol_vvvvwbu.push(temp_vvvvwbu);
|
protocol_vvvvwbv.push(temp_vvvvwbv);
|
||||||
}
|
}
|
||||||
else if (!isSet(protocol_vvvvwbu))
|
else if (!isSet(protocol_vvvvwbv))
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbu = [];
|
var protocol_vvvvwbv = [];
|
||||||
}
|
}
|
||||||
var protocol = protocol_vvvvwbu.some(protocol_vvvvwbu_SomeFunc);
|
var protocol = protocol_vvvvwbv.some(protocol_vvvvwbv_SomeFunc);
|
||||||
|
|
||||||
if (isSet(authentication_vvvvwbu) && authentication_vvvvwbu.constructor !== Array)
|
if (isSet(authentication_vvvvwbv) && authentication_vvvvwbv.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvwbu = authentication_vvvvwbu;
|
var temp_vvvvwbv = authentication_vvvvwbv;
|
||||||
var authentication_vvvvwbu = [];
|
var authentication_vvvvwbv = [];
|
||||||
authentication_vvvvwbu.push(temp_vvvvwbu);
|
authentication_vvvvwbv.push(temp_vvvvwbv);
|
||||||
}
|
}
|
||||||
else if (!isSet(authentication_vvvvwbu))
|
else if (!isSet(authentication_vvvvwbv))
|
||||||
{
|
{
|
||||||
var authentication_vvvvwbu = [];
|
var authentication_vvvvwbv = [];
|
||||||
}
|
}
|
||||||
var authentication = authentication_vvvvwbu.some(authentication_vvvvwbu_SomeFunc);
|
var authentication = authentication_vvvvwbv.some(authentication_vvvvwbv_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
@ -517,22 +517,22 @@ function vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbu Some function
|
// the vvvvwbv Some function
|
||||||
function protocol_vvvvwbu_SomeFunc(protocol_vvvvwbu)
|
function protocol_vvvvwbv_SomeFunc(protocol_vvvvwbv)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (protocol_vvvvwbu == 2)
|
if (protocol_vvvvwbv == 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvwbu Some function
|
// the vvvvwbv Some function
|
||||||
function authentication_vvvvwbu_SomeFunc(authentication_vvvvwbu)
|
function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (authentication_vvvvwbu == 2 || authentication_vvvvwbu == 3 || authentication_vvvvwbu == 4 || authentication_vvvvwbu == 5)
|
if (authentication_vvvvwbv == 2 || authentication_vvvvwbv == 3 || authentication_vvvvwbv == 4 || authentication_vvvvwbv == 5)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -9,327 +9,327 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvvyqvyk_required = false;
|
jform_vvvvvyrvyn_required = false;
|
||||||
jform_vvvvvyrvyl_required = false;
|
jform_vvvvvysvyo_required = false;
|
||||||
jform_vvvvvysvym_required = false;
|
jform_vvvvvytvyp_required = false;
|
||||||
jform_vvvvvytvyn_required = false;
|
jform_vvvvvyuvyq_required = false;
|
||||||
jform_vvvvvyuvyo_required = false;
|
jform_vvvvvyvvyr_required = false;
|
||||||
jform_vvvvvyvvyp_required = false;
|
jform_vvvvvywvys_required = false;
|
||||||
jform_vvvvvywvyq_required = false;
|
jform_vvvvvyxvyt_required = false;
|
||||||
jform_vvvvvyxvyr_required = false;
|
jform_vvvvvyyvyu_required = false;
|
||||||
jform_vvvvvyyvys_required = false;
|
jform_vvvvvyzvyv_required = false;
|
||||||
jform_vvvvvyzvyt_required = false;
|
jform_vvvvvzavyw_required = false;
|
||||||
jform_vvvvvyzvyu_required = false;
|
jform_vvvvvzavyx_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyq(add_php_view_vvvvvyq);
|
vvvvvyr(add_php_view_vvvvvyr);
|
||||||
|
|
||||||
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyr(add_php_jview_display_vvvvvyr);
|
vvvvvys(add_php_jview_display_vvvvvys);
|
||||||
|
|
||||||
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvys(add_php_jview_vvvvvys);
|
vvvvvyt(add_php_jview_vvvvvyt);
|
||||||
|
|
||||||
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyt(add_php_document_vvvvvyt);
|
vvvvvyu(add_php_document_vvvvvyu);
|
||||||
|
|
||||||
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyu(add_css_document_vvvvvyu);
|
vvvvvyv(add_css_document_vvvvvyv);
|
||||||
|
|
||||||
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyv(add_javascript_file_vvvvvyv);
|
vvvvvyw(add_javascript_file_vvvvvyw);
|
||||||
|
|
||||||
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvyw(add_js_document_vvvvvyw);
|
vvvvvyx(add_js_document_vvvvvyx);
|
||||||
|
|
||||||
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyx(add_css_vvvvvyx);
|
vvvvvyy(add_css_vvvvvyy);
|
||||||
|
|
||||||
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyy(add_php_ajax_vvvvvyy);
|
vvvvvyz(add_php_ajax_vvvvvyz);
|
||||||
|
|
||||||
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyz(add_custom_button_vvvvvyz);
|
vvvvvza(add_custom_button_vvvvvza);
|
||||||
|
|
||||||
var button_position_vvvvvza = jQuery("#jform_button_position").val();
|
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
|
||||||
vvvvvza(button_position_vvvvvza);
|
vvvvvzb(button_position_vvvvvzb);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvvyq function
|
// the vvvvvyr function
|
||||||
function vvvvvyq(add_php_view_vvvvvyq)
|
function vvvvvyr(add_php_view_vvvvvyr)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_view_vvvvvyq == 1)
|
if (add_php_view_vvvvvyr == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_view field
|
// add required attribute to php_view field
|
||||||
if (jform_vvvvvyqvyk_required)
|
if (jform_vvvvvyrvyn_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',0);
|
updateFieldRequired('php_view',0);
|
||||||
jQuery('#jform_php_view').prop('required','required');
|
jQuery('#jform_php_view').prop('required','required');
|
||||||
jQuery('#jform_php_view').attr('aria-required',true);
|
jQuery('#jform_php_view').attr('aria-required',true);
|
||||||
jQuery('#jform_php_view').addClass('required');
|
jQuery('#jform_php_view').addClass('required');
|
||||||
jform_vvvvvyqvyk_required = false;
|
jform_vvvvvyrvyn_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_view field
|
// remove required attribute from php_view field
|
||||||
if (!jform_vvvvvyqvyk_required)
|
if (!jform_vvvvvyrvyn_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',1);
|
updateFieldRequired('php_view',1);
|
||||||
jQuery('#jform_php_view').removeAttr('required');
|
jQuery('#jform_php_view').removeAttr('required');
|
||||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_view').removeClass('required');
|
jQuery('#jform_php_view').removeClass('required');
|
||||||
jform_vvvvvyqvyk_required = true;
|
jform_vvvvvyrvyn_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyr function
|
// the vvvvvys function
|
||||||
function vvvvvyr(add_php_jview_display_vvvvvyr)
|
function vvvvvys(add_php_jview_display_vvvvvys)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_jview_display_vvvvvyr == 1)
|
if (add_php_jview_display_vvvvvys == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_jview_display field
|
// add required attribute to php_jview_display field
|
||||||
if (jform_vvvvvyrvyl_required)
|
if (jform_vvvvvysvyo_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview_display',0);
|
updateFieldRequired('php_jview_display',0);
|
||||||
jQuery('#jform_php_jview_display').prop('required','required');
|
jQuery('#jform_php_jview_display').prop('required','required');
|
||||||
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
jQuery('#jform_php_jview_display').attr('aria-required',true);
|
||||||
jQuery('#jform_php_jview_display').addClass('required');
|
jQuery('#jform_php_jview_display').addClass('required');
|
||||||
jform_vvvvvyrvyl_required = false;
|
jform_vvvvvysvyo_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_jview_display field
|
// remove required attribute from php_jview_display field
|
||||||
if (!jform_vvvvvyrvyl_required)
|
if (!jform_vvvvvysvyo_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview_display',1);
|
updateFieldRequired('php_jview_display',1);
|
||||||
jQuery('#jform_php_jview_display').removeAttr('required');
|
jQuery('#jform_php_jview_display').removeAttr('required');
|
||||||
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
jQuery('#jform_php_jview_display').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_jview_display').removeClass('required');
|
jQuery('#jform_php_jview_display').removeClass('required');
|
||||||
jform_vvvvvyrvyl_required = true;
|
jform_vvvvvysvyo_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvys function
|
// the vvvvvyt function
|
||||||
function vvvvvys(add_php_jview_vvvvvys)
|
function vvvvvyt(add_php_jview_vvvvvyt)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_jview_vvvvvys == 1)
|
if (add_php_jview_vvvvvyt == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_jview field
|
// add required attribute to php_jview field
|
||||||
if (jform_vvvvvysvym_required)
|
if (jform_vvvvvytvyp_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview',0);
|
updateFieldRequired('php_jview',0);
|
||||||
jQuery('#jform_php_jview').prop('required','required');
|
jQuery('#jform_php_jview').prop('required','required');
|
||||||
jQuery('#jform_php_jview').attr('aria-required',true);
|
jQuery('#jform_php_jview').attr('aria-required',true);
|
||||||
jQuery('#jform_php_jview').addClass('required');
|
jQuery('#jform_php_jview').addClass('required');
|
||||||
jform_vvvvvysvym_required = false;
|
jform_vvvvvytvyp_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_jview field
|
// remove required attribute from php_jview field
|
||||||
if (!jform_vvvvvysvym_required)
|
if (!jform_vvvvvytvyp_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_jview',1);
|
updateFieldRequired('php_jview',1);
|
||||||
jQuery('#jform_php_jview').removeAttr('required');
|
jQuery('#jform_php_jview').removeAttr('required');
|
||||||
jQuery('#jform_php_jview').removeAttr('aria-required');
|
jQuery('#jform_php_jview').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_jview').removeClass('required');
|
jQuery('#jform_php_jview').removeClass('required');
|
||||||
jform_vvvvvysvym_required = true;
|
jform_vvvvvytvyp_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyt function
|
// the vvvvvyu function
|
||||||
function vvvvvyt(add_php_document_vvvvvyt)
|
function vvvvvyu(add_php_document_vvvvvyu)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_document_vvvvvyt == 1)
|
if (add_php_document_vvvvvyu == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_document field
|
// add required attribute to php_document field
|
||||||
if (jform_vvvvvytvyn_required)
|
if (jform_vvvvvyuvyq_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_document',0);
|
updateFieldRequired('php_document',0);
|
||||||
jQuery('#jform_php_document').prop('required','required');
|
jQuery('#jform_php_document').prop('required','required');
|
||||||
jQuery('#jform_php_document').attr('aria-required',true);
|
jQuery('#jform_php_document').attr('aria-required',true);
|
||||||
jQuery('#jform_php_document').addClass('required');
|
jQuery('#jform_php_document').addClass('required');
|
||||||
jform_vvvvvytvyn_required = false;
|
jform_vvvvvyuvyq_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_document field
|
// remove required attribute from php_document field
|
||||||
if (!jform_vvvvvytvyn_required)
|
if (!jform_vvvvvyuvyq_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_document',1);
|
updateFieldRequired('php_document',1);
|
||||||
jQuery('#jform_php_document').removeAttr('required');
|
jQuery('#jform_php_document').removeAttr('required');
|
||||||
jQuery('#jform_php_document').removeAttr('aria-required');
|
jQuery('#jform_php_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_document').removeClass('required');
|
jQuery('#jform_php_document').removeClass('required');
|
||||||
jform_vvvvvytvyn_required = true;
|
jform_vvvvvyuvyq_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyu function
|
// the vvvvvyv function
|
||||||
function vvvvvyu(add_css_document_vvvvvyu)
|
function vvvvvyv(add_css_document_vvvvvyv)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_document_vvvvvyu == 1)
|
if (add_css_document_vvvvvyv == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css_document field
|
// add required attribute to css_document field
|
||||||
if (jform_vvvvvyuvyo_required)
|
if (jform_vvvvvyvvyr_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_document',0);
|
updateFieldRequired('css_document',0);
|
||||||
jQuery('#jform_css_document').prop('required','required');
|
jQuery('#jform_css_document').prop('required','required');
|
||||||
jQuery('#jform_css_document').attr('aria-required',true);
|
jQuery('#jform_css_document').attr('aria-required',true);
|
||||||
jQuery('#jform_css_document').addClass('required');
|
jQuery('#jform_css_document').addClass('required');
|
||||||
jform_vvvvvyuvyo_required = false;
|
jform_vvvvvyvvyr_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css_document field
|
// remove required attribute from css_document field
|
||||||
if (!jform_vvvvvyuvyo_required)
|
if (!jform_vvvvvyvvyr_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css_document',1);
|
updateFieldRequired('css_document',1);
|
||||||
jQuery('#jform_css_document').removeAttr('required');
|
jQuery('#jform_css_document').removeAttr('required');
|
||||||
jQuery('#jform_css_document').removeAttr('aria-required');
|
jQuery('#jform_css_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_css_document').removeClass('required');
|
jQuery('#jform_css_document').removeClass('required');
|
||||||
jform_vvvvvyuvyo_required = true;
|
jform_vvvvvyvvyr_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyv function
|
// the vvvvvyw function
|
||||||
function vvvvvyv(add_javascript_file_vvvvvyv)
|
function vvvvvyw(add_javascript_file_vvvvvyw)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_javascript_file_vvvvvyv == 1)
|
if (add_javascript_file_vvvvvyw == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||||
// add required attribute to javascript_file field
|
// add required attribute to javascript_file field
|
||||||
if (jform_vvvvvyvvyp_required)
|
if (jform_vvvvvywvys_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_file',0);
|
updateFieldRequired('javascript_file',0);
|
||||||
jQuery('#jform_javascript_file').prop('required','required');
|
jQuery('#jform_javascript_file').prop('required','required');
|
||||||
jQuery('#jform_javascript_file').attr('aria-required',true);
|
jQuery('#jform_javascript_file').attr('aria-required',true);
|
||||||
jQuery('#jform_javascript_file').addClass('required');
|
jQuery('#jform_javascript_file').addClass('required');
|
||||||
jform_vvvvvyvvyp_required = false;
|
jform_vvvvvywvys_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from javascript_file field
|
// remove required attribute from javascript_file field
|
||||||
if (!jform_vvvvvyvvyp_required)
|
if (!jform_vvvvvywvys_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('javascript_file',1);
|
updateFieldRequired('javascript_file',1);
|
||||||
jQuery('#jform_javascript_file').removeAttr('required');
|
jQuery('#jform_javascript_file').removeAttr('required');
|
||||||
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
jQuery('#jform_javascript_file').removeAttr('aria-required');
|
||||||
jQuery('#jform_javascript_file').removeClass('required');
|
jQuery('#jform_javascript_file').removeClass('required');
|
||||||
jform_vvvvvyvvyp_required = true;
|
jform_vvvvvywvys_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyw function
|
// the vvvvvyx function
|
||||||
function vvvvvyw(add_js_document_vvvvvyw)
|
function vvvvvyx(add_js_document_vvvvvyx)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_js_document_vvvvvyw == 1)
|
if (add_js_document_vvvvvyx == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||||
// add required attribute to js_document field
|
// add required attribute to js_document field
|
||||||
if (jform_vvvvvywvyq_required)
|
if (jform_vvvvvyxvyt_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('js_document',0);
|
updateFieldRequired('js_document',0);
|
||||||
jQuery('#jform_js_document').prop('required','required');
|
jQuery('#jform_js_document').prop('required','required');
|
||||||
jQuery('#jform_js_document').attr('aria-required',true);
|
jQuery('#jform_js_document').attr('aria-required',true);
|
||||||
jQuery('#jform_js_document').addClass('required');
|
jQuery('#jform_js_document').addClass('required');
|
||||||
jform_vvvvvywvyq_required = false;
|
jform_vvvvvyxvyt_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from js_document field
|
// remove required attribute from js_document field
|
||||||
if (!jform_vvvvvywvyq_required)
|
if (!jform_vvvvvyxvyt_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('js_document',1);
|
updateFieldRequired('js_document',1);
|
||||||
jQuery('#jform_js_document').removeAttr('required');
|
jQuery('#jform_js_document').removeAttr('required');
|
||||||
jQuery('#jform_js_document').removeAttr('aria-required');
|
jQuery('#jform_js_document').removeAttr('aria-required');
|
||||||
jQuery('#jform_js_document').removeClass('required');
|
jQuery('#jform_js_document').removeClass('required');
|
||||||
jform_vvvvvywvyq_required = true;
|
jform_vvvvvyxvyt_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyx function
|
// the vvvvvyy function
|
||||||
function vvvvvyx(add_css_vvvvvyx)
|
function vvvvvyy(add_css_vvvvvyy)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_css_vvvvvyx == 1)
|
if (add_css_vvvvvyy == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||||
// add required attribute to css field
|
// add required attribute to css field
|
||||||
if (jform_vvvvvyxvyr_required)
|
if (jform_vvvvvyyvyu_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css',0);
|
updateFieldRequired('css',0);
|
||||||
jQuery('#jform_css').prop('required','required');
|
jQuery('#jform_css').prop('required','required');
|
||||||
jQuery('#jform_css').attr('aria-required',true);
|
jQuery('#jform_css').attr('aria-required',true);
|
||||||
jQuery('#jform_css').addClass('required');
|
jQuery('#jform_css').addClass('required');
|
||||||
jform_vvvvvyxvyr_required = false;
|
jform_vvvvvyyvyu_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
jQuery('#jform_css-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from css field
|
// remove required attribute from css field
|
||||||
if (!jform_vvvvvyxvyr_required)
|
if (!jform_vvvvvyyvyu_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('css',1);
|
updateFieldRequired('css',1);
|
||||||
jQuery('#jform_css').removeAttr('required');
|
jQuery('#jform_css').removeAttr('required');
|
||||||
jQuery('#jform_css').removeAttr('aria-required');
|
jQuery('#jform_css').removeAttr('aria-required');
|
||||||
jQuery('#jform_css').removeClass('required');
|
jQuery('#jform_css').removeClass('required');
|
||||||
jform_vvvvvyxvyr_required = true;
|
jform_vvvvvyyvyu_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyy function
|
// the vvvvvyz function
|
||||||
function vvvvvyy(add_php_ajax_vvvvvyy)
|
function vvvvvyz(add_php_ajax_vvvvvyz)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_php_ajax_vvvvvyy == 1)
|
if (add_php_ajax_vvvvvyz == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_ajaxmethod field
|
// add required attribute to php_ajaxmethod field
|
||||||
if (jform_vvvvvyyvys_required)
|
if (jform_vvvvvyzvyv_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_ajaxmethod',0);
|
updateFieldRequired('php_ajaxmethod',0);
|
||||||
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
jQuery('#jform_php_ajaxmethod').prop('required','required');
|
||||||
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
|
||||||
jQuery('#jform_php_ajaxmethod').addClass('required');
|
jQuery('#jform_php_ajaxmethod').addClass('required');
|
||||||
jform_vvvvvyyvys_required = false;
|
jform_vvvvvyzvyv_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -337,43 +337,43 @@ function vvvvvyy(add_php_ajax_vvvvvyy)
|
|||||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
|
||||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_ajaxmethod field
|
// remove required attribute from php_ajaxmethod field
|
||||||
if (!jform_vvvvvyyvys_required)
|
if (!jform_vvvvvyzvyv_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_ajaxmethod',1);
|
updateFieldRequired('php_ajaxmethod',1);
|
||||||
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
jQuery('#jform_php_ajaxmethod').removeAttr('required');
|
||||||
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
jQuery('#jform_php_ajaxmethod').removeClass('required');
|
||||||
jform_vvvvvyyvys_required = true;
|
jform_vvvvvyzvyv_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvyz function
|
// the vvvvvza function
|
||||||
function vvvvvyz(add_custom_button_vvvvvyz)
|
function vvvvvza(add_custom_button_vvvvvza)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (add_custom_button_vvvvvyz == 1)
|
if (add_custom_button_vvvvvza == 1)
|
||||||
{
|
{
|
||||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_controller field
|
// add required attribute to php_controller field
|
||||||
if (jform_vvvvvyzvyt_required)
|
if (jform_vvvvvzavyw_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_controller',0);
|
updateFieldRequired('php_controller',0);
|
||||||
jQuery('#jform_php_controller').prop('required','required');
|
jQuery('#jform_php_controller').prop('required','required');
|
||||||
jQuery('#jform_php_controller').attr('aria-required',true);
|
jQuery('#jform_php_controller').attr('aria-required',true);
|
||||||
jQuery('#jform_php_controller').addClass('required');
|
jQuery('#jform_php_controller').addClass('required');
|
||||||
jform_vvvvvyzvyt_required = false;
|
jform_vvvvvzavyw_required = false;
|
||||||
}
|
}
|
||||||
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
jQuery('#jform_php_model-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_model field
|
// add required attribute to php_model field
|
||||||
if (jform_vvvvvyzvyu_required)
|
if (jform_vvvvvzavyx_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_model',0);
|
updateFieldRequired('php_model',0);
|
||||||
jQuery('#jform_php_model').prop('required','required');
|
jQuery('#jform_php_model').prop('required','required');
|
||||||
jQuery('#jform_php_model').attr('aria-required',true);
|
jQuery('#jform_php_model').attr('aria-required',true);
|
||||||
jQuery('#jform_php_model').addClass('required');
|
jQuery('#jform_php_model').addClass('required');
|
||||||
jform_vvvvvyzvyu_required = false;
|
jform_vvvvvzavyx_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -381,41 +381,41 @@ function vvvvvyz(add_custom_button_vvvvvyz)
|
|||||||
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
|
||||||
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_controller field
|
// remove required attribute from php_controller field
|
||||||
if (!jform_vvvvvyzvyt_required)
|
if (!jform_vvvvvzavyw_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_controller',1);
|
updateFieldRequired('php_controller',1);
|
||||||
jQuery('#jform_php_controller').removeAttr('required');
|
jQuery('#jform_php_controller').removeAttr('required');
|
||||||
jQuery('#jform_php_controller').removeAttr('aria-required');
|
jQuery('#jform_php_controller').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_controller').removeClass('required');
|
jQuery('#jform_php_controller').removeClass('required');
|
||||||
jform_vvvvvyzvyt_required = true;
|
jform_vvvvvzavyw_required = true;
|
||||||
}
|
}
|
||||||
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_model field
|
// remove required attribute from php_model field
|
||||||
if (!jform_vvvvvyzvyu_required)
|
if (!jform_vvvvvzavyx_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_model',1);
|
updateFieldRequired('php_model',1);
|
||||||
jQuery('#jform_php_model').removeAttr('required');
|
jQuery('#jform_php_model').removeAttr('required');
|
||||||
jQuery('#jform_php_model').removeAttr('aria-required');
|
jQuery('#jform_php_model').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_model').removeClass('required');
|
jQuery('#jform_php_model').removeClass('required');
|
||||||
jform_vvvvvyzvyu_required = true;
|
jform_vvvvvzavyx_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvza function
|
// the vvvvvzb function
|
||||||
function vvvvvza(button_position_vvvvvza)
|
function vvvvvzb(button_position_vvvvvzb)
|
||||||
{
|
{
|
||||||
if (isSet(button_position_vvvvvza) && button_position_vvvvvza.constructor !== Array)
|
if (isSet(button_position_vvvvvzb) && button_position_vvvvvzb.constructor !== Array)
|
||||||
{
|
{
|
||||||
var temp_vvvvvza = button_position_vvvvvza;
|
var temp_vvvvvzb = button_position_vvvvvzb;
|
||||||
var button_position_vvvvvza = [];
|
var button_position_vvvvvzb = [];
|
||||||
button_position_vvvvvza.push(temp_vvvvvza);
|
button_position_vvvvvzb.push(temp_vvvvvzb);
|
||||||
}
|
}
|
||||||
else if (!isSet(button_position_vvvvvza))
|
else if (!isSet(button_position_vvvvvzb))
|
||||||
{
|
{
|
||||||
var button_position_vvvvvza = [];
|
var button_position_vvvvvzb = [];
|
||||||
}
|
}
|
||||||
var button_position = button_position_vvvvvza.some(button_position_vvvvvza_SomeFunc);
|
var button_position = button_position_vvvvvzb.some(button_position_vvvvvzb_SomeFunc);
|
||||||
|
|
||||||
|
|
||||||
// set this function logic
|
// set this function logic
|
||||||
@ -429,11 +429,11 @@ function vvvvvza(button_position_vvvvvza)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// the vvvvvza Some function
|
// the vvvvvzb Some function
|
||||||
function button_position_vvvvvza_SomeFunc(button_position_vvvvvza)
|
function button_position_vvvvvzb_SomeFunc(button_position_vvvvvzb)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// set the function logic
|
||||||
if (button_position_vvvvvza == 5)
|
if (button_position_vvvvvzb == 5)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -9,43 +9,43 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Some Global Values
|
// Some Global Values
|
||||||
jform_vvvvvzbvyv_required = false;
|
jform_vvvvvzcvyy_required = false;
|
||||||
|
|
||||||
// Initial Script
|
// Initial Script
|
||||||
jQuery(document).ready(function()
|
jQuery(document).ready(function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzb(add_php_view_vvvvvzb);
|
vvvvvzc(add_php_view_vvvvvzc);
|
||||||
});
|
});
|
||||||
|
|
||||||
// the vvvvvzb function
|
// the vvvvvzc function
|
||||||
function vvvvvzb(add_php_view_vvvvvzb)
|
function vvvvvzc(add_php_view_vvvvvzc)
|
||||||
{
|
{
|
||||||
// set the function logic
|
// 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();
|
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||||
// add required attribute to php_view field
|
// add required attribute to php_view field
|
||||||
if (jform_vvvvvzbvyv_required)
|
if (jform_vvvvvzcvyy_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',0);
|
updateFieldRequired('php_view',0);
|
||||||
jQuery('#jform_php_view').prop('required','required');
|
jQuery('#jform_php_view').prop('required','required');
|
||||||
jQuery('#jform_php_view').attr('aria-required',true);
|
jQuery('#jform_php_view').attr('aria-required',true);
|
||||||
jQuery('#jform_php_view').addClass('required');
|
jQuery('#jform_php_view').addClass('required');
|
||||||
jform_vvvvvzbvyv_required = false;
|
jform_vvvvvzcvyy_required = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
|
||||||
// remove required attribute from php_view field
|
// remove required attribute from php_view field
|
||||||
if (!jform_vvvvvzbvyv_required)
|
if (!jform_vvvvvzcvyy_required)
|
||||||
{
|
{
|
||||||
updateFieldRequired('php_view',1);
|
updateFieldRequired('php_view',1);
|
||||||
jQuery('#jform_php_view').removeAttr('required');
|
jQuery('#jform_php_view').removeAttr('required');
|
||||||
jQuery('#jform_php_view').removeAttr('aria-required');
|
jQuery('#jform_php_view').removeAttr('aria-required');
|
||||||
jQuery('#jform_php_view').removeClass('required');
|
jQuery('#jform_php_view').removeClass('required');
|
||||||
jform_vvvvvzbvyv_required = true;
|
jform_vvvvvzcvyy_required = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -466,13 +466,11 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
|
|||||||
}
|
}
|
||||||
// get the first array set
|
// get the first array set
|
||||||
$firstSet = reset($data['array']);
|
$firstSet = reset($data['array']);
|
||||||
|
|
||||||
// check if first array is a header array and remove if true
|
// check if first array is a header array and remove if true
|
||||||
if($firstSet[$id_key] == 'id' || $firstSet[$source_key] == 'Source' || $firstSet[$source_key] == 'English')
|
if($firstSet[$id_key] == 'id' || $firstSet[$source_key] == 'Source' || $firstSet[$source_key] == 'English')
|
||||||
{
|
{
|
||||||
array_shift($data['array']);
|
array_shift($data['array']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure there is still values in array and that it was not only headers
|
// make sure there is still values in array and that it was not only headers
|
||||||
if(ComponentbuilderHelper::checkArray($data['array']) && $user->authorise($table.'.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder'))
|
if(ComponentbuilderHelper::checkArray($data['array']) && $user->authorise($table.'.import', 'com_componentbuilder') && $user->authorise('core.import', 'com_componentbuilder'))
|
||||||
{
|
{
|
||||||
@ -485,30 +483,51 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
|
|||||||
// get global action permissions
|
// get global action permissions
|
||||||
$canDo = ComponentbuilderHelper::getActions($table);
|
$canDo = ComponentbuilderHelper::getActions($table);
|
||||||
$canEdit = $canDo->get('core.edit');
|
$canEdit = $canDo->get('core.edit');
|
||||||
// proses the data
|
$canCreate = $canDo->get('core.create');
|
||||||
|
$canState = $canDo->get('core.edit.state');
|
||||||
|
// get languages
|
||||||
|
$languages = ComponentbuilderHelper::getVars('language', 1, 'published', 'langtag');
|
||||||
|
// process the data
|
||||||
foreach($data['array'] as $row)
|
foreach($data['array'] as $row)
|
||||||
{
|
{
|
||||||
$found = false;
|
$found = false;
|
||||||
if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0)
|
$has_id = false;
|
||||||
|
if ($canEdit && isset($row[$source_key]) && ComponentbuilderHelper::checkString($row[$source_key]))
|
||||||
{
|
{
|
||||||
// raw items import & update!
|
// raw items import & update!
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$query
|
$query->select($db->quoteName(array('id', 'version', 'translation')));
|
||||||
->select($db->quoteName(array('version', 'translation')))
|
$query->from($db->quoteName('#__componentbuilder_'.$table));
|
||||||
->from($db->quoteName('#__componentbuilder_'.$table))
|
if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0)
|
||||||
->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key]))
|
{
|
||||||
->where($db->quoteName('source') . ' = '. $db->quote($row[$source_key]));
|
$query->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key]));
|
||||||
|
$has_id = true;
|
||||||
|
}
|
||||||
|
$query->where($db->quoteName('source') . ' = '. $db->quote($row[$source_key]));
|
||||||
|
// Reset the query using our newly populated query object.
|
||||||
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
|
$found = $db->getNumRows();
|
||||||
|
// check one more time, just with source
|
||||||
|
if(!$found && $has_id)
|
||||||
|
{
|
||||||
|
// raw items import & update!
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
$query->select($db->quoteName(array('id', 'version', 'translation')));
|
||||||
|
$query->from($db->quoteName('#__componentbuilder_'.$table));
|
||||||
|
$query->where($db->quoteName('source') . ' = '. $db->quote($row[$source_key]));
|
||||||
// Reset the query using our newly populated query object.
|
// Reset the query using our newly populated query object.
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
$db->execute();
|
$db->execute();
|
||||||
$found = $db->getNumRows();
|
$found = $db->getNumRows();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
// check if we found the string
|
||||||
if($found && $canEdit)
|
if($found && $canEdit)
|
||||||
{
|
{
|
||||||
// update item
|
// update item
|
||||||
$id = $row[$id_key];
|
|
||||||
$item = $db->loadObject();
|
$item = $db->loadObject();
|
||||||
|
$id = $item->id;
|
||||||
// load previous translation strings
|
// load previous translation strings
|
||||||
if (ComponentbuilderHelper::checkJson($item->translation))
|
if (ComponentbuilderHelper::checkJson($item->translation))
|
||||||
{
|
{
|
||||||
@ -522,8 +541,6 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
|
|||||||
$counter = 0;
|
$counter = 0;
|
||||||
$pre = false;
|
$pre = false;
|
||||||
}
|
}
|
||||||
// get languages
|
|
||||||
$languages = ComponentbuilderHelper::getVars('language', 1, 'published', 'langtag');
|
|
||||||
// reset all buckets
|
// reset all buckets
|
||||||
$query = $db->getQuery(true);
|
$query = $db->getQuery(true);
|
||||||
$fields = array();
|
$fields = array();
|
||||||
@ -531,7 +548,7 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
|
|||||||
foreach($row as $key => $cell)
|
foreach($row as $key => $cell)
|
||||||
{
|
{
|
||||||
// ignore column
|
// ignore column
|
||||||
if ('IGNORE' === $target[$key] || 'modified_by' === $target[$key] || 'modified' === $target[$key] || 'Source' === $target[$key] || 'English' === $target[$key] )
|
if ('IGNORE' === $target[$key] || 'modified_by' === $target[$key] || 'modified' === $target[$key] || 'created_by' === $target[$key] || 'created' === $target[$key] || 'source' === strtolower($target[$key]) || 'english' === strtolower($target[$key]))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -589,18 +606,95 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
|
|||||||
{
|
{
|
||||||
$fields[] = $db->quoteName('translation') . ' = ' . $db->quote(json_encode($translations, JSON_FORCE_OBJECT));
|
$fields[] = $db->quoteName('translation') . ' = ' . $db->quote(json_encode($translations, JSON_FORCE_OBJECT));
|
||||||
// load the defaults
|
// load the defaults
|
||||||
$fields[] = $db->quoteName('modified_by') . ' = ' . $db->quote($user->id);
|
$fields[] = $db->quoteName('modified_by') . ' = ' . (int) $user->id;
|
||||||
$fields[] = $db->quoteName('modified') . ' = ' . $db->quote($todayDate);
|
$fields[] = $db->quoteName('modified') . ' = ' . $db->quote($todayDate);
|
||||||
// Conditions for which records should be updated.
|
// Conditions for which records should be updated.
|
||||||
$conditions = array(
|
$conditions = array(
|
||||||
$db->quoteName('id') . ' = ' . $id
|
$db->quoteName('id') . ' = ' . $id
|
||||||
);
|
);
|
||||||
|
// update the local translation
|
||||||
$query->update($db->quoteName('#__componentbuilder_'.$table))->set($fields)->where($conditions);
|
$query->update($db->quoteName('#__componentbuilder_'.$table))->set($fields)->where($conditions);
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
$db->execute();
|
$db->execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elseif (!$found && $canCreate)
|
||||||
|
{
|
||||||
|
$translations = array();
|
||||||
|
$counter = 0;
|
||||||
|
// reset all buckets
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
$values = array();
|
||||||
|
$columns = array();
|
||||||
|
// Fields to update.
|
||||||
|
foreach($row as $key => $cell)
|
||||||
|
{
|
||||||
|
// ignore column
|
||||||
|
if ('IGNORE' === $target[$key] || 'modified_by' === $target[$key] || 'modified' === $target[$key] || 'created_by' === $target[$key] || 'created' === $target[$key] || 'version' == $target[$key])
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
// verify publish authority
|
||||||
|
if ('published' == $target[$key] && !$canState)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
// set to translations
|
||||||
|
if(in_array($target[$key], $languages))
|
||||||
|
{
|
||||||
|
// only add if it has a string
|
||||||
|
if (ComponentbuilderHelper::checkString($cell))
|
||||||
|
{
|
||||||
|
$translations['translation'.$counter] = array('language' => $target[$key], 'translation' => $cell);
|
||||||
|
$counter++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// load the source
|
||||||
|
elseif ('source' === strtolower($target[$key]) || 'english' === strtolower($target[$key]))
|
||||||
|
{
|
||||||
|
$columns[] = 'source';
|
||||||
|
$values[] = $db->quote($cell);
|
||||||
|
}
|
||||||
|
// set to update array
|
||||||
|
elseif(in_array($key, $data['target_headers']) && is_numeric($cell))
|
||||||
|
{
|
||||||
|
$columns[] = $target[$key];
|
||||||
|
$values[] = $cell;
|
||||||
|
}
|
||||||
|
elseif(in_array($key, $data['target_headers']) && is_string($cell))
|
||||||
|
{
|
||||||
|
$columns[] = $target[$key];
|
||||||
|
$values[] = $db->quote($cell);
|
||||||
|
}
|
||||||
|
elseif(in_array($key, $data['target_headers']) && is_null($cell))
|
||||||
|
{
|
||||||
|
// if import data is null then set empty
|
||||||
|
$columns[] = $target[$key];
|
||||||
|
$values[] = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// set the translation
|
||||||
|
if (ComponentbuilderHelper::checkArray($translations))
|
||||||
|
{
|
||||||
|
$columns[] = 'translation';
|
||||||
|
$values[] = $db->quote(json_encode($translations, JSON_FORCE_OBJECT));
|
||||||
|
}
|
||||||
|
// check if we have values
|
||||||
|
if (ComponentbuilderHelper::checkArray($values))
|
||||||
|
{
|
||||||
|
// load the defaults
|
||||||
|
$columns[] = 'created_by';
|
||||||
|
$values[] = (int) $user->id;
|
||||||
|
$columns[] = 'created';
|
||||||
|
$values[] = $db->quote($todayDate);
|
||||||
|
$columns[] = 'version';
|
||||||
|
$values[] = 1;
|
||||||
|
// update the local translation
|
||||||
|
$query->insert($db->quoteName('#__componentbuilder_'.$table))->columns($db->quoteName($columns))->values(implode(',', $values));
|
||||||
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -86,40 +86,16 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
$item->metadata = $registry->toArray();
|
$item->metadata = $registry->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->php_helper_admin))
|
|
||||||
{
|
|
||||||
// base64 Decode php_helper_admin.
|
|
||||||
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->sql))
|
|
||||||
{
|
|
||||||
// base64 Decode sql.
|
|
||||||
$item->sql = base64_decode($item->sql);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_preflight_update))
|
|
||||||
{
|
|
||||||
// base64 Decode php_preflight_update.
|
|
||||||
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->css_site))
|
|
||||||
{
|
|
||||||
// base64 Decode css_site.
|
|
||||||
$item->css_site = base64_decode($item->css_site);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($item->php_helper_site))
|
if (!empty($item->php_helper_site))
|
||||||
{
|
{
|
||||||
// base64 Decode php_helper_site.
|
// base64 Decode php_helper_site.
|
||||||
$item->php_helper_site = base64_decode($item->php_helper_site);
|
$item->php_helper_site = base64_decode($item->php_helper_site);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->javascript))
|
if (!empty($item->readme))
|
||||||
{
|
{
|
||||||
// base64 Decode javascript.
|
// base64 Decode readme.
|
||||||
$item->javascript = base64_decode($item->javascript);
|
$item->readme = base64_decode($item->readme);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->php_postflight_update))
|
if (!empty($item->php_postflight_update))
|
||||||
@ -128,10 +104,34 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->readme))
|
if (!empty($item->javascript))
|
||||||
{
|
{
|
||||||
// base64 Decode readme.
|
// base64 Decode javascript.
|
||||||
$item->readme = base64_decode($item->readme);
|
$item->javascript = base64_decode($item->javascript);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->css_site))
|
||||||
|
{
|
||||||
|
// base64 Decode css_site.
|
||||||
|
$item->css_site = base64_decode($item->css_site);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_preflight_update))
|
||||||
|
{
|
||||||
|
// base64 Decode php_preflight_update.
|
||||||
|
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->sql))
|
||||||
|
{
|
||||||
|
// base64 Decode sql.
|
||||||
|
$item->sql = base64_decode($item->sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!empty($item->php_helper_admin))
|
||||||
|
{
|
||||||
|
// base64 Decode php_helper_admin.
|
||||||
|
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($item->php_helper_both))
|
if (!empty($item->php_helper_both))
|
||||||
@ -193,18 +193,36 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
// Get the encryption object.
|
// Get the encryption object.
|
||||||
$basic = new FOFEncryptAes($basickey);
|
$basic = new FOFEncryptAes($basickey);
|
||||||
|
|
||||||
|
if (!empty($item->crowdin_account_api_key) && $basickey && !is_numeric($item->crowdin_account_api_key) && $item->crowdin_account_api_key === base64_encode(base64_decode($item->crowdin_account_api_key, true)))
|
||||||
|
{
|
||||||
|
// basic decrypt data crowdin_account_api_key.
|
||||||
|
$item->crowdin_account_api_key = rtrim($basic->decryptString($item->crowdin_account_api_key), "\0");
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
|
if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
|
||||||
{
|
{
|
||||||
// basic decrypt data whmcs_key.
|
// basic decrypt data whmcs_key.
|
||||||
$item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0");
|
$item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->crowdin_project_api_key) && $basickey && !is_numeric($item->crowdin_project_api_key) && $item->crowdin_project_api_key === base64_encode(base64_decode($item->crowdin_project_api_key, true)))
|
||||||
|
{
|
||||||
|
// basic decrypt data crowdin_project_api_key.
|
||||||
|
$item->crowdin_project_api_key = rtrim($basic->decryptString($item->crowdin_project_api_key), "\0");
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->export_key) && $basickey && !is_numeric($item->export_key) && $item->export_key === base64_encode(base64_decode($item->export_key, true)))
|
if (!empty($item->export_key) && $basickey && !is_numeric($item->export_key) && $item->export_key === base64_encode(base64_decode($item->export_key, true)))
|
||||||
{
|
{
|
||||||
// basic decrypt data export_key.
|
// basic decrypt data export_key.
|
||||||
$item->export_key = rtrim($basic->decryptString($item->export_key), "\0");
|
$item->export_key = rtrim($basic->decryptString($item->export_key), "\0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($item->crowdin_username) && $basickey && !is_numeric($item->crowdin_username) && $item->crowdin_username === base64_encode(base64_decode($item->crowdin_username, true)))
|
||||||
|
{
|
||||||
|
// basic decrypt data crowdin_username.
|
||||||
|
$item->crowdin_username = rtrim($basic->decryptString($item->crowdin_username), "\0");
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($item->addcontributors))
|
if (!empty($item->addcontributors))
|
||||||
{
|
{
|
||||||
// Convert the addcontributors field to an array.
|
// Convert the addcontributors field to an array.
|
||||||
@ -627,6 +645,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
'component_config' => 'joomla_component',
|
'component_config' => 'joomla_component',
|
||||||
'component_dashboard' => 'joomla_component',
|
'component_dashboard' => 'joomla_component',
|
||||||
'component_files_folders' => 'joomla_component',
|
'component_files_folders' => 'joomla_component',
|
||||||
|
'component_placeholders' => 'joomla_component',
|
||||||
'custom_code' => 'component'
|
'custom_code' => 'component'
|
||||||
);
|
);
|
||||||
foreach($_tablesArray as $_updateTable => $_key)
|
foreach($_tablesArray as $_updateTable => $_key)
|
||||||
@ -675,6 +694,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
'component_config' => 'joomla_component',
|
'component_config' => 'joomla_component',
|
||||||
'component_dashboard' => 'joomla_component',
|
'component_dashboard' => 'joomla_component',
|
||||||
'component_files_folders' => 'joomla_component',
|
'component_files_folders' => 'joomla_component',
|
||||||
|
'component_placeholders' => 'joomla_component',
|
||||||
'custom_code' => 'component'
|
'custom_code' => 'component'
|
||||||
);
|
);
|
||||||
foreach($_tablesArray as $_updateTable => $_key)
|
foreach($_tablesArray as $_updateTable => $_key)
|
||||||
@ -1083,40 +1103,16 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
$data['addcontributors'] = '';
|
$data['addcontributors'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the php_helper_admin string to base64 string.
|
|
||||||
if (isset($data['php_helper_admin']))
|
|
||||||
{
|
|
||||||
$data['php_helper_admin'] = base64_encode($data['php_helper_admin']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the sql string to base64 string.
|
|
||||||
if (isset($data['sql']))
|
|
||||||
{
|
|
||||||
$data['sql'] = base64_encode($data['sql']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_preflight_update string to base64 string.
|
|
||||||
if (isset($data['php_preflight_update']))
|
|
||||||
{
|
|
||||||
$data['php_preflight_update'] = base64_encode($data['php_preflight_update']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the css_site string to base64 string.
|
|
||||||
if (isset($data['css_site']))
|
|
||||||
{
|
|
||||||
$data['css_site'] = base64_encode($data['css_site']);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the php_helper_site string to base64 string.
|
// Set the php_helper_site string to base64 string.
|
||||||
if (isset($data['php_helper_site']))
|
if (isset($data['php_helper_site']))
|
||||||
{
|
{
|
||||||
$data['php_helper_site'] = base64_encode($data['php_helper_site']);
|
$data['php_helper_site'] = base64_encode($data['php_helper_site']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the javascript string to base64 string.
|
// Set the readme string to base64 string.
|
||||||
if (isset($data['javascript']))
|
if (isset($data['readme']))
|
||||||
{
|
{
|
||||||
$data['javascript'] = base64_encode($data['javascript']);
|
$data['readme'] = base64_encode($data['readme']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the php_postflight_update string to base64 string.
|
// Set the php_postflight_update string to base64 string.
|
||||||
@ -1125,10 +1121,34 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
|
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the readme string to base64 string.
|
// Set the javascript string to base64 string.
|
||||||
if (isset($data['readme']))
|
if (isset($data['javascript']))
|
||||||
{
|
{
|
||||||
$data['readme'] = base64_encode($data['readme']);
|
$data['javascript'] = base64_encode($data['javascript']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the css_site string to base64 string.
|
||||||
|
if (isset($data['css_site']))
|
||||||
|
{
|
||||||
|
$data['css_site'] = base64_encode($data['css_site']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_preflight_update string to base64 string.
|
||||||
|
if (isset($data['php_preflight_update']))
|
||||||
|
{
|
||||||
|
$data['php_preflight_update'] = base64_encode($data['php_preflight_update']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the sql string to base64 string.
|
||||||
|
if (isset($data['sql']))
|
||||||
|
{
|
||||||
|
$data['sql'] = base64_encode($data['sql']);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set the php_helper_admin string to base64 string.
|
||||||
|
if (isset($data['php_helper_admin']))
|
||||||
|
{
|
||||||
|
$data['php_helper_admin'] = base64_encode($data['php_helper_admin']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the php_helper_both string to base64 string.
|
// Set the php_helper_both string to base64 string.
|
||||||
@ -1190,18 +1210,36 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
// Get the encryption object
|
// Get the encryption object
|
||||||
$basic = new FOFEncryptAes($basickey);
|
$basic = new FOFEncryptAes($basickey);
|
||||||
|
|
||||||
|
// Encrypt data crowdin_account_api_key.
|
||||||
|
if (isset($data['crowdin_account_api_key']) && $basickey)
|
||||||
|
{
|
||||||
|
$data['crowdin_account_api_key'] = $basic->encryptString($data['crowdin_account_api_key']);
|
||||||
|
}
|
||||||
|
|
||||||
// Encrypt data whmcs_key.
|
// Encrypt data whmcs_key.
|
||||||
if (isset($data['whmcs_key']) && $basickey)
|
if (isset($data['whmcs_key']) && $basickey)
|
||||||
{
|
{
|
||||||
$data['whmcs_key'] = $basic->encryptString($data['whmcs_key']);
|
$data['whmcs_key'] = $basic->encryptString($data['whmcs_key']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Encrypt data crowdin_project_api_key.
|
||||||
|
if (isset($data['crowdin_project_api_key']) && $basickey)
|
||||||
|
{
|
||||||
|
$data['crowdin_project_api_key'] = $basic->encryptString($data['crowdin_project_api_key']);
|
||||||
|
}
|
||||||
|
|
||||||
// Encrypt data export_key.
|
// Encrypt data export_key.
|
||||||
if (isset($data['export_key']) && $basickey)
|
if (isset($data['export_key']) && $basickey)
|
||||||
{
|
{
|
||||||
$data['export_key'] = $basic->encryptString($data['export_key']);
|
$data['export_key'] = $basic->encryptString($data['export_key']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Encrypt data crowdin_username.
|
||||||
|
if (isset($data['crowdin_username']) && $basickey)
|
||||||
|
{
|
||||||
|
$data['crowdin_username'] = $basic->encryptString($data['crowdin_username']);
|
||||||
|
}
|
||||||
|
|
||||||
// we check if component should be build from sql file
|
// we check if component should be build from sql file
|
||||||
if (isset($data['buildcomp']) && 1 == $data['buildcomp'])
|
if (isset($data['buildcomp']) && 1 == $data['buildcomp'])
|
||||||
{
|
{
|
||||||
|
@ -2084,35 +2084,40 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// decode php_helper_admin
|
|
||||||
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
|
||||||
// decode sql
|
|
||||||
$item->sql = base64_decode($item->sql);
|
|
||||||
// decode php_preflight_update
|
|
||||||
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
|
||||||
// decode css_site
|
|
||||||
$item->css_site = base64_decode($item->css_site);
|
|
||||||
// decode php_helper_site
|
// decode php_helper_site
|
||||||
$item->php_helper_site = base64_decode($item->php_helper_site);
|
$item->php_helper_site = base64_decode($item->php_helper_site);
|
||||||
// decode javascript
|
if ($basickey && !is_numeric($item->crowdin_account_api_key) && $item->crowdin_account_api_key === base64_encode(base64_decode($item->crowdin_account_api_key, true)))
|
||||||
$item->javascript = base64_decode($item->javascript);
|
{
|
||||||
// decode php_postflight_update
|
// decrypt crowdin_account_api_key
|
||||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
$item->crowdin_account_api_key = $basic->decryptString($item->crowdin_account_api_key);
|
||||||
|
}
|
||||||
// decode readme
|
// decode readme
|
||||||
$item->readme = base64_decode($item->readme);
|
$item->readme = base64_decode($item->readme);
|
||||||
|
// decode php_postflight_update
|
||||||
|
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||||
|
// decode javascript
|
||||||
|
$item->javascript = base64_decode($item->javascript);
|
||||||
|
// decode css_site
|
||||||
|
$item->css_site = base64_decode($item->css_site);
|
||||||
|
// decode php_preflight_update
|
||||||
|
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
||||||
|
// decode sql
|
||||||
|
$item->sql = base64_decode($item->sql);
|
||||||
|
// decode php_helper_admin
|
||||||
|
$item->php_helper_admin = base64_decode($item->php_helper_admin);
|
||||||
// decode php_helper_both
|
// decode php_helper_both
|
||||||
$item->php_helper_both = base64_decode($item->php_helper_both);
|
$item->php_helper_both = base64_decode($item->php_helper_both);
|
||||||
// decode php_admin_event
|
// decode php_admin_event
|
||||||
$item->php_admin_event = base64_decode($item->php_admin_event);
|
$item->php_admin_event = base64_decode($item->php_admin_event);
|
||||||
|
// decode php_site_event
|
||||||
|
$item->php_site_event = base64_decode($item->php_site_event);
|
||||||
|
// decode css_admin
|
||||||
|
$item->css_admin = base64_decode($item->css_admin);
|
||||||
if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
|
if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
|
||||||
{
|
{
|
||||||
// decrypt whmcs_key
|
// decrypt whmcs_key
|
||||||
$item->whmcs_key = $basic->decryptString($item->whmcs_key);
|
$item->whmcs_key = $basic->decryptString($item->whmcs_key);
|
||||||
}
|
}
|
||||||
// decode php_site_event
|
|
||||||
$item->php_site_event = base64_decode($item->php_site_event);
|
|
||||||
// decode css_admin
|
|
||||||
$item->css_admin = base64_decode($item->css_admin);
|
|
||||||
// decode php_preflight_install
|
// decode php_preflight_install
|
||||||
$item->php_preflight_install = base64_decode($item->php_preflight_install);
|
$item->php_preflight_install = base64_decode($item->php_preflight_install);
|
||||||
// decode php_postflight_install
|
// decode php_postflight_install
|
||||||
@ -2121,11 +2126,21 @@ class ComponentbuilderModelJoomla_components extends JModelList
|
|||||||
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
|
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
|
||||||
// decode sql_uninstall
|
// decode sql_uninstall
|
||||||
$item->sql_uninstall = base64_decode($item->sql_uninstall);
|
$item->sql_uninstall = base64_decode($item->sql_uninstall);
|
||||||
|
if ($basickey && !is_numeric($item->crowdin_project_api_key) && $item->crowdin_project_api_key === base64_encode(base64_decode($item->crowdin_project_api_key, true)))
|
||||||
|
{
|
||||||
|
// decrypt crowdin_project_api_key
|
||||||
|
$item->crowdin_project_api_key = $basic->decryptString($item->crowdin_project_api_key);
|
||||||
|
}
|
||||||
if ($basickey && !is_numeric($item->export_key) && $item->export_key === base64_encode(base64_decode($item->export_key, true)))
|
if ($basickey && !is_numeric($item->export_key) && $item->export_key === base64_encode(base64_decode($item->export_key, true)))
|
||||||
{
|
{
|
||||||
// decrypt export_key
|
// decrypt export_key
|
||||||
$item->export_key = $basic->decryptString($item->export_key);
|
$item->export_key = $basic->decryptString($item->export_key);
|
||||||
}
|
}
|
||||||
|
if ($basickey && !is_numeric($item->crowdin_username) && $item->crowdin_username === base64_encode(base64_decode($item->crowdin_username, true)))
|
||||||
|
{
|
||||||
|
// decrypt crowdin_username
|
||||||
|
$item->crowdin_username = $basic->decryptString($item->crowdin_username);
|
||||||
|
}
|
||||||
// decode buildcompsql
|
// decode buildcompsql
|
||||||
$item->buildcompsql = base64_decode($item->buildcompsql);
|
$item->buildcompsql = base64_decode($item->buildcompsql);
|
||||||
// unset the values we don't want exported.
|
// unset the values we don't want exported.
|
||||||
|
@ -156,7 +156,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
|||||||
*
|
*
|
||||||
* @return mixed An array of data items on success, false on failure.
|
* @return mixed An array of data items on success, false on failure.
|
||||||
*/
|
*/
|
||||||
public function getWawlinked_components()
|
public function getWazlinked_components()
|
||||||
{
|
{
|
||||||
// Get the user object.
|
// Get the user object.
|
||||||
$user = JFactory::getUser();
|
$user = JFactory::getUser();
|
||||||
|
@ -34,6 +34,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
|
|||||||
`component_version` CHAR(64) NOT NULL DEFAULT '',
|
`component_version` CHAR(64) NOT NULL DEFAULT '',
|
||||||
`copyright` VARCHAR(255) NOT NULL DEFAULT '',
|
`copyright` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`creatuserhelper` TINYINT(1) NOT NULL DEFAULT 0,
|
`creatuserhelper` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
|
`crowdin_account_api_key` TEXT NOT NULL,
|
||||||
|
`crowdin_project_api_key` TEXT NOT NULL,
|
||||||
|
`crowdin_project_identifier` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
|
`crowdin_username` TEXT NOT NULL,
|
||||||
`css_admin` TEXT NOT NULL,
|
`css_admin` TEXT NOT NULL,
|
||||||
`css_site` TEXT NOT NULL,
|
`css_site` TEXT NOT NULL,
|
||||||
`dashboard` VARCHAR(64) NOT NULL DEFAULT '',
|
`dashboard` VARCHAR(64) NOT NULL DEFAULT '',
|
||||||
@ -72,6 +76,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
|
|||||||
`sql_uninstall` MEDIUMTEXT NOT NULL,
|
`sql_uninstall` MEDIUMTEXT NOT NULL,
|
||||||
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
|
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
`toignore` TEXT NOT NULL,
|
`toignore` TEXT NOT NULL,
|
||||||
|
`translation_tool` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
`update_server` INT(11) NOT NULL DEFAULT 0,
|
`update_server` INT(11) NOT NULL DEFAULT 0,
|
||||||
`update_server_target` TINYINT(1) NOT NULL DEFAULT 0,
|
`update_server_target` TINYINT(1) NOT NULL DEFAULT 0,
|
||||||
`update_server_url` VARCHAR(255) NOT NULL DEFAULT '',
|
`update_server_url` VARCHAR(255) NOT NULL DEFAULT '',
|
||||||
@ -102,16 +107,14 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
|
|||||||
KEY `idx_state` (`published`),
|
KEY `idx_state` (`published`),
|
||||||
KEY `idx_system_name` (`system_name`),
|
KEY `idx_system_name` (`system_name`),
|
||||||
KEY `idx_name_code` (`name_code`),
|
KEY `idx_name_code` (`name_code`),
|
||||||
KEY `idx_add_email_helper` (`add_email_helper`),
|
|
||||||
KEY `idx_debug_linenr` (`debug_linenr`),
|
KEY `idx_debug_linenr` (`debug_linenr`),
|
||||||
KEY `idx_mvc_versiondate` (`mvc_versiondate`),
|
KEY `idx_mvc_versiondate` (`mvc_versiondate`),
|
||||||
KEY `idx_add_placeholders` (`add_placeholders`),
|
KEY `idx_add_placeholders` (`add_placeholders`),
|
||||||
KEY `idx_add_license` (`add_license`),
|
|
||||||
KEY `idx_adduikit` (`adduikit`),
|
|
||||||
KEY `idx_license_type` (`license_type`),
|
|
||||||
KEY `idx_update_server_target` (`update_server_target`),
|
KEY `idx_update_server_target` (`update_server_target`),
|
||||||
|
KEY `idx_add_email_helper` (`add_email_helper`),
|
||||||
|
KEY `idx_add_license` (`add_license`),
|
||||||
|
KEY `idx_license_type` (`license_type`),
|
||||||
KEY `idx_add_update_server` (`add_update_server`),
|
KEY `idx_add_update_server` (`add_update_server`),
|
||||||
KEY `idx_creatuserhelper` (`creatuserhelper`),
|
|
||||||
KEY `idx_addfootable` (`addfootable`),
|
KEY `idx_addfootable` (`addfootable`),
|
||||||
KEY `idx_add_php_helper_both` (`add_php_helper_both`),
|
KEY `idx_add_php_helper_both` (`add_php_helper_both`),
|
||||||
KEY `idx_add_php_helper_admin` (`add_php_helper_admin`),
|
KEY `idx_add_php_helper_admin` (`add_php_helper_admin`),
|
||||||
@ -132,7 +135,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
|
|||||||
KEY `idx_add_sql_uninstall` (`add_sql_uninstall`),
|
KEY `idx_add_sql_uninstall` (`add_sql_uninstall`),
|
||||||
KEY `idx_addreadme` (`addreadme`),
|
KEY `idx_addreadme` (`addreadme`),
|
||||||
KEY `idx_emptycontributors` (`emptycontributors`),
|
KEY `idx_emptycontributors` (`emptycontributors`),
|
||||||
KEY `idx_add_sales_server` (`add_sales_server`)
|
KEY `idx_add_sales_server` (`add_sales_server`),
|
||||||
|
KEY `idx_translation_tool` (`translation_tool`),
|
||||||
|
KEY `idx_creatuserhelper` (`creatuserhelper`),
|
||||||
|
KEY `idx_adduikit` (`adduikit`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||||
@ -1686,7 +1692,8 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name
|
|||||||
(34, '', 'Remember all views already have [accesslevel] added by default, only add this if you need more custom access selection! Provides a dropdown list of accesslevel options with the current option selected.', 'Accesslevel', '{\"properties0\":{\"name\":\"type\",\"example\":\"accesslevel\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be accesslevel\"},\"properties1\":{\"name\":\"name\",\"example\":\"accesstwo\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute. \"},\"properties2\":{\"name\":\"label\",\"example\":\"Access Two\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"Select an access level to this concept.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"class\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field.\"},\"properties5\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is the field required true if yes.\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) If set to multiple then allows more than one usergroup to be selected.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'List of accesslevels', '', 1, 3, '', 5),
|
(34, '', 'Remember all views already have [accesslevel] added by default, only add this if you need more custom access selection! Provides a dropdown list of accesslevel options with the current option selected.', 'Accesslevel', '{\"properties0\":{\"name\":\"type\",\"example\":\"accesslevel\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be accesslevel\"},\"properties1\":{\"name\":\"name\",\"example\":\"accesstwo\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute. \"},\"properties2\":{\"name\":\"label\",\"example\":\"Access Two\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"Select an access level to this concept.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"class\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field.\"},\"properties5\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is the field required true if yes.\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) If set to multiple then allows more than one usergroup to be selected.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'List of accesslevels', '', 1, 3, '', 5),
|
||||||
(35, '', 'Provides a form with rows of fields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Subform', '{\"properties0\":{\"name\":\"type\",\"example\":\"subform\",\"description\":\"(mandatory) must be subform.\"},\"properties1\":{\"name\":\"name\",\"example\":\"options\",\"adjustable\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter\"},\"properties2\":{\"name\":\"label\",\"example\":\"The Option List\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"layout\",\"example\":\"joomla.form.field.subform.repeatable-table\",\"adjustable\":\"1\",\"description\":\"(mandatory) The layout for the repeatable table.\"},\"properties4\":{\"name\":\"component\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) To change the component where it should search for layout\"},\"properties5\":{\"name\":\"client\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Function to initialise the application client<br \\/>Frontend: <code>site<\\/code> or <code>0<\\/code><br \\/>Backend: <code>admin<\\/code> or <code>1<\\/code>\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"true\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The rows to be multiple.\"},\"properties7\":{\"name\":\"buttons\",\"example\":\"add,remove,move\",\"adjustable\":\"1\",\"description\":\"(optional) Which buttons to show if multiple mode is true.<br \\/>Options: <code>add,remove,move<\\/code>\"},\"properties8\":{\"name\":\"fields\",\"example\":\"1,2,3\",\"adjustable\":\"1\",\"description\":\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\"},\"properties9\":{\"name\":\"formsource\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) you can add a path to a xml file containing the fields.\"},\"properties10\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\"},\"properties11\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\"},\"properties12\":{\"name\":\"icon\",\"example\":\"list\",\"adjustable\":\"1\",\"description\":\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\"},\"properties13\":{\"name\":\"max\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\"},\"properties14\":{\"name\":\"min\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The minimum number of rows of fields required\"},\"properties15\":{\"name\":\"filter\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Use only if you would like to save raw data, since the default is best.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Allows form fields which can have as many options as the user desires.', '', 1, 13, '', 6),
|
(35, '', 'Provides a form with rows of fields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Subform', '{\"properties0\":{\"name\":\"type\",\"example\":\"subform\",\"description\":\"(mandatory) must be subform.\"},\"properties1\":{\"name\":\"name\",\"example\":\"options\",\"adjustable\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter\"},\"properties2\":{\"name\":\"label\",\"example\":\"The Option List\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"layout\",\"example\":\"joomla.form.field.subform.repeatable-table\",\"adjustable\":\"1\",\"description\":\"(mandatory) The layout for the repeatable table.\"},\"properties4\":{\"name\":\"component\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) To change the component where it should search for layout\"},\"properties5\":{\"name\":\"client\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Function to initialise the application client<br \\/>Frontend: <code>site<\\/code> or <code>0<\\/code><br \\/>Backend: <code>admin<\\/code> or <code>1<\\/code>\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"true\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The rows to be multiple.\"},\"properties7\":{\"name\":\"buttons\",\"example\":\"add,remove,move\",\"adjustable\":\"1\",\"description\":\"(optional) Which buttons to show if multiple mode is true.<br \\/>Options: <code>add,remove,move<\\/code>\"},\"properties8\":{\"name\":\"fields\",\"example\":\"1,2,3\",\"adjustable\":\"1\",\"description\":\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\"},\"properties9\":{\"name\":\"formsource\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) you can add a path to a xml file containing the fields.\"},\"properties10\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\"},\"properties11\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\"},\"properties12\":{\"name\":\"icon\",\"example\":\"list\",\"adjustable\":\"1\",\"description\":\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\"},\"properties13\":{\"name\":\"max\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\"},\"properties14\":{\"name\":\"min\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The minimum number of rows of fields required\"},\"properties15\":{\"name\":\"filter\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Use only if you would like to save raw data, since the default is best.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Allows form fields which can have as many options as the user desires.', '', 1, 13, '', 6),
|
||||||
(36, '', 'Provides an input field for an email address.', 'Email', '{\"properties0\":{\"name\":\"type\",\"example\":\"email\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be email.\"},\"properties1\":{\"name\":\"name\",\"example\":\"email\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Email Address\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter some description\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"inputbox\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"email\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"unique\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) Used in validation, to check if we should test for uniqueness, to insure that this email does not already belong to another user. Check line 99 in \\/libraries\\/src\\/Form\\/Rule\\/EmailRule.php\"},\"properties14\":{\"name\":\"field\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) used in validation of \\\"equals\\\" to link the field to match.\"},\"properties15\":{\"name\":\"message\",\"example\":\"Error! Please add some text here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties16\":{\"name\":\"hint\",\"example\":\"your@email.com\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties17\":{\"name\":\"autocomplete\",\"example\":\"on\",\"adjustable\":\"1\",\"description\":\"(optional) The autocomplete state for the form field. If \'off\' element will not be automatically completed by browser.\"},\"properties18\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties19\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'Email form field type', '', 1, 6, '', 7),
|
(36, '', 'Provides an input field for an email address.', 'Email', '{\"properties0\":{\"name\":\"type\",\"example\":\"email\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be email.\"},\"properties1\":{\"name\":\"name\",\"example\":\"email\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Email Address\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter some description\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"inputbox\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"email\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"unique\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) Used in validation, to check if we should test for uniqueness, to insure that this email does not already belong to another user. Check line 99 in \\/libraries\\/src\\/Form\\/Rule\\/EmailRule.php\"},\"properties14\":{\"name\":\"field\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) used in validation of \\\"equals\\\" to link the field to match.\"},\"properties15\":{\"name\":\"message\",\"example\":\"Error! Please add some text here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties16\":{\"name\":\"hint\",\"example\":\"your@email.com\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties17\":{\"name\":\"autocomplete\",\"example\":\"on\",\"adjustable\":\"1\",\"description\":\"(optional) The autocomplete state for the form field. If \'off\' element will not be automatically completed by browser.\"},\"properties18\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties19\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'Email form field type', '', 1, 6, '', 7),
|
||||||
(37, '', 'Provides a dropdown list of plugin options from the folder.', 'Plugins', '{\"properties0\":{\"name\":\"type\",\"example\":\"plugins\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be editors.\"},\"properties1\":{\"name\":\"name\",\"example\":\"editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select an editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\"},\"properties5\":{\"name\":\"folder\",\"example\":\"editors\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) editors or captcha.\"},\"properties6\":{\"name\":\"filter\",\"example\":\"cmd\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Provides a dropdown list of plugin options from the folder.', '', 1, 6, '', 8);
|
(37, '', 'Provides a dropdown list of plugin options from the folder.', 'Plugins', '{\"properties0\":{\"name\":\"type\",\"example\":\"plugins\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be editors.\"},\"properties1\":{\"name\":\"name\",\"example\":\"editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select an editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\"},\"properties5\":{\"name\":\"folder\",\"example\":\"editors\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) editors or captcha.\"},\"properties6\":{\"name\":\"filter\",\"example\":\"cmd\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Provides a dropdown list of plugin options from the folder.', '', 1, 6, '', 8),
|
||||||
|
(38, '', 'Provides the use of a captcha plugin.', 'Captcha', '{\"properties0\":{\"name\":\"type\",\"example\":\"captcha\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be captcha.\"},\"properties3\":{\"name\":\"name\",\"example\":\"captcha\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"validate\",\"example\":\"captcha\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be captcha.\"},\"properties1\":{\"name\":\"label\",\"example\":\"Captcha\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties4\":{\"name\":\"description\",\"example\":\"We do not like spam, please show us you are human\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties5\":{\"name\":\"namespace\",\"example\":\"componentbuilder\",\"description\":\"(optional) the component name seems to work\"}}', 'Captcha robot check.', '', 1, 2, '', 9);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Dumping data for table `#__componentbuilder_language`
|
-- Dumping data for table `#__componentbuilder_language`
|
||||||
|
9
admin/sql/updates/mysql/2.9.16.sql
Normal file
9
admin/sql/updates/mysql/2.9.16.sql
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ADD `crowdin_account_api_key` TEXT NOT NULL AFTER `creatuserhelper`;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ADD `crowdin_project_api_key` TEXT NOT NULL AFTER `crowdin_account_api_key`;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ADD `crowdin_project_identifier` VARCHAR(255) NOT NULL DEFAULT '' AFTER `crowdin_project_api_key`;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ADD `crowdin_username` TEXT NOT NULL AFTER `crowdin_project_identifier`;
|
||||||
|
|
||||||
|
ALTER TABLE `#__componentbuilder_joomla_component` ADD `translation_tool` TINYINT(1) NOT NULL DEFAULT 0 AFTER `toignore`;
|
@ -209,461 +209,446 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_add_css_view listeners for add_css_view_vvvvvxa function
|
// #jform_add_css_view listeners for add_css_view_vvvvvxb function
|
||||||
jQuery('#jform_add_css_view').on('keyup',function()
|
jQuery('#jform_add_css_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_view_vvvvvxa = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||||
vvvvvxa(add_css_view_vvvvvxa);
|
vvvvvxb(add_css_view_vvvvvxb);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_view_vvvvvxa = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||||
vvvvvxa(add_css_view_vvvvvxa);
|
vvvvvxb(add_css_view_vvvvvxb);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css_views listeners for add_css_views_vvvvvxb function
|
// #jform_add_css_views listeners for add_css_views_vvvvvxc function
|
||||||
jQuery('#jform_add_css_views').on('keyup',function()
|
jQuery('#jform_add_css_views').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_views_vvvvvxb = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||||
vvvvvxb(add_css_views_vvvvvxb);
|
vvvvvxc(add_css_views_vvvvvxc);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_views_vvvvvxb = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||||
vvvvvxb(add_css_views_vvvvvxb);
|
vvvvvxc(add_css_views_vvvvvxc);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxc function
|
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxd function
|
||||||
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_view_file_vvvvvxc = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||||
vvvvvxc(add_javascript_view_file_vvvvvxc);
|
vvvvvxd(add_javascript_view_file_vvvvvxd);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_view_file_vvvvvxc = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||||
vvvvvxc(add_javascript_view_file_vvvvvxc);
|
vvvvvxd(add_javascript_view_file_vvvvvxd);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxd function
|
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxe function
|
||||||
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_views_file_vvvvvxd = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||||
vvvvvxd(add_javascript_views_file_vvvvvxd);
|
vvvvvxe(add_javascript_views_file_vvvvvxe);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_views_file_vvvvvxd = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||||
vvvvvxd(add_javascript_views_file_vvvvvxd);
|
vvvvvxe(add_javascript_views_file_vvvvvxe);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxe function
|
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxf function
|
||||||
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_view_footer_vvvvvxe = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||||
vvvvvxe(add_javascript_view_footer_vvvvvxe);
|
vvvvvxf(add_javascript_view_footer_vvvvvxf);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_view_footer_vvvvvxe = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||||
vvvvvxe(add_javascript_view_footer_vvvvvxe);
|
vvvvvxf(add_javascript_view_footer_vvvvvxf);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxf function
|
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxg function
|
||||||
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_views_footer_vvvvvxf = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||||
vvvvvxf(add_javascript_views_footer_vvvvvxf);
|
vvvvvxg(add_javascript_views_footer_vvvvvxg);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_views_footer_vvvvvxf = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||||
vvvvvxf(add_javascript_views_footer_vvvvvxf);
|
vvvvvxg(add_javascript_views_footer_vvvvvxg);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxg function
|
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxh function
|
||||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_ajax_vvvvvxg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvxg(add_php_ajax_vvvvvxg);
|
vvvvvxh(add_php_ajax_vvvvvxh);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_ajax_vvvvvxg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvxg(add_php_ajax_vvvvvxg);
|
vvvvvxh(add_php_ajax_vvvvvxh);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxh function
|
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxi function
|
||||||
jQuery('#jform_add_php_getitem').on('keyup',function()
|
jQuery('#jform_add_php_getitem').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getitem_vvvvvxh = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||||
vvvvvxh(add_php_getitem_vvvvvxh);
|
vvvvvxi(add_php_getitem_vvvvvxi);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getitem_vvvvvxh = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||||
vvvvvxh(add_php_getitem_vvvvvxh);
|
vvvvvxi(add_php_getitem_vvvvvxi);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxi function
|
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxj function
|
||||||
jQuery('#jform_add_php_getitems').on('keyup',function()
|
jQuery('#jform_add_php_getitems').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getitems_vvvvvxi = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||||
vvvvvxi(add_php_getitems_vvvvvxi);
|
vvvvvxj(add_php_getitems_vvvvvxj);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getitems_vvvvvxi = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||||
vvvvvxi(add_php_getitems_vvvvvxi);
|
vvvvvxj(add_php_getitems_vvvvvxj);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxj function
|
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxk function
|
||||||
jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
|
jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getitems_after_all_vvvvvxj = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||||
vvvvvxj(add_php_getitems_after_all_vvvvvxj);
|
vvvvvxk(add_php_getitems_after_all_vvvvvxk);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getitems_after_all_vvvvvxj = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||||
vvvvvxj(add_php_getitems_after_all_vvvvvxj);
|
vvvvvxk(add_php_getitems_after_all_vvvvvxk);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxk function
|
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxl function
|
||||||
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getlistquery_vvvvvxk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
vvvvvxk(add_php_getlistquery_vvvvvxk);
|
vvvvvxl(add_php_getlistquery_vvvvvxl);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getlistquery_vvvvvxk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
vvvvvxk(add_php_getlistquery_vvvvvxk);
|
vvvvvxl(add_php_getlistquery_vvvvvxl);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_getform listeners for add_php_getform_vvvvvxl function
|
// #jform_add_php_getform listeners for add_php_getform_vvvvvxm function
|
||||||
jQuery('#jform_add_php_getform').on('keyup',function()
|
jQuery('#jform_add_php_getform').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||||
vvvvvxl(add_php_getform_vvvvvxl);
|
vvvvvxm(add_php_getform_vvvvvxm);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||||
vvvvvxl(add_php_getform_vvvvvxl);
|
vvvvvxm(add_php_getform_vvvvvxm);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxm function
|
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxn function
|
||||||
jQuery('#jform_add_php_before_save').on('keyup',function()
|
jQuery('#jform_add_php_before_save').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||||
vvvvvxm(add_php_before_save_vvvvvxm);
|
vvvvvxn(add_php_before_save_vvvvvxn);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||||
vvvvvxm(add_php_before_save_vvvvvxm);
|
vvvvvxn(add_php_before_save_vvvvvxn);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_save listeners for add_php_save_vvvvvxn function
|
// #jform_add_php_save listeners for add_php_save_vvvvvxo function
|
||||||
jQuery('#jform_add_php_save').on('keyup',function()
|
jQuery('#jform_add_php_save').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||||
vvvvvxn(add_php_save_vvvvvxn);
|
vvvvvxo(add_php_save_vvvvvxo);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||||
vvvvvxn(add_php_save_vvvvvxn);
|
vvvvvxo(add_php_save_vvvvvxo);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxo function
|
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxp function
|
||||||
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||||
vvvvvxo(add_php_postsavehook_vvvvvxo);
|
vvvvvxp(add_php_postsavehook_vvvvvxp);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||||
vvvvvxo(add_php_postsavehook_vvvvvxo);
|
vvvvvxp(add_php_postsavehook_vvvvvxp);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxp function
|
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxq function
|
||||||
jQuery('#jform_add_php_allowadd').on('keyup',function()
|
jQuery('#jform_add_php_allowadd').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||||
vvvvvxp(add_php_allowadd_vvvvvxp);
|
vvvvvxq(add_php_allowadd_vvvvvxq);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||||
vvvvvxp(add_php_allowadd_vvvvvxp);
|
vvvvvxq(add_php_allowadd_vvvvvxq);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxq function
|
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxr function
|
||||||
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||||
vvvvvxq(add_php_allowedit_vvvvvxq);
|
vvvvvxr(add_php_allowedit_vvvvvxr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||||
vvvvvxq(add_php_allowedit_vvvvvxq);
|
vvvvvxr(add_php_allowedit_vvvvvxr);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxr function
|
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxs function
|
||||||
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||||
vvvvvxr(add_php_batchcopy_vvvvvxr);
|
vvvvvxs(add_php_batchcopy_vvvvvxs);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||||
vvvvvxr(add_php_batchcopy_vvvvvxr);
|
vvvvvxs(add_php_batchcopy_vvvvvxs);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxs function
|
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxt function
|
||||||
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||||
vvvvvxs(add_php_batchmove_vvvvvxs);
|
vvvvvxt(add_php_batchmove_vvvvvxt);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||||
vvvvvxs(add_php_batchmove_vvvvvxs);
|
vvvvvxt(add_php_batchmove_vvvvvxt);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxt function
|
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxu function
|
||||||
jQuery('#jform_add_php_before_publish').on('keyup',function()
|
jQuery('#jform_add_php_before_publish').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||||
vvvvvxt(add_php_before_publish_vvvvvxt);
|
vvvvvxu(add_php_before_publish_vvvvvxu);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||||
vvvvvxt(add_php_before_publish_vvvvvxt);
|
vvvvvxu(add_php_before_publish_vvvvvxu);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxu function
|
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxv function
|
||||||
jQuery('#jform_add_php_after_publish').on('keyup',function()
|
jQuery('#jform_add_php_after_publish').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||||
vvvvvxu(add_php_after_publish_vvvvvxu);
|
vvvvvxv(add_php_after_publish_vvvvvxv);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||||
vvvvvxu(add_php_after_publish_vvvvvxu);
|
vvvvvxv(add_php_after_publish_vvvvvxv);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxv function
|
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxw function
|
||||||
jQuery('#jform_add_php_before_delete').on('keyup',function()
|
jQuery('#jform_add_php_before_delete').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||||
vvvvvxv(add_php_before_delete_vvvvvxv);
|
vvvvvxw(add_php_before_delete_vvvvvxw);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||||
vvvvvxv(add_php_before_delete_vvvvvxv);
|
vvvvvxw(add_php_before_delete_vvvvvxw);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxw function
|
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxx function
|
||||||
jQuery('#jform_add_php_after_delete').on('keyup',function()
|
jQuery('#jform_add_php_after_delete').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||||
vvvvvxw(add_php_after_delete_vvvvvxw);
|
vvvvvxx(add_php_after_delete_vvvvvxx);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||||
vvvvvxw(add_php_after_delete_vvvvvxw);
|
vvvvvxx(add_php_after_delete_vvvvvxx);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_document listeners for add_php_document_vvvvvxx function
|
// #jform_add_php_document listeners for add_php_document_vvvvvxy function
|
||||||
jQuery('#jform_add_php_document').on('keyup',function()
|
jQuery('#jform_add_php_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvxx(add_php_document_vvvvvxx);
|
vvvvvxy(add_php_document_vvvvvxy);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvxx(add_php_document_vvvvvxx);
|
vvvvvxy(add_php_document_vvvvvxy);
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_add_sql listeners for add_sql_vvvvvxy function
|
|
||||||
jQuery('#jform_add_sql').on('keyup',function()
|
|
||||||
{
|
|
||||||
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
||||||
vvvvvxy(add_sql_vvvvvxy);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
|
||||||
vvvvvxy(add_sql_vvvvvxy);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_source listeners for source_vvvvvxz function
|
|
||||||
jQuery('#jform_source').on('keyup',function()
|
|
||||||
{
|
|
||||||
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_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_vvvvvxz function
|
// #jform_add_sql listeners for add_sql_vvvvvxz function
|
||||||
jQuery('#jform_add_sql').on('keyup',function()
|
jQuery('#jform_add_sql').on('keyup',function()
|
||||||
{
|
{
|
||||||
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
|
|
||||||
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
|
vvvvvxz(add_sql_vvvvvxz);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
|
|
||||||
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
|
vvvvvxz(add_sql_vvvvvxz);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_source listeners for source_vvvvvyb function
|
// #jform_source listeners for source_vvvvvya function
|
||||||
jQuery('#jform_source').on('keyup',function()
|
jQuery('#jform_source').on('keyup',function()
|
||||||
{
|
{
|
||||||
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
|
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
|
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
|
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
|
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_sql listeners for add_sql_vvvvvyb function
|
// #jform_add_sql listeners for add_sql_vvvvvya function
|
||||||
jQuery('#jform_add_sql').on('keyup',function()
|
jQuery('#jform_add_sql').on('keyup',function()
|
||||||
{
|
{
|
||||||
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
|
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
|
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
|
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
|
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_custom_import listeners for add_custom_import_vvvvvyd function
|
// #jform_source listeners for source_vvvvvyc function
|
||||||
jQuery('#jform_add_custom_import').on('keyup',function()
|
jQuery('#jform_source').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
vvvvvyd(add_custom_import_vvvvvyd);
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
vvvvvyd(add_custom_import_vvvvvyd);
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_add_sql listeners for add_sql_vvvvvyc function
|
||||||
|
jQuery('#jform_add_sql').on('keyup',function()
|
||||||
|
{
|
||||||
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var source_vvvvvyc = jQuery("#jform_source input[type='radio']:checked").val();
|
||||||
|
var add_sql_vvvvvyc = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||||
|
vvvvvyc(source_vvvvvyc,add_sql_vvvvvyc);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -682,18 +667,33 @@ jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvyf function
|
// #jform_add_custom_import listeners for add_custom_import_vvvvvyf function
|
||||||
|
jQuery('#jform_add_custom_import').on('keyup',function()
|
||||||
|
{
|
||||||
|
var add_custom_import_vvvvvyf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||||
|
vvvvvyf(add_custom_import_vvvvvyf);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var add_custom_import_vvvvvyf = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||||
|
vvvvvyf(add_custom_import_vvvvvyf);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_add_custom_button listeners for add_custom_button_vvvvvyg function
|
||||||
jQuery('#jform_add_custom_button').on('keyup',function()
|
jQuery('#jform_add_custom_button').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyf(add_custom_button_vvvvvyf);
|
vvvvvyg(add_custom_button_vvvvvyg);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyf(add_custom_button_vvvvvyf);
|
vvvvvyg(add_custom_button_vvvvvyg);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -309,6 +309,11 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
|||||||
// add Run Expansion button.
|
// add Run Expansion button.
|
||||||
JToolBarHelper::custom('compiler.runExpansion', 'expand-2', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
|
JToolBarHelper::custom('compiler.runExpansion', 'expand-2', '', 'COM_COMPONENTBUILDER_RUN_EXPANSION', false);
|
||||||
}
|
}
|
||||||
|
if ($this->canDo->get('compiler.translate'))
|
||||||
|
{
|
||||||
|
// add Translate button.
|
||||||
|
JToolBarHelper::custom('compiler.runTranslator', 'comments-2', '', 'COM_COMPONENTBUILDER_TRANSLATE', false);
|
||||||
|
}
|
||||||
if ($this->canDo->get('compiler.clear_tmp'))
|
if ($this->canDo->get('compiler.clear_tmp'))
|
||||||
{
|
{
|
||||||
// add Clear tmp button.
|
// add Clear tmp button.
|
||||||
|
@ -163,153 +163,153 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_add_php_view listeners for add_php_view_vvvvvyg function
|
// #jform_add_php_view listeners for add_php_view_vvvvvyh function
|
||||||
jQuery('#jform_add_php_view').on('keyup',function()
|
jQuery('#jform_add_php_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyg(add_php_view_vvvvvyg);
|
vvvvvyh(add_php_view_vvvvvyh);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyg(add_php_view_vvvvvyg);
|
vvvvvyh(add_php_view_vvvvvyh);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyh function
|
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyi function
|
||||||
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyh(add_php_jview_display_vvvvvyh);
|
vvvvvyi(add_php_jview_display_vvvvvyi);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyh(add_php_jview_display_vvvvvyh);
|
vvvvvyi(add_php_jview_display_vvvvvyi);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvyi function
|
// #jform_add_php_jview listeners for add_php_jview_vvvvvyj function
|
||||||
jQuery('#jform_add_php_jview').on('keyup',function()
|
jQuery('#jform_add_php_jview').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvyi(add_php_jview_vvvvvyi);
|
vvvvvyj(add_php_jview_vvvvvyj);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvyi(add_php_jview_vvvvvyi);
|
vvvvvyj(add_php_jview_vvvvvyj);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_document listeners for add_php_document_vvvvvyj function
|
// #jform_add_php_document listeners for add_php_document_vvvvvyk function
|
||||||
jQuery('#jform_add_php_document').on('keyup',function()
|
jQuery('#jform_add_php_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyj(add_php_document_vvvvvyj);
|
vvvvvyk(add_php_document_vvvvvyk);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyj(add_php_document_vvvvvyj);
|
vvvvvyk(add_php_document_vvvvvyk);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css_document listeners for add_css_document_vvvvvyk function
|
// #jform_add_css_document listeners for add_css_document_vvvvvyl function
|
||||||
jQuery('#jform_add_css_document').on('keyup',function()
|
jQuery('#jform_add_css_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyk(add_css_document_vvvvvyk);
|
vvvvvyl(add_css_document_vvvvvyl);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyk(add_css_document_vvvvvyk);
|
vvvvvyl(add_css_document_vvvvvyl);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyl function
|
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvym function
|
||||||
jQuery('#jform_add_javascript_file').on('keyup',function()
|
jQuery('#jform_add_javascript_file').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyl(add_javascript_file_vvvvvyl);
|
vvvvvym(add_javascript_file_vvvvvym);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyl(add_javascript_file_vvvvvyl);
|
vvvvvym(add_javascript_file_vvvvvym);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_js_document listeners for add_js_document_vvvvvym function
|
// #jform_add_js_document listeners for add_js_document_vvvvvyn function
|
||||||
jQuery('#jform_add_js_document').on('keyup',function()
|
jQuery('#jform_add_js_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvym(add_js_document_vvvvvym);
|
vvvvvyn(add_js_document_vvvvvyn);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvym(add_js_document_vvvvvym);
|
vvvvvyn(add_js_document_vvvvvyn);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvyn function
|
// #jform_add_custom_button listeners for add_custom_button_vvvvvyo function
|
||||||
jQuery('#jform_add_custom_button').on('keyup',function()
|
jQuery('#jform_add_custom_button').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyn(add_custom_button_vvvvvyn);
|
vvvvvyo(add_custom_button_vvvvvyo);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyn(add_custom_button_vvvvvyn);
|
vvvvvyo(add_custom_button_vvvvvyo);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css listeners for add_css_vvvvvyo function
|
// #jform_add_css listeners for add_css_vvvvvyp function
|
||||||
jQuery('#jform_add_css').on('keyup',function()
|
jQuery('#jform_add_css').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyo(add_css_vvvvvyo);
|
vvvvvyp(add_css_vvvvvyp);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyo(add_css_vvvvvyo);
|
vvvvvyp(add_css_vvvvvyp);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyp function
|
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyq function
|
||||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyp(add_php_ajax_vvvvvyp);
|
vvvvvyq(add_php_ajax_vvvvvyq);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyp(add_php_ajax_vvvvvyp);
|
vvvvvyq(add_php_ajax_vvvvvyq);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -117,21 +117,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_target listeners for target_vvvvwae function
|
|
||||||
jQuery('#jform_target').on('keyup',function()
|
|
||||||
{
|
|
||||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
vvvvwae(target_vvvvwae);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
vvvvwae(target_vvvvwae);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_target listeners for target_vvvvwaf function
|
// #jform_target listeners for target_vvvvwaf function
|
||||||
jQuery('#jform_target').on('keyup',function()
|
jQuery('#jform_target').on('keyup',function()
|
||||||
{
|
{
|
||||||
@ -151,67 +136,82 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
|
|||||||
jQuery('#jform_target').on('keyup',function()
|
jQuery('#jform_target').on('keyup',function()
|
||||||
{
|
{
|
||||||
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
|
vvvvwag(target_vvvvwag);
|
||||||
vvvvwag(target_vvvvwag,type_vvvvwag);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
|
vvvvwag(target_vvvvwag);
|
||||||
vvvvwag(target_vvvvwag,type_vvvvwag);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_type listeners for type_vvvvwag function
|
|
||||||
jQuery('#jform_type').on('keyup',function()
|
|
||||||
{
|
|
||||||
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
vvvvwag(target_vvvvwag,type_vvvvwag);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
vvvvwag(target_vvvvwag,type_vvvvwag);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_type listeners for type_vvvvwah function
|
|
||||||
jQuery('#jform_type').on('keyup',function()
|
|
||||||
{
|
|
||||||
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
vvvvwah(type_vvvvwah,target_vvvvwah);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
|
||||||
vvvvwah(type_vvvvwah,target_vvvvwah);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_target listeners for target_vvvvwah function
|
// #jform_target listeners for target_vvvvwah function
|
||||||
jQuery('#jform_target').on('keyup',function()
|
jQuery('#jform_target').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwah(type_vvvvwah,target_vvvvwah);
|
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwah(target_vvvvwah,type_vvvvwah);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
|
||||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwah(type_vvvvwah,target_vvvvwah);
|
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwah(target_vvvvwah,type_vvvvwah);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_type listeners for type_vvvvwah function
|
||||||
|
jQuery('#jform_type').on('keyup',function()
|
||||||
|
{
|
||||||
|
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwah(target_vvvvwah,type_vvvvwah);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
vvvvwah(target_vvvvwah,type_vvvvwah);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_type listeners for type_vvvvwai function
|
||||||
|
jQuery('#jform_type').on('keyup',function()
|
||||||
|
{
|
||||||
|
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwai(type_vvvvwai,target_vvvvwai);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwai(type_vvvvwai,target_vvvvwai);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_target listeners for target_vvvvwai function
|
||||||
|
jQuery('#jform_target').on('keyup',function()
|
||||||
|
{
|
||||||
|
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwai(type_vvvvwai,target_vvvvwai);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var type_vvvvwai = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
|
var target_vvvvwai = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
|
vvvvwai(type_vvvvwai,target_vvvvwai);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -160,33 +160,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzd function
|
// #jform_gettype listeners for gettype_vvvvvze function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
|
var gettype_vvvvvze = jQuery("#jform_gettype").val();
|
||||||
vvvvvzd(gettype_vvvvvzd);
|
vvvvvze(gettype_vvvvvze);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
|
var gettype_vvvvvze = jQuery("#jform_gettype").val();
|
||||||
vvvvvzd(gettype_vvvvvzd);
|
vvvvvze(gettype_vvvvvze);
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_main_source listeners for main_source_vvvvvze function
|
|
||||||
jQuery('#jform_main_source').on('keyup',function()
|
|
||||||
{
|
|
||||||
var main_source_vvvvvze = jQuery("#jform_main_source").val();
|
|
||||||
vvvvvze(main_source_vvvvvze);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var main_source_vvvvvze = jQuery("#jform_main_source").val();
|
|
||||||
vvvvvze(main_source_vvvvvze);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -250,18 +235,18 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_addcalculation listeners for addcalculation_vvvvvzj function
|
// #jform_main_source listeners for main_source_vvvvvzj function
|
||||||
jQuery('#jform_addcalculation').on('keyup',function()
|
jQuery('#jform_main_source').on('keyup',function()
|
||||||
{
|
{
|
||||||
var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
|
||||||
vvvvvzj(addcalculation_vvvvvzj);
|
vvvvvzj(main_source_vvvvvzj);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
|
||||||
vvvvvzj(addcalculation_vvvvvzj);
|
vvvvvzj(main_source_vvvvvzj);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -269,33 +254,14 @@ jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
|||||||
jQuery('#jform_addcalculation').on('keyup',function()
|
jQuery('#jform_addcalculation').on('keyup',function()
|
||||||
{
|
{
|
||||||
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
|
vvvvvzk(addcalculation_vvvvvzk);
|
||||||
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
|
vvvvvzk(addcalculation_vvvvvzk);
|
||||||
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);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -333,18 +299,37 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_main_source listeners for main_source_vvvvvzo function
|
// #jform_addcalculation listeners for addcalculation_vvvvvzm function
|
||||||
jQuery('#jform_main_source').on('keyup',function()
|
jQuery('#jform_addcalculation').on('keyup',function()
|
||||||
{
|
{
|
||||||
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
|
var addcalculation_vvvvvzm = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
vvvvvzo(main_source_vvvvvzo);
|
var gettype_vvvvvzm = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzm(addcalculation_vvvvvzm,gettype_vvvvvzm);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
|
var addcalculation_vvvvvzm = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
vvvvvzo(main_source_vvvvvzo);
|
var gettype_vvvvvzm = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzm(addcalculation_vvvvvzm,gettype_vvvvvzm);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_gettype listeners for gettype_vvvvvzm function
|
||||||
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var addcalculation_vvvvvzm = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzm = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzm(addcalculation_vvvvvzm,gettype_vvvvvzm);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var addcalculation_vvvvvzm = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzm = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzm(addcalculation_vvvvvzm,gettype_vvvvvzm);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -363,203 +348,203 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzq function
|
// #jform_main_source listeners for main_source_vvvvvzq function
|
||||||
|
jQuery('#jform_main_source').on('keyup',function()
|
||||||
|
{
|
||||||
|
var main_source_vvvvvzq = jQuery("#jform_main_source").val();
|
||||||
|
vvvvvzq(main_source_vvvvvzq);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var main_source_vvvvvzq = jQuery("#jform_main_source").val();
|
||||||
|
vvvvvzq(main_source_vvvvvzq);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzr function
|
||||||
jQuery('#jform_add_php_before_getitem').on('keyup',function()
|
jQuery('#jform_add_php_before_getitem').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_getitem_vvvvvzq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
||||||
vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq);
|
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_getitem_vvvvvzq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzq function
|
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
|
||||||
{
|
|
||||||
var add_php_before_getitem_vvvvvzq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var add_php_before_getitem_vvvvvzq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzr function
|
|
||||||
jQuery('#jform_add_php_after_getitem').on('keyup',function()
|
|
||||||
{
|
|
||||||
var add_php_after_getitem_vvvvvzr = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
||||||
vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
|
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var add_php_after_getitem_vvvvvzr = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzr function
|
// #jform_gettype listeners for gettype_vvvvvzr function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_after_getitem_vvvvvzr = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
||||||
vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
|
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_after_getitem_vvvvvzr = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
|
||||||
vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
|
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzt function
|
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzs function
|
||||||
|
jQuery('#jform_add_php_after_getitem').on('keyup',function()
|
||||||
|
{
|
||||||
|
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_gettype listeners for gettype_vvvvvzs function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||||
vvvvvzt(gettype_vvvvvzt);
|
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
var add_php_after_getitem_vvvvvzs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||||
vvvvvzt(gettype_vvvvvzt);
|
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzs(add_php_after_getitem_vvvvvzs,gettype_vvvvvzs);
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzu function
|
|
||||||
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
|
||||||
{
|
|
||||||
var add_php_getlistquery_vvvvvzu = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var add_php_getlistquery_vvvvvzu = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
|
||||||
vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzu function
|
// #jform_gettype listeners for gettype_vvvvvzu function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_getlistquery_vvvvvzu = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
||||||
vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
|
vvvvvzu(gettype_vvvvvzu);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_getlistquery_vvvvvzu = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
|
||||||
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
|
||||||
vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
|
vvvvvzu(gettype_vvvvvzu);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzv function
|
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzv function
|
||||||
jQuery('#jform_add_php_before_getitems').on('keyup',function()
|
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_getitems_vvvvvzv = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
||||||
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
|
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_getitems_vvvvvzv = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
||||||
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
|
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzv function
|
// #jform_gettype listeners for gettype_vvvvvzv function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_before_getitems_vvvvvzv = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
||||||
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
|
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_before_getitems_vvvvvzv = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
var add_php_getlistquery_vvvvvzv = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
|
||||||
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
|
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzw function
|
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzw function
|
||||||
jQuery('#jform_add_php_after_getitems').on('keyup',function()
|
jQuery('#jform_add_php_before_getitems').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_after_getitems_vvvvvzw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
||||||
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
|
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_after_getitems_vvvvvzw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
||||||
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
|
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzw function
|
// #jform_gettype listeners for gettype_vvvvvzw function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_after_getitems_vvvvvzw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
||||||
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
|
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_after_getitems_vvvvvzw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
var add_php_before_getitems_vvvvvzw = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||||
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
|
||||||
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
|
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvvzy function
|
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvvzx function
|
||||||
|
jQuery('#jform_add_php_after_getitems').on('keyup',function()
|
||||||
|
{
|
||||||
|
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzx = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||||
|
var gettype_vvvvvzx = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_gettype listeners for gettype_vvvvvzx function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||||
vvvvvzy(gettype_vvvvvzy);
|
var gettype_vvvvvzx = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
var add_php_after_getitems_vvvvvzx = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||||
vvvvvzy(gettype_vvvvvzy);
|
var gettype_vvvvvzx = jQuery("#jform_gettype").val();
|
||||||
|
vvvvvzx(add_php_after_getitems_vvvvvzx,gettype_vvvvvzx);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -597,48 +582,63 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
|||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
||||||
var add_php_router_parse_vvvvwab = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
vvvvwab(gettype_vvvvwab);
|
||||||
vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
||||||
var add_php_router_parse_vvvvwab = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
vvvvwab(gettype_vvvvwab);
|
||||||
vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwab function
|
// #jform_gettype listeners for gettype_vvvvwac function
|
||||||
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||||
|
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||||
|
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||||
|
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||||
|
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwac function
|
||||||
jQuery('#jform_add_php_router_parse').on('keyup',function()
|
jQuery('#jform_add_php_router_parse').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||||
var add_php_router_parse_vvvvwab = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||||
vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab);
|
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||||
var add_php_router_parse_vvvvwab = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
var add_php_router_parse_vvvvwac = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||||
vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab);
|
vvvvwac(gettype_vvvvwac,add_php_router_parse_vvvvwac);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_gettype listeners for gettype_vvvvwad function
|
// #jform_gettype listeners for gettype_vvvvwae function
|
||||||
jQuery('#jform_gettype').on('keyup',function()
|
jQuery('#jform_gettype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||||
vvvvwad(gettype_vvvvwad);
|
vvvvwae(gettype_vvvvwae);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||||
vvvvwad(gettype_vvvvwad);
|
vvvvwae(gettype_vvvvwae);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -148,48 +148,33 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_datalenght listeners for datalenght_vvvvwaq function
|
// #jform_datalenght listeners for datalenght_vvvvwar function
|
||||||
jQuery('#jform_datalenght').on('keyup',function()
|
jQuery('#jform_datalenght').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
|
||||||
vvvvwaq(datalenght_vvvvwaq);
|
vvvvwar(datalenght_vvvvwar);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
|
||||||
vvvvwaq(datalenght_vvvvwaq);
|
vvvvwar(datalenght_vvvvwar);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_datadefault listeners for datadefault_vvvvwar function
|
// #jform_datadefault listeners for datadefault_vvvvwas function
|
||||||
jQuery('#jform_datadefault').on('keyup',function()
|
jQuery('#jform_datadefault').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
|
||||||
vvvvwar(datadefault_vvvvwar);
|
vvvvwas(datadefault_vvvvwas);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
|
||||||
vvvvwar(datadefault_vvvvwar);
|
vvvvwas(datadefault_vvvvwas);
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwas function
|
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
|
||||||
{
|
|
||||||
var datatype_vvvvwas = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwas(datatype_vvvvwas);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var datatype_vvvvwas = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwas(datatype_vvvvwas);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -208,97 +193,112 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_store listeners for store_vvvvwau function
|
|
||||||
jQuery('#jform_store').on('keyup',function()
|
|
||||||
{
|
|
||||||
var store_vvvvwau = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwau(store_vvvvwau,datatype_vvvvwau);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var store_vvvvwau = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwau(store_vvvvwau,datatype_vvvvwau);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwau function
|
// #jform_datatype listeners for datatype_vvvvwau function
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var store_vvvvwau = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
||||||
vvvvwau(store_vvvvwau,datatype_vvvvwau);
|
vvvvwau(datatype_vvvvwau);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var store_vvvvwau = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
var datatype_vvvvwau = jQuery("#jform_datatype").val();
|
||||||
vvvvwau(store_vvvvwau,datatype_vvvvwau);
|
vvvvwau(datatype_vvvvwau);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css_view listeners for add_css_view_vvvvwaw function
|
// #jform_store listeners for store_vvvvwav function
|
||||||
|
jQuery('#jform_store').on('keyup',function()
|
||||||
|
{
|
||||||
|
var store_vvvvwav = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwav = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwav(store_vvvvwav,datatype_vvvvwav);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var store_vvvvwav = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwav = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwav(store_vvvvwav,datatype_vvvvwav);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_datatype listeners for datatype_vvvvwav function
|
||||||
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var store_vvvvwav = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwav = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwav(store_vvvvwav,datatype_vvvvwav);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var store_vvvvwav = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwav = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwav(store_vvvvwav,datatype_vvvvwav);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_add_css_view listeners for add_css_view_vvvvwax function
|
||||||
jQuery('#jform_add_css_view').on('keyup',function()
|
jQuery('#jform_add_css_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_view_vvvvwaw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||||
vvvvwaw(add_css_view_vvvvwaw);
|
vvvvwax(add_css_view_vvvvwax);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_view_vvvvwaw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||||
vvvvwaw(add_css_view_vvvvwaw);
|
vvvvwax(add_css_view_vvvvwax);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css_views listeners for add_css_views_vvvvwax function
|
// #jform_add_css_views listeners for add_css_views_vvvvway function
|
||||||
jQuery('#jform_add_css_views').on('keyup',function()
|
jQuery('#jform_add_css_views').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_views_vvvvwax = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||||
vvvvwax(add_css_views_vvvvwax);
|
vvvvway(add_css_views_vvvvway);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_views_vvvvwax = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||||
vvvvwax(add_css_views_vvvvwax);
|
vvvvway(add_css_views_vvvvway);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvway function
|
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwaz function
|
||||||
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||||
vvvvway(add_javascript_view_footer_vvvvway);
|
vvvvwaz(add_javascript_view_footer_vvvvwaz);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||||
vvvvway(add_javascript_view_footer_vvvvway);
|
vvvvwaz(add_javascript_view_footer_vvvvwaz);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwaz function
|
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwba function
|
||||||
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||||
vvvvwaz(add_javascript_views_footer_vvvvwaz);
|
vvvvwba(add_javascript_views_footer_vvvvwba);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
var add_javascript_views_footer_vvvvwba = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||||
vvvvwaz(add_javascript_views_footer_vvvvwaz);
|
vvvvwba(add_javascript_views_footer_vvvvwba);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -137,344 +137,287 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_datalenght listeners for datalenght_vvvvwba function
|
// #jform_datalenght listeners for datalenght_vvvvwbb function
|
||||||
jQuery('#jform_datalenght').on('keyup',function()
|
jQuery('#jform_datalenght').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
|
||||||
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
|
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
|
||||||
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
|
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwba function
|
// #jform_has_defaults listeners for has_defaults_vvvvwbb function
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
|
||||||
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
|
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
|
||||||
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
|
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_datadefault listeners for datadefault_vvvvwbc function
|
// #jform_datadefault listeners for datadefault_vvvvwbd function
|
||||||
jQuery('#jform_datadefault').on('keyup',function()
|
jQuery('#jform_datadefault').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
|
||||||
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
|
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
|
||||||
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
|
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbc function
|
// #jform_has_defaults listeners for has_defaults_vvvvwbd function
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
|
||||||
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
|
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
|
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
|
||||||
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
|
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbe function
|
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
|
||||||
{
|
|
||||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbe(datatype_vvvvwbe,has_defaults_vvvvwbe);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbe(datatype_vvvvwbe,has_defaults_vvvvwbe);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbe function
|
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
|
||||||
{
|
|
||||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbe(datatype_vvvvwbe,has_defaults_vvvvwbe);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbe = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbe(datatype_vvvvwbe,has_defaults_vvvvwbe);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbf function
|
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
|
||||||
{
|
|
||||||
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbf(has_defaults_vvvvwbf,datatype_vvvvwbf);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbf(has_defaults_vvvvwbf,datatype_vvvvwbf);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbf function
|
// #jform_datatype listeners for datatype_vvvvwbf function
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
||||||
vvvvwbf(has_defaults_vvvvwbf,datatype_vvvvwbf);
|
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
||||||
vvvvwbf(has_defaults_vvvvwbf,datatype_vvvvwbf);
|
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbg function
|
// #jform_has_defaults listeners for has_defaults_vvvvwbf function
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
|
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
|
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbg function
|
// #jform_has_defaults listeners for has_defaults_vvvvwbg function
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
|
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
|
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_store listeners for store_vvvvwbi function
|
// #jform_datatype listeners for datatype_vvvvwbg function
|
||||||
jQuery('#jform_store').on('keyup',function()
|
|
||||||
{
|
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbi function
|
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbi function
|
// #jform_datatype listeners for datatype_vvvvwbh function
|
||||||
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
|
||||||
|
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
|
||||||
|
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_has_defaults listeners for has_defaults_vvvvwbh function
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh);
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var store_vvvvwbi = jQuery("#jform_store").val();
|
var datatype_vvvvwbh = jQuery("#jform_datatype").val();
|
||||||
var datatype_vvvvwbi = jQuery("#jform_datatype").val();
|
var has_defaults_vvvvwbh = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
var has_defaults_vvvvwbi = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
vvvvwbh(datatype_vvvvwbh,has_defaults_vvvvwbh);
|
||||||
vvvvwbi(store_vvvvwbi,datatype_vvvvwbi,has_defaults_vvvvwbi);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbj function
|
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
|
||||||
{
|
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_store listeners for store_vvvvwbj function
|
// #jform_store listeners for store_vvvvwbj function
|
||||||
jQuery('#jform_store').on('keyup',function()
|
jQuery('#jform_store').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_datatype listeners for datatype_vvvvwbj function
|
||||||
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbj function
|
// #jform_has_defaults listeners for has_defaults_vvvvwbj function
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
|
||||||
var store_vvvvwbj = jQuery("#jform_store").val();
|
var store_vvvvwbj = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||||
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbj = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
|
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_has_defaults listeners for has_defaults_vvvvwbk function
|
|
||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
|
||||||
{
|
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_store listeners for store_vvvvwbk function
|
|
||||||
jQuery('#jform_store').on('keyup',function()
|
|
||||||
{
|
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_datatype listeners for datatype_vvvvwbk function
|
// #jform_datatype listeners for datatype_vvvvwbk function
|
||||||
jQuery('#jform_datatype').on('keyup',function()
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
{
|
{
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
|
||||||
var store_vvvvwbk = jQuery("#jform_store").val();
|
|
||||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
vvvvwbk(has_defaults_vvvvwbk,store_vvvvwbk,datatype_vvvvwbk);
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_store listeners for store_vvvvwbk function
|
||||||
|
jQuery('#jform_store').on('keyup',function()
|
||||||
|
{
|
||||||
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_has_defaults listeners for has_defaults_vvvvwbk function
|
||||||
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
|
{
|
||||||
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||||
|
var store_vvvvwbk = jQuery("#jform_store").val();
|
||||||
|
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbk(datatype_vvvvwbk,store_vvvvwbk,has_defaults_vvvvwbk);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -482,14 +425,71 @@ jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
|||||||
jQuery('#jform_has_defaults').on('keyup',function()
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
{
|
{
|
||||||
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbl(has_defaults_vvvvwbl);
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
vvvvwbl(has_defaults_vvvvwbl);
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_store listeners for store_vvvvwbl function
|
||||||
|
jQuery('#jform_store').on('keyup',function()
|
||||||
|
{
|
||||||
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_datatype listeners for datatype_vvvvwbl function
|
||||||
|
jQuery('#jform_datatype').on('keyup',function()
|
||||||
|
{
|
||||||
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var has_defaults_vvvvwbl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||||
|
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||||
|
vvvvwbl(has_defaults_vvvvwbl,store_vvvvwbl,datatype_vvvvwbl);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_has_defaults listeners for has_defaults_vvvvwbm function
|
||||||
|
jQuery('#jform_has_defaults').on('keyup',function()
|
||||||
|
{
|
||||||
|
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbm(has_defaults_vvvvwbm);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||||
|
vvvvwbm(has_defaults_vvvvwbm);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get Linked view data
|
// Get Linked view data
|
||||||
$this->wamfields = $this->get('Wamfields');
|
$this->wapfields = $this->get('Wapfields');
|
||||||
|
|
||||||
// Set the toolbar
|
// Set the toolbar
|
||||||
$this->addToolBar();
|
$this->addToolBar();
|
||||||
|
@ -117,21 +117,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_location listeners for location_vvvvwbw function
|
|
||||||
jQuery('#jform_location').on('keyup',function()
|
|
||||||
{
|
|
||||||
var location_vvvvwbw = jQuery("#jform_location input[type='radio']:checked").val();
|
|
||||||
vvvvwbw(location_vvvvwbw);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var location_vvvvwbw = jQuery("#jform_location input[type='radio']:checked").val();
|
|
||||||
vvvvwbw(location_vvvvwbw);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_location listeners for location_vvvvwbx function
|
// #jform_location listeners for location_vvvvwbx function
|
||||||
jQuery('#jform_location').on('keyup',function()
|
jQuery('#jform_location').on('keyup',function()
|
||||||
{
|
{
|
||||||
@ -147,18 +132,18 @@ jQuery('#adminForm').on('change', '#jform_location',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_type listeners for type_vvvvwby function
|
// #jform_location listeners for location_vvvvwby function
|
||||||
jQuery('#jform_type').on('keyup',function()
|
jQuery('#jform_location').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_vvvvwby = jQuery("#jform_type").val();
|
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
vvvvwby(type_vvvvwby);
|
vvvvwby(location_vvvvwby);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_vvvvwby = jQuery("#jform_type").val();
|
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
|
||||||
vvvvwby(type_vvvvwby);
|
vvvvwby(location_vvvvwby);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -192,18 +177,33 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_target listeners for target_vvvvwcb function
|
// #jform_type listeners for type_vvvvwcb function
|
||||||
|
jQuery('#jform_type').on('keyup',function()
|
||||||
|
{
|
||||||
|
var type_vvvvwcb = jQuery("#jform_type").val();
|
||||||
|
vvvvwcb(type_vvvvwcb);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var type_vvvvwcb = jQuery("#jform_type").val();
|
||||||
|
vvvvwcb(type_vvvvwcb);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_target listeners for target_vvvvwcc function
|
||||||
jQuery('#jform_target').on('keyup',function()
|
jQuery('#jform_target').on('keyup',function()
|
||||||
{
|
{
|
||||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwcb(target_vvvvwcb);
|
vvvvwcc(target_vvvvwcc);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||||
vvvvwcb(target_vvvvwcb);
|
vvvvwcc(target_vvvvwcc);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -155,10 +155,11 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'dynamic_integration', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_INTEGRATION', true)); ?>
|
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'dynamic_integration', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_DYNAMIC_INTEGRATION', true)); ?>
|
||||||
<div class="row-fluid form-horizontal-desktop">
|
<div class="row-fluid form-horizontal-desktop">
|
||||||
|
<div class="span6">
|
||||||
|
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_left', $this); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid form-horizontal-desktop">
|
<div class="span6">
|
||||||
<div class="span12">
|
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_right', $this); ?>
|
||||||
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_fullwidth', $this); ?>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||||
@ -736,6 +737,21 @@ jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// #jform_translation_tool listeners for translation_tool_vvvvvxa function
|
||||||
|
jQuery('#jform_translation_tool').on('keyup',function()
|
||||||
|
{
|
||||||
|
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
|
||||||
|
vvvvvxa(translation_tool_vvvvvxa);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_translation_tool',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
|
||||||
|
vvvvvxa(translation_tool_vvvvvxa);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_add_php_view listeners for add_php_view_vvvvvzc function
|
// #jform_add_php_view listeners for add_php_view_vvvvvzd function
|
||||||
jQuery('#jform_add_php_view').on('keyup',function()
|
jQuery('#jform_add_php_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzc(add_php_view_vvvvvzc);
|
vvvvvzd(add_php_view_vvvvvzd);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzc(add_php_view_vvvvvzc);
|
vvvvvzd(add_php_view_vvvvvzd);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -147,21 +147,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_how listeners for how_vvvvwai function
|
|
||||||
jQuery('#jform_how').on('keyup',function()
|
|
||||||
{
|
|
||||||
var how_vvvvwai = jQuery("#jform_how").val();
|
|
||||||
vvvvwai(how_vvvvwai);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var how_vvvvwai = jQuery("#jform_how").val();
|
|
||||||
vvvvwai(how_vvvvwai);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_how listeners for how_vvvvwaj function
|
// #jform_how listeners for how_vvvvwaj function
|
||||||
jQuery('#jform_how').on('keyup',function()
|
jQuery('#jform_how').on('keyup',function()
|
||||||
{
|
{
|
||||||
@ -252,18 +237,33 @@ jQuery('#adminForm').on('change', '#jform_how',function (e)
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_type listeners for type_vvvvwap function
|
// #jform_how listeners for how_vvvvwap function
|
||||||
|
jQuery('#jform_how').on('keyup',function()
|
||||||
|
{
|
||||||
|
var how_vvvvwap = jQuery("#jform_how").val();
|
||||||
|
vvvvwap(how_vvvvwap);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var how_vvvvwap = jQuery("#jform_how").val();
|
||||||
|
vvvvwap(how_vvvvwap);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_type listeners for type_vvvvwaq function
|
||||||
jQuery('#jform_type').on('keyup',function()
|
jQuery('#jform_type').on('keyup',function()
|
||||||
{
|
{
|
||||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
vvvvwap(type_vvvvwap);
|
vvvvwaq(type_vvvvwaq);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||||
vvvvwap(type_vvvvwap);
|
vvvvwaq(type_vvvvwaq);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -126,21 +126,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_protocol listeners for protocol_vvvvwbm function
|
|
||||||
jQuery('#jform_protocol').on('keyup',function()
|
|
||||||
{
|
|
||||||
var protocol_vvvvwbm = jQuery("#jform_protocol").val();
|
|
||||||
vvvvwbm(protocol_vvvvwbm);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var protocol_vvvvwbm = jQuery("#jform_protocol").val();
|
|
||||||
vvvvwbm(protocol_vvvvwbm);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_protocol listeners for protocol_vvvvwbn function
|
// #jform_protocol listeners for protocol_vvvvwbn function
|
||||||
jQuery('#jform_protocol').on('keyup',function()
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
{
|
{
|
||||||
@ -160,135 +145,150 @@ jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
|||||||
jQuery('#jform_protocol').on('keyup',function()
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
|
vvvvwbo(protocol_vvvvwbo);
|
||||||
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
|
vvvvwbo(protocol_vvvvwbo);
|
||||||
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_authentication listeners for authentication_vvvvwbo function
|
// #jform_protocol listeners for protocol_vvvvwbp function
|
||||||
jQuery('#jform_authentication').on('keyup',function()
|
|
||||||
{
|
|
||||||
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
|
||||||
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
|
|
||||||
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
|
|
||||||
|
|
||||||
});
|
|
||||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
|
||||||
{
|
|
||||||
e.preventDefault();
|
|
||||||
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
|
|
||||||
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
|
|
||||||
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// #jform_protocol listeners for protocol_vvvvwbq function
|
|
||||||
jQuery('#jform_protocol').on('keyup',function()
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
|
||||||
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
|
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
|
||||||
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
|
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_authentication listeners for authentication_vvvvwbq function
|
// #jform_authentication listeners for authentication_vvvvwbp function
|
||||||
jQuery('#jform_authentication').on('keyup',function()
|
jQuery('#jform_authentication').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
|
||||||
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
|
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
|
||||||
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
|
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_protocol listeners for protocol_vvvvwbs function
|
// #jform_protocol listeners for protocol_vvvvwbr function
|
||||||
jQuery('#jform_protocol').on('keyup',function()
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
|
||||||
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
|
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
|
||||||
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
|
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_authentication listeners for authentication_vvvvwbs function
|
// #jform_authentication listeners for authentication_vvvvwbr function
|
||||||
jQuery('#jform_authentication').on('keyup',function()
|
jQuery('#jform_authentication').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
|
||||||
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
|
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
|
||||||
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
|
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_protocol listeners for protocol_vvvvwbu function
|
// #jform_protocol listeners for protocol_vvvvwbt function
|
||||||
jQuery('#jform_protocol').on('keyup',function()
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
|
||||||
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
|
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
|
||||||
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
|
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_authentication listeners for authentication_vvvvwbu function
|
// #jform_authentication listeners for authentication_vvvvwbt function
|
||||||
jQuery('#jform_authentication').on('keyup',function()
|
jQuery('#jform_authentication').on('keyup',function()
|
||||||
{
|
{
|
||||||
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
|
||||||
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
|
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
|
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
|
||||||
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
|
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
|
||||||
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
|
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_protocol listeners for protocol_vvvvwbv function
|
||||||
|
jQuery('#jform_protocol').on('keyup',function()
|
||||||
|
{
|
||||||
|
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
|
||||||
|
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
|
||||||
|
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
|
||||||
|
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
|
||||||
|
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
// #jform_authentication listeners for authentication_vvvvwbv function
|
||||||
|
jQuery('#jform_authentication').on('keyup',function()
|
||||||
|
{
|
||||||
|
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
|
||||||
|
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
|
||||||
|
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
|
||||||
|
|
||||||
|
});
|
||||||
|
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
var protocol_vvvvwbv = jQuery("#jform_protocol").val();
|
||||||
|
var authentication_vvvvwbv = jQuery("#jform_authentication").val();
|
||||||
|
vvvvwbv(protocol_vvvvwbv,authentication_vvvvwbv);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Get Linked view data
|
// Get Linked view data
|
||||||
$this->wawlinked_components = $this->get('Wawlinked_components');
|
$this->wazlinked_components = $this->get('Wazlinked_components');
|
||||||
|
|
||||||
// Set the toolbar
|
// Set the toolbar
|
||||||
$this->addToolBar();
|
$this->addToolBar();
|
||||||
|
@ -166,168 +166,168 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
// #jform_add_php_view listeners for add_php_view_vvvvvyq function
|
// #jform_add_php_view listeners for add_php_view_vvvvvyr function
|
||||||
jQuery('#jform_add_php_view').on('keyup',function()
|
jQuery('#jform_add_php_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyq(add_php_view_vvvvvyq);
|
vvvvvyr(add_php_view_vvvvvyr);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvyq(add_php_view_vvvvvyq);
|
vvvvvyr(add_php_view_vvvvvyr);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyr function
|
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvys function
|
||||||
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyr(add_php_jview_display_vvvvvyr);
|
vvvvvys(add_php_jview_display_vvvvvys);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||||
vvvvvyr(add_php_jview_display_vvvvvyr);
|
vvvvvys(add_php_jview_display_vvvvvys);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvys function
|
// #jform_add_php_jview listeners for add_php_jview_vvvvvyt function
|
||||||
jQuery('#jform_add_php_jview').on('keyup',function()
|
jQuery('#jform_add_php_jview').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvys(add_php_jview_vvvvvys);
|
vvvvvyt(add_php_jview_vvvvvyt);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||||
vvvvvys(add_php_jview_vvvvvys);
|
vvvvvyt(add_php_jview_vvvvvyt);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_document listeners for add_php_document_vvvvvyt function
|
// #jform_add_php_document listeners for add_php_document_vvvvvyu function
|
||||||
jQuery('#jform_add_php_document').on('keyup',function()
|
jQuery('#jform_add_php_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyt(add_php_document_vvvvvyt);
|
vvvvvyu(add_php_document_vvvvvyu);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||||
vvvvvyt(add_php_document_vvvvvyt);
|
vvvvvyu(add_php_document_vvvvvyu);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css_document listeners for add_css_document_vvvvvyu function
|
// #jform_add_css_document listeners for add_css_document_vvvvvyv function
|
||||||
jQuery('#jform_add_css_document').on('keyup',function()
|
jQuery('#jform_add_css_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyu(add_css_document_vvvvvyu);
|
vvvvvyv(add_css_document_vvvvvyv);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||||
vvvvvyu(add_css_document_vvvvvyu);
|
vvvvvyv(add_css_document_vvvvvyv);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyv function
|
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyw function
|
||||||
jQuery('#jform_add_javascript_file').on('keyup',function()
|
jQuery('#jform_add_javascript_file').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyv(add_javascript_file_vvvvvyv);
|
vvvvvyw(add_javascript_file_vvvvvyw);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||||
vvvvvyv(add_javascript_file_vvvvvyv);
|
vvvvvyw(add_javascript_file_vvvvvyw);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_js_document listeners for add_js_document_vvvvvyw function
|
// #jform_add_js_document listeners for add_js_document_vvvvvyx function
|
||||||
jQuery('#jform_add_js_document').on('keyup',function()
|
jQuery('#jform_add_js_document').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvyw(add_js_document_vvvvvyw);
|
vvvvvyx(add_js_document_vvvvvyx);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||||
vvvvvyw(add_js_document_vvvvvyw);
|
vvvvvyx(add_js_document_vvvvvyx);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_css listeners for add_css_vvvvvyx function
|
// #jform_add_css listeners for add_css_vvvvvyy function
|
||||||
jQuery('#jform_add_css').on('keyup',function()
|
jQuery('#jform_add_css').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyx(add_css_vvvvvyx);
|
vvvvvyy(add_css_vvvvvyy);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||||
vvvvvyx(add_css_vvvvvyx);
|
vvvvvyy(add_css_vvvvvyy);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyy function
|
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyz function
|
||||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyy(add_php_ajax_vvvvvyy);
|
vvvvvyz(add_php_ajax_vvvvvyz);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||||
vvvvvyy(add_php_ajax_vvvvvyy);
|
vvvvvyz(add_php_ajax_vvvvvyz);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvyz function
|
// #jform_add_custom_button listeners for add_custom_button_vvvvvza function
|
||||||
jQuery('#jform_add_custom_button').on('keyup',function()
|
jQuery('#jform_add_custom_button').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyz(add_custom_button_vvvvvyz);
|
vvvvvza(add_custom_button_vvvvvza);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||||
vvvvvyz(add_custom_button_vvvvvyz);
|
vvvvvza(add_custom_button_vvvvvza);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// #jform_button_position listeners for button_position_vvvvvza function
|
// #jform_button_position listeners for button_position_vvvvvzb function
|
||||||
jQuery('#jform_button_position').on('keyup',function()
|
jQuery('#jform_button_position').on('keyup',function()
|
||||||
{
|
{
|
||||||
var button_position_vvvvvza = jQuery("#jform_button_position").val();
|
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
|
||||||
vvvvvza(button_position_vvvvvza);
|
vvvvvzb(button_position_vvvvvzb);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_button_position',function (e)
|
jQuery('#adminForm').on('change', '#jform_button_position',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var button_position_vvvvvza = jQuery("#jform_button_position").val();
|
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
|
||||||
vvvvvza(button_position_vvvvvza);
|
vvvvvzb(button_position_vvvvvzb);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<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()
|
jQuery('#jform_add_php_view').on('keyup',function()
|
||||||
{
|
{
|
||||||
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzb(add_php_view_vvvvvzb);
|
vvvvvzc(add_php_view_vvvvvzc);
|
||||||
|
|
||||||
});
|
});
|
||||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||||
{
|
{
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||||
vvvvvzb(add_php_view_vvvvvzb);
|
vvvvvzc(add_php_view_vvvvvzc);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<extension type="component" version="3.2" method="upgrade">
|
<extension type="component" version="3.2" method="upgrade">
|
||||||
<name>COM_COMPONENTBUILDER</name>
|
<name>COM_COMPONENTBUILDER</name>
|
||||||
<creationDate>6th May, 2019</creationDate>
|
<creationDate>15th May, 2019</creationDate>
|
||||||
<author>Llewellyn van der Merwe</author>
|
<author>Llewellyn van der Merwe</author>
|
||||||
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
|
||||||
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
|
||||||
<copyright>Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.</copyright>
|
<copyright>Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.</copyright>
|
||||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||||
<version>2.9.16</version>
|
<version>2.9.18</version>
|
||||||
<description><![CDATA[
|
<description><![CDATA[
|
||||||
<h1>Component Builder (v.2.9.16)</h1>
|
<h1>Component Builder (v.2.9.18)</h1>
|
||||||
<div style="clear: both;"></div>
|
<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.
|
<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.
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@
|
|||||||
<version>2.9.15</version>
|
<version>2.9.15</version>
|
||||||
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
||||||
<downloads>
|
<downloads>
|
||||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.16/JCB_v2.9.16.zip</downloadurl>
|
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.18/JCB_v2.9.18.zip</downloadurl>
|
||||||
</downloads>
|
</downloads>
|
||||||
<tags>
|
<tags>
|
||||||
<tag>stable</tag>
|
<tag>stable</tag>
|
||||||
@ -653,7 +653,24 @@
|
|||||||
<version>2.9.16</version>
|
<version>2.9.16</version>
|
||||||
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
||||||
<downloads>
|
<downloads>
|
||||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.16/JCB_v2.9.16.zip</downloadurl>
|
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.18/JCB_v2.9.18.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>
|
||||||
|
<update>
|
||||||
|
<name>Component Builder</name>
|
||||||
|
<description>Builds Complex Joomla Components</description>
|
||||||
|
<element>com_componentbuilder</element>
|
||||||
|
<type>component</type>
|
||||||
|
<version>2.9.18</version>
|
||||||
|
<infourl title="Component Builder!">http://www.joomlacomponentbuilder.com</infourl>
|
||||||
|
<downloads>
|
||||||
|
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.18/JCB_v2.9.18.zip</downloadurl>
|
||||||
</downloads>
|
</downloads>
|
||||||
<tags>
|
<tags>
|
||||||
<tag>stable</tag>
|
<tag>stable</tag>
|
||||||
|
10
script.php
10
script.php
@ -3680,9 +3680,9 @@ class com_componentbuilderInstallerScript
|
|||||||
$joomla_component->type_title = 'Componentbuilder Joomla_component';
|
$joomla_component->type_title = 'Componentbuilder Joomla_component';
|
||||||
$joomla_component->type_alias = 'com_componentbuilder.joomla_component';
|
$joomla_component->type_alias = 'com_componentbuilder.joomla_component';
|
||||||
$joomla_component->table = '{"special": {"dbtable": "#__componentbuilder_joomla_component","key": "id","type": "Joomla_component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$joomla_component->table = '{"special": {"dbtable": "#__componentbuilder_joomla_component","key": "id","type": "Joomla_component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$joomla_component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_helper_admin","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "metadata","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "metakey","core_metadesc": "metadesc","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","short_description":"short_description","companyname":"companyname","php_helper_admin":"php_helper_admin","add_email_helper":"add_email_helper","debug_linenr":"debug_linenr","sql":"sql","php_preflight_update":"php_preflight_update","css_site":"css_site","description":"description","mvc_versiondate":"mvc_versiondate","add_placeholders":"add_placeholders","php_helper_site":"php_helper_site","javascript":"javascript","copyright":"copyright","author":"author","php_postflight_update":"php_postflight_update","email":"email","readme":"readme","website":"website","buildcomp":"buildcomp","add_license":"add_license","adduikit":"adduikit","license_type":"license_type","php_helper_both":"php_helper_both","php_admin_event":"php_admin_event","whmcs_key":"whmcs_key","php_site_event":"php_site_event","whmcs_url":"whmcs_url","css_admin":"css_admin","whmcs_buy_link":"whmcs_buy_link","license":"license","php_preflight_install":"php_preflight_install","bom":"bom","php_postflight_install":"php_postflight_install","image":"image","php_method_uninstall":"php_method_uninstall","update_server_target":"update_server_target","sql_uninstall":"sql_uninstall","update_server":"update_server","add_update_server":"add_update_server","component_version":"component_version","not_required":"not_required","sales_server":"sales_server","creatuserhelper":"creatuserhelper","addfootable":"addfootable","add_php_helper_both":"add_php_helper_both","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_menu_prefix":"add_menu_prefix","add_javascript":"add_javascript","menu_prefix":"menu_prefix","add_css_admin":"add_css_admin","add_css_site":"add_css_site","dashboard_type":"dashboard_type","toignore":"toignore","dashboard":"dashboard","add_php_preflight_install":"add_php_preflight_install","add_php_preflight_update":"add_php_preflight_update","export_key":"export_key","add_php_postflight_install":"add_php_postflight_install","joomla_source_link":"joomla_source_link","add_php_postflight_update":"add_php_postflight_update","export_buy_link":"export_buy_link","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_sql_uninstall":"add_sql_uninstall","addreadme":"addreadme","emptycontributors":"emptycontributors","number":"number","update_server_url":"update_server_url","add_sales_server":"add_sales_server","buildcompsql":"buildcompsql","name":"name"}}';
|
$joomla_component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_helper_site","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "metadata","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "metakey","core_metadesc": "metadesc","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","short_description":"short_description","companyname":"companyname","php_helper_site":"php_helper_site","debug_linenr":"debug_linenr","crowdin_account_api_key":"crowdin_account_api_key","update_server":"update_server","readme":"readme","php_postflight_update":"php_postflight_update","description":"description","mvc_versiondate":"mvc_versiondate","add_placeholders":"add_placeholders","javascript":"javascript","css_site":"css_site","copyright":"copyright","php_preflight_update":"php_preflight_update","author":"author","sql":"sql","email":"email","update_server_target":"update_server_target","add_email_helper":"add_email_helper","php_helper_admin":"php_helper_admin","website":"website","component_version":"component_version","php_helper_both":"php_helper_both","add_license":"add_license","php_admin_event":"php_admin_event","license_type":"license_type","php_site_event":"php_site_event","css_admin":"css_admin","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","php_preflight_install":"php_preflight_install","whmcs_buy_link":"whmcs_buy_link","php_postflight_install":"php_postflight_install","license":"license","php_method_uninstall":"php_method_uninstall","bom":"bom","sql_uninstall":"sql_uninstall","image":"image","add_update_server":"add_update_server","not_required":"not_required","sales_server":"sales_server","crowdin_project_api_key":"crowdin_project_api_key","buildcomp":"buildcomp","addfootable":"addfootable","add_php_helper_both":"add_php_helper_both","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_menu_prefix":"add_menu_prefix","add_javascript":"add_javascript","menu_prefix":"menu_prefix","add_css_admin":"add_css_admin","add_css_site":"add_css_site","dashboard_type":"dashboard_type","toignore":"toignore","dashboard":"dashboard","add_php_preflight_install":"add_php_preflight_install","add_php_preflight_update":"add_php_preflight_update","export_key":"export_key","add_php_postflight_install":"add_php_postflight_install","joomla_source_link":"joomla_source_link","add_php_postflight_update":"add_php_postflight_update","export_buy_link":"export_buy_link","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_sql_uninstall":"add_sql_uninstall","addreadme":"addreadme","emptycontributors":"emptycontributors","number":"number","update_server_url":"update_server_url","add_sales_server":"add_sales_server","translation_tool":"translation_tool","crowdin_project_identifier":"crowdin_project_identifier","crowdin_username":"crowdin_username","creatuserhelper":"creatuserhelper","adduikit":"adduikit","buildcompsql":"buildcompsql","name":"name"}}';
|
||||||
$joomla_component->router = 'ComponentbuilderHelperRoute::getJoomla_componentRoute';
|
$joomla_component->router = 'ComponentbuilderHelperRoute::getJoomla_componentRoute';
|
||||||
$joomla_component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_email_helper","debug_linenr","mvc_versiondate","add_placeholders","buildcomp","add_license","adduikit","license_type","update_server_target","update_server","add_update_server","not_required","sales_server","creatuserhelper","addfootable","add_php_helper_both","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_javascript","add_css_admin","add_css_site","dashboard_type","add_php_preflight_install","add_php_preflight_update","add_php_postflight_install","add_php_postflight_update","add_php_method_uninstall","add_sql","add_sql_uninstall","addreadme","emptycontributors","number","add_sales_server"],"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": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dashboard","targetTable": "#__componentbuilder_custom_admin_view","targetColumn": "","displayColumn": "system_name"}]}';
|
$joomla_component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","update_server","mvc_versiondate","add_placeholders","update_server_target","add_email_helper","add_license","license_type","add_update_server","not_required","sales_server","buildcomp","addfootable","add_php_helper_both","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_javascript","add_css_admin","add_css_site","dashboard_type","add_php_preflight_install","add_php_preflight_update","add_php_postflight_install","add_php_postflight_update","add_php_method_uninstall","add_sql","add_sql_uninstall","addreadme","emptycontributors","number","add_sales_server","translation_tool","creatuserhelper","adduikit"],"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": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dashboard","targetTable": "#__componentbuilder_custom_admin_view","targetColumn": "","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Set the object into the content types table.
|
// Set the object into the content types table.
|
||||||
$joomla_component_Inserted = $db->insertObject('#__content_types', $joomla_component);
|
$joomla_component_Inserted = $db->insertObject('#__content_types', $joomla_component);
|
||||||
@ -4150,9 +4150,9 @@ class com_componentbuilderInstallerScript
|
|||||||
$joomla_component->type_title = 'Componentbuilder Joomla_component';
|
$joomla_component->type_title = 'Componentbuilder Joomla_component';
|
||||||
$joomla_component->type_alias = 'com_componentbuilder.joomla_component';
|
$joomla_component->type_alias = 'com_componentbuilder.joomla_component';
|
||||||
$joomla_component->table = '{"special": {"dbtable": "#__componentbuilder_joomla_component","key": "id","type": "Joomla_component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
$joomla_component->table = '{"special": {"dbtable": "#__componentbuilder_joomla_component","key": "id","type": "Joomla_component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||||
$joomla_component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_helper_admin","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "metadata","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "metakey","core_metadesc": "metadesc","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","short_description":"short_description","companyname":"companyname","php_helper_admin":"php_helper_admin","add_email_helper":"add_email_helper","debug_linenr":"debug_linenr","sql":"sql","php_preflight_update":"php_preflight_update","css_site":"css_site","description":"description","mvc_versiondate":"mvc_versiondate","add_placeholders":"add_placeholders","php_helper_site":"php_helper_site","javascript":"javascript","copyright":"copyright","author":"author","php_postflight_update":"php_postflight_update","email":"email","readme":"readme","website":"website","buildcomp":"buildcomp","add_license":"add_license","adduikit":"adduikit","license_type":"license_type","php_helper_both":"php_helper_both","php_admin_event":"php_admin_event","whmcs_key":"whmcs_key","php_site_event":"php_site_event","whmcs_url":"whmcs_url","css_admin":"css_admin","whmcs_buy_link":"whmcs_buy_link","license":"license","php_preflight_install":"php_preflight_install","bom":"bom","php_postflight_install":"php_postflight_install","image":"image","php_method_uninstall":"php_method_uninstall","update_server_target":"update_server_target","sql_uninstall":"sql_uninstall","update_server":"update_server","add_update_server":"add_update_server","component_version":"component_version","not_required":"not_required","sales_server":"sales_server","creatuserhelper":"creatuserhelper","addfootable":"addfootable","add_php_helper_both":"add_php_helper_both","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_menu_prefix":"add_menu_prefix","add_javascript":"add_javascript","menu_prefix":"menu_prefix","add_css_admin":"add_css_admin","add_css_site":"add_css_site","dashboard_type":"dashboard_type","toignore":"toignore","dashboard":"dashboard","add_php_preflight_install":"add_php_preflight_install","add_php_preflight_update":"add_php_preflight_update","export_key":"export_key","add_php_postflight_install":"add_php_postflight_install","joomla_source_link":"joomla_source_link","add_php_postflight_update":"add_php_postflight_update","export_buy_link":"export_buy_link","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_sql_uninstall":"add_sql_uninstall","addreadme":"addreadme","emptycontributors":"emptycontributors","number":"number","update_server_url":"update_server_url","add_sales_server":"add_sales_server","buildcompsql":"buildcompsql","name":"name"}}';
|
$joomla_component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "system_name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "php_helper_site","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "metadata","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "metakey","core_metadesc": "metadesc","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","short_description":"short_description","companyname":"companyname","php_helper_site":"php_helper_site","debug_linenr":"debug_linenr","crowdin_account_api_key":"crowdin_account_api_key","update_server":"update_server","readme":"readme","php_postflight_update":"php_postflight_update","description":"description","mvc_versiondate":"mvc_versiondate","add_placeholders":"add_placeholders","javascript":"javascript","css_site":"css_site","copyright":"copyright","php_preflight_update":"php_preflight_update","author":"author","sql":"sql","email":"email","update_server_target":"update_server_target","add_email_helper":"add_email_helper","php_helper_admin":"php_helper_admin","website":"website","component_version":"component_version","php_helper_both":"php_helper_both","add_license":"add_license","php_admin_event":"php_admin_event","license_type":"license_type","php_site_event":"php_site_event","css_admin":"css_admin","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","php_preflight_install":"php_preflight_install","whmcs_buy_link":"whmcs_buy_link","php_postflight_install":"php_postflight_install","license":"license","php_method_uninstall":"php_method_uninstall","bom":"bom","sql_uninstall":"sql_uninstall","image":"image","add_update_server":"add_update_server","not_required":"not_required","sales_server":"sales_server","crowdin_project_api_key":"crowdin_project_api_key","buildcomp":"buildcomp","addfootable":"addfootable","add_php_helper_both":"add_php_helper_both","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_menu_prefix":"add_menu_prefix","add_javascript":"add_javascript","menu_prefix":"menu_prefix","add_css_admin":"add_css_admin","add_css_site":"add_css_site","dashboard_type":"dashboard_type","toignore":"toignore","dashboard":"dashboard","add_php_preflight_install":"add_php_preflight_install","add_php_preflight_update":"add_php_preflight_update","export_key":"export_key","add_php_postflight_install":"add_php_postflight_install","joomla_source_link":"joomla_source_link","add_php_postflight_update":"add_php_postflight_update","export_buy_link":"export_buy_link","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_sql_uninstall":"add_sql_uninstall","addreadme":"addreadme","emptycontributors":"emptycontributors","number":"number","update_server_url":"update_server_url","add_sales_server":"add_sales_server","translation_tool":"translation_tool","crowdin_project_identifier":"crowdin_project_identifier","crowdin_username":"crowdin_username","creatuserhelper":"creatuserhelper","adduikit":"adduikit","buildcompsql":"buildcompsql","name":"name"}}';
|
||||||
$joomla_component->router = 'ComponentbuilderHelperRoute::getJoomla_componentRoute';
|
$joomla_component->router = 'ComponentbuilderHelperRoute::getJoomla_componentRoute';
|
||||||
$joomla_component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_email_helper","debug_linenr","mvc_versiondate","add_placeholders","buildcomp","add_license","adduikit","license_type","update_server_target","update_server","add_update_server","not_required","sales_server","creatuserhelper","addfootable","add_php_helper_both","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_javascript","add_css_admin","add_css_site","dashboard_type","add_php_preflight_install","add_php_preflight_update","add_php_postflight_install","add_php_postflight_update","add_php_method_uninstall","add_sql","add_sql_uninstall","addreadme","emptycontributors","number","add_sales_server"],"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": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dashboard","targetTable": "#__componentbuilder_custom_admin_view","targetColumn": "","displayColumn": "system_name"}]}';
|
$joomla_component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","update_server","mvc_versiondate","add_placeholders","update_server_target","add_email_helper","add_license","license_type","add_update_server","not_required","sales_server","buildcomp","addfootable","add_php_helper_both","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_javascript","add_css_admin","add_css_site","dashboard_type","add_php_preflight_install","add_php_preflight_update","add_php_postflight_install","add_php_postflight_update","add_php_method_uninstall","add_sql","add_sql_uninstall","addreadme","emptycontributors","number","add_sales_server","translation_tool","creatuserhelper","adduikit"],"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": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "dashboard","targetTable": "#__componentbuilder_custom_admin_view","targetColumn": "","displayColumn": "system_name"}]}';
|
||||||
|
|
||||||
// Check if joomla_component type is already in content_type DB.
|
// Check if joomla_component type is already in content_type DB.
|
||||||
$joomla_component_id = null;
|
$joomla_component_id = null;
|
||||||
@ -5426,7 +5426,7 @@ class com_componentbuilderInstallerScript
|
|||||||
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
|
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
|
||||||
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
||||||
</a>
|
</a>
|
||||||
<h3>Upgrade to Version 2.9.16 Was Successful! Let us know if anything is not working as expected.</h3>';
|
<h3>Upgrade to Version 2.9.18 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +32,225 @@ class ComponentbuilderControllerApi extends JControllerForm
|
|||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The methods that are allowed to be called
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $allowedMethods = array('compileInstall', 'translate');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The local methods that should be triggered
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $localMethodTrigger = array('compileInstall' => '_autoloader');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run the Translator
|
||||||
|
*
|
||||||
|
* @return mix
|
||||||
|
*/
|
||||||
|
public function translator()
|
||||||
|
{
|
||||||
|
// get params first
|
||||||
|
if (!isset($this->params) || !ComponentbuilderHelper::checkObject($this->params))
|
||||||
|
{
|
||||||
|
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
||||||
|
}
|
||||||
|
// get model
|
||||||
|
$model = $this->getModel('api');
|
||||||
|
// check if user has the right
|
||||||
|
$user = $this->getApiUser();
|
||||||
|
// get components that have translation tools
|
||||||
|
if ($user->authorise('core.admin', 'com_componentbuilder') && ($components = $model->getTranslationLinkedComponents()) !== false)
|
||||||
|
{
|
||||||
|
// the message package
|
||||||
|
$message = array();
|
||||||
|
// make sure to not unlock
|
||||||
|
$unlock = false;
|
||||||
|
// get messages
|
||||||
|
$callback = function($messages) use (&$message, &$unlock) {
|
||||||
|
// unlock messages if needed
|
||||||
|
if ($unlock) {
|
||||||
|
$messages = ComponentbuilderHelper::unlock($messages);
|
||||||
|
}
|
||||||
|
// check if we have any messages
|
||||||
|
if (ComponentbuilderHelper::checkArray($messages)) {
|
||||||
|
$message[] = implode("<br />\n", $messages);
|
||||||
|
} else {
|
||||||
|
// var_dump($messages); // error debug message
|
||||||
|
}
|
||||||
|
};
|
||||||
|
// we have two options, doing them one at a time, or using curl to do them somewhat asynchronously
|
||||||
|
if (count ( (array) $components) > 1 && function_exists('curl_version'))
|
||||||
|
{
|
||||||
|
// line up the translations
|
||||||
|
foreach ($components as $component)
|
||||||
|
{
|
||||||
|
ComponentbuilderHelper::setWorker($component, 'translate');
|
||||||
|
}
|
||||||
|
// make sure to unlock
|
||||||
|
$unlock = true;
|
||||||
|
// run workers
|
||||||
|
ComponentbuilderHelper::runWorker('translate', 1, $callback);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach ($components as $component)
|
||||||
|
{
|
||||||
|
$model->translate($component);
|
||||||
|
}
|
||||||
|
// check if we have any messages
|
||||||
|
$callback($model->messages);
|
||||||
|
}
|
||||||
|
// return messages if found
|
||||||
|
if (ComponentbuilderHelper::checkArray($message))
|
||||||
|
{
|
||||||
|
echo implode("<br />\n", $message);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo 1;
|
||||||
|
}
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
jexit();
|
||||||
|
}
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
// return bool
|
||||||
|
echo 0;
|
||||||
|
jexit();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run the Expansion
|
||||||
|
*
|
||||||
|
* @return mix
|
||||||
|
*/
|
||||||
|
public function expand()
|
||||||
|
{
|
||||||
|
// get params first
|
||||||
|
if (!isset($this->params) || !ComponentbuilderHelper::checkObject($this->params))
|
||||||
|
{
|
||||||
|
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
||||||
|
}
|
||||||
|
// check if expansion is enabled
|
||||||
|
$method = $this->params->get('development_method', 1);
|
||||||
|
// check what kind of return values show we give
|
||||||
|
$returnOptionsBuild = $this->params->get('return_options_build', 2);
|
||||||
|
if (2 == $method)
|
||||||
|
{
|
||||||
|
// get expansion components
|
||||||
|
$expansion = $this->params->get('expansion', null);
|
||||||
|
// check if they are set
|
||||||
|
if (ComponentbuilderHelper::checkObject($expansion))
|
||||||
|
{
|
||||||
|
// check if user has the right
|
||||||
|
$user = $this->getApiUser();
|
||||||
|
// the message package
|
||||||
|
$message = array();
|
||||||
|
if ($user->authorise('core.admin', 'com_componentbuilder'))
|
||||||
|
{
|
||||||
|
// make sure to not unlock
|
||||||
|
$unlock = false;
|
||||||
|
// get messages
|
||||||
|
$callback = function($messages) use (&$message, &$unlock) {
|
||||||
|
// unlock messages if needed
|
||||||
|
if ($unlock) {
|
||||||
|
$messages = ComponentbuilderHelper::unlock($messages);
|
||||||
|
}
|
||||||
|
// check if we have any messages
|
||||||
|
if (ComponentbuilderHelper::checkArray($messages)) {
|
||||||
|
$message[] = implode("<br />\n", $messages);
|
||||||
|
} else {
|
||||||
|
// var_dump($messages); // error debug message
|
||||||
|
}
|
||||||
|
};
|
||||||
|
// we have two options, doing them one at a time, or using curl to do them somewhat asynchronously
|
||||||
|
if (count ( (array) $expansion) > 1 && function_exists('curl_version'))
|
||||||
|
{
|
||||||
|
// set workers
|
||||||
|
foreach ($expansion as $component)
|
||||||
|
{
|
||||||
|
ComponentbuilderHelper::setWorker($component, 'compileInstall');
|
||||||
|
}
|
||||||
|
// make sure to unlock
|
||||||
|
$unlock = true;
|
||||||
|
// run workers
|
||||||
|
ComponentbuilderHelper::runWorker('compileInstall', 1, $callback);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// get model
|
||||||
|
$model = $this->getModel('api');
|
||||||
|
// load the compiler
|
||||||
|
$this->_autoloader();
|
||||||
|
// set workers
|
||||||
|
foreach ($expansion as $component)
|
||||||
|
{
|
||||||
|
// compile and install
|
||||||
|
$model->compileInstall($component);
|
||||||
|
}
|
||||||
|
// check if we have any messages
|
||||||
|
$callback($model->messages);
|
||||||
|
}
|
||||||
|
// return messages if found
|
||||||
|
if (1== $returnOptionsBuild && ComponentbuilderHelper::checkArray($message))
|
||||||
|
{
|
||||||
|
echo implode("<br />\n", $message);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
echo 1;
|
||||||
|
}
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
jexit();
|
||||||
|
}
|
||||||
|
// check if message is to be returned
|
||||||
|
if (1== $returnOptionsBuild)
|
||||||
|
{
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
jexit('Access Denied!');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
// check if message is to be returned
|
||||||
|
if (1== $returnOptionsBuild)
|
||||||
|
{
|
||||||
|
jexit('Expansion Disabled! Expansion can be enabled by your system administrator in the global Options of JCB under the Development Method tab.');
|
||||||
|
}
|
||||||
|
// return bool
|
||||||
|
echo 0;
|
||||||
|
jexit();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get API User
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
protected function getApiUser()
|
||||||
|
{
|
||||||
|
// return user object
|
||||||
|
return JFactory::getUser($this->params->get('api', 0, 'INT'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load the needed script
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function _autoloader()
|
||||||
|
{
|
||||||
|
// include component compiler
|
||||||
|
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/compiler.php';
|
||||||
|
}
|
||||||
|
|
||||||
public function backup()
|
public function backup()
|
||||||
{
|
{
|
||||||
@ -193,122 +412,6 @@ class ComponentbuilderControllerApi extends JControllerForm
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Run the Expansion
|
|
||||||
*
|
|
||||||
* @return mix
|
|
||||||
*/
|
|
||||||
public function expand()
|
|
||||||
{
|
|
||||||
// get params first
|
|
||||||
if (!isset($this->params) || !ComponentbuilderHelper::checkObject($this->params))
|
|
||||||
{
|
|
||||||
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
|
||||||
}
|
|
||||||
// check if expansion is enabled
|
|
||||||
$method = $this->params->get('development_method', 1);
|
|
||||||
// check what kind of return values show we give
|
|
||||||
$returnOptionsBuild = $this->params->get('return_options_build', 2);
|
|
||||||
if (2 == $method)
|
|
||||||
{
|
|
||||||
// get expansion components
|
|
||||||
$expansion = $this->params->get('expansion', null);
|
|
||||||
// check if they are set
|
|
||||||
if (ComponentbuilderHelper::checkObject($expansion))
|
|
||||||
{
|
|
||||||
// check if user has the right
|
|
||||||
$user = $this->getApiUser();
|
|
||||||
// the message package
|
|
||||||
$message = array();
|
|
||||||
if ($user->authorise('core.admin', 'com_componentbuilder'))
|
|
||||||
{
|
|
||||||
// make sure to not unlock
|
|
||||||
$unlock = false;
|
|
||||||
// get messages
|
|
||||||
$callback = function($messages) use (&$message, &$unlock) {
|
|
||||||
// unlock messages if needed
|
|
||||||
if ($unlock) {
|
|
||||||
$messages = ComponentbuilderHelper::unlock($messages);
|
|
||||||
}
|
|
||||||
// check if we have any messages
|
|
||||||
if (ComponentbuilderHelper::checkArray($messages)) {
|
|
||||||
$message[] = implode("<br />\n", $messages);
|
|
||||||
} else {
|
|
||||||
// var_dump($messages); // error debug message
|
|
||||||
}
|
|
||||||
};
|
|
||||||
// we have two options, doing them one at a time, use using curl to do tome somewhat asynchronously
|
|
||||||
if (count ( (array) $expansion) > 1 && function_exists('curl_version'))
|
|
||||||
{
|
|
||||||
// set workers
|
|
||||||
foreach ($expansion as $component)
|
|
||||||
{
|
|
||||||
ComponentbuilderHelper::setWorker($component, 'compileInstall');
|
|
||||||
}
|
|
||||||
// make sure to unlock
|
|
||||||
$unlock = true;
|
|
||||||
// run workers
|
|
||||||
ComponentbuilderHelper::runWorker('compileInstall', 1, $callback);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// get model
|
|
||||||
$model = $this->getModel('api');
|
|
||||||
// load the compiler
|
|
||||||
$this->_autoloader();
|
|
||||||
// set workers
|
|
||||||
foreach ($expansion as $component)
|
|
||||||
{
|
|
||||||
// compile and install
|
|
||||||
$model->compileInstall($component);
|
|
||||||
}
|
|
||||||
// check if we have any messages
|
|
||||||
$callback($model->messages);
|
|
||||||
}
|
|
||||||
// return messages if found
|
|
||||||
if (1== $returnOptionsBuild && ComponentbuilderHelper::checkArray($message))
|
|
||||||
{
|
|
||||||
echo implode("<br />\n", $message);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo 1;
|
|
||||||
}
|
|
||||||
// clear session
|
|
||||||
JFactory::getApplication()->getSession()->destroy();
|
|
||||||
jexit();
|
|
||||||
}
|
|
||||||
// check if message is to be returned
|
|
||||||
if (1== $returnOptionsBuild)
|
|
||||||
{
|
|
||||||
// clear session
|
|
||||||
JFactory::getApplication()->getSession()->destroy();
|
|
||||||
jexit('Access Denied!');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// clear session
|
|
||||||
JFactory::getApplication()->getSession()->destroy();
|
|
||||||
// check if message is to be returned
|
|
||||||
if (1== $returnOptionsBuild)
|
|
||||||
{
|
|
||||||
jexit('Expansion Disabled! Expansion can be enabled by your system administrator in the global Options of JCB under the Development Method tab.');
|
|
||||||
}
|
|
||||||
// return bool
|
|
||||||
echo 0;
|
|
||||||
jexit();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get API User
|
|
||||||
*
|
|
||||||
* @return object
|
|
||||||
*/
|
|
||||||
protected function getApiUser()
|
|
||||||
{
|
|
||||||
// return user object
|
|
||||||
return JFactory::getUser($this->params->get('api', 0, 'INT'));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run worker request
|
* Run worker request
|
||||||
@ -337,26 +440,36 @@ class ComponentbuilderControllerApi extends JControllerForm
|
|||||||
// check the for a string
|
// check the for a string
|
||||||
if (1 == $type && ComponentbuilderHelper::checkObject($dataValues) && ComponentbuilderHelper::checkString($task))
|
if (1 == $type && ComponentbuilderHelper::checkObject($dataValues) && ComponentbuilderHelper::checkString($task))
|
||||||
{
|
{
|
||||||
// get params first
|
|
||||||
if (!isset($this->params) || !ComponentbuilderHelper::checkObject($this->params))
|
|
||||||
{
|
|
||||||
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
|
||||||
}
|
|
||||||
// get model
|
// get model
|
||||||
$model = $this->getModel('api');
|
$model = $this->getModel('api');
|
||||||
// open the compile Install function
|
// check if allowed and method exist and is callable
|
||||||
if ('compileInstall' === $task)
|
if (in_array($task, $this->allowedMethods) && method_exists($model, $task) && is_callable(array($model, $task)))
|
||||||
|
{
|
||||||
|
// trigger local method
|
||||||
|
if (isset($this->localMethodTrigger[$task]))
|
||||||
|
{
|
||||||
|
// run the local method
|
||||||
|
$this->{$this->localMethodTrigger[$task]}();
|
||||||
|
}
|
||||||
|
// run the model method
|
||||||
|
$result = $model->{$task}($dataValues);
|
||||||
|
// check if we have messages
|
||||||
|
if (ComponentbuilderHelper::checkArray($model->messages))
|
||||||
{
|
{
|
||||||
// load the compiler
|
|
||||||
$this->_autoloader();
|
|
||||||
// compile and install
|
|
||||||
$model->compileInstall($dataValues);
|
|
||||||
// return locked values
|
// return locked values
|
||||||
echo ComponentbuilderHelper::lock($model->messages);
|
echo ComponentbuilderHelper::lock($model->messages);
|
||||||
// clear session
|
// clear session
|
||||||
JFactory::getApplication()->getSession()->destroy();
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
jexit();
|
jexit();
|
||||||
}
|
}
|
||||||
|
elseif ($result)
|
||||||
|
{
|
||||||
|
echo 1;
|
||||||
|
// clear session
|
||||||
|
JFactory::getApplication()->getSession()->destroy();
|
||||||
|
jexit();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// not success
|
// not success
|
||||||
@ -366,16 +479,6 @@ class ComponentbuilderControllerApi extends JControllerForm
|
|||||||
jexit();
|
jexit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Load the needed script
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
protected function _autoloader()
|
|
||||||
{
|
|
||||||
// include component compiler
|
|
||||||
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/compiler.php';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method to check if you can edit an existing record.
|
* Method to check if you can edit an existing record.
|
||||||
|
@ -2612,7 +2612,7 @@ abstract class ComponentbuilderHelper
|
|||||||
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
||||||
),
|
),
|
||||||
'plain' => array(
|
'plain' => array(
|
||||||
'cachehandler', 'calendar', 'checkbox', 'chromestyle', 'color', 'componentlayout', 'contenttype', 'editor', 'editors',
|
'cachehandler', 'calendar', 'checkbox', 'chromestyle', 'color', 'componentlayout', 'contenttype', 'editor', 'editors', 'captcha',
|
||||||
'email', 'file', 'headertag', 'helpsite', 'hidden', 'integer', 'language', 'media', 'menu', 'menuitem', 'meter', 'modulelayout',
|
'email', 'file', 'headertag', 'helpsite', 'hidden', 'integer', 'language', 'media', 'menu', 'menuitem', 'meter', 'modulelayout',
|
||||||
'moduleorder', 'moduletag', 'number', 'password', 'range', 'rules', 'tag', 'tel', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
'moduleorder', 'moduletag', 'number', 'password', 'range', 'rules', 'tag', 'tel', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
|
||||||
),
|
),
|
||||||
@ -4460,6 +4460,115 @@ abstract class ComponentbuilderHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy date
|
||||||
|
*/
|
||||||
|
public static function fancyDate($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('jS \o\f F Y',$date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get date based in period past
|
||||||
|
*/
|
||||||
|
public static function fancyDynamicDate($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
// older then year
|
||||||
|
$lastyear = date("Y", strtotime("-1 year"));
|
||||||
|
$tragetyear = date("Y", $date);
|
||||||
|
if ($tragetyear <= $lastyear)
|
||||||
|
{
|
||||||
|
return date('m/d/y', $date);
|
||||||
|
}
|
||||||
|
// same day
|
||||||
|
$yesterday = strtotime("-1 day");
|
||||||
|
if ($date > $yesterday)
|
||||||
|
{
|
||||||
|
return date('g:i A', $date);
|
||||||
|
}
|
||||||
|
// just month day
|
||||||
|
return date('M j', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy day time and date
|
||||||
|
*/
|
||||||
|
public static function fancyDayTimeDate($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('D ga jS \o\f F Y',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice fancy time and date
|
||||||
|
*/
|
||||||
|
public static function fancyDateTime($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('(G:i) jS \o\f F Y',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Change to nice hour:minutes time
|
||||||
|
*/
|
||||||
|
public static function fancyTime($time)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($time))
|
||||||
|
{
|
||||||
|
$time = strtotime($time);
|
||||||
|
}
|
||||||
|
return date('G:i',$time);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the date as 2004/05 (for charts)
|
||||||
|
*/
|
||||||
|
public static function setYearMonth($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('Y/m', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the date as 2004/05/03 (for charts)
|
||||||
|
*/
|
||||||
|
public static function setYearMonthDay($date)
|
||||||
|
{
|
||||||
|
if (!self::isValidTimeStamp($date))
|
||||||
|
{
|
||||||
|
$date = strtotime($date);
|
||||||
|
}
|
||||||
|
return date('Y/m/d', $date);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if string is a valid time stamp
|
||||||
|
*/
|
||||||
|
public static function isValidTimeStamp($timestamp)
|
||||||
|
{
|
||||||
|
return ((int) $timestamp === $timestamp)
|
||||||
|
&& ($timestamp <= PHP_INT_MAX)
|
||||||
|
&& ($timestamp >= ~PHP_INT_MAX);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
public static function jsonToString($value, $sperator = ", ", $table = null, $id = 'id', $name = 'name')
|
||||||
{
|
{
|
||||||
// do some table foot work
|
// do some table foot work
|
||||||
|
@ -88,6 +88,7 @@ COM_COMPONENTBUILDER_THE_URL_S_SET_TO_RETRIEVE_THE_PACKAGES_DOES_NOT_EXIST="The
|
|||||||
COM_COMPONENTBUILDER_THIS_PACKAGE_HAS_NO_KEY="This package has no key."
|
COM_COMPONENTBUILDER_THIS_PACKAGE_HAS_NO_KEY="This package has no key."
|
||||||
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_BJCB_GLOBAL_OPTIONSB_GO_TO_THE_BCOMPANYB_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the <b>JCB Global Options</b>, go to the <b>Company</b> tab and add the correct company details there."
|
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_BJCB_GLOBAL_OPTIONSB_GO_TO_THE_BCOMPANYB_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the <b>JCB Global Options</b>, go to the <b>Company</b> tab and add the correct company details there."
|
||||||
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_JCB_GLOBAL_OPTIONS_GO_TO_THE_COMPANY_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the JCB Global Options, go to the Company tab and add the correct company details there."
|
COM_COMPONENTBUILDER_TO_CHANGE_THE_PACKAGE_OWNER_DEFAULTS_OPEN_THE_JCB_GLOBAL_OPTIONS_GO_TO_THE_COMPANY_TAB_AND_ADD_THE_CORRECT_COMPANY_DETAILS_THERE="To change the package owner defaults. Open the JCB Global Options, go to the Company tab and add the correct company details there."
|
||||||
|
COM_COMPONENTBUILDER_TRANSLATOR_MODULE_NOT_READYBR_THIS_AREA_IS_STILL_UNDER_PRODUCTION_HOPEFULLY_WITH_NEXT_UPDATE="Translator Module not ready!<br />This area is still under production, hopefully with next update."
|
||||||
COM_COMPONENTBUILDER_WEBSITE_S="Website: %s"
|
COM_COMPONENTBUILDER_WEBSITE_S="Website: %s"
|
||||||
COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_ONE_HUNDRED_AND_TWENTY_EIGHT_BIT_ENCRYPTION_USING_THE_ABOVE_THIRTY_TWO_CHARACTER_KEY_WITHOUT_THIS_KEY_IT_WILL_TAKE_THE_CURRENT_TECHNOLOGY_WITH_A_BRUTE_FORCE_ATTACK_METHOD_MORE_THEN_A_HREFHTTPRANDOMIZECOMHOWLONGTOHACKPASS_TARGET_BLANK_TITLEHOW_LONG_TO_HACK_PASSSEVEN_HUNDRED_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZEROA_YEARS_TO_CRACK_THEORETICALLY_UNLESS_THEY_HAVE_THIS_KEY_ABOVE_SO_DO_KEEP_IT_SAFE="Your data is encrypted with a AES 128 bit encryption using the above 32 character key. Without this key it will take the current technology with a brute force attack method more then <a href="http://random-ize.com/how-long-to-hack-pass/" target="_blank" title="How long to hack pass">700 000 000 000 000 000 000 000 000 000 000</a> years to crack theoretically. Unless they have this key above, so do keep it safe."
|
COM_COMPONENTBUILDER_YOUR_DATA_IS_ENCRYPTED_WITH_A_AES_ONE_HUNDRED_AND_TWENTY_EIGHT_BIT_ENCRYPTION_USING_THE_ABOVE_THIRTY_TWO_CHARACTER_KEY_WITHOUT_THIS_KEY_IT_WILL_TAKE_THE_CURRENT_TECHNOLOGY_WITH_A_BRUTE_FORCE_ATTACK_METHOD_MORE_THEN_A_HREFHTTPRANDOMIZECOMHOWLONGTOHACKPASS_TARGET_BLANK_TITLEHOW_LONG_TO_HACK_PASSSEVEN_HUNDRED_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZERO_ZEROA_YEARS_TO_CRACK_THEORETICALLY_UNLESS_THEY_HAVE_THIS_KEY_ABOVE_SO_DO_KEEP_IT_SAFE="Your data is encrypted with a AES 128 bit encryption using the above 32 character key. Without this key it will take the current technology with a brute force attack method more then <a href="http://random-ize.com/how-long-to-hack-pass/" target="_blank" title="How long to hack pass">700 000 000 000 000 000 000 000 000 000 000</a> years to crack theoretically. Unless they have this key above, so do keep it safe."
|
||||||
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_THE_SERVER_DETAILS_BS_DENIEDB_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_INFO="You do not have permission to access the server details (<b>%s - denied</b>), please contact your system administrator for more info."
|
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_THE_SERVER_DETAILS_BS_DENIEDB_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_INFO="You do not have permission to access the server details (<b>%s - denied</b>), please contact your system administrator for more info."
|
||||||
|
@ -161,6 +161,32 @@ class ComponentbuilderModelApi extends JModelItem
|
|||||||
|
|
||||||
protected $compiler;
|
protected $compiler;
|
||||||
|
|
||||||
|
public function getTranslationLinkedComponents()
|
||||||
|
{
|
||||||
|
// Get a db connection.
|
||||||
|
$db = JFactory::getDbo();
|
||||||
|
// Create a new query object.
|
||||||
|
$query = $db->getQuery(true);
|
||||||
|
// for now we only have crowdin
|
||||||
|
$query->select($db->quoteName(array('id', 'translation_tool', 'crowdin_account_api_key', 'crowdin_project_api_key' ,'crowdin_project_identifier', 'crowdin_username')));
|
||||||
|
$query->from($db->quoteName('#__componentbuilder_joomla_component'));
|
||||||
|
$query->where($db->quoteName('translation_tool') . ' > 0');
|
||||||
|
$query->where($db->quoteName('published') . ' >= 1');
|
||||||
|
$db->setQuery($query);
|
||||||
|
$db->execute();
|
||||||
|
if ($db->getNumRows())
|
||||||
|
{
|
||||||
|
return $db->loadObjectList();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function translate($component)
|
||||||
|
{
|
||||||
|
$this->messages[] = JText::_('COM_COMPONENTBUILDER_TRANSLATOR_MODULE_NOT_READYBR_THIS_AREA_IS_STILL_UNDER_PRODUCTION_HOPEFULLY_WITH_NEXT_UPDATE');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public function compileInstall($component)
|
public function compileInstall($component)
|
||||||
{
|
{
|
||||||
$values = array(
|
$values = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user