Added Captcha field type. Started adding the crowdin integration.

This commit is contained in:
Llewellyn van der Merwe 2019-05-15 19:39:27 +02:00
parent a23f1fe79a
commit 80c588a33a
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
60 changed files with 4849 additions and 3870 deletions

View File

@ -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!
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)
@ -146,13 +146,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 6th May, 2019
+ *Version*: 2.9.16
+ *Last Build*: 15th May, 2019
+ *Version*: 2.9.18
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **205396**
+ *Field count*: **1130**
+ *File count*: **1342**
+ *Line count*: **206359**
+ *Field count*: **1136**
+ *File count*: **1344**
+ *Folder count*: **209**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -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!
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)
@ -146,13 +146,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
+ *Last Build*: 6th May, 2019
+ *Version*: 2.9.16
+ *Last Build*: 15th May, 2019
+ *Version*: 2.9.18
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **205396**
+ *Field count*: **1130**
+ *File count*: **1342**
+ *Line count*: **206359**
+ *Field count*: **1136**
+ *File count*: **1344**
+ *Folder count*: **209**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -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.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.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.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" />

View File

@ -30,6 +30,7 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
$this->registerTask('getComponentDetails', 'ajax');
$this->registerTask('getCronPath', 'ajax');
$this->registerTask('getJCBpackageInfo', 'ajax');
$this->registerTask('getCrowdinDetails', 'ajax');
$this->registerTask('tableColumns', 'ajax');
$this->registerTask('fieldSelectOptions', 'ajax');
$this->registerTask('getDynamicScripts', 'ajax');
@ -261,6 +262,45 @@ class ComponentbuilderControllerAjax extends JControllerLegacy
}
}
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':
try
{

View File

@ -35,79 +35,6 @@ class ComponentbuilderControllerCompiler extends JControllerAdmin
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
*
@ -234,4 +161,111 @@ class ComponentbuilderControllerCompiler extends JControllerAdmin
$this->setRedirect($redirect_url,$message,'error');
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;
}
}

View File

@ -360,6 +360,7 @@ class ComponentbuilderControllerJoomla_component extends JControllerForm
'component_config' => 'joomla_component',
'component_dashboard' => 'joomla_component',
'component_files_folders' => 'joomla_component',
'component_placeholders' => 'joomla_component',
'custom_code' => 'component'
);
foreach($_tablesArray as $_updateTable => $_key)

View File

@ -17,7 +17,7 @@ defined('_JEXEC') or die('Restricted access');
*/
class Get
{
/**
* The hash placeholder
*

View File

@ -13465,7 +13465,7 @@ class Interpretation extends Fields
if (isset($this->categoryBuilder[$nameList]) && ComponentbuilderHelper::checkArray($this->categoryBuilder[$nameList]) && !in_array($otherViews, $catArray))
{
// get the extention array
$_extetion_array = explode('.', $this->categoryBuilder[$nameList]['extension']);
$_extetion_array = (array) explode('.', $this->categoryBuilder[$nameList]['extension']);
// set the meny selection
if (isset($_extetion_array[1]))
{

View File

@ -2612,7 +2612,7 @@ abstract class ComponentbuilderHelper
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
),
'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',
'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);
}
/**
* 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.
**/

View File

@ -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_SUBMENU="Compiler Submenu"
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_COMPONENTS="Components"
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_LABEL="Revision"
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_CREATED_BY_DESC="The user that created this Component Updates."
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_CREATUSERHELPER="Creatuserhelper"
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_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)"
@ -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_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_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_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>"
@ -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_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_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_UPDATE_SERVER="Update Server"
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_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_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_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>"
@ -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_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_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_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."

View File

@ -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_SUBMENU="Compiler Submenu"
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_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"

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->wamfields;
$items = $displayData->wapfields;
$user = JFactory::getUser();
$id = $displayData->item->id;
// set the edit URL

View File

@ -29,11 +29,9 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
?>
<div class="form-vertical">
<?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; ?>
</div>
<?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; ?>

View 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; ?>

View File

@ -13,7 +13,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->wawlinked_components;
$items = $displayData->wazlinked_components;
$user = JFactory::getUser();
$id = $displayData->item->id;
// set the edit URL

View File

@ -76,6 +76,58 @@ class ComponentbuilderModelAjax extends JModelList
}
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)
**/

View File

@ -155,7 +155,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
public function getWamfields()
public function getWapfields()
{
// Get the user object.
$user = JFactory::getUser();
@ -237,13 +237,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
$item->datatype = $this->selectionTranslationWamfields($item->datatype, 'datatype');
$item->datatype = $this->selectionTranslationWapfields($item->datatype, 'datatype');
// convert indexes
$item->indexes = $this->selectionTranslationWamfields($item->indexes, 'indexes');
$item->indexes = $this->selectionTranslationWapfields($item->indexes, 'indexes');
// 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
$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
*/
public function selectionTranslationWamfields($value,$name)
public function selectionTranslationWapfields($value,$name)
{
// Array of datatype language strings
if ($name === 'datatype')

File diff suppressed because it is too large Load Diff

View File

@ -9,302 +9,302 @@
*/
// Some Global Values
jform_vvvvvygvxz_required = false;
jform_vvvvvyhvya_required = false;
jform_vvvvvyivyb_required = false;
jform_vvvvvyjvyc_required = false;
jform_vvvvvykvyd_required = false;
jform_vvvvvylvye_required = false;
jform_vvvvvymvyf_required = false;
jform_vvvvvynvyg_required = false;
jform_vvvvvynvyh_required = false;
jform_vvvvvyovyi_required = false;
jform_vvvvvypvyj_required = false;
jform_vvvvvyhvyc_required = false;
jform_vvvvvyivyd_required = false;
jform_vvvvvyjvye_required = false;
jform_vvvvvykvyf_required = false;
jform_vvvvvylvyg_required = false;
jform_vvvvvymvyh_required = false;
jform_vvvvvynvyi_required = false;
jform_vvvvvyovyj_required = false;
jform_vvvvvyovyk_required = false;
jform_vvvvvypvyl_required = false;
jform_vvvvvyqvym_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyh(add_php_view_vvvvvyh);
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyi(add_php_jview_display_vvvvvyi);
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyj(add_php_jview_vvvvvyj);
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyk(add_php_document_vvvvvyk);
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyl(add_css_document_vvvvvyl);
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvym(add_javascript_file_vvvvvym);
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyn(add_js_document_vvvvvyn);
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyo(add_custom_button_vvvvvyo);
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyp(add_css_vvvvvyp);
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq);
});
// the vvvvvyg function
function vvvvvyg(add_php_view_vvvvvyg)
// the vvvvvyh function
function vvvvvyh(add_php_view_vvvvvyh)
{
// 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();
// add required attribute to php_view field
if (jform_vvvvvygvxz_required)
if (jform_vvvvvyhvyc_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvygvxz_required = false;
jform_vvvvvyhvyc_required = false;
}
}
else
{
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field
if (!jform_vvvvvygvxz_required)
if (!jform_vvvvvyhvyc_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvygvxz_required = true;
jform_vvvvvyhvyc_required = true;
}
}
}
// the vvvvvyh function
function vvvvvyh(add_php_jview_display_vvvvvyh)
// the vvvvvyi function
function vvvvvyi(add_php_jview_display_vvvvvyi)
{
// 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();
// add required attribute to php_jview_display field
if (jform_vvvvvyhvya_required)
if (jform_vvvvvyivyd_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyhvya_required = false;
jform_vvvvvyivyd_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview_display field
if (!jform_vvvvvyhvya_required)
if (!jform_vvvvvyivyd_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyhvya_required = true;
jform_vvvvvyivyd_required = true;
}
}
}
// the vvvvvyi function
function vvvvvyi(add_php_jview_vvvvvyi)
// the vvvvvyj function
function vvvvvyj(add_php_jview_vvvvvyj)
{
// 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();
// add required attribute to php_jview field
if (jform_vvvvvyivyb_required)
if (jform_vvvvvyjvye_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvyivyb_required = false;
jform_vvvvvyjvye_required = false;
}
}
else
{
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
// remove required attribute from php_jview field
if (!jform_vvvvvyivyb_required)
if (!jform_vvvvvyjvye_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvyivyb_required = true;
jform_vvvvvyjvye_required = true;
}
}
}
// the vvvvvyj function
function vvvvvyj(add_php_document_vvvvvyj)
// the vvvvvyk function
function vvvvvyk(add_php_document_vvvvvyk)
{
// 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();
// add required attribute to php_document field
if (jform_vvvvvyjvyc_required)
if (jform_vvvvvykvyf_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvyjvyc_required = false;
jform_vvvvvykvyf_required = false;
}
}
else
{
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
// remove required attribute from php_document field
if (!jform_vvvvvyjvyc_required)
if (!jform_vvvvvykvyf_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvyjvyc_required = true;
jform_vvvvvykvyf_required = true;
}
}
}
// the vvvvvyk function
function vvvvvyk(add_css_document_vvvvvyk)
// the vvvvvyl function
function vvvvvyl(add_css_document_vvvvvyl)
{
// 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();
// add required attribute to css_document field
if (jform_vvvvvykvyd_required)
if (jform_vvvvvylvyg_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvykvyd_required = false;
jform_vvvvvylvyg_required = false;
}
}
else
{
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
// remove required attribute from css_document field
if (!jform_vvvvvykvyd_required)
if (!jform_vvvvvylvyg_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvykvyd_required = true;
jform_vvvvvylvyg_required = true;
}
}
}
// the vvvvvyl function
function vvvvvyl(add_javascript_file_vvvvvyl)
// the vvvvvym function
function vvvvvym(add_javascript_file_vvvvvym)
{
// 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();
// add required attribute to javascript_file field
if (jform_vvvvvylvye_required)
if (jform_vvvvvymvyh_required)
{
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvylvye_required = false;
jform_vvvvvymvyh_required = false;
}
}
else
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
// remove required attribute from javascript_file field
if (!jform_vvvvvylvye_required)
if (!jform_vvvvvymvyh_required)
{
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvylvye_required = true;
jform_vvvvvymvyh_required = true;
}
}
}
// the vvvvvym function
function vvvvvym(add_js_document_vvvvvym)
// the vvvvvyn function
function vvvvvyn(add_js_document_vvvvvyn)
{
// 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();
// add required attribute to js_document field
if (jform_vvvvvymvyf_required)
if (jform_vvvvvynvyi_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvymvyf_required = false;
jform_vvvvvynvyi_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
// remove required attribute from js_document field
if (!jform_vvvvvymvyf_required)
if (!jform_vvvvvynvyi_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvymvyf_required = true;
jform_vvvvvynvyi_required = true;
}
}
}
// the vvvvvyn function
function vvvvvyn(add_custom_button_vvvvvyn)
// the vvvvvyo function
function vvvvvyo(add_custom_button_vvvvvyo)
{
// 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_php_controller-lbl').closest('.control-group').show();
// add required attribute to php_controller field
if (jform_vvvvvynvyg_required)
if (jform_vvvvvyovyj_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvynvyg_required = false;
jform_vvvvvyovyj_required = false;
}
jQuery('#jform_php_model-lbl').closest('.control-group').show();
// add required attribute to php_model field
if (jform_vvvvvynvyh_required)
if (jform_vvvvvyovyk_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvynvyh_required = false;
jform_vvvvvyovyk_required = false;
}
}
else
@ -312,75 +312,75 @@ function vvvvvyn(add_custom_button_vvvvvyn)
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
// remove required attribute from php_controller field
if (!jform_vvvvvynvyg_required)
if (!jform_vvvvvyovyj_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvynvyg_required = true;
jform_vvvvvyovyj_required = true;
}
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
// remove required attribute from php_model field
if (!jform_vvvvvynvyh_required)
if (!jform_vvvvvyovyk_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvynvyh_required = true;
jform_vvvvvyovyk_required = true;
}
}
}
// the vvvvvyo function
function vvvvvyo(add_css_vvvvvyo)
// the vvvvvyp function
function vvvvvyp(add_css_vvvvvyp)
{
// set the function logic
if (add_css_vvvvvyo == 1)
if (add_css_vvvvvyp == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
// add required attribute to css field
if (jform_vvvvvyovyi_required)
if (jform_vvvvvypvyl_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyovyi_required = false;
jform_vvvvvypvyl_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
// remove required attribute from css field
if (!jform_vvvvvyovyi_required)
if (!jform_vvvvvypvyl_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyovyi_required = true;
jform_vvvvvypvyl_required = true;
}
}
}
// the vvvvvyp function
function vvvvvyp(add_php_ajax_vvvvvyp)
// the vvvvvyq function
function vvvvvyq(add_php_ajax_vvvvvyq)
{
// 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_php_ajaxmethod-lbl').closest('.control-group').show();
// add required attribute to php_ajaxmethod field
if (jform_vvvvvypvyj_required)
if (jform_vvvvvyqvym_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvypvyj_required = false;
jform_vvvvvyqvym_required = false;
}
}
else
@ -388,13 +388,13 @@ function vvvvvyp(add_php_ajax_vvvvvyp)
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
// remove required attribute from php_ajaxmethod field
if (!jform_vvvvvypvyj_required)
if (!jform_vvvvvyqvym_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvypvyj_required = true;
jform_vvvvvyqvym_required = true;
}
}
}

View File

@ -9,44 +9,44 @@
*/
// Some Global Values
jform_vvvvwaevzr_required = false;
jform_vvvvwafvzs_required = false;
jform_vvvvwafvzt_required = false;
jform_vvvvwafvzu_required = false;
jform_vvvvwagvzv_required = false;
jform_vvvvwagvzw_required = false;
jform_vvvvwagvzx_required = false;
// Initial Script
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();
vvvvwaf(target_vvvvwaf);
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);
vvvvwag(target_vvvvwag);
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);
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
function vvvvwae(target_vvvvwae)
// the vvvvwaf function
function vvvvwaf(target_vvvvwaf)
{
// set the function logic
if (target_vvvvwae == 2)
if (target_vvvvwaf == 2)
{
jQuery('#jform_function_name').closest('.control-group').show();
// add required attribute to function_name field
if (jform_vvvvwaevzr_required)
if (jform_vvvvwafvzu_required)
{
updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required');
jform_vvvvwaevzr_required = false;
jform_vvvvwafvzu_required = false;
}
jQuery('.note_jcb_placeholder').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();
// remove required attribute from function_name field
if (!jform_vvvvwaevzr_required)
if (!jform_vvvvwafvzu_required)
{
updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required');
jform_vvvvwaevzr_required = true;
jform_vvvvwafvzu_required = true;
}
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide();
}
}
// the vvvvwaf function
function vvvvwaf(target_vvvvwaf)
// the vvvvwag function
function vvvvwag(target_vvvvwag)
{
// set the function logic
if (target_vvvvwaf == 1)
if (target_vvvvwag == 1)
{
jQuery('#jform_component').closest('.control-group').show();
// add required attribute to component field
if (jform_vvvvwafvzs_required)
if (jform_vvvvwagvzv_required)
{
updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required');
jform_vvvvwafvzs_required = false;
jform_vvvvwagvzv_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field
if (jform_vvvvwafvzt_required)
if (jform_vvvvwagvzw_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
jform_vvvvwafvzt_required = false;
jform_vvvvwagvzw_required = false;
}
jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show();
// add required attribute to type field
if (jform_vvvvwafvzu_required)
if (jform_vvvvwagvzx_required)
{
updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required');
jform_vvvvwafvzu_required = false;
jform_vvvvwagvzx_required = false;
}
}
else
{
jQuery('#jform_component').closest('.control-group').hide();
// remove required attribute from component field
if (!jform_vvvvwafvzs_required)
if (!jform_vvvvwagvzv_required)
{
updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required');
jform_vvvvwafvzs_required = true;
jform_vvvvwagvzv_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field
if (!jform_vvvvwafvzt_required)
if (!jform_vvvvwagvzw_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
jform_vvvvwafvzt_required = true;
jform_vvvvwagvzw_required = true;
}
jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide();
// remove required attribute from type field
if (!jform_vvvvwafvzu_required)
if (!jform_vvvvwagvzx_required)
{
updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required');
jform_vvvvwafvzu_required = true;
jform_vvvvwagvzx_required = true;
}
}
}
// the vvvvwag function
function vvvvwag(target_vvvvwag,type_vvvvwag)
// the vvvvwah function
function vvvvwah(target_vvvvwah,type_vvvvwah)
{
// 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_to_line').closest('.control-group').show();
@ -162,11 +162,11 @@ function vvvvwag(target_vvvvwag,type_vvvvwag)
}
}
// the vvvvwah function
function vvvvwah(type_vvvvwah,target_vvvvwah)
// the vvvvwai function
function vvvvwai(type_vvvvwai,target_vvvvwai)
{
// 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_to_line').closest('.control-group').show();

File diff suppressed because it is too large Load Diff

View File

@ -9,61 +9,61 @@
*/
// Some Global Values
jform_vvvvwaqvzx_required = false;
jform_vvvvwarvzy_required = false;
jform_vvvvwasvzz_required = false;
jform_vvvvwatwaa_required = false;
jform_vvvvwawwab_required = false;
jform_vvvvwaxwac_required = false;
jform_vvvvwaywad_required = false;
jform_vvvvwazwae_required = false;
jform_vvvvwarwaa_required = false;
jform_vvvvwaswab_required = false;
jform_vvvvwatwac_required = false;
jform_vvvvwauwad_required = false;
jform_vvvvwaxwae_required = false;
jform_vvvvwaywaf_required = false;
jform_vvvvwazwag_required = false;
jform_vvvvwbawah_required = false;
// Initial Script
jQuery(document).ready(function()
{
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
vvvvwaq(datalenght_vvvvwaq);
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar);
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
vvvvwar(datadefault_vvvvwar);
var datatype_vvvvwas = jQuery("#jform_datatype").val();
vvvvwas(datatype_vvvvwas);
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_vvvvwas);
var datatype_vvvvwat = jQuery("#jform_datatype").val();
vvvvwat(datatype_vvvvwat);
var store_vvvvwau = jQuery("#jform_store").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();
vvvvwaw(add_css_view_vvvvwaw);
var store_vvvvwav = jQuery("#jform_store").val();
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();
vvvvwax(add_css_views_vvvvwax);
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwax(add_css_view_vvvvwax);
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvway(add_javascript_view_footer_vvvvway);
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvway(add_css_views_vvvvway);
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_views_footer_vvvvwaz);
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
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
function vvvvwaq(datalenght_vvvvwaq)
// the vvvvwar function
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 datalenght_vvvvwaq = [];
datalenght_vvvvwaq.push(temp_vvvvwaq);
var temp_vvvvwar = datalenght_vvvvwar;
var datalenght_vvvvwar = [];
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
@ -71,91 +71,35 @@ function vvvvwaq(datalenght_vvvvwaq)
{
jQuery('#jform_datalenght_other').closest('.control-group').show();
// add required attribute to datalenght_other field
if (jform_vvvvwaqvzx_required)
if (jform_vvvvwarwaa_required)
{
updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvwaqvzx_required = false;
jform_vvvvwarwaa_required = false;
}
}
else
{
jQuery('#jform_datalenght_other').closest('.control-group').hide();
// remove required attribute from datalenght_other field
if (!jform_vvvvwaqvzx_required)
if (!jform_vvvvwarwaa_required)
{
updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvwaqvzx_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;
jform_vvvvwarwaa_required = true;
}
}
}
// the vvvvwar Some function
function datadefault_vvvvwar_SomeFunc(datadefault_vvvvwar)
function datalenght_vvvvwar_SomeFunc(datalenght_vvvvwar)
{
// set the function logic
if (datadefault_vvvvwar == 'Other')
if (datalenght_vvvvwar == 'Other')
{
return true;
}
@ -163,59 +107,55 @@ function datadefault_vvvvwar_SomeFunc(datadefault_vvvvwar)
}
// 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 datatype_vvvvwas = [];
datatype_vvvvwas.push(temp_vvvvwas);
var temp_vvvvwas = datadefault_vvvvwas;
var datadefault_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
if (datatype)
if (datadefault)
{
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
if (jform_vvvvwasvzz_required)
jQuery('#jform_datadefault_other').closest('.control-group').show();
// add required attribute to datadefault_other field
if (jform_vvvvwaswab_required)
{
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwasvzz_required = false;
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_vvvvwaswab_required = false;
}
}
else
{
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
if (!jform_vvvvwasvzz_required)
jQuery('#jform_datadefault_other').closest('.control-group').hide();
// remove required attribute from datadefault_other field
if (!jform_vvvvwaswab_required)
{
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwasvzz_required = true;
updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvwaswab_required = true;
}
}
}
// the vvvvwas Some function
function datatype_vvvvwas_SomeFunc(datatype_vvvvwas)
function datadefault_vvvvwas_SomeFunc(datadefault_vvvvwas)
{
// 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;
}
@ -241,28 +181,32 @@ function vvvvwat(datatype_vvvvwat)
// set this function logic
if (datatype)
{
jQuery('#jform_store').closest('.control-group').show();
// add required attribute to store field
if (jform_vvvvwatwaa_required)
jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show();
// add required attribute to indexes field
if (jform_vvvvwatwac_required)
{
updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required');
jform_vvvvwatwaa_required = false;
updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required');
jform_vvvvwatwac_required = false;
}
}
else
{
jQuery('#jform_store').closest('.control-group').hide();
// remove required attribute from store field
if (!jform_vvvvwatwaa_required)
jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide();
// remove required attribute from indexes field
if (!jform_vvvvwatwac_required)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwatwaa_required = true;
updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required');
jform_vvvvwatwac_required = true;
}
}
}
@ -271,7 +215,7 @@ function vvvvwat(datatype_vvvvwat)
function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
{
// 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;
}
@ -279,20 +223,8 @@ function datatype_vvvvwat_SomeFunc(datatype_vvvvwat)
}
// 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)
{
var temp_vvvvwau = datatype_vvvvwau;
@ -307,27 +239,34 @@ function vvvvwau(store_vvvvwau,datatype_vvvvwau)
// 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
{
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)
{
updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required');
jform_vvvvwauwad_required = true;
}
}
}
// the vvvvwau Some function
function store_vvvvwau_SomeFunc(store_vvvvwau)
{
// set the function logic
if (store_vvvvwau == 4)
{
return true;
}
return false;
}
// the vvvvwau Some function
function datatype_vvvvwau_SomeFunc(datatype_vvvvwau)
{
@ -339,130 +278,191 @@ function datatype_vvvvwau_SomeFunc(datatype_vvvvwau)
return false;
}
// the vvvvwaw function
function vvvvwaw(add_css_view_vvvvwaw)
// the vvvvwav function
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
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();
// add required attribute to css_view field
if (jform_vvvvwawwab_required)
if (jform_vvvvwaxwae_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
jform_vvvvwawwab_required = false;
jform_vvvvwaxwae_required = false;
}
}
else
{
jQuery('#jform_css_view-lbl').closest('.control-group').hide();
// remove required attribute from css_view field
if (!jform_vvvvwawwab_required)
if (!jform_vvvvwaxwae_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
jform_vvvvwawwab_required = true;
jform_vvvvwaxwae_required = true;
}
}
}
// the vvvvwax function
function vvvvwax(add_css_views_vvvvwax)
// the vvvvway function
function vvvvway(add_css_views_vvvvway)
{
// 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();
// add required attribute to css_views field
if (jform_vvvvwaxwac_required)
if (jform_vvvvwaywaf_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
jform_vvvvwaxwac_required = false;
jform_vvvvwaywaf_required = false;
}
}
else
{
jQuery('#jform_css_views-lbl').closest('.control-group').hide();
// remove required attribute from css_views field
if (!jform_vvvvwaxwac_required)
if (!jform_vvvvwaywaf_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
jform_vvvvwaxwac_required = true;
jform_vvvvwaywaf_required = true;
}
}
}
// the vvvvway function
function vvvvway(add_javascript_view_footer_vvvvway)
// the vvvvwaz function
function vvvvwaz(add_javascript_view_footer_vvvvwaz)
{
// 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();
// add required attribute to javascript_view_footer field
if (jform_vvvvwaywad_required)
if (jform_vvvvwazwag_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwaywad_required = false;
jform_vvvvwazwag_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
// remove required attribute from javascript_view_footer field
if (!jform_vvvvwaywad_required)
if (!jform_vvvvwazwag_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwaywad_required = true;
jform_vvvvwazwag_required = true;
}
}
}
// the vvvvwaz function
function vvvvwaz(add_javascript_views_footer_vvvvwaz)
// the vvvvwba function
function vvvvwba(add_javascript_views_footer_vvvvwba)
{
// 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();
// add required attribute to javascript_views_footer field
if (jform_vvvvwazwae_required)
if (jform_vvvvwbawah_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwazwae_required = false;
jform_vvvvwbawah_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
// remove required attribute from javascript_views_footer field
if (!jform_vvvvwazwae_required)
if (!jform_vvvvwbawah_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwazwae_required = true;
jform_vvvvwbawah_required = true;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -9,24 +9,21 @@
*/
// Some Global Values
jform_vvvvwbwwax_required = false;
jform_vvvvwbxway_required = false;
jform_vvvvwbywaz_required = false;
jform_vvvvwbzwba_required = false;
jform_vvvvwcawbb_required = false;
jform_vvvvwcbwbc_required = false;
jform_vvvvwbxwba_required = false;
jform_vvvvwbywbb_required = false;
jform_vvvvwbzwbc_required = false;
jform_vvvvwcawbd_required = false;
jform_vvvvwcbwbe_required = false;
jform_vvvvwccwbf_required = false;
// Initial Script
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();
vvvvwbx(location_vvvvwbx);
var type_vvvvwby = jQuery("#jform_type").val();
vvvvwby(type_vvvvwby);
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwby(location_vvvvwby);
var type_vvvvwbz = jQuery("#jform_type").val();
vvvvwbz(type_vvvvwbz);
@ -34,130 +31,77 @@ jQuery(document).ready(function()
var type_vvvvwca = jQuery("#jform_type").val();
vvvvwca(type_vvvvwca);
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcb(target_vvvvwcb);
var type_vvvvwcb = jQuery("#jform_type").val();
vvvvwcb(type_vvvvwcb);
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcc(target_vvvvwcc);
});
// the vvvvwbw function
function vvvvwbw(location_vvvvwbw)
// the vvvvwbx function
function vvvvwbx(location_vvvvwbx)
{
// set the function logic
if (location_vvvvwbw == 1)
if (location_vvvvwbx == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field
if (jform_vvvvwbwwax_required)
if (jform_vvvvwbxwba_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
jform_vvvvwbwwax_required = false;
jform_vvvvwbxwba_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field
if (!jform_vvvvwbwwax_required)
if (!jform_vvvvwbxwba_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwbwwax_required = true;
jform_vvvvwbxwba_required = true;
}
}
}
// the vvvvwbx function
function vvvvwbx(location_vvvvwbx)
// the vvvvwby function
function vvvvwby(location_vvvvwby)
{
// set the function logic
if (location_vvvvwbx == 2)
if (location_vvvvwby == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field
if (jform_vvvvwbxway_required)
if (jform_vvvvwbywbb_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
jform_vvvvwbxway_required = false;
jform_vvvvwbywbb_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field
if (!jform_vvvvwbxway_required)
if (!jform_vvvvwbywbb_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
jform_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
function vvvvwbz(type_vvvvwbz)
{
@ -177,28 +121,28 @@ function vvvvwbz(type_vvvvwbz)
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
// add required attribute to article field
if (jform_vvvvwbzwba_required)
jQuery('#jform_url').closest('.control-group').show();
// add required attribute to url field
if (jform_vvvvwbzwbc_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwbzwba_required = false;
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_vvvvwbzwbc_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from article field
if (!jform_vvvvwbzwba_required)
jQuery('#jform_url').closest('.control-group').hide();
// remove required attribute from url field
if (!jform_vvvvwbzwbc_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwbzwba_required = true;
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_vvvvwbzwbc_required = true;
}
}
}
@ -207,7 +151,7 @@ function vvvvwbz(type_vvvvwbz)
function type_vvvvwbz_SomeFunc(type_vvvvwbz)
{
// set the function logic
if (type_vvvvwbz == 1)
if (type_vvvvwbz == 3)
{
return true;
}
@ -233,28 +177,28 @@ function vvvvwca(type_vvvvwca)
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
// add required attribute to content field
if (jform_vvvvwcawbb_required)
jQuery('#jform_article').closest('.control-group').show();
// add required attribute to article field
if (jform_vvvvwcawbd_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_vvvvwcawbb_required = false;
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_vvvvwcawbd_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
// remove required attribute from content field
if (!jform_vvvvwcawbb_required)
jQuery('#jform_article').closest('.control-group').hide();
// remove required attribute from article field
if (!jform_vvvvwcawbd_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_vvvvwcawbb_required = true;
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_vvvvwcawbd_required = true;
}
}
}
@ -263,7 +207,7 @@ function vvvvwca(type_vvvvwca)
function type_vvvvwca_SomeFunc(type_vvvvwca)
{
// set the function logic
if (type_vvvvwca == 2)
if (type_vvvvwca == 1)
{
return true;
}
@ -271,33 +215,89 @@ function type_vvvvwca_SomeFunc(type_vvvvwca)
}
// 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
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();
// add required attribute to groups field
if (jform_vvvvwcbwbc_required)
if (jform_vvvvwccwbf_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_vvvvwcbwbc_required = false;
jform_vvvvwccwbf_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field
if (!jform_vvvvwcbwbc_required)
if (!jform_vvvvwccwbf_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_vvvvwcbwbc_required = true;
jform_vvvvwccwbf_required = true;
}
}
}

View File

@ -28,6 +28,9 @@ jform_vvvvvwovwk_required = false;
jform_vvvvvwpvwl_required = false;
jform_vvvvvwwvwm_required = false;
jform_vvvvvwxvwn_required = false;
jform_vvvvvxavwo_required = false;
jform_vvvvvxavwp_required = false;
jform_vvvvvxavwq_required = false;
// Initial Script
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();
vvvvvwz(dashboard_type_vvvvvwz);
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
vvvvvxa(translation_tool_vvvvvxa);
});
// 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
function updateFieldRequired(name,status)
{
@ -967,8 +1073,54 @@ jQuery(document).ready(function()
// check and load all the customcode edit buttons
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){
getAjaxDisplay_server(type).done(function(result) {
if(result){

View File

@ -162,12 +162,12 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_HINT"
/>
<!-- Php_helper_admin Field. Type: Editor. (joomla) -->
<!-- Php_helper_site Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_helper_admin"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
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"
@ -179,23 +179,6 @@
required="true"
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) -->
<field
type="radio"
@ -211,25 +194,49 @@
<option value="0">
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
</field>
<!-- Sql Field. Type: Textarea. (joomla) -->
<!-- Crowdin_account_api_key Field. Type: Text. (joomla) -->
<field
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_HINT"
required="true"
type="text"
name="crowdin_account_api_key"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_LABEL"
size="50"
maxlength="150"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_DESCRIPTION"
class="text_area"
filter="ALNUM"
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CROWDIN_ACCOUNT_API_KEY_MESSAGE"
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
type="editor"
name="php_preflight_update"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
name="readme"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
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%"
height="450px"
cols="15"
@ -241,23 +248,8 @@
required="true"
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"
/>
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (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" />
<!-- Description Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -312,23 +304,6 @@
<option value="0">
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
</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) -->
<field
type="editor"
@ -346,6 +321,23 @@
required="true"
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) -->
<field
type="textarea"
@ -360,8 +352,23 @@
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COPYRIGHT_HINT"
required="true"
/>
<!-- Note_botton_component_dashboard Field. Type: Note. A None Database Field. (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" />
<!-- Php_preflight_update Field. Type: Editor. (joomla) -->
<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) -->
<field
type="text"
@ -378,22 +385,18 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_HINT"
/>
<!-- Php_postflight_update Field. Type: Editor. (joomla) -->
<!-- Sql Field. Type: Textarea. (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%"
height="450px"
cols="15"
type="textarea"
name="sql"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_LABEL"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
cols="15"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_HINT"
required="true"
validate="code"
/>
<!-- Email Field. Type: Text. (joomla) -->
<field
@ -410,18 +413,56 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_EMAIL_MESSAGE"
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
type="editor"
name="readme"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL"
default="You can use all the normal markdown, including the place-holders."
name="php_helper_admin"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION"
width="100%"
height="1200px"
buttons="false"
editor="none"
height="550px"
cols="15"
rows="80"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="true"
validate="code"
/>
<!-- Website Field. Type: Url. (joomla) -->
<field
@ -439,21 +480,38 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WEBSITE_HINT"
/>
<!-- Buildcomp Field. Type: Radio. (joomla) -->
<!-- Component_version Field. Type: Text. (joomla) -->
<field
type="radio"
name="buildcomp"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_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>
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"
/>
<!-- 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) -->
<field
type="radio"
@ -469,24 +527,23 @@
<option value="0">
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
</field>
<!-- Adduikit Field. Type: List. (joomla) -->
<!-- Php_admin_event Field. Type: Editor. (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>
type="editor"
name="php_admin_event"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
filter="raw"
required="true"
validate="code"
/>
<!-- License_type Field. Type: List. (joomla) -->
<field
type="list"
@ -508,16 +565,16 @@
<option value="4">
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option>
</field>
<!-- Php_helper_both Field. Type: Editor. (joomla) -->
<!-- Php_site_event 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"
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="550px"
height="450px"
cols="15"
rows="80"
rows="30"
buttons="no"
syntax="php"
editor="codemirror|none"
@ -527,18 +584,18 @@
/>
<!-- 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" />
<!-- Php_admin_event Field. Type: Editor. (joomla) -->
<!-- Css_admin Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_admin_event"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION"
name="css_admin"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="php"
syntax="css"
editor="codemirror|none"
filter="raw"
required="true"
@ -557,23 +614,8 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_KEY_HINT"
/>
<!-- Php_site_event Field. Type: Editor. (joomla) -->
<field
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"
/>
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (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" />
<!-- Whmcs_url Field. Type: Url. (joomla) -->
<field
type="url"
@ -589,18 +631,18 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_URL_HINT"
/>
<!-- Css_admin Field. Type: Editor. (joomla) -->
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
<field
type="editor"
name="css_admin"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION"
name="php_preflight_install"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
width="100%"
height="450px"
cols="15"
rows="30"
buttons="no"
syntax="css"
syntax="php"
editor="codemirror|none"
filter="raw"
required="true"
@ -621,8 +663,23 @@
message="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_MESSAGE"
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_WHMCS_BUY_LINK_HINT"
/>
<!-- Note_dynamic_dashboard Field. Type: Note. A None Database Field. (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" />
<!-- 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"
/>
<!-- License Field. Type: Textarea. (joomla) -->
<field
type="textarea"
@ -637,12 +694,12 @@
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_LICENSE_HINT"
required="true"
/>
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
<!-- Php_method_uninstall Field. Type: Editor. (joomla) -->
<field
type="editor"
name="php_preflight_install"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
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"
@ -666,65 +723,6 @@
hide_none="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) -->
<field
type="textarea"
@ -738,16 +736,13 @@
hint="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SQL_UNINSTALL_HINT"
required="true"
/>
<!-- Update_server Field. Type: Servers. (custom) -->
<!-- Image Field. Type: Media. (joomla) -->
<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"
type="media"
name="image"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_DESCRIPTION"
directory=""
/>
<!-- Add_update_server Field. Type: Radio. (joomla) -->
<field
@ -763,29 +758,16 @@
<option value="0">
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO</option>
</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) -->
<field
type="hidden"
name="not_required"
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) -->
<field
type="servers"
@ -797,17 +779,31 @@
default="0"
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) -->
<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) -->
<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
type="radio"
name="creatuserhelper"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL"
name="buildcomp"
label="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_LABEL"
description="COM_COMPONENTBUILDER_JOOMLA_COMPONENT_BUILDCOMP_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0"
required="true">
@ -1381,10 +1377,87 @@
</field>
<!-- 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" />
<!-- 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" />
<!-- Translation_tool Field. Type: List. (joomla) -->
<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) -->
<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) -->
<field
type="textarea"

View File

@ -9,43 +9,43 @@
*/
// Some Global Values
jform_vvvvvzcvyw_required = false;
jform_vvvvvzdvyz_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc);
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd);
});
// the vvvvvzc function
function vvvvvzc(add_php_view_vvvvvzc)
// the vvvvvzd function
function vvvvvzd(add_php_view_vvvvvzd)
{
// 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();
// add required attribute to php_view field
if (jform_vvvvvzcvyw_required)
if (jform_vvvvvzdvyz_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvzcvyw_required = false;
jform_vvvvvzdvyz_required = false;
}
}
else
{
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field
if (!jform_vvvvvzcvyw_required)
if (!jform_vvvvvzdvyz_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvzcvyw_required = true;
jform_vvvvvzdvyz_required = true;
}
}
}

View File

@ -9,15 +9,12 @@
*/
// Some Global Values
jform_vvvvwajvzv_required = false;
jform_vvvvwapvzw_required = false;
jform_vvvvwakvzy_required = false;
jform_vvvvwaqvzz_required = false;
// Initial Script
jQuery(document).ready(function()
{
var how_vvvvwai = jQuery("#jform_how").val();
vvvvwai(how_vvvvwai);
var how_vvvvwaj = jQuery("#jform_how").val();
vvvvwaj(how_vvvvwaj);
@ -36,48 +33,13 @@ jQuery(document).ready(function()
var how_vvvvwao = jQuery("#jform_how").val();
vvvvwao(how_vvvvwao);
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwap(type_vvvvwap);
var how_vvvvwap = jQuery("#jform_how").val();
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
function vvvvwaj(how_vvvvwaj)
{
@ -97,29 +59,11 @@ function vvvvwaj(how_vvvvwaj)
// set this function logic
if (how)
{
jQuery('#jform_php_setdocument').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;
}
jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
jQuery('#jform_php_setdocument').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;
}
jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
@ -127,7 +71,7 @@ function vvvvwaj(how_vvvvwaj)
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
{
// set the function logic
if (how_vvvvwaj == 3)
if (how_vvvvwaj == 2)
{
return true;
}
@ -153,11 +97,29 @@ function vvvvwak(how_vvvvwak)
// set this function logic
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
{
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)
{
// set the function logic
if (how_vvvvwak == 2 || how_vvvvwak == 3)
if (how_vvvvwak == 3)
{
return true;
}
@ -191,11 +153,11 @@ function vvvvwal(how_vvvvwal)
// set this function logic
if (how)
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
@ -203,7 +165,7 @@ function vvvvwal(how_vvvvwal)
function how_vvvvwal_SomeFunc(how_vvvvwal)
{
// set the function logic
if (how_vvvvwal == 1 || how_vvvvwal == 2 || how_vvvvwal == 3)
if (how_vvvvwal == 2 || how_vvvvwal == 3)
{
return true;
}
@ -229,15 +191,11 @@ function vvvvwam(how_vvvvwam)
// set this function logic
if (how)
{
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
@ -245,7 +203,7 @@ function vvvvwam(how_vvvvwam)
function how_vvvvwam_SomeFunc(how_vvvvwam)
{
// set the function logic
if (how_vvvvwam == 0)
if (how_vvvvwam == 1 || how_vvvvwam == 2 || how_vvvvwam == 3)
{
return true;
}
@ -271,13 +229,15 @@ function vvvvwan(how_vvvvwan)
// set this function logic
if (how)
{
jQuery('.note_yes_behaviour_one').closest('.control-group').show();
jQuery('.note_yes_behaviour_two').closest('.control-group').show();
jQuery('.note_no_behaviour_one').closest('.control-group').show();
jQuery('.note_no_behaviour_three').closest('.control-group').show();
jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
jQuery('.note_no_behaviour_one').closest('.control-group').hide();
jQuery('.note_no_behaviour_three').closest('.control-group').hide();
jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
@ -285,7 +245,7 @@ function vvvvwan(how_vvvvwan)
function how_vvvvwan_SomeFunc(how_vvvvwan)
{
// set the function logic
if (how_vvvvwan == 1)
if (how_vvvvwan == 0)
{
return true;
}
@ -308,6 +268,46 @@ function vvvvwao(how_vvvvwao)
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
if (how)
{
@ -323,45 +323,45 @@ function vvvvwao(how_vvvvwao)
}
}
// the vvvvwao Some function
function how_vvvvwao_SomeFunc(how_vvvvwao)
// the vvvvwap Some function
function how_vvvvwap_SomeFunc(how_vvvvwap)
{
// set the function logic
if (how_vvvvwao == 4)
if (how_vvvvwap == 4)
{
return true;
}
return false;
}
// the vvvvwap function
function vvvvwap(type_vvvvwap)
// the vvvvwaq function
function vvvvwaq(type_vvvvwaq)
{
// set the function logic
if (type_vvvvwap == 2)
if (type_vvvvwaq == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
// add required attribute to libraries field
if (jform_vvvvwapvzw_required)
if (jform_vvvvwaqvzz_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
jform_vvvvwapvzw_required = false;
jform_vvvvwaqvzz_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
// remove required attribute from libraries field
if (!jform_vvvvwapvzw_required)
if (!jform_vvvvwaqvzz_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
jform_vvvvwapvzw_required = true;
jform_vvvvwaqvzz_required = true;
}
}
}

View File

@ -9,180 +9,42 @@
*/
// Some Global Values
jform_vvvvwbmwan_required = false;
jform_vvvvwbmwao_required = false;
jform_vvvvwbmwap_required = false;
jform_vvvvwbmwaq_required = false;
jform_vvvvwbmwar_required = false;
jform_vvvvwbnwaq_required = false;
jform_vvvvwbnwar_required = false;
jform_vvvvwbnwas_required = false;
jform_vvvvwbowat_required = false;
jform_vvvvwbqwau_required = false;
jform_vvvvwbswav_required = false;
jform_vvvvwbnwat_required = false;
jform_vvvvwbnwau_required = false;
jform_vvvvwbowav_required = false;
jform_vvvvwbpwaw_required = false;
jform_vvvvwbrwax_required = false;
jform_vvvvwbtway_required = false;
// Initial Script
jQuery(document).ready(function()
{
var protocol_vvvvwbm = jQuery("#jform_protocol").val();
vvvvwbm(protocol_vvvvwbm);
var protocol_vvvvwbn = jQuery("#jform_protocol").val();
vvvvwbn(protocol_vvvvwbn);
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
vvvvwbo(protocol_vvvvwbo);
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
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
function vvvvwbn(protocol_vvvvwbn)
{
@ -202,31 +64,111 @@ function vvvvwbn(protocol_vvvvwbn)
// set this function logic
if (protocol)
{
jQuery('.note_ftp_signature').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show();
// add required attribute to signature field
jQuery('#jform_authentication').closest('.control-group').show();
// add required attribute to authentication 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)
{
updateFieldRequired('signature',0);
jQuery('#jform_signature').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_signature').addClass('required');
updateFieldRequired('port',0);
jQuery('#jform_port').prop('required','required');
jQuery('#jform_port').attr('aria-required',true);
jQuery('#jform_port').addClass('required');
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
{
jQuery('.note_ftp_signature').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide();
// remove required attribute from signature field
jQuery('#jform_authentication').closest('.control-group').hide();
// remove required attribute from authentication 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)
{
updateFieldRequired('signature',1);
jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required');
updateFieldRequired('port',1);
jQuery('#jform_port').removeAttr('required');
jQuery('#jform_port').removeAttr('aria-required');
jQuery('#jform_port').removeClass('required');
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)
{
// set the function logic
if (protocol_vvvvwbn == 1)
if (protocol_vvvvwbn == 2)
{
return true;
}
@ -242,7 +184,7 @@ function protocol_vvvvwbn_SomeFunc(protocol_vvvvwbn)
}
// the vvvvwbo function
function vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo)
function vvvvwbo(protocol_vvvvwbo)
{
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);
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
if (protocol && authentication)
if (protocol)
{
jQuery('#jform_password').closest('.control-group').show();
// add required attribute to password field
if (jform_vvvvwbowat_required)
jQuery('.note_ftp_signature').closest('.control-group').show();
jQuery('#jform_signature').closest('.control-group').show();
// add required attribute to signature field
if (jform_vvvvwbowav_required)
{
updateFieldRequired('password',0);
jQuery('#jform_password').prop('required','required');
jQuery('#jform_password').attr('aria-required',true);
jQuery('#jform_password').addClass('required');
jform_vvvvwbowat_required = false;
updateFieldRequired('signature',0);
jQuery('#jform_signature').prop('required','required');
jQuery('#jform_signature').attr('aria-required',true);
jQuery('#jform_signature').addClass('required');
jform_vvvvwbowav_required = false;
}
}
else
{
jQuery('#jform_password').closest('.control-group').hide();
// remove required attribute from password field
if (!jform_vvvvwbowat_required)
jQuery('.note_ftp_signature').closest('.control-group').hide();
jQuery('#jform_signature').closest('.control-group').hide();
// remove required attribute from signature field
if (!jform_vvvvwbowav_required)
{
updateFieldRequired('password',1);
jQuery('#jform_password').removeAttr('required');
jQuery('#jform_password').removeAttr('aria-required');
jQuery('#jform_password').removeClass('required');
jform_vvvvwbowat_required = true;
updateFieldRequired('signature',1);
jQuery('#jform_signature').removeAttr('required');
jQuery('#jform_signature').removeAttr('aria-required');
jQuery('#jform_signature').removeClass('required');
jform_vvvvwbowav_required = true;
}
}
}
@ -302,50 +234,118 @@ function vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo)
function protocol_vvvvwbo_SomeFunc(protocol_vvvvwbo)
{
// set the function logic
if (protocol_vvvvwbo == 2)
if (protocol_vvvvwbo == 1)
{
return true;
}
return false;
}
// the vvvvwbo Some function
function authentication_vvvvwbo_SomeFunc(authentication_vvvvwbo)
// the vvvvwbp function
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
if (authentication_vvvvwbo == 1 || authentication_vvvvwbo == 3 || authentication_vvvvwbo == 5)
if (protocol_vvvvwbp == 2)
{
return true;
}
return false;
}
// the vvvvwbq function
function vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq)
// the vvvvwbp Some function
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;
var protocol_vvvvwbq = [];
protocol_vvvvwbq.push(temp_vvvvwbq);
return true;
}
else if (!isSet(protocol_vvvvwbq))
{
var protocol_vvvvwbq = [];
}
var protocol = protocol_vvvvwbq.some(protocol_vvvvwbq_SomeFunc);
return false;
}
if (isSet(authentication_vvvvwbq) && authentication_vvvvwbq.constructor !== Array)
// the vvvvwbr function
function vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr)
{
if (isSet(protocol_vvvvwbr) && protocol_vvvvwbr.constructor !== Array)
{
var temp_vvvvwbq = authentication_vvvvwbq;
var authentication_vvvvwbq = [];
authentication_vvvvwbq.push(temp_vvvvwbq);
var temp_vvvvwbr = protocol_vvvvwbr;
var protocol_vvvvwbr = [];
protocol_vvvvwbr.push(temp_vvvvwbr);
}
else if (!isSet(authentication_vvvvwbq))
else if (!isSet(protocol_vvvvwbr))
{
var authentication_vvvvwbq = [];
var protocol_vvvvwbr = [];
}
var authentication = authentication_vvvvwbq.some(authentication_vvvvwbq_SomeFunc);
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
@ -353,78 +353,78 @@ function vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq)
{
jQuery('#jform_private').closest('.control-group').show();
// add required attribute to private field
if (jform_vvvvwbqwau_required)
if (jform_vvvvwbrwax_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
jform_vvvvwbqwau_required = false;
jform_vvvvwbrwax_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
// remove required attribute from private field
if (!jform_vvvvwbqwau_required)
if (!jform_vvvvwbrwax_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
jform_vvvvwbqwau_required = true;
jform_vvvvwbrwax_required = true;
}
}
}
// the vvvvwbq Some function
function protocol_vvvvwbq_SomeFunc(protocol_vvvvwbq)
// the vvvvwbr Some function
function protocol_vvvvwbr_SomeFunc(protocol_vvvvwbr)
{
// set the function logic
if (protocol_vvvvwbq == 2)
if (protocol_vvvvwbr == 2)
{
return true;
}
return false;
}
// the vvvvwbq Some function
function authentication_vvvvwbq_SomeFunc(authentication_vvvvwbq)
// the vvvvwbr Some function
function authentication_vvvvwbr_SomeFunc(authentication_vvvvwbr)
{
// set the function logic
if (authentication_vvvvwbq == 2 || authentication_vvvvwbq == 3)
if (authentication_vvvvwbr == 2 || authentication_vvvvwbr == 3)
{
return true;
}
return false;
}
// the vvvvwbs function
function vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs)
// the vvvvwbt function
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 protocol_vvvvwbs = [];
protocol_vvvvwbs.push(temp_vvvvwbs);
var temp_vvvvwbt = protocol_vvvvwbt;
var protocol_vvvvwbt = [];
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 authentication_vvvvwbs = [];
authentication_vvvvwbs.push(temp_vvvvwbs);
var temp_vvvvwbt = authentication_vvvvwbt;
var authentication_vvvvwbt = [];
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
@ -432,78 +432,78 @@ function vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs)
{
jQuery('#jform_private_key').closest('.control-group').show();
// add required attribute to private_key field
if (jform_vvvvwbswav_required)
if (jform_vvvvwbtway_required)
{
updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required');
jform_vvvvwbswav_required = false;
jform_vvvvwbtway_required = false;
}
}
else
{
jQuery('#jform_private_key').closest('.control-group').hide();
// remove required attribute from private_key field
if (!jform_vvvvwbswav_required)
if (!jform_vvvvwbtway_required)
{
updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required');
jform_vvvvwbswav_required = true;
jform_vvvvwbtway_required = true;
}
}
}
// the vvvvwbs Some function
function protocol_vvvvwbs_SomeFunc(protocol_vvvvwbs)
// the vvvvwbt Some function
function protocol_vvvvwbt_SomeFunc(protocol_vvvvwbt)
{
// set the function logic
if (protocol_vvvvwbs == 2)
if (protocol_vvvvwbt == 2)
{
return true;
}
return false;
}
// the vvvvwbs Some function
function authentication_vvvvwbs_SomeFunc(authentication_vvvvwbs)
// the vvvvwbt Some function
function authentication_vvvvwbt_SomeFunc(authentication_vvvvwbt)
{
// set the function logic
if (authentication_vvvvwbs == 4 || authentication_vvvvwbs == 5)
if (authentication_vvvvwbt == 4 || authentication_vvvvwbt == 5)
{
return true;
}
return false;
}
// the vvvvwbu function
function vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu)
// the vvvvwbv function
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 protocol_vvvvwbu = [];
protocol_vvvvwbu.push(temp_vvvvwbu);
var temp_vvvvwbv = protocol_vvvvwbv;
var protocol_vvvvwbv = [];
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 authentication_vvvvwbu = [];
authentication_vvvvwbu.push(temp_vvvvwbu);
var temp_vvvvwbv = authentication_vvvvwbv;
var authentication_vvvvwbv = [];
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
@ -517,22 +517,22 @@ function vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu)
}
}
// the vvvvwbu Some function
function protocol_vvvvwbu_SomeFunc(protocol_vvvvwbu)
// the vvvvwbv Some function
function protocol_vvvvwbv_SomeFunc(protocol_vvvvwbv)
{
// set the function logic
if (protocol_vvvvwbu == 2)
if (protocol_vvvvwbv == 2)
{
return true;
}
return false;
}
// the vvvvwbu Some function
function authentication_vvvvwbu_SomeFunc(authentication_vvvvwbu)
// the vvvvwbv Some function
function authentication_vvvvwbv_SomeFunc(authentication_vvvvwbv)
{
// 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;
}

View File

@ -9,327 +9,327 @@
*/
// Some Global Values
jform_vvvvvyqvyk_required = false;
jform_vvvvvyrvyl_required = false;
jform_vvvvvysvym_required = false;
jform_vvvvvytvyn_required = false;
jform_vvvvvyuvyo_required = false;
jform_vvvvvyvvyp_required = false;
jform_vvvvvywvyq_required = false;
jform_vvvvvyxvyr_required = false;
jform_vvvvvyyvys_required = false;
jform_vvvvvyzvyt_required = false;
jform_vvvvvyzvyu_required = false;
jform_vvvvvyrvyn_required = false;
jform_vvvvvysvyo_required = false;
jform_vvvvvytvyp_required = false;
jform_vvvvvyuvyq_required = false;
jform_vvvvvyvvyr_required = false;
jform_vvvvvywvys_required = false;
jform_vvvvvyxvyt_required = false;
jform_vvvvvyyvyu_required = false;
jform_vvvvvyzvyv_required = false;
jform_vvvvvzavyw_required = false;
jform_vvvvvzavyx_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyr(add_php_view_vvvvvyr);
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvys(add_php_jview_display_vvvvvys);
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyt(add_php_jview_vvvvvyt);
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyu(add_php_document_vvvvvyu);
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyv(add_css_document_vvvvvyv);
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyw(add_javascript_file_vvvvvyw);
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyx(add_js_document_vvvvvyx);
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyy(add_css_vvvvvyy);
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyz(add_php_ajax_vvvvvyz);
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvza(add_custom_button_vvvvvza);
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb);
});
// the vvvvvyq function
function vvvvvyq(add_php_view_vvvvvyq)
// the vvvvvyr function
function vvvvvyr(add_php_view_vvvvvyr)
{
// 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();
// add required attribute to php_view field
if (jform_vvvvvyqvyk_required)
if (jform_vvvvvyrvyn_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvyqvyk_required = false;
jform_vvvvvyrvyn_required = false;
}
}
else
{
jQuery('#jform_php_view-lbl').closest('.control-group').hide();
// remove required attribute from php_view field
if (!jform_vvvvvyqvyk_required)
if (!jform_vvvvvyrvyn_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyqvyk_required = true;
jform_vvvvvyrvyn_required = true;
}
}
}
// the vvvvvyr function
function vvvvvyr(add_php_jview_display_vvvvvyr)
// the vvvvvys function
function vvvvvys(add_php_jview_display_vvvvvys)
{
// 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();
// add required attribute to php_jview_display field
if (jform_vvvvvyrvyl_required)
if (jform_vvvvvysvyo_required)
{
updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyrvyl_required = false;
jform_vvvvvysvyo_required = false;
}
}
else
{
jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
// remove required attribute from php_jview_display field
if (!jform_vvvvvyrvyl_required)
if (!jform_vvvvvysvyo_required)
{
updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyrvyl_required = true;
jform_vvvvvysvyo_required = true;
}
}
}
// the vvvvvys function
function vvvvvys(add_php_jview_vvvvvys)
// the vvvvvyt function
function vvvvvyt(add_php_jview_vvvvvyt)
{
// 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();
// add required attribute to php_jview field
if (jform_vvvvvysvym_required)
if (jform_vvvvvytvyp_required)
{
updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required');
jform_vvvvvysvym_required = false;
jform_vvvvvytvyp_required = false;
}
}
else
{
jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
// remove required attribute from php_jview field
if (!jform_vvvvvysvym_required)
if (!jform_vvvvvytvyp_required)
{
updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvysvym_required = true;
jform_vvvvvytvyp_required = true;
}
}
}
// the vvvvvyt function
function vvvvvyt(add_php_document_vvvvvyt)
// the vvvvvyu function
function vvvvvyu(add_php_document_vvvvvyu)
{
// 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();
// add required attribute to php_document field
if (jform_vvvvvytvyn_required)
if (jform_vvvvvyuvyq_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
jform_vvvvvytvyn_required = false;
jform_vvvvvyuvyq_required = false;
}
}
else
{
jQuery('#jform_php_document-lbl').closest('.control-group').hide();
// remove required attribute from php_document field
if (!jform_vvvvvytvyn_required)
if (!jform_vvvvvyuvyq_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
jform_vvvvvytvyn_required = true;
jform_vvvvvyuvyq_required = true;
}
}
}
// the vvvvvyu function
function vvvvvyu(add_css_document_vvvvvyu)
// the vvvvvyv function
function vvvvvyv(add_css_document_vvvvvyv)
{
// 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();
// add required attribute to css_document field
if (jform_vvvvvyuvyo_required)
if (jform_vvvvvyvvyr_required)
{
updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required');
jform_vvvvvyuvyo_required = false;
jform_vvvvvyvvyr_required = false;
}
}
else
{
jQuery('#jform_css_document-lbl').closest('.control-group').hide();
// remove required attribute from css_document field
if (!jform_vvvvvyuvyo_required)
if (!jform_vvvvvyvvyr_required)
{
updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required');
jform_vvvvvyuvyo_required = true;
jform_vvvvvyvvyr_required = true;
}
}
}
// the vvvvvyv function
function vvvvvyv(add_javascript_file_vvvvvyv)
// the vvvvvyw function
function vvvvvyw(add_javascript_file_vvvvvyw)
{
// 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();
// add required attribute to javascript_file field
if (jform_vvvvvyvvyp_required)
if (jform_vvvvvywvys_required)
{
updateFieldRequired('javascript_file',0);
jQuery('#jform_javascript_file').prop('required','required');
jQuery('#jform_javascript_file').attr('aria-required',true);
jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvyvvyp_required = false;
jform_vvvvvywvys_required = false;
}
}
else
{
jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
// remove required attribute from javascript_file field
if (!jform_vvvvvyvvyp_required)
if (!jform_vvvvvywvys_required)
{
updateFieldRequired('javascript_file',1);
jQuery('#jform_javascript_file').removeAttr('required');
jQuery('#jform_javascript_file').removeAttr('aria-required');
jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvyvvyp_required = true;
jform_vvvvvywvys_required = true;
}
}
}
// the vvvvvyw function
function vvvvvyw(add_js_document_vvvvvyw)
// the vvvvvyx function
function vvvvvyx(add_js_document_vvvvvyx)
{
// 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();
// add required attribute to js_document field
if (jform_vvvvvywvyq_required)
if (jform_vvvvvyxvyt_required)
{
updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required');
jform_vvvvvywvyq_required = false;
jform_vvvvvyxvyt_required = false;
}
}
else
{
jQuery('#jform_js_document-lbl').closest('.control-group').hide();
// remove required attribute from js_document field
if (!jform_vvvvvywvyq_required)
if (!jform_vvvvvyxvyt_required)
{
updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required');
jform_vvvvvywvyq_required = true;
jform_vvvvvyxvyt_required = true;
}
}
}
// the vvvvvyx function
function vvvvvyx(add_css_vvvvvyx)
// the vvvvvyy function
function vvvvvyy(add_css_vvvvvyy)
{
// set the function logic
if (add_css_vvvvvyx == 1)
if (add_css_vvvvvyy == 1)
{
jQuery('#jform_css-lbl').closest('.control-group').show();
// add required attribute to css field
if (jform_vvvvvyxvyr_required)
if (jform_vvvvvyyvyu_required)
{
updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required');
jform_vvvvvyxvyr_required = false;
jform_vvvvvyyvyu_required = false;
}
}
else
{
jQuery('#jform_css-lbl').closest('.control-group').hide();
// remove required attribute from css field
if (!jform_vvvvvyxvyr_required)
if (!jform_vvvvvyyvyu_required)
{
updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required');
jform_vvvvvyxvyr_required = true;
jform_vvvvvyyvyu_required = true;
}
}
}
// the vvvvvyy function
function vvvvvyy(add_php_ajax_vvvvvyy)
// the vvvvvyz function
function vvvvvyz(add_php_ajax_vvvvvyz)
{
// 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_php_ajaxmethod-lbl').closest('.control-group').show();
// add required attribute to php_ajaxmethod field
if (jform_vvvvvyyvys_required)
if (jform_vvvvvyzvyv_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvyyvys_required = false;
jform_vvvvvyzvyv_required = false;
}
}
else
@ -337,43 +337,43 @@ function vvvvvyy(add_php_ajax_vvvvvyy)
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
// remove required attribute from php_ajaxmethod field
if (!jform_vvvvvyyvys_required)
if (!jform_vvvvvyzvyv_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvyyvys_required = true;
jform_vvvvvyzvyv_required = true;
}
}
}
// the vvvvvyz function
function vvvvvyz(add_custom_button_vvvvvyz)
// the vvvvvza function
function vvvvvza(add_custom_button_vvvvvza)
{
// 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_php_controller-lbl').closest('.control-group').show();
// add required attribute to php_controller field
if (jform_vvvvvyzvyt_required)
if (jform_vvvvvzavyw_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
jform_vvvvvyzvyt_required = false;
jform_vvvvvzavyw_required = false;
}
jQuery('#jform_php_model-lbl').closest('.control-group').show();
// add required attribute to php_model field
if (jform_vvvvvyzvyu_required)
if (jform_vvvvvzavyx_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
jform_vvvvvyzvyu_required = false;
jform_vvvvvzavyx_required = false;
}
}
else
@ -381,41 +381,41 @@ function vvvvvyz(add_custom_button_vvvvvyz)
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
// remove required attribute from php_controller field
if (!jform_vvvvvyzvyt_required)
if (!jform_vvvvvzavyw_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvyzvyt_required = true;
jform_vvvvvzavyw_required = true;
}
jQuery('#jform_php_model-lbl').closest('.control-group').hide();
// remove required attribute from php_model field
if (!jform_vvvvvyzvyu_required)
if (!jform_vvvvvzavyx_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
jform_vvvvvyzvyu_required = true;
jform_vvvvvzavyx_required = true;
}
}
}
// the vvvvvza function
function vvvvvza(button_position_vvvvvza)
// the vvvvvzb function
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 button_position_vvvvvza = [];
button_position_vvvvvza.push(temp_vvvvvza);
var temp_vvvvvzb = button_position_vvvvvzb;
var button_position_vvvvvzb = [];
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
@ -429,11 +429,11 @@ function vvvvvza(button_position_vvvvvza)
}
}
// the vvvvvza Some function
function button_position_vvvvvza_SomeFunc(button_position_vvvvvza)
// the vvvvvzb Some function
function button_position_vvvvvzb_SomeFunc(button_position_vvvvvzb)
{
// set the function logic
if (button_position_vvvvvza == 5)
if (button_position_vvvvvzb == 5)
{
return true;
}

View File

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

View File

@ -75,14 +75,14 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
public function import()
{
$this->setState('action', 'import');
$app = JFactory::getApplication();
$session = JFactory::getSession();
$package = null;
$continue = false;
$app = JFactory::getApplication();
$session = JFactory::getSession();
$package = null;
$continue = false;
// get import type
$this->getType = $app->input->getString('gettype', NULL);
// get import type
$this->dataType = $session->get('dataType_VDM_IMPORTINTO', NULL);
$this->dataType = $session->get('dataType_VDM_IMPORTINTO', NULL);
if ($package === null)
{
@ -447,68 +447,87 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
* @return boolean false on failure
*
**/
protected function save($data,$table)
protected function save($data, $table)
{
// import the data if there is any
if(ComponentbuilderHelper::checkArray($data['array']))
{
// get user object
$user = JFactory::getUser();
$user = JFactory::getUser();
// remove header if it has headers
$id_key = $data['target_headers']['id'];
$id_key = $data['target_headers']['id'];
if (isset($data['target_headers']['Source']))
{
$source_key = $data['target_headers']['Source'];
$source_key = $data['target_headers']['Source'];
}
else
{
$source_key = $data['target_headers']['English'];
$source_key = $data['target_headers']['English'];
}
// get the first array set
$firstSet = reset($data['array']);
// 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')
{
array_shift($data['array']);
}
// 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'))
{
// set target.
$target = array_flip($data['target_headers']);
$target = array_flip($data['target_headers']);
// Get a db connection.
$db = JFactory::getDbo();
// set some defaults
$todayDate = JFactory::getDate()->toSql();
$todayDate = JFactory::getDate()->toSql();
// get global action permissions
$canDo = ComponentbuilderHelper::getActions($table);
$canEdit = $canDo->get('core.edit');
// proses the data
$canDo = ComponentbuilderHelper::getActions($table);
$canEdit = $canDo->get('core.edit');
$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)
{
$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!
$query = $db->getQuery(true);
$query
->select($db->quoteName(array('version', 'translation')))
->from($db->quoteName('#__componentbuilder_'.$table))
->where($db->quoteName('id') . ' = '. $db->quote($row[$id_key]))
->where($db->quoteName('source') . ' = '. $db->quote($row[$source_key]));
$query->select($db->quoteName(array('id', 'version', 'translation')));
$query->from($db->quoteName('#__componentbuilder_'.$table));
if (isset($row[$id_key]) && is_numeric($row[$id_key]) && $row[$id_key] > 0)
{
$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.
$db->setQuery($query);
$db->execute();
$found = $db->getNumRows();
}
}
// check if we found the string
if($found && $canEdit)
{
// update item
$id = $row[$id_key];
$item = $db->loadObject();
$item = $db->loadObject();
$id = $item->id;
// load previous translation strings
if (ComponentbuilderHelper::checkJson($item->translation))
{
@ -522,16 +541,14 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
$counter = 0;
$pre = false;
}
// get languages
$languages = ComponentbuilderHelper::getVars('language', 1, 'published', 'langtag');
// reset all buckets
$query = $db->getQuery(true);
$fields = array();
$query = $db->getQuery(true);
$fields = array();
// Fields to update.
foreach($row as $key => $cell)
{
// 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;
}
@ -589,18 +606,95 @@ class ComponentbuilderModelImport_language_translations extends JModelLegacy
{
$fields[] = $db->quoteName('translation') . ' = ' . $db->quote(json_encode($translations, JSON_FORCE_OBJECT));
// 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);
// Conditions for which records should be updated.
$conditions = array(
$db->quoteName('id') . ' = ' . $id
);
// update the local translation
$query->update($db->quoteName('#__componentbuilder_'.$table))->set($fields)->where($conditions);
$db->setQuery($query);
$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;
}

View File

@ -86,40 +86,16 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
$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))
{
// base64 Decode php_helper_site.
$item->php_helper_site = base64_decode($item->php_helper_site);
}
if (!empty($item->javascript))
if (!empty($item->readme))
{
// base64 Decode javascript.
$item->javascript = base64_decode($item->javascript);
// base64 Decode readme.
$item->readme = base64_decode($item->readme);
}
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);
}
if (!empty($item->readme))
if (!empty($item->javascript))
{
// base64 Decode readme.
$item->readme = base64_decode($item->readme);
// base64 Decode javascript.
$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))
@ -193,18 +193,36 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
// Get the encryption object.
$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)))
{
// basic decrypt data whmcs_key.
$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)))
{
// basic decrypt data export_key.
$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))
{
// Convert the addcontributors field to an array.
@ -627,6 +645,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
'component_config' => 'joomla_component',
'component_dashboard' => 'joomla_component',
'component_files_folders' => 'joomla_component',
'component_placeholders' => 'joomla_component',
'custom_code' => 'component'
);
foreach($_tablesArray as $_updateTable => $_key)
@ -675,6 +694,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
'component_config' => 'joomla_component',
'component_dashboard' => 'joomla_component',
'component_files_folders' => 'joomla_component',
'component_placeholders' => 'joomla_component',
'custom_code' => 'component'
);
foreach($_tablesArray as $_updateTable => $_key)
@ -1083,40 +1103,16 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
$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.
if (isset($data['php_helper_site']))
{
$data['php_helper_site'] = base64_encode($data['php_helper_site']);
}
// Set the javascript string to base64 string.
if (isset($data['javascript']))
// Set the readme string to base64 string.
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.
@ -1125,10 +1121,34 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
}
// Set the readme string to base64 string.
if (isset($data['readme']))
// Set the javascript string to base64 string.
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.
@ -1190,18 +1210,36 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
// Get the encryption object
$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.
if (isset($data['whmcs_key']) && $basickey)
{
$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.
if (isset($data['export_key']) && $basickey)
{
$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
if (isset($data['buildcomp']) && 1 == $data['buildcomp'])
{

View File

@ -2084,35 +2084,40 @@ class ComponentbuilderModelJoomla_components extends JModelList
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
$item->php_helper_site = base64_decode($item->php_helper_site);
// decode javascript
$item->javascript = base64_decode($item->javascript);
// decode php_postflight_update
$item->php_postflight_update = base64_decode($item->php_postflight_update);
if ($basickey && !is_numeric($item->crowdin_account_api_key) && $item->crowdin_account_api_key === base64_encode(base64_decode($item->crowdin_account_api_key, true)))
{
// decrypt crowdin_account_api_key
$item->crowdin_account_api_key = $basic->decryptString($item->crowdin_account_api_key);
}
// decode 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
$item->php_helper_both = base64_decode($item->php_helper_both);
// decode php_admin_event
$item->php_admin_event = base64_decode($item->php_admin_event);
// decode php_site_event
$item->php_site_event = base64_decode($item->php_site_event);
// decode 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)))
{
// decrypt 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
$item->php_preflight_install = base64_decode($item->php_preflight_install);
// decode php_postflight_install
@ -2121,11 +2126,21 @@ class ComponentbuilderModelJoomla_components extends JModelList
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
// decode 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)))
{
// decrypt 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
$item->buildcompsql = base64_decode($item->buildcompsql);
// unset the values we don't want exported.

View File

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

View File

@ -34,6 +34,10 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
`component_version` CHAR(64) NOT NULL DEFAULT '',
`copyright` VARCHAR(255) NOT NULL DEFAULT '',
`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_site` TEXT NOT NULL,
`dashboard` VARCHAR(64) NOT NULL DEFAULT '',
@ -72,6 +76,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
`sql_uninstall` MEDIUMTEXT NOT NULL,
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
`toignore` TEXT NOT NULL,
`translation_tool` TINYINT(1) NOT NULL DEFAULT 0,
`update_server` INT(11) NOT NULL DEFAULT 0,
`update_server_target` TINYINT(1) NOT NULL DEFAULT 0,
`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_system_name` (`system_name`),
KEY `idx_name_code` (`name_code`),
KEY `idx_add_email_helper` (`add_email_helper`),
KEY `idx_debug_linenr` (`debug_linenr`),
KEY `idx_mvc_versiondate` (`mvc_versiondate`),
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_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_creatuserhelper` (`creatuserhelper`),
KEY `idx_addfootable` (`addfootable`),
KEY `idx_add_php_helper_both` (`add_php_helper_both`),
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_addreadme` (`addreadme`),
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;
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),
(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),
(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`

View 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`;

View File

@ -209,461 +209,446 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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()
{
var add_css_view_vvvvvxa = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxa(add_css_view_vvvvvxa);
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxb(add_css_view_vvvvvxb);
});
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{
e.preventDefault();
var add_css_view_vvvvvxa = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvvxa(add_css_view_vvvvvxa);
var add_css_view_vvvvvxb = jQuery("#jform_add_css_view input[type='radio']:checked").val();
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()
{
var add_css_views_vvvvvxb = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxb(add_css_views_vvvvvxb);
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxc(add_css_views_vvvvvxc);
});
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{
e.preventDefault();
var add_css_views_vvvvvxb = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvvxb(add_css_views_vvvvvxb);
var add_css_views_vvvvvxc = jQuery("#jform_add_css_views input[type='radio']:checked").val();
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()
{
var add_javascript_view_file_vvvvvxc = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxc(add_javascript_view_file_vvvvvxc);
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxd(add_javascript_view_file_vvvvvxd);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
{
e.preventDefault();
var add_javascript_view_file_vvvvvxc = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
vvvvvxc(add_javascript_view_file_vvvvvxc);
var add_javascript_view_file_vvvvvxd = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
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()
{
var add_javascript_views_file_vvvvvxd = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxd(add_javascript_views_file_vvvvvxd);
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxe(add_javascript_views_file_vvvvvxe);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
{
e.preventDefault();
var add_javascript_views_file_vvvvvxd = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
vvvvvxd(add_javascript_views_file_vvvvvxd);
var add_javascript_views_file_vvvvvxe = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
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()
{
var add_javascript_view_footer_vvvvvxe = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxe(add_javascript_view_footer_vvvvvxe);
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxf(add_javascript_view_footer_vvvvvxf);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{
e.preventDefault();
var add_javascript_view_footer_vvvvvxe = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvvxe(add_javascript_view_footer_vvvvvxe);
var add_javascript_view_footer_vvvvvxf = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
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()
{
var add_javascript_views_footer_vvvvvxf = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxf(add_javascript_views_footer_vvvvvxf);
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxg(add_javascript_views_footer_vvvvvxg);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{
e.preventDefault();
var add_javascript_views_footer_vvvvvxf = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvvxf(add_javascript_views_footer_vvvvvxf);
var add_javascript_views_footer_vvvvvxg = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
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()
{
var add_php_ajax_vvvvvxg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxg(add_php_ajax_vvvvvxg);
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxh(add_php_ajax_vvvvvxh);
});
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{
e.preventDefault();
var add_php_ajax_vvvvvxg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvxg(add_php_ajax_vvvvvxg);
var add_php_ajax_vvvvvxh = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
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()
{
var add_php_getitem_vvvvvxh = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxh(add_php_getitem_vvvvvxh);
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxi(add_php_getitem_vvvvvxi);
});
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
{
e.preventDefault();
var add_php_getitem_vvvvvxh = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
vvvvvxh(add_php_getitem_vvvvvxh);
var add_php_getitem_vvvvvxi = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
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()
{
var add_php_getitems_vvvvvxi = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxi(add_php_getitems_vvvvvxi);
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxj(add_php_getitems_vvvvvxj);
});
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
{
e.preventDefault();
var add_php_getitems_vvvvvxi = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
vvvvvxi(add_php_getitems_vvvvvxi);
var add_php_getitems_vvvvvxj = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
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()
{
var add_php_getitems_after_all_vvvvvxj = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxj(add_php_getitems_after_all_vvvvvxj);
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxk(add_php_getitems_after_all_vvvvvxk);
});
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
{
e.preventDefault();
var add_php_getitems_after_all_vvvvvxj = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
vvvvvxj(add_php_getitems_after_all_vvvvvxj);
var add_php_getitems_after_all_vvvvvxk = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
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()
{
var add_php_getlistquery_vvvvvxk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxk(add_php_getlistquery_vvvvvxk);
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxl(add_php_getlistquery_vvvvvxl);
});
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
{
e.preventDefault();
var add_php_getlistquery_vvvvvxk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxk(add_php_getlistquery_vvvvvxk);
var add_php_getlistquery_vvvvvxl = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
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()
{
var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxl(add_php_getform_vvvvvxl);
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxm(add_php_getform_vvvvvxm);
});
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
{
e.preventDefault();
var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
vvvvvxl(add_php_getform_vvvvvxl);
var add_php_getform_vvvvvxm = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
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()
{
var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxm(add_php_before_save_vvvvvxm);
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxn(add_php_before_save_vvvvvxn);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
{
e.preventDefault();
var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
vvvvvxm(add_php_before_save_vvvvvxm);
var add_php_before_save_vvvvvxn = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
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()
{
var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxn(add_php_save_vvvvvxn);
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxo(add_php_save_vvvvvxo);
});
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
{
e.preventDefault();
var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
vvvvvxn(add_php_save_vvvvvxn);
var add_php_save_vvvvvxo = jQuery("#jform_add_php_save input[type='radio']:checked").val();
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()
{
var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxo(add_php_postsavehook_vvvvvxo);
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxp(add_php_postsavehook_vvvvvxp);
});
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
{
e.preventDefault();
var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
vvvvvxo(add_php_postsavehook_vvvvvxo);
var add_php_postsavehook_vvvvvxp = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
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()
{
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxp(add_php_allowadd_vvvvvxp);
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxq(add_php_allowadd_vvvvvxq);
});
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
{
e.preventDefault();
var add_php_allowadd_vvvvvxp = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
vvvvvxp(add_php_allowadd_vvvvvxp);
var add_php_allowadd_vvvvvxq = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
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()
{
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxq(add_php_allowedit_vvvvvxq);
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxr(add_php_allowedit_vvvvvxr);
});
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
{
e.preventDefault();
var add_php_allowedit_vvvvvxq = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
vvvvvxq(add_php_allowedit_vvvvvxq);
var add_php_allowedit_vvvvvxr = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
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()
{
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxr(add_php_batchcopy_vvvvvxr);
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxs(add_php_batchcopy_vvvvvxs);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
{
e.preventDefault();
var add_php_batchcopy_vvvvvxr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
vvvvvxr(add_php_batchcopy_vvvvvxr);
var add_php_batchcopy_vvvvvxs = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
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()
{
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxs(add_php_batchmove_vvvvvxs);
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxt(add_php_batchmove_vvvvvxt);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
{
e.preventDefault();
var add_php_batchmove_vvvvvxs = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
vvvvvxs(add_php_batchmove_vvvvvxs);
var add_php_batchmove_vvvvvxt = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
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()
{
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxt(add_php_before_publish_vvvvvxt);
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxu(add_php_before_publish_vvvvvxu);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
{
e.preventDefault();
var add_php_before_publish_vvvvvxt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
vvvvvxt(add_php_before_publish_vvvvvxt);
var add_php_before_publish_vvvvvxu = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
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()
{
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxu(add_php_after_publish_vvvvvxu);
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxv(add_php_after_publish_vvvvvxv);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
{
e.preventDefault();
var add_php_after_publish_vvvvvxu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
vvvvvxu(add_php_after_publish_vvvvvxu);
var add_php_after_publish_vvvvvxv = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
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()
{
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxv(add_php_before_delete_vvvvvxv);
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxw(add_php_before_delete_vvvvvxw);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
{
e.preventDefault();
var add_php_before_delete_vvvvvxv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
vvvvvxv(add_php_before_delete_vvvvvxv);
var add_php_before_delete_vvvvvxw = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
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()
{
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxw(add_php_after_delete_vvvvvxw);
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxx(add_php_after_delete_vvvvvxx);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
{
e.preventDefault();
var add_php_after_delete_vvvvvxw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
vvvvvxw(add_php_after_delete_vvvvvxw);
var add_php_after_delete_vvvvvxx = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
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()
{
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxx(add_php_document_vvvvvxx);
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxy(add_php_document_vvvvvxy);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvxx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxx(add_php_document_vvvvvxx);
});
// #jform_add_sql listeners for add_sql_vvvvvxy function
jQuery('#jform_add_sql').on('keyup',function()
{
var 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);
var add_php_document_vvvvvxy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvxy(add_php_document_vvvvvxy);
});
// #jform_add_sql listeners for add_sql_vvvvvxz 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();
vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
vvvvvxz(add_sql_vvvvvxz);
});
jQuery('#adminForm').on('change', '#jform_add_sql',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);
vvvvvxz(add_sql_vvvvvxz);
});
// #jform_source listeners for source_vvvvvyb function
// #jform_source listeners for source_vvvvvya function
jQuery('#jform_source').on('keyup',function()
{
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
// #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()
{
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
var source_vvvvvyb = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvyb = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvyb(source_vvvvvyb,add_sql_vvvvvyb);
var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
// #jform_add_custom_import listeners for add_custom_import_vvvvvyd function
jQuery('#jform_add_custom_import').on('keyup',function()
// #jform_source listeners for source_vvvvvyc function
jQuery('#jform_source').on('keyup',function()
{
var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyd(add_custom_import_vvvvvyd);
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_custom_import',function (e)
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyd(add_custom_import_vvvvvyd);
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);
});
// #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()
{
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyf(add_custom_button_vvvvvyf);
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyg(add_custom_button_vvvvvyg);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvyf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyf(add_custom_button_vvvvvyf);
var add_custom_button_vvvvvyg = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyg(add_custom_button_vvvvvyg);
});

View File

@ -309,6 +309,11 @@ class ComponentbuilderViewCompiler extends JViewLegacy
// add Run Expansion button.
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'))
{
// add Clear tmp button.

View File

@ -163,153 +163,153 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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()
{
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyh(add_php_view_vvvvvyh);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvyg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyg(add_php_view_vvvvvyg);
var add_php_view_vvvvvyh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
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()
{
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyi(add_php_jview_display_vvvvvyi);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{
e.preventDefault();
var add_php_jview_display_vvvvvyh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyh(add_php_jview_display_vvvvvyh);
var add_php_jview_display_vvvvvyi = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
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()
{
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyj(add_php_jview_vvvvvyj);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{
e.preventDefault();
var add_php_jview_vvvvvyi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyi(add_php_jview_vvvvvyi);
var add_php_jview_vvvvvyj = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
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()
{
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyk(add_php_document_vvvvvyk);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvyj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyj(add_php_document_vvvvvyj);
var add_php_document_vvvvvyk = jQuery("#jform_add_php_document input[type='radio']:checked").val();
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()
{
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyl(add_css_document_vvvvvyl);
});
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{
e.preventDefault();
var add_css_document_vvvvvyk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyk(add_css_document_vvvvvyk);
var add_css_document_vvvvvyl = jQuery("#jform_add_css_document input[type='radio']:checked").val();
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()
{
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvym(add_javascript_file_vvvvvym);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{
e.preventDefault();
var add_javascript_file_vvvvvyl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyl(add_javascript_file_vvvvvyl);
var add_javascript_file_vvvvvym = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
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()
{
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyn(add_js_document_vvvvvyn);
});
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{
e.preventDefault();
var add_js_document_vvvvvym = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvym(add_js_document_vvvvvym);
var add_js_document_vvvvvyn = jQuery("#jform_add_js_document input[type='radio']:checked").val();
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()
{
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyo(add_custom_button_vvvvvyo);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyn(add_custom_button_vvvvvyn);
var add_custom_button_vvvvvyo = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
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()
{
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyp(add_css_vvvvvyp);
});
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{
e.preventDefault();
var add_css_vvvvvyo = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyo(add_css_vvvvvyo);
var add_css_vvvvvyp = jQuery("#jform_add_css input[type='radio']:checked").val();
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()
{
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq);
});
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{
e.preventDefault();
var add_php_ajax_vvvvvyp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyp(add_php_ajax_vvvvvyp);
var add_php_ajax_vvvvvyq = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyq(add_php_ajax_vvvvvyq);
});

View File

@ -117,21 +117,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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
jQuery('#jform_target').on('keyup',function()
{
@ -151,67 +136,82 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
jQuery('#jform_target').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);
vvvvwag(target_vvvvwag);
});
jQuery('#adminForm').on('change', '#jform_target',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_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);
vvvvwag(target_vvvvwag);
});
// #jform_target listeners for target_vvvvwah 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();
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)
{
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);
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);
});

View File

@ -160,33 +160,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_gettype listeners for gettype_vvvvvzd function
// #jform_gettype listeners for gettype_vvvvvze function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(gettype_vvvvvzd);
var gettype_vvvvvze = jQuery("#jform_gettype").val();
vvvvvze(gettype_vvvvvze);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzd = jQuery("#jform_gettype").val();
vvvvvzd(gettype_vvvvvzd);
});
// #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);
var gettype_vvvvvze = jQuery("#jform_gettype").val();
vvvvvze(gettype_vvvvvze);
});
@ -250,18 +235,18 @@ jQuery('#adminForm').on('change', '#jform_main_source',function (e)
});
// #jform_addcalculation listeners for addcalculation_vvvvvzj function
jQuery('#jform_addcalculation').on('keyup',function()
// #jform_main_source listeners for main_source_vvvvvzj function
jQuery('#jform_main_source').on('keyup',function()
{
var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzj(addcalculation_vvvvvzj);
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
vvvvvzj(main_source_vvvvvzj);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
{
e.preventDefault();
var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
vvvvvzj(addcalculation_vvvvvzj);
var main_source_vvvvvzj = jQuery("#jform_main_source").val();
vvvvvzj(main_source_vvvvvzj);
});
@ -269,33 +254,14 @@ jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
jQuery('#jform_addcalculation').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);
vvvvvzk(addcalculation_vvvvvzk);
});
jQuery('#adminForm').on('change', '#jform_addcalculation',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);
});
// #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);
vvvvvzk(addcalculation_vvvvvzk);
});
@ -333,18 +299,37 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
});
// #jform_main_source listeners for main_source_vvvvvzo function
jQuery('#jform_main_source').on('keyup',function()
// #jform_addcalculation listeners for addcalculation_vvvvvzm function
jQuery('#jform_addcalculation').on('keyup',function()
{
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzo(main_source_vvvvvzo);
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_main_source',function (e)
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
{
e.preventDefault();
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzo(main_source_vvvvvzo);
var addcalculation_vvvvvzm = jQuery("#jform_addcalculation input[type='radio']:checked").val();
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()
{
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);
var add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',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_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 add_php_before_getitem_vvvvvzr = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
vvvvvzr(add_php_after_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);
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
// #jform_gettype listeners for gettype_vvvvvzr 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();
vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
vvvvvzr(add_php_before_getitem_vvvvvzr,gettype_vvvvvzr);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
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();
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()
{
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(gettype_vvvvvzt);
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_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
vvvvvzt(gettype_vvvvvzt);
});
// #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);
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_vvvvvzu 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();
vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
vvvvvzu(gettype_vvvvvzu);
});
jQuery('#adminForm').on('change', '#jform_gettype',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);
vvvvvzu(gettype_vvvvvzu);
});
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzv function
jQuery('#jform_add_php_before_getitems').on('keyup',function()
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvzv 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();
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();
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();
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
});
// #jform_gettype listeners for gettype_vvvvvzv 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();
vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
vvvvvzv(add_php_getlistquery_vvvvvzv,gettype_vvvvvzv);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
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();
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
jQuery('#jform_add_php_after_getitems').on('keyup',function()
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvvzw 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();
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();
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();
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
});
// #jform_gettype listeners for gettype_vvvvvzw 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();
vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
vvvvvzw(add_php_before_getitems_vvvvvzw,gettype_vvvvvzw);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
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();
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()
{
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(gettype_vvvvvzy);
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_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(gettype_vvvvvzy);
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);
});
@ -597,48 +582,63 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
jQuery('#jform_gettype').on('keyup',function()
{
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,add_php_router_parse_vvvvwab);
vvvvwab(gettype_vvvvwab);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
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,add_php_router_parse_vvvvwab);
vvvvwab(gettype_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()
{
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,add_php_router_parse_vvvvwab);
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_add_php_router_parse',function (e)
{
e.preventDefault();
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,add_php_router_parse_vvvvwab);
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_gettype listeners for gettype_vvvvwad function
// #jform_gettype listeners for gettype_vvvvwae function
jQuery('#jform_gettype').on('keyup',function()
{
var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(gettype_vvvvwad);
var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae);
});
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
{
e.preventDefault();
var gettype_vvvvwad = jQuery("#jform_gettype").val();
vvvvwad(gettype_vvvvwad);
var gettype_vvvvwae = jQuery("#jform_gettype").val();
vvvvwae(gettype_vvvvwae);
});

View File

@ -148,48 +148,33 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwaq function
// #jform_datalenght listeners for datalenght_vvvvwar function
jQuery('#jform_datalenght').on('keyup',function()
{
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
vvvvwaq(datalenght_vvvvwaq);
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar);
});
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{
e.preventDefault();
var datalenght_vvvvwaq = jQuery("#jform_datalenght").val();
vvvvwaq(datalenght_vvvvwaq);
var datalenght_vvvvwar = jQuery("#jform_datalenght").val();
vvvvwar(datalenght_vvvvwar);
});
// #jform_datadefault listeners for datadefault_vvvvwar function
// #jform_datadefault listeners for datadefault_vvvvwas function
jQuery('#jform_datadefault').on('keyup',function()
{
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
vvvvwar(datadefault_vvvvwar);
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_vvvvwas);
});
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{
e.preventDefault();
var datadefault_vvvvwar = jQuery("#jform_datadefault").val();
vvvvwar(datadefault_vvvvwar);
});
// #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);
var datadefault_vvvvwas = jQuery("#jform_datadefault").val();
vvvvwas(datadefault_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
jQuery('#jform_datatype').on('keyup',function()
{
var store_vvvvwau = jQuery("#jform_store").val();
var datatype_vvvvwau = jQuery("#jform_datatype").val();
vvvvwau(store_vvvvwau,datatype_vvvvwau);
vvvvwau(datatype_vvvvwau);
});
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
{
e.preventDefault();
var store_vvvvwau = jQuery("#jform_store").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()
{
var add_css_view_vvvvwaw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwaw(add_css_view_vvvvwaw);
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwax(add_css_view_vvvvwax);
});
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
{
e.preventDefault();
var add_css_view_vvvvwaw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
vvvvwaw(add_css_view_vvvvwaw);
var add_css_view_vvvvwax = jQuery("#jform_add_css_view input[type='radio']:checked").val();
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()
{
var add_css_views_vvvvwax = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwax(add_css_views_vvvvwax);
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvway(add_css_views_vvvvway);
});
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
{
e.preventDefault();
var add_css_views_vvvvwax = jQuery("#jform_add_css_views input[type='radio']:checked").val();
vvvvwax(add_css_views_vvvvwax);
var add_css_views_vvvvway = jQuery("#jform_add_css_views input[type='radio']:checked").val();
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()
{
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvway(add_javascript_view_footer_vvvvway);
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_view_footer_vvvvwaz);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
{
e.preventDefault();
var add_javascript_view_footer_vvvvway = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
vvvvway(add_javascript_view_footer_vvvvway);
var add_javascript_view_footer_vvvvwaz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
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()
{
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_views_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);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
{
e.preventDefault();
var add_javascript_views_footer_vvvvwaz = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
vvvvwaz(add_javascript_views_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);
});

View File

@ -137,344 +137,287 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_datalenght listeners for datalenght_vvvvwba function
// #jform_datalenght listeners for datalenght_vvvvwbb function
jQuery('#jform_datalenght').on('keyup',function()
{
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
});
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
{
e.preventDefault();
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
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()
{
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbb(datalenght_vvvvwbb,has_defaults_vvvvwbb);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwba = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwba(datalenght_vvvvwba,has_defaults_vvvvwba);
var datalenght_vvvvwbb = jQuery("#jform_datalenght").val();
var has_defaults_vvvvwbb = jQuery("#jform_has_defaults input[type='radio']:checked").val();
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()
{
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
});
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
{
e.preventDefault();
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
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()
{
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
});
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
{
e.preventDefault();
var datadefault_vvvvwbc = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbc(datadefault_vvvvwbc,has_defaults_vvvvwbc);
});
// #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);
var datadefault_vvvvwbd = jQuery("#jform_datadefault").val();
var has_defaults_vvvvwbd = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbd(datadefault_vvvvwbd,has_defaults_vvvvwbd);
});
// #jform_datatype listeners for datatype_vvvvwbf 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();
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)
{
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);
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
jQuery('#jform_datatype').on('keyup',function()
// #jform_has_defaults listeners for has_defaults_vvvvwbf 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();
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
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_has_defaults',function (e)
{
e.preventDefault();
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbg(datatype_vvvvwbg,has_defaults_vvvvwbg);
var datatype_vvvvwbf = jQuery("#jform_datatype").val();
var has_defaults_vvvvwbf = jQuery("#jform_has_defaults input[type='radio']:checked").val();
vvvvwbf(datatype_vvvvwbf,has_defaults_vvvvwbf);
});
// #jform_has_defaults listeners for has_defaults_vvvvwbg 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();
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)
{
e.preventDefault();
var datatype_vvvvwbg = jQuery("#jform_datatype").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
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
// #jform_datatype listeners for datatype_vvvvwbg function
jQuery('#jform_datatype').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);
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
});
jQuery('#adminForm').on('change', '#jform_datatype',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);
var has_defaults_vvvvwbg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
var datatype_vvvvwbg = jQuery("#jform_datatype").val();
vvvvwbg(has_defaults_vvvvwbg,datatype_vvvvwbg);
});
// #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()
{
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);
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_has_defaults',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_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);
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_store listeners for store_vvvvwbj function
jQuery('#jform_store').on('keyup',function()
{
var datatype_vvvvwbj = jQuery("#jform_datatype").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();
vvvvwbj(datatype_vvvvwbj,store_vvvvwbj,has_defaults_vvvvwbj);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
});
jQuery('#adminForm').on('change', '#jform_store',function (e)
{
e.preventDefault();
var datatype_vvvvwbj = jQuery("#jform_datatype").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();
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
jQuery('#jform_has_defaults').on('keyup',function()
{
var datatype_vvvvwbj = jQuery("#jform_datatype").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();
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)
{
e.preventDefault();
var datatype_vvvvwbj = jQuery("#jform_datatype").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();
vvvvwbj(datatype_vvvvwbj,store_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);
vvvvwbj(store_vvvvwbj,datatype_vvvvwbj,has_defaults_vvvvwbj);
});
// #jform_datatype listeners for datatype_vvvvwbk 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();
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)
{
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);
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()
{
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)
{
e.preventDefault();
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);
});

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
}
// Get Linked view data
$this->wamfields = $this->get('Wamfields');
$this->wapfields = $this->get('Wapfields');
// Set the toolbar
$this->addToolBar();

View File

@ -117,21 +117,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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
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
jQuery('#jform_type').on('keyup',function()
// #jform_location listeners for location_vvvvwby function
jQuery('#jform_location').on('keyup',function()
{
var type_vvvvwby = jQuery("#jform_type").val();
vvvvwby(type_vvvvwby);
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwby(location_vvvvwby);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var type_vvvvwby = jQuery("#jform_type").val();
vvvvwby(type_vvvvwby);
var location_vvvvwby = jQuery("#jform_location input[type='radio']:checked").val();
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()
{
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcb(target_vvvvwcb);
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcc(target_vvvvwcc);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcb(target_vvvvwcb);
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwcc(target_vvvvwcc);
});

View File

@ -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)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_fullwidth', $this); ?>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_left', $this); ?>
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.dynamic_integration_right', $this); ?>
</div>
</div>
<?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);
});

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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()
{
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc);
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc);
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd);
});

View File

@ -147,21 +147,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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
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()
{
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwap(type_vvvvwap);
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaq(type_vvvvwaq);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwap(type_vvvvwap);
var type_vvvvwaq = jQuery("#jform_type input[type='radio']:checked").val();
vvvvwaq(type_vvvvwaq);
});

View File

@ -126,21 +126,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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
jQuery('#jform_protocol').on('keyup',function()
{
@ -160,135 +145,150 @@ jQuery('#adminForm').on('change', '#jform_protocol',function (e)
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
vvvvwbo(protocol_vvvvwbo);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbo = jQuery("#jform_protocol").val();
var authentication_vvvvwbo = jQuery("#jform_authentication").val();
vvvvwbo(protocol_vvvvwbo,authentication_vvvvwbo);
vvvvwbo(protocol_vvvvwbo);
});
// #jform_authentication listeners for authentication_vvvvwbo 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
// #jform_protocol listeners for protocol_vvvvwbp function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
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()
{
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
vvvvwbp(protocol_vvvvwbp,authentication_vvvvwbp);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbq = jQuery("#jform_protocol").val();
var authentication_vvvvwbq = jQuery("#jform_authentication").val();
vvvvwbq(protocol_vvvvwbq,authentication_vvvvwbq);
var protocol_vvvvwbp = jQuery("#jform_protocol").val();
var authentication_vvvvwbp = jQuery("#jform_authentication").val();
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()
{
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
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()
{
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
vvvvwbr(protocol_vvvvwbr,authentication_vvvvwbr);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbs = jQuery("#jform_protocol").val();
var authentication_vvvvwbs = jQuery("#jform_authentication").val();
vvvvwbs(protocol_vvvvwbs,authentication_vvvvwbs);
var protocol_vvvvwbr = jQuery("#jform_protocol").val();
var authentication_vvvvwbr = jQuery("#jform_authentication").val();
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()
{
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
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()
{
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
vvvvwbt(protocol_vvvvwbt,authentication_vvvvwbt);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwbu = jQuery("#jform_protocol").val();
var authentication_vvvvwbu = jQuery("#jform_authentication").val();
vvvvwbu(protocol_vvvvwbu,authentication_vvvvwbu);
var protocol_vvvvwbt = jQuery("#jform_protocol").val();
var authentication_vvvvwbt = jQuery("#jform_authentication").val();
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);
});

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
}
// Get Linked view data
$this->wawlinked_components = $this->get('Wawlinked_components');
$this->wazlinked_components = $this->get('Wazlinked_components');
// Set the toolbar
$this->addToolBar();

View File

@ -166,168 +166,168 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<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()
{
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyr(add_php_view_vvvvvyr);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvyq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyq(add_php_view_vvvvvyq);
var add_php_view_vvvvvyr = jQuery("#jform_add_php_view input[type='radio']:checked").val();
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()
{
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvys(add_php_jview_display_vvvvvys);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
{
e.preventDefault();
var add_php_jview_display_vvvvvyr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
vvvvvyr(add_php_jview_display_vvvvvyr);
var add_php_jview_display_vvvvvys = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
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()
{
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvyt(add_php_jview_vvvvvyt);
});
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
{
e.preventDefault();
var add_php_jview_vvvvvys = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
vvvvvys(add_php_jview_vvvvvys);
var add_php_jview_vvvvvyt = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
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()
{
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyu(add_php_document_vvvvvyu);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
var add_php_document_vvvvvyt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
vvvvvyt(add_php_document_vvvvvyt);
var add_php_document_vvvvvyu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
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()
{
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyv(add_css_document_vvvvvyv);
});
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
{
e.preventDefault();
var add_css_document_vvvvvyu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
vvvvvyu(add_css_document_vvvvvyu);
var add_css_document_vvvvvyv = jQuery("#jform_add_css_document input[type='radio']:checked").val();
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()
{
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyw(add_javascript_file_vvvvvyw);
});
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
{
e.preventDefault();
var add_javascript_file_vvvvvyv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
vvvvvyv(add_javascript_file_vvvvvyv);
var add_javascript_file_vvvvvyw = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
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()
{
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyx(add_js_document_vvvvvyx);
});
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
{
e.preventDefault();
var add_js_document_vvvvvyw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
vvvvvyw(add_js_document_vvvvvyw);
var add_js_document_vvvvvyx = jQuery("#jform_add_js_document input[type='radio']:checked").val();
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()
{
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyy(add_css_vvvvvyy);
});
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
{
e.preventDefault();
var add_css_vvvvvyx = jQuery("#jform_add_css input[type='radio']:checked").val();
vvvvvyx(add_css_vvvvvyx);
var add_css_vvvvvyy = jQuery("#jform_add_css input[type='radio']:checked").val();
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()
{
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyz(add_php_ajax_vvvvvyz);
});
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
{
e.preventDefault();
var add_php_ajax_vvvvvyy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
vvvvvyy(add_php_ajax_vvvvvyy);
var add_php_ajax_vvvvvyz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
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()
{
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvza(add_custom_button_vvvvvza);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
var add_custom_button_vvvvvyz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
vvvvvyz(add_custom_button_vvvvvyz);
var add_custom_button_vvvvvza = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
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()
{
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb);
});
jQuery('#adminForm').on('change', '#jform_button_position',function (e)
{
e.preventDefault();
var button_position_vvvvvza = jQuery("#jform_button_position").val();
vvvvvza(button_position_vvvvvza);
var button_position_vvvvvzb = jQuery("#jform_button_position").val();
vvvvvzb(button_position_vvvvvzb);
});

View File

@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzb function
// #jform_add_php_view listeners for add_php_view_vvvvvzc function
jQuery('#jform_add_php_view').on('keyup',function()
{
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzb(add_php_view_vvvvvzb);
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvzb = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzb(add_php_view_vvvvvzb);
var add_php_view_vvvvvzc = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzc(add_php_view_vvvvvzc);
});

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.2" method="upgrade">
<name>COM_COMPONENTBUILDER</name>
<creationDate>6th May, 2019</creationDate>
<creationDate>15th May, 2019</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>llewellyn@joomlacomponentbuilder.com</authorEmail>
<authorUrl>http://www.joomlacomponentbuilder.com</authorUrl>
<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>
<version>2.9.16</version>
<version>2.9.18</version>
<description><![CDATA[
<h1>Component Builder (v.2.9.16)</h1>
<h1>Component Builder (v.2.9.18)</h1>
<div style="clear: both;"></div>
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.

View File

@ -636,7 +636,7 @@
<version>2.9.15</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.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>
@ -653,7 +653,24 @@
<version>2.9.16</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.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>
<tags>
<tag>stable</tag>

View File

@ -3680,9 +3680,9 @@ class com_componentbuilderInstallerScript
$joomla_component->type_title = '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->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->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.
$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_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->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->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.
$joomla_component_id = null;
@ -5426,7 +5426,7 @@ class com_componentbuilderInstallerScript
echo '<a target="_blank" href="http://www.joomlacomponentbuilder.com" title="Component Builder">
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
</a>
<h3>Upgrade to Version 2.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>';
}
}

View File

@ -32,6 +32,225 @@ class ComponentbuilderControllerApi extends JControllerForm
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()
{
@ -193,123 +412,7 @@ class ComponentbuilderControllerApi extends JControllerForm
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
*
@ -337,25 +440,35 @@ class ComponentbuilderControllerApi extends JControllerForm
// check the for a string
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
$model = $this->getModel('api');
// open the compile Install function
if ('compileInstall' === $task)
// check if allowed and method exist and is callable
if (in_array($task, $this->allowedMethods) && method_exists($model, $task) && is_callable(array($model, $task)))
{
// load the compiler
$this->_autoloader();
// compile and install
$model->compileInstall($dataValues);
// return locked values
echo ComponentbuilderHelper::lock($model->messages);
// clear session
JFactory::getApplication()->getSession()->destroy();
jexit();
// 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))
{
// return locked values
echo ComponentbuilderHelper::lock($model->messages);
// clear session
JFactory::getApplication()->getSession()->destroy();
jexit();
}
elseif ($result)
{
echo 1;
// clear session
JFactory::getApplication()->getSession()->destroy();
jexit();
}
}
}
}
@ -366,16 +479,6 @@ class ComponentbuilderControllerApi extends JControllerForm
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.

View File

@ -2612,7 +2612,7 @@ abstract class ComponentbuilderHelper
'sessionhandler', 'spacer', 'sql', 'subform', 'tag', 'tel', 'templatestyle', 'text', 'textarea', 'timezone', 'url', 'user', 'usergroup'
),
'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',
'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);
}
/**
* 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')
{

View File

@ -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_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_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_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."

View File

@ -161,6 +161,32 @@ class ComponentbuilderModelApi extends JModelItem
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)
{
$values = array(
@ -190,7 +216,7 @@ class ComponentbuilderModelApi extends JModelItem
if (1 == $published && $checked_out == 0)
{
// start up Compiler
$this->compiler = new Compiler($values);
$this->compiler = new Compiler($values);
if($this->compiler)
{
// component was compiled