forked from joomla/Component-Builder
Updated the compiler to now add GUI placeholders, resolved gh-451 so we now have easy roundtrip development beyond the original custom-code implementation. Added the files, folders, url option, and added the install fields to the new plugin area. gh-436
This commit is contained in:
parent
affaeb72f8
commit
4581b310de
14
README.md
14
README.md
@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
||||
|
||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
||||
|
||||
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.34) 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.35) 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,14 +146,14 @@ 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*: 19th July, 2019
|
||||
+ *Version*: 2.9.34
|
||||
+ *Last Build*: 28th July, 2019
|
||||
+ *Version*: 2.9.35
|
||||
+ *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*: **236622**
|
||||
+ *Field count*: **1239**
|
||||
+ *File count*: **1528**
|
||||
+ *Folder count*: **233**
|
||||
+ *Line count*: **242164**
|
||||
+ *Field count*: **1302**
|
||||
+ *File count*: **1562**
|
||||
+ *Folder count*: **237**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
||||
|
||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
|
||||
|
||||
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.34) 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.35) 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,14 +146,14 @@ 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*: 19th July, 2019
|
||||
+ *Version*: 2.9.34
|
||||
+ *Last Build*: 28th July, 2019
|
||||
+ *Version*: 2.9.35
|
||||
+ *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*: **236622**
|
||||
+ *Field count*: **1239**
|
||||
+ *File count*: **1528**
|
||||
+ *Folder count*: **233**
|
||||
+ *Line count*: **242164**
|
||||
+ *Field count*: **1302**
|
||||
+ *File count*: **1562**
|
||||
+ *Folder count*: **237**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
|
||||
> Developed by [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
|
||||
|
@ -342,6 +342,16 @@
|
||||
<action name="joomla_plugin.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_OWN_DESC" />
|
||||
<action name="joomla_plugin.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_plugin.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.access" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.batch" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.create" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.delete" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC" />
|
||||
<action name="joomla_plugin.submenu" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC" />
|
||||
<action name="language.build" title="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_BUILD_BUTTON_ACCESS_DESC" />
|
||||
<action name="language_translation.access" title="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS" description="COM_COMPONENTBUILDER_LANGUAGE_TRANSLATIONS_ACCESS_DESC" />
|
||||
@ -895,6 +905,17 @@
|
||||
<section name="joomla_plugin_group">
|
||||
<action name="joomla_plugin_group.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUPS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="joomla_plugin_files_folders_urls">
|
||||
<action name="joomla_plugin_files_folders_urls.edit" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.own" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.state" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.created_by" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.edit.created" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.create" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.delete" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.access" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC" />
|
||||
<action name="joomla_plugin_files_folders_urls.version" title="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION" description="COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC" />
|
||||
</section>
|
||||
<section name="category.fields">
|
||||
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" />
|
||||
<action name="core.delete" title="JACTION_DELETE" description="COM_CATEGORIES_ACCESS_DELETE_DESC" />
|
||||
|
16
admin/assets/css/joomla_plugin_files_folders_urls.css
Normal file
16
admin/assets/css/joomla_plugin_files_folders_urls.css
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
||||
.control-group, .controls, .controls input[type="url"], .controls input[type="text"], .controls input[type="number"], .controls input[type="email"], .controls select, .controls textarea {
|
||||
max-width: 100%;
|
||||
}
|
13
admin/assets/css/joomla_plugins_files_folders_urls.css
Normal file
13
admin/assets/css/joomla_plugins_files_folders_urls.css
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
/* CSS Document */
|
||||
|
||||
|
@ -130,7 +130,8 @@ class ComponentbuilderController extends JControllerLegacy
|
||||
'library_config' => 'libraries_config',
|
||||
'library_files_folders_urls' => 'libraries_files_folders_urls',
|
||||
'class_extends' => 'class_extendings',
|
||||
'joomla_plugin_group' => 'joomla_plugin_groups'
|
||||
'joomla_plugin_group' => 'joomla_plugin_groups',
|
||||
'joomla_plugin_files_folders_urls' => 'joomla_plugins_files_folders_urls'
|
||||
);
|
||||
// check if this is a list view
|
||||
if (in_array($view, $views))
|
||||
|
321
admin/controllers/joomla_plugin_files_folders_urls.php
Normal file
321
admin/controllers/joomla_plugin_files_folders_urls.php
Normal file
@ -0,0 +1,321 @@
|
||||
<?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');
|
||||
|
||||
/**
|
||||
* Joomla_plugin_files_folders_urls Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_plugin_files_folders_urls extends JControllerForm
|
||||
{
|
||||
/**
|
||||
* Current or most recently performed task.
|
||||
*
|
||||
* @var string
|
||||
* @since 12.2
|
||||
* @note Replaces _task.
|
||||
*/
|
||||
protected $task;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param array $config A named array of configuration variables.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function __construct($config = array())
|
||||
{
|
||||
$this->view_list = 'Joomla_plugins_files_folders_urls'; // safeguard for setting the return view listing to the main view.
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowAdd($data = array())
|
||||
{
|
||||
// Get user object.
|
||||
$user = JFactory::getUser();
|
||||
// Access check.
|
||||
$access = $user->authorise('joomla_plugin_files_folders_urls.access', 'com_componentbuilder');
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('joomla_plugin_files_folders_urls.create', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// get user object.
|
||||
$user = JFactory::getUser();
|
||||
// get record id.
|
||||
$recordId = (int) isset($data[$key]) ? $data[$key] : 0;
|
||||
|
||||
|
||||
// Access check.
|
||||
$access = ($user->authorise('joomla_plugin_files_folders_urls.access', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $recordId) && $user->authorise('joomla_plugin_files_folders_urls.access', 'com_componentbuilder'));
|
||||
if (!$access)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('joomla_plugin_files_folders_urls.edit', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $recordId);
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('joomla_plugin_files_folders_urls.edit.own', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . $recordId))
|
||||
{
|
||||
// Now test the owner is the user.
|
||||
$ownerId = (int) isset($data['created_by']) ? $data['created_by'] : 0;
|
||||
if (empty($ownerId))
|
||||
{
|
||||
// Need to do a lookup from the model.
|
||||
$record = $this->getModel()->getItem($recordId);
|
||||
|
||||
if (empty($record))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
$ownerId = $record->created_by;
|
||||
}
|
||||
|
||||
// If the owner matches 'me' then allow.
|
||||
if ($ownerId == $user->id)
|
||||
{
|
||||
if ($user->authorise('joomla_plugin_files_folders_urls.edit.own', 'com_componentbuilder'))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Since there is no permission, revert to the component permissions.
|
||||
return $user->authorise('joomla_plugin_files_folders_urls.edit', $this->option);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the URL arguments to append to an item redirect.
|
||||
*
|
||||
* @param integer $recordId The primary key id for the item.
|
||||
* @param string $urlVar The name of the URL variable for the id.
|
||||
*
|
||||
* @return string The arguments to append to the redirect URL.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function getRedirectToItemAppend($recordId = null, $urlVar = 'id')
|
||||
{
|
||||
// get the referral options (old method use return instead see parent)
|
||||
$ref = $this->input->get('ref', 0, 'string');
|
||||
$refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// get redirect info.
|
||||
$append = parent::getRedirectToItemAppend($recordId, $urlVar);
|
||||
|
||||
// set the referral options
|
||||
if ($refid && $ref)
|
||||
{
|
||||
$append = '&ref=' . (string)$ref . '&refid='. (int)$refid . $append;
|
||||
}
|
||||
elseif ($ref)
|
||||
{
|
||||
$append = '&ref='. (string)$ref . $append;
|
||||
}
|
||||
|
||||
return $append;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to run batch operations.
|
||||
*
|
||||
* @param object $model The model.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 2.5
|
||||
*/
|
||||
public function batch($model = null)
|
||||
{
|
||||
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
|
||||
|
||||
// Set the model
|
||||
$model = $this->getModel('Joomla_plugin_files_folders_urls', '', array());
|
||||
|
||||
// Preset the redirect
|
||||
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins_files_folders_urls' . $this->getRedirectToListAppend(), false));
|
||||
|
||||
return parent::batch($model);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to cancel an edit.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
*
|
||||
* @return boolean True if access level checks pass, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function cancel($key = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
|
||||
$cancel = parent::cancel($key);
|
||||
|
||||
if (!is_null($return) && JUri::isInternal(base64_decode($return)))
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view='.(string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save a record.
|
||||
*
|
||||
* @param string $key The name of the primary key of the URL variable.
|
||||
* @param string $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
|
||||
*
|
||||
* @return boolean True if successful, false otherwise.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function save($key = null, $urlVar = null)
|
||||
{
|
||||
// get the referral options
|
||||
$this->ref = $this->input->get('ref', 0, 'word');
|
||||
$this->refid = $this->input->get('refid', 0, 'int');
|
||||
|
||||
// Check if there is a return value
|
||||
$return = $this->input->get('return', null, 'base64');
|
||||
$canReturn = (!is_null($return) && JUri::isInternal(base64_decode($return)));
|
||||
|
||||
if ($this->ref || $this->refid || $canReturn)
|
||||
{
|
||||
// to make sure the item is checkedin on redirect
|
||||
$this->task = 'save';
|
||||
}
|
||||
|
||||
$saved = parent::save($key, $urlVar);
|
||||
|
||||
// This is not needed since parent save already does this
|
||||
// Due to the ref and refid implementation we need to add this
|
||||
if ($canReturn)
|
||||
{
|
||||
$redirect = base64_decode($return);
|
||||
|
||||
// Redirect to the return value.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
$redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->refid && $this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref . '&layout=edit&id=' . (int)$this->refid;
|
||||
|
||||
// Redirect to the item screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
elseif ($this->ref)
|
||||
{
|
||||
$redirect = '&view=' . (string)$this->ref;
|
||||
|
||||
// Redirect to the list screen.
|
||||
$this->setRedirect(
|
||||
JRoute::_(
|
||||
'index.php?option=' . $this->option . $redirect, false
|
||||
)
|
||||
);
|
||||
}
|
||||
return $saved;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that allows child controller access to model data
|
||||
* after the data has been saved.
|
||||
*
|
||||
* @param JModel &$model The data model object.
|
||||
* @param array $validData The validated data.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 11.1
|
||||
*/
|
||||
protected function postSaveHook(JModelLegacy $model, $validData = array())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
43
admin/controllers/joomla_plugins_files_folders_urls.php
Normal file
43
admin/controllers/joomla_plugins_files_folders_urls.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?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');
|
||||
|
||||
/**
|
||||
* Joomla_plugins_files_folders_urls Controller
|
||||
*/
|
||||
class ComponentbuilderControllerJoomla_plugins_files_folders_urls extends JControllerAdmin
|
||||
{
|
||||
/**
|
||||
* The prefix to use with controller messages.
|
||||
*
|
||||
* @var string
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS';
|
||||
|
||||
/**
|
||||
* Method to get a model object, loading it if required.
|
||||
*
|
||||
* @param string $name The model name. Optional.
|
||||
* @param string $prefix The class prefix. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JModelLegacy The model.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getModel($name = 'Joomla_plugin_files_folders_urls', $prefix = 'ComponentbuilderModel', $config = array('ignore_request' => true))
|
||||
{
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1123,7 +1123,7 @@ class Fields extends Structure
|
||||
$dynamicField = $this->setField('special', $fieldAttributes, $name, $typeName, $langView, $view_name_single, $view_name_list, $placeholders, $optionArray);
|
||||
}
|
||||
}
|
||||
elseif (ComponentbuilderHelper::checkArray($fieldAttributes['custom']))
|
||||
elseif (isset($fieldAttributes['custom']) && ComponentbuilderHelper::checkArray($fieldAttributes['custom']))
|
||||
{
|
||||
// set the custom array
|
||||
$custom = $fieldAttributes['custom'];
|
||||
@ -1399,7 +1399,7 @@ class Fields extends Structure
|
||||
// now add to the field set
|
||||
$field .= $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
|
||||
}
|
||||
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
elseif (isset($r_fieldValues['custom']) && ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
{
|
||||
// add to custom
|
||||
$custom = $r_fieldValues['custom'];
|
||||
@ -1516,7 +1516,7 @@ class Fields extends Structure
|
||||
$field .= $this->setField('special', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray, null, $r_taber);
|
||||
}
|
||||
}
|
||||
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
elseif (isset($r_fieldValues['custom']) && ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
{
|
||||
// add to custom
|
||||
$custom = $r_fieldValues['custom'];
|
||||
@ -1778,12 +1778,7 @@ class Fields extends Structure
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($fieldSetXML, $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain'))
|
||||
{
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($fieldSetXML, $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
elseif (isset($r_fieldValues['custom']) && ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
{
|
||||
// add to custom
|
||||
$custom = $r_fieldValues['custom'];
|
||||
@ -1804,6 +1799,11 @@ class Fields extends Structure
|
||||
// set the custom field file
|
||||
$this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single);
|
||||
}
|
||||
else
|
||||
{
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($fieldSetXML, $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1886,11 +1886,6 @@ class Fields extends Structure
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($form, $this->setField('option', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
elseif (ComponentbuilderHelper::fieldCheck($r_typeName, 'plain'))
|
||||
{
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($form, $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
elseif ($r_typeName === 'subform')
|
||||
{
|
||||
// set nested depth
|
||||
@ -1910,7 +1905,7 @@ class Fields extends Structure
|
||||
}
|
||||
|
||||
}
|
||||
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
elseif (isset($r_fieldValues['custom']) && ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
|
||||
{
|
||||
// add to custom
|
||||
$custom = $r_fieldValues['custom'];
|
||||
@ -1931,6 +1926,11 @@ class Fields extends Structure
|
||||
// set the custom field file
|
||||
$this->setCustomFieldTypeFile($data, $view_name_list, $view_name_single);
|
||||
}
|
||||
else
|
||||
{
|
||||
// now add to the field set
|
||||
ComponentbuilderHelper::xmlAppend($form, $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5419,7 +5419,7 @@ class Interpretation extends Fields
|
||||
{
|
||||
// load the custom script for the switch based on dynamic get
|
||||
$routerSwitch[] = PHP_EOL . $this->_t(3) . "case '" . $view . "':";
|
||||
$routerSwitch[] = $this->setPlaceholders($this->setDynamicValues(base64_decode($viewArray['settings']->main_get->php_router_parse)), $this->placeholders);
|
||||
$routerSwitch[] = $this->setPlaceholders($viewArray['settings']->main_get->php_router_parse, $this->placeholders);
|
||||
$routerSwitch[] = $this->_t(4) . "break;";
|
||||
|
||||
return implode(PHP_EOL, $routerSwitch);
|
||||
|
@ -1580,7 +1580,7 @@ COM_COMPONENTBUILDER_CLASS_METHOD_COMMENT_HINT="/**
|
||||
* [PARAMS]
|
||||
*
|
||||
*/"
|
||||
COM_COMPONENTBUILDER_CLASS_METHOD_COMMENT_LABEL="Comment"
|
||||
COM_COMPONENTBUILDER_CLASS_METHOD_COMMENT_LABEL="DocBlock"
|
||||
COM_COMPONENTBUILDER_CLASS_METHOD_COMPONENTS="components"
|
||||
COM_COMPONENTBUILDER_CLASS_METHOD_CREATED_BY_DESC="The user that created this Class Method."
|
||||
COM_COMPONENTBUILDER_CLASS_METHOD_CREATED_BY_LABEL="Created By"
|
||||
@ -1674,7 +1674,7 @@ COM_COMPONENTBUILDER_CLASS_PROPERTY_COMMENT_HINT="/**
|
||||
* [PARAMS]
|
||||
*
|
||||
*/"
|
||||
COM_COMPONENTBUILDER_CLASS_PROPERTY_COMMENT_LABEL="Comment"
|
||||
COM_COMPONENTBUILDER_CLASS_PROPERTY_COMMENT_LABEL="DocBlock"
|
||||
COM_COMPONENTBUILDER_CLASS_PROPERTY_COMPONENTS="components"
|
||||
COM_COMPONENTBUILDER_CLASS_PROPERTY_CREATED_BY_DESC="The user that created this Class Property."
|
||||
COM_COMPONENTBUILDER_CLASS_PROPERTY_CREATED_BY_LABEL="Created By"
|
||||
@ -3018,7 +3018,7 @@ COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Component Placeholders to customise the alias."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_TARGET_DESCRIPTION="Set the text you would like to target as a placeholder"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_TARGET_HINT="[[[core]]]"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_TARGET_HINT="coral"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_TARGET_LABEL="Target String Placeholder"
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_TARGET_MESSAGE="Error! That target placeholder text already exist. Please add an unique placeholder target."
|
||||
COM_COMPONENTBUILDER_COMPONENT_PLACEHOLDERS_VALUE_DESCRIPTION="Set the text you would like to set as the replacement value for the targeted placeholder."
|
||||
@ -5823,7 +5823,7 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_DESCRIPTION="Select t
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_TARGET_LABEL="Update Server Target"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL="Update Server Url"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_DESCRIPTION="Enter Update Server URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_HINT="http://www.example.com/update/component.xml"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_HINT="http://www.example.com/update/extension_name.xml"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_LABEL="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_UPDATE_SERVER_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_USE_DESCRIPTION="How should we link to this contributor."
|
||||
@ -5885,6 +5885,46 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS="Joomla Plugins Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS="Joomla Plugins Files Folders Urls Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_OPTIONS="Batch process the selected Joomla Plugins Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_TIP="All changes will be applied to all selected Joomla Plugins Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE="Joomla Plugins Files Folders Urls Batch Use"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE="Joomla Plugins Files Folders Urls Create"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE="Joomla Plugins Files Folders Urls Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE_DESC="Allows the users in this group to delete delete joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT="Joomla Plugins Files Folders Urls Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY="Joomla Plugins Files Folders Urls Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE="Joomla Plugins Files Folders Urls Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_DESC="Allows the users in this group to edit the joomla plugin files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN="Joomla Plugins Files Folders Urls Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla plugins files folders urls created by them"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Plugins Files Folders Urls Edit State"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Plugins Files Folders Urls Edit Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_ARCHIVED="%s Joomla Plugins Files, Folders & URLs archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_ARCHIVED_1="%s Joomla Plugin Files, Folders & URLs archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_0="No Joomla Plugin Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_1="%d Joomla Plugin Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_CHECKED_IN_MORE="%d Joomla Plugins Files, Folders & URLs successfully checked in."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_DELETED="%s Joomla Plugins Files, Folders & URLs deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_DELETED_1="%s Joomla Plugin Files, Folders & URLs deleted."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_FEATURED="%s Joomla Plugins Files, Folders & URLs featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_FEATURED_1="%s Joomla Plugin Files, Folders & URLs featured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_PUBLISHED="%s Joomla Plugins Files, Folders & URLs published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_PUBLISHED_1="%s Joomla Plugin Files, Folders & URLs published."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_TRASHED="%s Joomla Plugins Files, Folders & URLs trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_TRASHED_1="%s Joomla Plugin Files, Folders & URLs trashed."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED="%s Joomla Plugins Files, Folders & URLs unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_UNFEATURED_1="%s Joomla Plugin Files, Folders & URLs unfeatured."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED="%s Joomla Plugins Files, Folders & URLs unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_N_ITEMS_UNPUBLISHED_1="%s Joomla Plugin Files, Folders & URLs unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED="%s Joomla Plugins archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_ARCHIVED_1="%s Joomla Plugin archived."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_CHECKED_IN_0="No Joomla Plugin successfully checked in."
|
||||
@ -5904,9 +5944,31 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED="%s Joomla Plugins unpub
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_N_ITEMS_UNPUBLISHED_1="%s Joomla Plugin unpublished."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADDREADME="Addreadme"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADDREADME_LABEL="Add README"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD="Add Head"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_DESCRIPTION="You can add your own custom header script, combined with the default header script that make the extended class work."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_HEAD_LABEL="Add Custom Class Header"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_METHOD_UNINSTALL="Add Php Method Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_METHOD_UNINSTALL_LABEL="Add PHP Method (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_INSTALL="Add Php Postflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_INSTALL_LABEL="Add PHP Postflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_UPDATE="Add Php Postflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_UPDATE_LABEL="Add PHP Postflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_INSTALL="Add Php Preflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_INSTALL_LABEL="Add PHP Preflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UNINSTALL="Add Php Preflight Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UNINSTALL_LABEL="Add PHP Preflight (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UPDATE="Add Php Preflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UPDATE_LABEL="Add PHP Preflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SALES_SERVER="Add Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SALES_SERVER_LABEL="Add Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL="Add Sql"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL_LABEL="Add MySQL - (Install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL_UNINSTALL="Add Sql Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL_UNINSTALL_LABEL="Add MySQL - (Uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_UPDATE_SERVER="Add Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_UPDATE_SERVER_LABEL="Add Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS="Class Extends"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CLASS_EXTENDS_LABEL="Extends"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CODE="Code"
|
||||
@ -5918,6 +5980,7 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CREATED_DATE_LABEL="Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION="Enter custom value if needed"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT="Custom Value Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL="Custom Value"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_DYNAMIC_INTEGRATION="Dynamic Integration"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_EDIT="Editing the Joomla Plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ERROR_UNIQUE_ALIAS="Another Joomla Plugin has the same alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD="Field"
|
||||
@ -5925,6 +5988,122 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELDS="Fields"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELDS_LABEL="Fields"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_DESCRIPTION="Select a field"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_LABEL="Field"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS="Joomla Plugin Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILES="Addfiles"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILESFULLPATH="Addfilesfullpath"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION="Add files to this component using the full path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL="Files (full path)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION="Add custom files to this component from the custom folder. Path: /administrator/components/com_componentbuilder/custom/"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILES_LABEL="Files (custom folder)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERS="Addfolders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH="Addfoldersfullpath"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION="Add custom folder to this component using the full path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL="Folder (full path)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION="Add custom folder to this component from the custom folder. Path: /administrator/components/com_componentbuilder/custom/"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL="Folder (custom folder)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDURLS="Addurls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION="Add urls for this library."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDURLS_LABEL="URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADVANCE="Advance"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_BASIC="Basic"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_BY_DESC="The user that created this Joomla Plugin Files, Folders & URLs."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_BY_LABEL="Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_DATE_DESC="The date this Joomla Plugin Files, Folders & URLs was created."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_DATE_LABEL="Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_DEFAULT_LINK="Default (link)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_EDIT="Editing the Joomla Plugin Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ERROR_UNIQUE_ALIAS="Another Joomla Plugin Files, Folders & URLs has the same alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILE="File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION="Full System Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_HINT="/home/user/folder/file.php"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_LABEL="File Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_MESSAGE="Error! Please add folder path here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILE_DESCRIPTION="Add the files to custom folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILE_LABEL="File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDER="Folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION="Full System Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_HINT="/home/user/folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_LABEL="Folder Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE="Error! Please add folder path here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION="Add the folder to custom folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDER_LABEL="Folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ID="Id"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_JOOMLA_PLUGIN="Joomla Plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_JOOMLA_PLUGIN_LABEL="Joomla Plugins"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC="Link & Local (dynamic)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_LOCAL_GET="Local (get)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_BY_DESC="The last user that modified this Joomla Plugin Files, Folders & URLs."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC="The date this Joomla Plugin Files, Folders & URLs was modified."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NEW="A New Joomla Plugin Files, Folders & URLs"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION="You can add custom files to the component, simply add the files to the administrator/components/com_componentbuilder/custom folder and then select them here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION="You can add any files to the component, by using the full system path. Example: /home/user/folder/file.php (make sure that php has permission to read the file)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/file.php or JPATH_ROOT/components/com_yourcomponentname/helpers/file.php"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL="Adding Files"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL="Adding Custom Files"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION="You can any folders to the component, by using the full system path. Example: /home/user/folder (make sure that php has permission to read the folder)<br /><b>Please note</b> that you can also <b>use constant paths in your full path</b> (directly without quotes), this is highly recommended to insure portability.<br />To see a list of constant paths please read the notes below. Example: JPATH_ROOT/folder or JPATH_ROOT/components/com_yourcomponentname/helpers/folder"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL="Adding Folders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION="You can add urls here, and it can be used in three ways. As a direct link <b>(default)</b> or to get the file content and add it to the component <b>(get)</b> or as both local and link <b>(dynamic)</b>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL="Adding Urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION="<p>// The path to the administrator folder.<br />
|
||||
<b>JPATH_ADMINISTRATOR</b><br />
|
||||
// The path to the installed Joomla! site, or JPATH_ROOT/administrator if executed from the backend.<br />
|
||||
<b>JPATH_BASE</b><br />
|
||||
// The path to the cache folder.<br />
|
||||
<b>JPATH_CACHE</b><br />
|
||||
// The path to the administration folder of JCB component.<br />
|
||||
<b>JPATH_COMPONENT_ADMINISTRATOR</b> <small>no ideal to use</small><br />
|
||||
// The path to the site folder of JCB component.<br />
|
||||
<b>JPATH_COMPONENT_SITE</b> <small>no ideal to use</small><br />
|
||||
// The path to the JCB component.<br />
|
||||
<b>JPATH_COMPONENT</b> <small>no ideal to use</small><br />
|
||||
// The path to folder containing the configuration.php file.<br />
|
||||
<b>JPATH_CONFIGURATION</b><br />
|
||||
// The path to the installation folder.<br />
|
||||
<b>JPATH_INSTALLATION</b><br />
|
||||
// The path to the libraries folder.<br />
|
||||
<b>JPATH_LIBRARIES</b><br />
|
||||
// The path to the plugins folder.<br />
|
||||
<b>JPATH_PLUGINS</b><br />
|
||||
// The path to the installed Joomla! site.<br />
|
||||
<b>JPATH_ROOT</b><br />
|
||||
// The path to the installed Joomla! site.<br />
|
||||
<b>JPATH_SITE</b><br />
|
||||
// The path to the templates folder.<br />
|
||||
<b>JPATH_THEMES</b></p>
|
||||
|
||||
<p>JPATH_SITE is meant to represent the root path of the JSite application,<br />
|
||||
just as JPATH_ADMINISTRATOR is mean to represent the root path of the JAdministrator application.<br />
|
||||
JPATH_BASE is the root path for the current requested application.... so if you are in the administrator application:<br />
|
||||
JPATH_BASE == JPATH_ADMINISTRATOR<br />
|
||||
If you are in the site application:<br />
|
||||
JPATH_BASE == JPATH_SITE<br />
|
||||
If you are in the installation application:<br />
|
||||
JPATH_BASE == JPATH_INSTALLATION.<br />
|
||||
JPATH_ROOT is the root path for the Joomla install and does not depend upon any application.</p>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL="Constant Paths"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION="Should file be updated."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_LABEL="Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ORDERING_LABEL="Ordering"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_DESCRIPTION="Path in relation to the folder structure in the install package, <b>unzip the compiled zip file</b> to see the structure."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_HINT="Target Path Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_LABEL="Target Path"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_MESSAGE="Error! Please add target path."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PERMISSION="Permissions"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_RENAME_LABEL="Rename"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin Files, Folders & URLs to customise the alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_TYPE_DESCRIPTION="way url is used"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_TYPE_LABEL="Type"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_DESCRIPTION="Enter URL to library <b>file</b>."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_HINT="http://www.example.com/lib.js"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_LABEL="URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_VERSION_DESC="A count of the number of times this Joomla Plugin Files, Folders & URLs has been revised."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_VERSION_LABEL="Revision"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS_DESC="Allows the users in this group to access the get boilerplate button."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GROUP="Joomla Plugin Group"
|
||||
@ -6001,6 +6180,7 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MODIFIED_BY_DESC="The last user that modified
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MODIFIED_BY_LABEL="Modified By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MODIFIED_DATE_DESC="The date this Joomla Plugin was modified."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MODIFIED_DATE_LABEL="Modified Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MYSQL="MySQL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME="Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_DESCRIPTION="Enter Name Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT="Name Here"
|
||||
@ -6014,8 +6194,34 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION="<div id='d
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_LABEL="Linked To"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_DESCRIPTION="<p>So over here you are able to manually code your plugin methods which usually will be the event name you are targeting.</p><p>We have also added some methods via the <a href='https://github.com/vdm-io/boilerplate' title='look at the boilerplate repo' target='_blank'>boilerplate repo</a> that can serve as a starting point, simple select them and it will be added to your code.</p><p><p>If you have added any fields in the Config/Params tab, these fields will be available to you in the <code>$this->params</code> object, and can be accessed via the field name <code>$this->params->get('fieldname');</code> with the get method.</p>"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_PLUGIN_LABEL="Easy Plugin Build Options"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION="During compilation the file will be moved to the server. You still need to point the above <b>update server</b> url to the xml file location on your server for it to work correctly."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL="Select the server used for your update server."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION="Not really sure what other options to add.... so let me know. For now this option does not really do anything except adding the link above to your component as an update server. So it really could be called the manual option, since you will need to set the update server your self. You still need to point the above <b>update server</b> url to the manually created xml file for it to work correctly."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL="The Other Options"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION="The update server XML file will be added to the zipped package during compilation. You still need to point the above <b>update server</b> url to the xml wherever you have placed the files online."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL="The ZIP Option"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOT_REQUIRED="Not Required"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ORDERING_LABEL="Ordering"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_OTHER="Other"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PERMISSION="Permissions"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_METHOD_UNINSTALL="Php Method Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_METHOD_UNINSTALL_DESCRIPTION="PHP script that should run during uninstall."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_METHOD_UNINSTALL_LABEL="PHP Method (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_INSTALL="Php Postflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_INSTALL_DESCRIPTION="PHP script that should run postflight during install."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_INSTALL_LABEL="PHP Postflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_UPDATE="Php Postflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_UPDATE_DESCRIPTION="PHP script that should run postflight during update."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_UPDATE_LABEL="PHP Postflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_INSTALL="Php Preflight Install"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_INSTALL_DESCRIPTION="PHP script that should run preflight during install."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_INSTALL_LABEL="PHP Preflight (install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UNINSTALL="Php Preflight Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UNINSTALL_DESCRIPTION="PHP script that should run preflight during uninstall."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UNINSTALL_LABEL="PHP Preflight (uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UPDATE="Php Preflight Update"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UPDATE_DESCRIPTION="PHP script that should run preflight during update."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UPDATE_LABEL="PHP Preflight (update)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS="Joomla Plugin Properties Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTIES_BUTTON_ACCESS_DESC="Allows the users in this group to access the properties button."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTY="Property"
|
||||
@ -6024,18 +6230,45 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTY_SELECTION="Property Selection"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTY_SELECTION_DESCRIPTION="Select properties you want to use in your plugin class."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PROPERTY_SELECTION_LABEL="Property Selection"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PUBLISHING="Publishing"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README="Readme"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README_LABEL="README.md"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS="Joomla Plugin Run Expansion Button Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_RUN_EXPANSION_BUTTON_ACCESS_DESC="Allows the users in this group to access the run expansion button."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER="Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_DESCRIPTION="Select your sales server for this component"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_LABEL="Sales Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Joomla Plugin to customise the alias."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SCRIPT_FILE="Script File"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SERVER="Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL="Sql"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_DESCRIPTION="Add your MySQL here!"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_HINT="// Add MySQL Table Dump Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_LABEL="MySQL - (Install)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL="Sql Uninstall"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_DESCRIPTION="Add your MySQL here for uninstall!"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_HINT="// Add MySQL to uninstall Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_LABEL="MySQL - (Uninstall)"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME="System Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_DESCRIPTION="Used only in the system."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_HINT="The System Name Here"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_LABEL="System Name"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SYSTEM_NAME_MESSAGE="Error! Please add some text here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_DESCRIPTION="Select your update server for this component."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_LABEL="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_TARGET="Update Server Target"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_TARGET_DESCRIPTION="Select the type of way you would like the update server to be set."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_TARGET_LABEL="Update Server Target"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL="Update Server Url"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_DESCRIPTION="Enter Update Server URL"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_HINT="http://www.example.com/update/extension_name.xml"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_LABEL="Update Server"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_MESSAGE="Error! Please add url here."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_DESC="A count of the number of times this Joomla Plugin has been revised."
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_VERSION_LABEL="Revision"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES="Yes"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ZIP="ZIP"
|
||||
COM_COMPONENTBUILDER_JUST_GET_ALL_SNIPPETS="Just Get All Snippets"
|
||||
COM_COMPONENTBUILDER_KEEP_HISTORY="Keep History"
|
||||
COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS="- Keep Original Access -"
|
||||
@ -6879,7 +7112,7 @@ COM_COMPONENTBUILDER_PLACEHOLDER_SAVE_WARNING="Alias already existed so a number
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_STATUS="Status"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET="Target"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET_DESCRIPTION="Set the text you would like to target as a placeholder"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET_HINT="[[[core]]]"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET_HINT="coral"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET_LABEL="Target String Placeholder"
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_TARGET_MESSAGE="Error! That target placeholder text already exist. Please add an unique placeholder target."
|
||||
COM_COMPONENTBUILDER_PLACEHOLDER_VALUE="Value"
|
||||
@ -7956,6 +8189,7 @@ COM_COMPONENTBUILDER_THE_NAME_OF_THIS_LIBRARY_BSB_CAN_NOT_BE_CHANGED_TO_BSB_OR_T
|
||||
COM_COMPONENTBUILDER_THE_NOTICE_BOARD_IS_LOADING="The notice board is loading"
|
||||
COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_CODESCODE="The package key is: <code>%s</code>"
|
||||
COM_COMPONENTBUILDER_THE_PACKAGE_KEY_IS_S="The package key is: %s"
|
||||
COM_COMPONENTBUILDER_THE_PLUGIN_FILES_FOLDERS="The plugin files & folders"
|
||||
COM_COMPONENTBUILDER_THE_PRIVATE_KEY_FIELD_COULD_NOT_BE_LOADED_FOR_BSB_SERVER="The private key field could not be loaded for <b>%s</b> server!"
|
||||
COM_COMPONENTBUILDER_THE_PRIVATE_KEY_FILE_COULD_NOT_BE_LOADEDFOUND_FOR_BSB_SERVER="The private key file could not be loaded/found for <b>%s</b> server!"
|
||||
COM_COMPONENTBUILDER_THE_README_IS_LOADING="The readme is loading"
|
||||
|
@ -660,6 +660,26 @@ COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE="Joomla Plugins Edit State"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION="Joomla Plugins Edit Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS="Joomla Plugins Files Folders Urls Access"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_ACCESS_DESC="Allows the users in this group to access access joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE="Joomla Plugins Files Folders Urls Batch Use"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_USE_DESC="Allows users in this group to use batch copy/update method of batch joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE="Joomla Plugins Files Folders Urls Create"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_CREATE_DESC="Allows the users in this group to create create joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE="Joomla Plugins Files Folders Urls Delete"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_DELETE_DESC="Allows the users in this group to delete delete joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT="Joomla Plugins Files Folders Urls Edit"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY="Joomla Plugins Files Folders Urls Edit Created By"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_BY_DESC="Allows the users in this group to update the created by of the edit created by joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE="Joomla Plugins Files Folders Urls Edit Created Date"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_CREATED_DATE_DESC="Allows the users in this group to update the created date of the edit created joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_DESC="Allows the users in this group to edit the joomla plugin files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN="Joomla Plugins Files Folders Urls Edit Own"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_OWN_DESC="Allows the users in this group to edit edit own joomla plugins files folders urls created by them"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE="Joomla Plugins Files Folders Urls Edit State"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_STATE_DESC="Allows the users in this group to update the state of the joomla plugin files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION="Joomla Plugins Files Folders Urls Edit Version"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_EDIT_VERSION_DESC="Allows users in this group to edit versions of version joomla plugins files folders urls"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU="Joomla Plugins Submenu"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGINS_SUBMENU_DESC="Allows the users in this group to submenu of joomla plugin"
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_GET_BOILERPLATE_BUTTON_ACCESS="Joomla Plugin Get Boilerplate Button Access"
|
||||
|
@ -13,7 +13,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vxtfields;
|
||||
$items = $displayData->vxwfields;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
|
@ -28,7 +28,8 @@ $fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'head',
|
||||
'main_class_code',
|
||||
'note_linked_to_notice'
|
||||
'note_linked_to_notice',
|
||||
'not_required'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
50
admin/layouts/joomla_plugin/dynamic_integration_left.php
Normal file
50
admin/layouts/joomla_plugin/dynamic_integration_left.php
Normal file
@ -0,0 +1,50 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'add_update_server',
|
||||
'update_server_url',
|
||||
'update_server_target',
|
||||
'note_update_server_note_ftp',
|
||||
'note_update_server_note_zip',
|
||||
'note_update_server_note_other',
|
||||
'update_server',
|
||||
'add_sales_server',
|
||||
'sales_server'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?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; ?>
|
||||
<?php endif; ?>
|
47
admin/layouts/joomla_plugin/mysql_fullwidth.php
Normal file
47
admin/layouts/joomla_plugin/mysql_fullwidth.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'add_sql',
|
||||
'sql',
|
||||
'add_sql_uninstall',
|
||||
'sql_uninstall'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<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 endif; ?>
|
43
admin/layouts/joomla_plugin/readme_left.php
Normal file
43
admin/layouts/joomla_plugin/readme_left.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'addreadme',
|
||||
'readme'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?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; ?>
|
||||
<?php endif; ?>
|
55
admin/layouts/joomla_plugin/script_file_fullwidth.php
Normal file
55
admin/layouts/joomla_plugin/script_file_fullwidth.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'add_php_preflight_install',
|
||||
'php_preflight_install',
|
||||
'add_php_preflight_update',
|
||||
'php_preflight_update',
|
||||
'add_php_preflight_uninstall',
|
||||
'php_preflight_uninstall',
|
||||
'add_php_postflight_install',
|
||||
'php_postflight_install',
|
||||
'add_php_postflight_update',
|
||||
'php_postflight_update',
|
||||
'add_php_method_uninstall',
|
||||
'php_method_uninstall'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<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 endif; ?>
|
@ -0,0 +1,48 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'note_add_files_fullpath',
|
||||
'addfilesfullpath',
|
||||
'note_add_folders_fullpath',
|
||||
'addfoldersfullpath',
|
||||
'note_constant_paths'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<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 endif; ?>
|
@ -0,0 +1,44 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'joomla_plugin'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<div class="form-inline form-inline-header">
|
||||
<?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 endif; ?>
|
@ -0,0 +1,49 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'note_add_urls',
|
||||
'addurls',
|
||||
'note_add_files',
|
||||
'addfiles',
|
||||
'note_add_folders',
|
||||
'addfolders'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<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 endif; ?>
|
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@ -0,0 +1,45 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'created',
|
||||
'created_by',
|
||||
'modified',
|
||||
'modified_by'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?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; ?>
|
||||
<?php endif; ?>
|
@ -0,0 +1,47 @@
|
||||
<?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');
|
||||
|
||||
// get the form
|
||||
$form = $displayData->getForm();
|
||||
|
||||
// get the layout fields override method name (from layout path/ID)
|
||||
$layout_path_array = explode('.', $this->getLayoutId());
|
||||
// Since we cannot pass the layout and tab names as parameters to the model method
|
||||
// this name combination of tab and layout in the method name is the only work around
|
||||
// seeing that JCB uses those two values (tab_name & layout_name) as the layout file name.
|
||||
// example of layout name: details_left.php
|
||||
// example of method name: getFields_details_left()
|
||||
$fields_tab_layout = 'fields_' . $layout_path_array[1];
|
||||
|
||||
// get the fields
|
||||
$fields = $displayData->get($fields_tab_layout) ?: array(
|
||||
'published',
|
||||
'ordering',
|
||||
'access',
|
||||
'version',
|
||||
'hits',
|
||||
'id'
|
||||
);
|
||||
|
||||
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
||||
|
||||
?>
|
||||
<?php if ($fields && count((array) $fields)) :?>
|
||||
<?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; ?>
|
||||
<?php endif; ?>
|
@ -13,7 +13,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
// set the defaults
|
||||
$items = $displayData->vydlinked_components;
|
||||
$items = $displayData->vyglinked_components;
|
||||
$user = JFactory::getUser();
|
||||
$id = $displayData->item->id;
|
||||
// set the edit URL
|
||||
@ -83,11 +83,7 @@ else
|
||||
<?php endif; ?>
|
||||
- <?php echo $this->escape($item->component_version); ?>
|
||||
</div>
|
||||
<?php // setup the return path
|
||||
if (!isset($returnpath))
|
||||
{
|
||||
$returnpath = urlencode(base64_encode((string) JUri::getInstance()));
|
||||
}
|
||||
<?php
|
||||
// setup the buttons
|
||||
if (!isset($_buttons) || !ComponentbuilderHelper::checkArray($_buttons))
|
||||
{
|
||||
@ -158,9 +154,9 @@ else
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[0] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
@ -172,9 +168,9 @@ else
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[1] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
@ -186,9 +182,9 @@ else
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[2] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
@ -540,83 +540,83 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$item->ajax_input = $ajax_input->toArray();
|
||||
}
|
||||
|
||||
if (empty($item->id))
|
||||
{
|
||||
$id = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$id = $item->id;
|
||||
}
|
||||
// set the id and view name to session
|
||||
if ($vdm = ComponentbuilderHelper::get('admin_view__'.$id))
|
||||
{
|
||||
$this->vastDevMod = $vdm;
|
||||
}
|
||||
else
|
||||
{
|
||||
// set the vast development method key
|
||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
||||
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
||||
// set a return value if found
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
$return = $jinput->get('return', null, 'base64');
|
||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||
}
|
||||
|
||||
if (empty($item->id))
|
||||
{
|
||||
$id = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
$id = $item->id;
|
||||
}
|
||||
// set the id and view name to session
|
||||
if ($vdm = ComponentbuilderHelper::get('admin_view__'.$id))
|
||||
{
|
||||
$this->vastDevMod = $vdm;
|
||||
}
|
||||
else
|
||||
{
|
||||
// set the vast development method key
|
||||
$this->vastDevMod = ComponentbuilderHelper::randomkey(50);
|
||||
ComponentbuilderHelper::set($this->vastDevMod, 'admin_view__'.$id);
|
||||
ComponentbuilderHelper::set('admin_view__'.$id, $this->vastDevMod);
|
||||
// set a return value if found
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
$return = $jinput->get('return', null, 'base64');
|
||||
ComponentbuilderHelper::set($this->vastDevMod . '__return', $return);
|
||||
}
|
||||
// update the fields
|
||||
$objectUpdate = new stdClass();
|
||||
$objectUpdate->id = (int) $item->id;
|
||||
// repeatable values to check
|
||||
$arrayChecker = array(
|
||||
'addlinked_views' => 'adminview',
|
||||
'ajax_input' => 'value_name',
|
||||
'custom_button' => 'name',
|
||||
'addpermissions' => 'action',
|
||||
'addtables' => 'table',
|
||||
'addtabs' => 'name'
|
||||
);
|
||||
foreach ($arrayChecker as $_value => $checker)
|
||||
{
|
||||
// check what type of array we have here (should be subform... but just in case)
|
||||
// This could happen due to huge data sets
|
||||
if (isset($item->{$_value}) && isset($item->{$_value}[$checker]))
|
||||
{
|
||||
$bucket = array();
|
||||
foreach($item->{$_value} as $option => $values)
|
||||
{
|
||||
foreach($values as $nr => $value)
|
||||
{
|
||||
$bucket[$_value.$nr][$option] = $value;
|
||||
}
|
||||
}
|
||||
$item->{$_value} = $bucket;
|
||||
$objectUpdate->{$_value} = json_encode($bucket);
|
||||
}
|
||||
}
|
||||
// be sure to update the table if we found repeatable fields that are still not converted
|
||||
if (count((array) $objectUpdate) > 1)
|
||||
{
|
||||
$this->_db->updateObject('#__componentbuilder_admin_view', $objectUpdate, 'id');
|
||||
}
|
||||
|
||||
// update the mysql_table_engine defaults
|
||||
if (isset($item->mysql_table_engine) && is_numeric($item->mysql_table_engine))
|
||||
{
|
||||
$item->mysql_table_engine = 'MyISAM';
|
||||
}
|
||||
// update the mysql_table_charset defaults
|
||||
if (isset($item->mysql_table_charset) && is_numeric($item->mysql_table_charset))
|
||||
{
|
||||
$item->mysql_table_charset = 'utf8';
|
||||
}
|
||||
// update the mysql_table_collate defaults
|
||||
if (isset($item->mysql_table_collate) && is_numeric($item->mysql_table_collate))
|
||||
{
|
||||
$item->mysql_table_collate = 'utf8_general_ci';
|
||||
}
|
||||
|
||||
// update the fields
|
||||
$objectUpdate = new stdClass();
|
||||
$objectUpdate->id = (int) $item->id;
|
||||
// repeatable values to check
|
||||
$arrayChecker = array(
|
||||
'addlinked_views' => 'adminview',
|
||||
'ajax_input' => 'value_name',
|
||||
'custom_button' => 'name',
|
||||
'addpermissions' => 'action',
|
||||
'addtables' => 'table',
|
||||
'addtabs' => 'name'
|
||||
);
|
||||
foreach ($arrayChecker as $_value => $checker)
|
||||
{
|
||||
// check what type of array we have here (should be subform... but just in case)
|
||||
// This could happen due to huge data sets
|
||||
if (isset($item->{$_value}) && isset($item->{$_value}[$checker]))
|
||||
{
|
||||
$bucket = array();
|
||||
foreach($item->{$_value} as $option => $values)
|
||||
{
|
||||
foreach($values as $nr => $value)
|
||||
{
|
||||
$bucket[$_value.$nr][$option] = $value;
|
||||
}
|
||||
}
|
||||
$item->{$_value} = $bucket;
|
||||
$objectUpdate->{$_value} = json_encode($bucket);
|
||||
}
|
||||
}
|
||||
// be sure to update the table if we found repeatable fields that are still not converted
|
||||
if (count((array) $objectUpdate) > 1)
|
||||
{
|
||||
$this->_db->updateObject('#__componentbuilder_admin_view', $objectUpdate, 'id');
|
||||
}
|
||||
|
||||
// update the mysql_table_engine defaults
|
||||
if (isset($item->mysql_table_engine) && is_numeric($item->mysql_table_engine))
|
||||
{
|
||||
$item->mysql_table_engine = 'MyISAM';
|
||||
}
|
||||
// update the mysql_table_charset defaults
|
||||
if (isset($item->mysql_table_charset) && is_numeric($item->mysql_table_charset))
|
||||
{
|
||||
$item->mysql_table_charset = 'utf8';
|
||||
}
|
||||
// update the mysql_table_collate defaults
|
||||
if (isset($item->mysql_table_collate) && is_numeric($item->mysql_table_collate))
|
||||
{
|
||||
$item->mysql_table_collate = 'utf8_general_ci';
|
||||
}
|
||||
|
||||
if (!empty($item->id))
|
||||
{
|
||||
@ -1414,12 +1414,13 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
||||
$data['metadata'] = (string) $metadata;
|
||||
}
|
||||
|
||||
// if system name is empty create from name_single
|
||||
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))
|
||||
{
|
||||
$data['system_name'] = $data['name_single'];
|
||||
// if system name is empty create a system name from the name_single
|
||||
if (empty($data['system_name']) || !ComponentbuilderHelper::checkString($data['system_name']))
|
||||
{
|
||||
$data['system_name'] = $data['name_single'];
|
||||
}
|
||||
|
||||
|
||||
// Set the addtables items to data.
|
||||
if (isset($data['addtables']) && is_array($data['addtables']))
|
||||
{
|
||||
|
@ -193,7 +193,10 @@ class ComponentbuilderModelComponentbuilder extends JModelList
|
||||
'class_extendings.access' => 'class_extends.access',
|
||||
'class_extends.access' => 'class_extends.access',
|
||||
'joomla_plugin_groups.access' => 'joomla_plugin_group.access',
|
||||
'joomla_plugin_group.access' => 'joomla_plugin_group.access');
|
||||
'joomla_plugin_group.access' => 'joomla_plugin_group.access',
|
||||
'joomla_plugin_files_folders_urls.create' => 'joomla_plugin_files_folders_urls.create',
|
||||
'joomla_plugins_files_folders_urls.access' => 'joomla_plugin_files_folders_urls.access',
|
||||
'joomla_plugin_files_folders_urls.access' => 'joomla_plugin_files_folders_urls.access');
|
||||
// loop over the $views
|
||||
foreach($viewGroups as $group => $views)
|
||||
{
|
||||
|
@ -203,7 +203,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVxtfields()
|
||||
public function getVxwfields()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
@ -285,13 +285,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
// convert datatype
|
||||
$item->datatype = $this->selectionTranslationVxtfields($item->datatype, 'datatype');
|
||||
$item->datatype = $this->selectionTranslationVxwfields($item->datatype, 'datatype');
|
||||
// convert indexes
|
||||
$item->indexes = $this->selectionTranslationVxtfields($item->indexes, 'indexes');
|
||||
$item->indexes = $this->selectionTranslationVxwfields($item->indexes, 'indexes');
|
||||
// convert null_switch
|
||||
$item->null_switch = $this->selectionTranslationVxtfields($item->null_switch, 'null_switch');
|
||||
$item->null_switch = $this->selectionTranslationVxwfields($item->null_switch, 'null_switch');
|
||||
// convert store
|
||||
$item->store = $this->selectionTranslationVxtfields($item->store, 'store');
|
||||
$item->store = $this->selectionTranslationVxwfields($item->store, 'store');
|
||||
}
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
||||
*
|
||||
* @return translatable string
|
||||
*/
|
||||
public function selectionTranslationVxtfields($value,$name)
|
||||
public function selectionTranslationVxwfields($value,$name)
|
||||
{
|
||||
// Array of datatype language strings
|
||||
if ($name === 'datatype')
|
||||
|
@ -9,123 +9,123 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvygvwe_required = false;
|
||||
jform_vvvvvyhvwf_required = false;
|
||||
jform_vvvvvylvwg_required = false;
|
||||
jform_vvvvvylvwh_required = false;
|
||||
jform_vvvvvylvwi_required = false;
|
||||
jform_vvvvvylvwj_required = false;
|
||||
jform_vvvvvylvwk_required = false;
|
||||
jform_vvvvvylvwl_required = false;
|
||||
jform_vvvvvylvwm_required = false;
|
||||
jform_vvvvvyyvwh_required = false;
|
||||
jform_vvvvvyzvwi_required = false;
|
||||
jform_vvvvvzdvwj_required = false;
|
||||
jform_vvvvvzdvwk_required = false;
|
||||
jform_vvvvvzdvwl_required = false;
|
||||
jform_vvvvvzdvwm_required = false;
|
||||
jform_vvvvvzdvwn_required = false;
|
||||
jform_vvvvvzdvwo_required = false;
|
||||
jform_vvvvvzdvwp_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxg(add_css_view_vvvvvxg);
|
||||
var add_css_view_vvvvvxy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxy(add_css_view_vvvvvxy);
|
||||
|
||||
var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxh(add_css_views_vvvvvxh);
|
||||
var add_css_views_vvvvvxz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxz(add_css_views_vvvvvxz);
|
||||
|
||||
var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvxi(add_javascript_view_file_vvvvvxi);
|
||||
var add_javascript_view_file_vvvvvya = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvya(add_javascript_view_file_vvvvvya);
|
||||
|
||||
var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvxj(add_javascript_views_file_vvvvvxj);
|
||||
var add_javascript_views_file_vvvvvyb = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyb(add_javascript_views_file_vvvvvyb);
|
||||
|
||||
var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvxk(add_javascript_view_footer_vvvvvxk);
|
||||
var add_javascript_view_footer_vvvvvyc = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyc(add_javascript_view_footer_vvvvvyc);
|
||||
|
||||
var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvxl(add_javascript_views_footer_vvvvvxl);
|
||||
var add_javascript_views_footer_vvvvvyd = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvyd(add_javascript_views_footer_vvvvvyd);
|
||||
|
||||
var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvxm(add_php_ajax_vvvvvxm);
|
||||
var add_php_ajax_vvvvvye = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_ajax_vvvvvye);
|
||||
|
||||
var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvxn(add_php_getitem_vvvvvxn);
|
||||
var add_php_getitem_vvvvvyf = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_getitem_vvvvvyf);
|
||||
|
||||
var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvxo(add_php_getitems_vvvvvxo);
|
||||
var add_php_getitems_vvvvvyg = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_getitems_vvvvvyg);
|
||||
|
||||
var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvxp(add_php_getitems_after_all_vvvvvxp);
|
||||
var add_php_getitems_after_all_vvvvvyh = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_getitems_after_all_vvvvvyh);
|
||||
|
||||
var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvxq(add_php_getlistquery_vvvvvxq);
|
||||
var add_php_getlistquery_vvvvvyi = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_getlistquery_vvvvvyi);
|
||||
|
||||
var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvxr(add_php_getform_vvvvvxr);
|
||||
var add_php_getform_vvvvvyj = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvyj(add_php_getform_vvvvvyj);
|
||||
|
||||
var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvxs(add_php_before_save_vvvvvxs);
|
||||
var add_php_before_save_vvvvvyk = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvyk(add_php_before_save_vvvvvyk);
|
||||
|
||||
var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvxt(add_php_save_vvvvvxt);
|
||||
var add_php_save_vvvvvyl = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvyl(add_php_save_vvvvvyl);
|
||||
|
||||
var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvxu(add_php_postsavehook_vvvvvxu);
|
||||
var add_php_postsavehook_vvvvvym = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_postsavehook_vvvvvym);
|
||||
|
||||
var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvxv(add_php_allowadd_vvvvvxv);
|
||||
var add_php_allowadd_vvvvvyn = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_allowadd_vvvvvyn);
|
||||
|
||||
var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvxw(add_php_allowedit_vvvvvxw);
|
||||
var add_php_allowedit_vvvvvyo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_allowedit_vvvvvyo);
|
||||
|
||||
var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvxx(add_php_before_cancel_vvvvvxx);
|
||||
var add_php_before_cancel_vvvvvyp = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_before_cancel_vvvvvyp);
|
||||
|
||||
var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_after_cancel_vvvvvxy);
|
||||
var add_php_after_cancel_vvvvvyq = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_after_cancel_vvvvvyq);
|
||||
|
||||
var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_batchcopy_vvvvvxz);
|
||||
var add_php_batchcopy_vvvvvyr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_batchcopy_vvvvvyr);
|
||||
|
||||
var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_batchmove_vvvvvya);
|
||||
var add_php_batchmove_vvvvvys = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvys(add_php_batchmove_vvvvvys);
|
||||
|
||||
var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_before_publish_vvvvvyb);
|
||||
var add_php_before_publish_vvvvvyt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyt(add_php_before_publish_vvvvvyt);
|
||||
|
||||
var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyc(add_php_after_publish_vvvvvyc);
|
||||
var add_php_after_publish_vvvvvyu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyu(add_php_after_publish_vvvvvyu);
|
||||
|
||||
var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyd(add_php_before_delete_vvvvvyd);
|
||||
var add_php_before_delete_vvvvvyv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_before_delete_vvvvvyv);
|
||||
|
||||
var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_after_delete_vvvvvye);
|
||||
var add_php_after_delete_vvvvvyw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_after_delete_vvvvvyw);
|
||||
|
||||
var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_document_vvvvvyf);
|
||||
var add_php_document_vvvvvyx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_document_vvvvvyx);
|
||||
|
||||
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyg(add_sql_vvvvvyg);
|
||||
var add_sql_vvvvvyy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyy(add_sql_vvvvvyy);
|
||||
|
||||
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
|
||||
var source_vvvvvyz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz);
|
||||
|
||||
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
|
||||
var source_vvvvvzb = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb);
|
||||
|
||||
var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvyl(add_custom_import_vvvvvyl);
|
||||
var add_custom_import_vvvvvzd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvzd(add_custom_import_vvvvvzd);
|
||||
|
||||
var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvym(add_custom_import_vvvvvym);
|
||||
var add_custom_import_vvvvvze = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvze(add_custom_import_vvvvvze);
|
||||
|
||||
var add_custom_button_vvvvvyn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyn(add_custom_button_vvvvvyn);
|
||||
var add_custom_button_vvvvvzf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzf(add_custom_button_vvvvvzf);
|
||||
});
|
||||
|
||||
// the vvvvvxg function
|
||||
function vvvvvxg(add_css_view_vvvvvxg)
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(add_css_view_vvvvvxy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvxg == 1)
|
||||
if (add_css_view_vvvvvxy == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -135,11 +135,11 @@ function vvvvvxg(add_css_view_vvvvvxg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxh function
|
||||
function vvvvvxh(add_css_views_vvvvvxh)
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(add_css_views_vvvvvxz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvvxh == 1)
|
||||
if (add_css_views_vvvvvxz == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -149,11 +149,11 @@ function vvvvvxh(add_css_views_vvvvvxh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxi function
|
||||
function vvvvvxi(add_javascript_view_file_vvvvvxi)
|
||||
// the vvvvvya function
|
||||
function vvvvvya(add_javascript_view_file_vvvvvya)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_file_vvvvvxi == 1)
|
||||
if (add_javascript_view_file_vvvvvya == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -163,11 +163,11 @@ function vvvvvxi(add_javascript_view_file_vvvvvxi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxj function
|
||||
function vvvvvxj(add_javascript_views_file_vvvvvxj)
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_javascript_views_file_vvvvvyb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_file_vvvvvxj == 1)
|
||||
if (add_javascript_views_file_vvvvvyb == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -177,11 +177,11 @@ function vvvvvxj(add_javascript_views_file_vvvvvxj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxk function
|
||||
function vvvvvxk(add_javascript_view_footer_vvvvvxk)
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_javascript_view_footer_vvvvvyc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvvxk == 1)
|
||||
if (add_javascript_view_footer_vvvvvyc == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -191,11 +191,11 @@ function vvvvvxk(add_javascript_view_footer_vvvvvxk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxl function
|
||||
function vvvvvxl(add_javascript_views_footer_vvvvvxl)
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_javascript_views_footer_vvvvvyd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvxl == 1)
|
||||
if (add_javascript_views_footer_vvvvvyd == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -205,11 +205,11 @@ function vvvvvxl(add_javascript_views_footer_vvvvvxl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxm function
|
||||
function vvvvvxm(add_php_ajax_vvvvvxm)
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_ajax_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvxm == 1)
|
||||
if (add_php_ajax_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -221,11 +221,11 @@ function vvvvvxm(add_php_ajax_vvvvvxm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxn function
|
||||
function vvvvvxn(add_php_getitem_vvvvvxn)
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_getitem_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitem_vvvvvxn == 1)
|
||||
if (add_php_getitem_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -235,11 +235,11 @@ function vvvvvxn(add_php_getitem_vvvvvxn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxo function
|
||||
function vvvvvxo(add_php_getitems_vvvvvxo)
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_getitems_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_vvvvvxo == 1)
|
||||
if (add_php_getitems_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -249,11 +249,11 @@ function vvvvvxo(add_php_getitems_vvvvvxo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxp function
|
||||
function vvvvvxp(add_php_getitems_after_all_vvvvvxp)
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_php_getitems_after_all_vvvvvyh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_after_all_vvvvvxp == 1)
|
||||
if (add_php_getitems_after_all_vvvvvyh == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -263,11 +263,11 @@ function vvvvvxp(add_php_getitems_after_all_vvvvvxp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxq function
|
||||
function vvvvvxq(add_php_getlistquery_vvvvvxq)
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_php_getlistquery_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getlistquery_vvvvvxq == 1)
|
||||
if (add_php_getlistquery_vvvvvyi == 1)
|
||||
{
|
||||
jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -277,11 +277,11 @@ function vvvvvxq(add_php_getlistquery_vvvvvxq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxr function
|
||||
function vvvvvxr(add_php_getform_vvvvvxr)
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_php_getform_vvvvvyj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getform_vvvvvxr == 1)
|
||||
if (add_php_getform_vvvvvyj == 1)
|
||||
{
|
||||
jQuery('#jform_php_getform-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -291,11 +291,11 @@ function vvvvvxr(add_php_getform_vvvvvxr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxs function
|
||||
function vvvvvxs(add_php_before_save_vvvvvxs)
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_php_before_save_vvvvvyk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_save_vvvvvxs == 1)
|
||||
if (add_php_before_save_vvvvvyk == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -305,11 +305,11 @@ function vvvvvxs(add_php_before_save_vvvvvxs)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxt function
|
||||
function vvvvvxt(add_php_save_vvvvvxt)
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_php_save_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_save_vvvvvxt == 1)
|
||||
if (add_php_save_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_php_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -319,11 +319,11 @@ function vvvvvxt(add_php_save_vvvvvxt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxu function
|
||||
function vvvvvxu(add_php_postsavehook_vvvvvxu)
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_php_postsavehook_vvvvvym)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postsavehook_vvvvvxu == 1)
|
||||
if (add_php_postsavehook_vvvvvym == 1)
|
||||
{
|
||||
jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -333,11 +333,11 @@ function vvvvvxu(add_php_postsavehook_vvvvvxu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxv function
|
||||
function vvvvvxv(add_php_allowadd_vvvvvxv)
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_allowadd_vvvvvyn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowadd_vvvvvxv == 1)
|
||||
if (add_php_allowadd_vvvvvyn == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -347,11 +347,11 @@ function vvvvvxv(add_php_allowadd_vvvvvxv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxw function
|
||||
function vvvvvxw(add_php_allowedit_vvvvvxw)
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_allowedit_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowedit_vvvvvxw == 1)
|
||||
if (add_php_allowedit_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -361,11 +361,11 @@ function vvvvvxw(add_php_allowedit_vvvvvxw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxx function
|
||||
function vvvvvxx(add_php_before_cancel_vvvvvxx)
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_before_cancel_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_cancel_vvvvvxx == 1)
|
||||
if (add_php_before_cancel_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -375,11 +375,11 @@ function vvvvvxx(add_php_before_cancel_vvvvvxx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(add_php_after_cancel_vvvvvxy)
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_after_cancel_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_cancel_vvvvvxy == 1)
|
||||
if (add_php_after_cancel_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -389,11 +389,11 @@ function vvvvvxy(add_php_after_cancel_vvvvvxy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(add_php_batchcopy_vvvvvxz)
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_php_batchcopy_vvvvvyr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchcopy_vvvvvxz == 1)
|
||||
if (add_php_batchcopy_vvvvvyr == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -403,11 +403,11 @@ function vvvvvxz(add_php_batchcopy_vvvvvxz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvya function
|
||||
function vvvvvya(add_php_batchmove_vvvvvya)
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_php_batchmove_vvvvvys)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchmove_vvvvvya == 1)
|
||||
if (add_php_batchmove_vvvvvys == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -417,11 +417,11 @@ function vvvvvya(add_php_batchmove_vvvvvya)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_php_before_publish_vvvvvyb)
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_php_before_publish_vvvvvyt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_publish_vvvvvyb == 1)
|
||||
if (add_php_before_publish_vvvvvyt == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -431,11 +431,11 @@ function vvvvvyb(add_php_before_publish_vvvvvyb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_php_after_publish_vvvvvyc)
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_php_after_publish_vvvvvyu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_publish_vvvvvyc == 1)
|
||||
if (add_php_after_publish_vvvvvyu == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -445,11 +445,11 @@ function vvvvvyc(add_php_after_publish_vvvvvyc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_php_before_delete_vvvvvyd)
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_php_before_delete_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_delete_vvvvvyd == 1)
|
||||
if (add_php_before_delete_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -459,11 +459,11 @@ function vvvvvyd(add_php_before_delete_vvvvvyd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_after_delete_vvvvvye)
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_php_after_delete_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_delete_vvvvvye == 1)
|
||||
if (add_php_after_delete_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -473,11 +473,11 @@ function vvvvvye(add_php_after_delete_vvvvvye)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_document_vvvvvyf)
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_php_document_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyf == 1)
|
||||
if (add_php_document_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -487,75 +487,75 @@ function vvvvvyf(add_php_document_vvvvvyf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_sql_vvvvvyg)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_sql_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvyg == 1)
|
||||
if (add_sql_vvvvvyy == 1)
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').show();
|
||||
// add required attribute to source field
|
||||
if (jform_vvvvvygvwe_required)
|
||||
if (jform_vvvvvyyvwh_required)
|
||||
{
|
||||
updateFieldRequired('source',0);
|
||||
jQuery('#jform_source').prop('required','required');
|
||||
jQuery('#jform_source').attr('aria-required',true);
|
||||
jQuery('#jform_source').addClass('required');
|
||||
jform_vvvvvygvwe_required = false;
|
||||
jform_vvvvvyyvwh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').hide();
|
||||
// remove required attribute from source field
|
||||
if (!jform_vvvvvygvwe_required)
|
||||
if (!jform_vvvvvyyvwh_required)
|
||||
{
|
||||
updateFieldRequired('source',1);
|
||||
jQuery('#jform_source').removeAttr('required');
|
||||
jQuery('#jform_source').removeAttr('aria-required');
|
||||
jQuery('#jform_source').removeClass('required');
|
||||
jform_vvvvvygvwe_required = true;
|
||||
jform_vvvvvyyvwh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvyh == 2 && add_sql_vvvvvyh == 1)
|
||||
if (source_vvvvvyz == 2 && add_sql_vvvvvyz == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvyhvwf_required)
|
||||
if (jform_vvvvvyzvwi_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvyhvwf_required = false;
|
||||
jform_vvvvvyzvwi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvyhvwf_required)
|
||||
if (!jform_vvvvvyzvwi_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvyhvwf_required = true;
|
||||
jform_vvvvvyzvwi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj)
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvyj == 1 && add_sql_vvvvvyj == 1)
|
||||
if (source_vvvvvzb == 1 && add_sql_vvvvvzb == 1)
|
||||
{
|
||||
jQuery('#jform_addtables-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -565,165 +565,165 @@ function vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_custom_import_vvvvvyl)
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_custom_import_vvvvvzd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvvyl == 1)
|
||||
if (add_custom_import_vvvvvzd == 1)
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').show();
|
||||
// add required attribute to html_import_view field
|
||||
if (jform_vvvvvylvwg_required)
|
||||
if (jform_vvvvvzdvwj_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',0);
|
||||
jQuery('#jform_html_import_view').prop('required','required');
|
||||
jQuery('#jform_html_import_view').attr('aria-required',true);
|
||||
jQuery('#jform_html_import_view').addClass('required');
|
||||
jform_vvvvvylvwg_required = false;
|
||||
jform_vvvvvzdvwj_required = false;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').show();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').show();
|
||||
// add required attribute to php_import_display field
|
||||
if (jform_vvvvvylvwh_required)
|
||||
if (jform_vvvvvzdvwk_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',0);
|
||||
jQuery('#jform_php_import_display').prop('required','required');
|
||||
jQuery('#jform_php_import_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_display').addClass('required');
|
||||
jform_vvvvvylvwh_required = false;
|
||||
jform_vvvvvzdvwk_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').show();
|
||||
// add required attribute to php_import_ext field
|
||||
if (jform_vvvvvylvwi_required)
|
||||
if (jform_vvvvvzdvwl_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',0);
|
||||
jQuery('#jform_php_import_ext').prop('required','required');
|
||||
jQuery('#jform_php_import_ext').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_ext').addClass('required');
|
||||
jform_vvvvvylvwi_required = false;
|
||||
jform_vvvvvzdvwl_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').show();
|
||||
// add required attribute to php_import_headers field
|
||||
if (jform_vvvvvylvwj_required)
|
||||
if (jform_vvvvvzdvwm_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',0);
|
||||
jQuery('#jform_php_import_headers').prop('required','required');
|
||||
jQuery('#jform_php_import_headers').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_headers').addClass('required');
|
||||
jform_vvvvvylvwj_required = false;
|
||||
jform_vvvvvzdvwm_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').show();
|
||||
// add required attribute to php_import field
|
||||
if (jform_vvvvvylvwk_required)
|
||||
if (jform_vvvvvzdvwn_required)
|
||||
{
|
||||
updateFieldRequired('php_import',0);
|
||||
jQuery('#jform_php_import').prop('required','required');
|
||||
jQuery('#jform_php_import').attr('aria-required',true);
|
||||
jQuery('#jform_php_import').addClass('required');
|
||||
jform_vvvvvylvwk_required = false;
|
||||
jform_vvvvvzdvwn_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').show();
|
||||
// add required attribute to php_import_save field
|
||||
if (jform_vvvvvylvwl_required)
|
||||
if (jform_vvvvvzdvwo_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',0);
|
||||
jQuery('#jform_php_import_save').prop('required','required');
|
||||
jQuery('#jform_php_import_save').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_save').addClass('required');
|
||||
jform_vvvvvylvwl_required = false;
|
||||
jform_vvvvvzdvwo_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').show();
|
||||
// add required attribute to php_import_setdata field
|
||||
if (jform_vvvvvylvwm_required)
|
||||
if (jform_vvvvvzdvwp_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',0);
|
||||
jQuery('#jform_php_import_setdata').prop('required','required');
|
||||
jQuery('#jform_php_import_setdata').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_setdata').addClass('required');
|
||||
jform_vvvvvylvwm_required = false;
|
||||
jform_vvvvvzdvwp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').hide();
|
||||
// remove required attribute from html_import_view field
|
||||
if (!jform_vvvvvylvwg_required)
|
||||
if (!jform_vvvvvzdvwj_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',1);
|
||||
jQuery('#jform_html_import_view').removeAttr('required');
|
||||
jQuery('#jform_html_import_view').removeAttr('aria-required');
|
||||
jQuery('#jform_html_import_view').removeClass('required');
|
||||
jform_vvvvvylvwg_required = true;
|
||||
jform_vvvvvzdvwj_required = true;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').hide();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_display field
|
||||
if (!jform_vvvvvylvwh_required)
|
||||
if (!jform_vvvvvzdvwk_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',1);
|
||||
jQuery('#jform_php_import_display').removeAttr('required');
|
||||
jQuery('#jform_php_import_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_display').removeClass('required');
|
||||
jform_vvvvvylvwh_required = true;
|
||||
jform_vvvvvzdvwk_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_ext field
|
||||
if (!jform_vvvvvylvwi_required)
|
||||
if (!jform_vvvvvzdvwl_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',1);
|
||||
jQuery('#jform_php_import_ext').removeAttr('required');
|
||||
jQuery('#jform_php_import_ext').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_ext').removeClass('required');
|
||||
jform_vvvvvylvwi_required = true;
|
||||
jform_vvvvvzdvwl_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_headers field
|
||||
if (!jform_vvvvvylvwj_required)
|
||||
if (!jform_vvvvvzdvwm_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',1);
|
||||
jQuery('#jform_php_import_headers').removeAttr('required');
|
||||
jQuery('#jform_php_import_headers').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_headers').removeClass('required');
|
||||
jform_vvvvvylvwj_required = true;
|
||||
jform_vvvvvzdvwm_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').hide();
|
||||
// remove required attribute from php_import field
|
||||
if (!jform_vvvvvylvwk_required)
|
||||
if (!jform_vvvvvzdvwn_required)
|
||||
{
|
||||
updateFieldRequired('php_import',1);
|
||||
jQuery('#jform_php_import').removeAttr('required');
|
||||
jQuery('#jform_php_import').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import').removeClass('required');
|
||||
jform_vvvvvylvwk_required = true;
|
||||
jform_vvvvvzdvwn_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_save field
|
||||
if (!jform_vvvvvylvwl_required)
|
||||
if (!jform_vvvvvzdvwo_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',1);
|
||||
jQuery('#jform_php_import_save').removeAttr('required');
|
||||
jQuery('#jform_php_import_save').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_save').removeClass('required');
|
||||
jform_vvvvvylvwl_required = true;
|
||||
jform_vvvvvzdvwo_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_setdata field
|
||||
if (!jform_vvvvvylvwm_required)
|
||||
if (!jform_vvvvvzdvwp_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',1);
|
||||
jQuery('#jform_php_import_setdata').removeAttr('required');
|
||||
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_setdata').removeClass('required');
|
||||
jform_vvvvvylvwm_required = true;
|
||||
jform_vvvvvzdvwp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_custom_import_vvvvvym)
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_custom_import_vvvvvze)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvvym == 0)
|
||||
if (add_custom_import_vvvvvze == 0)
|
||||
{
|
||||
jQuery('.note_beginner_import').closest('.control-group').show();
|
||||
}
|
||||
@ -733,11 +733,11 @@ function vvvvvym(add_custom_import_vvvvvym)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_custom_button_vvvvvyn)
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_custom_button_vvvvvzf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyn == 1)
|
||||
if (add_custom_button_vvvvvzf == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwarvxf_required = false;
|
||||
jform_vvvvwbjvxi_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
|
||||
vvvvwar(extension_type_vvvvwar);
|
||||
var extension_type_vvvvwbj = jQuery("#jform_extension_type").val();
|
||||
vvvvwbj(extension_type_vvvvwbj);
|
||||
});
|
||||
|
||||
// the vvvvwar function
|
||||
function vvvvwar(extension_type_vvvvwar)
|
||||
// the vvvvwbj function
|
||||
function vvvvwbj(extension_type_vvvvwbj)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwar) && extension_type_vvvvwar.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwbj) && extension_type_vvvvwbj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwar = extension_type_vvvvwar;
|
||||
var extension_type_vvvvwar = [];
|
||||
extension_type_vvvvwar.push(temp_vvvvwar);
|
||||
var temp_vvvvwbj = extension_type_vvvvwbj;
|
||||
var extension_type_vvvvwbj = [];
|
||||
extension_type_vvvvwbj.push(temp_vvvvwbj);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwar))
|
||||
else if (!isSet(extension_type_vvvvwbj))
|
||||
{
|
||||
var extension_type_vvvvwar = [];
|
||||
var extension_type_vvvvwbj = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwar.some(extension_type_vvvvwar_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwbj.some(extension_type_vvvvwbj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwar(extension_type_vvvvwar)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwarvxf_required)
|
||||
if (jform_vvvvwbjvxi_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwarvxf_required = false;
|
||||
jform_vvvvwbjvxi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwarvxf_required)
|
||||
if (!jform_vvvvwbjvxi_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwarvxf_required = true;
|
||||
jform_vvvvwbjvxi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwar Some function
|
||||
function extension_type_vvvvwar_SomeFunc(extension_type_vvvvwar)
|
||||
// the vvvvwbj Some function
|
||||
function extension_type_vvvvwbj_SomeFunc(extension_type_vvvvwbj)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwar == 'plugins' || extension_type_vvvvwar == 'plugin')
|
||||
if (extension_type_vvvvwbj == 'plugins' || extension_type_vvvvwbj == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwaqvxe_required = false;
|
||||
jform_vvvvwbivxh_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
|
||||
vvvvwaq(extension_type_vvvvwaq);
|
||||
var extension_type_vvvvwbi = jQuery("#jform_extension_type").val();
|
||||
vvvvwbi(extension_type_vvvvwbi);
|
||||
});
|
||||
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(extension_type_vvvvwaq)
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(extension_type_vvvvwbi)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwaq) && extension_type_vvvvwaq.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwbi) && extension_type_vvvvwbi.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaq = extension_type_vvvvwaq;
|
||||
var extension_type_vvvvwaq = [];
|
||||
extension_type_vvvvwaq.push(temp_vvvvwaq);
|
||||
var temp_vvvvwbi = extension_type_vvvvwbi;
|
||||
var extension_type_vvvvwbi = [];
|
||||
extension_type_vvvvwbi.push(temp_vvvvwbi);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwaq))
|
||||
else if (!isSet(extension_type_vvvvwbi))
|
||||
{
|
||||
var extension_type_vvvvwaq = [];
|
||||
var extension_type_vvvvwbi = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwaq.some(extension_type_vvvvwaq_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwbi.some(extension_type_vvvvwbi_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwaq(extension_type_vvvvwaq)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwaqvxe_required)
|
||||
if (jform_vvvvwbivxh_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwaqvxe_required = false;
|
||||
jform_vvvvwbivxh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwaqvxe_required)
|
||||
if (!jform_vvvvwbivxh_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwaqvxe_required = true;
|
||||
jform_vvvvwbivxh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaq Some function
|
||||
function extension_type_vvvvwaq_SomeFunc(extension_type_vvvvwaq)
|
||||
// the vvvvwbi Some function
|
||||
function extension_type_vvvvwbi_SomeFunc(extension_type_vvvvwbi)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwaq == 'plugins' || extension_type_vvvvwaq == 'plugin')
|
||||
if (extension_type_vvvvwbi == 'plugins' || extension_type_vvvvwbi == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,42 +11,42 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_view_vvvvvzg);
|
||||
|
||||
var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_display_vvvvvyp);
|
||||
var add_php_jview_display_vvvvvzh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_jview_display_vvvvvzh);
|
||||
|
||||
var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_vvvvvyq);
|
||||
var add_php_jview_vvvvvzi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_jview_vvvvvzi);
|
||||
|
||||
var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_document_vvvvvyr);
|
||||
var add_php_document_vvvvvzj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_document_vvvvvzj);
|
||||
|
||||
var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_css_document_vvvvvys);
|
||||
var add_css_document_vvvvvzk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzk(add_css_document_vvvvvzk);
|
||||
|
||||
var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyt(add_javascript_file_vvvvvyt);
|
||||
var add_javascript_file_vvvvvzl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzl(add_javascript_file_vvvvvzl);
|
||||
|
||||
var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyu(add_js_document_vvvvvyu);
|
||||
var add_js_document_vvvvvzm = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzm(add_js_document_vvvvvzm);
|
||||
|
||||
var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyv(add_custom_button_vvvvvyv);
|
||||
var add_custom_button_vvvvvzn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzn(add_custom_button_vvvvvzn);
|
||||
|
||||
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_vvvvvyw);
|
||||
var add_css_vvvvvzo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzo(add_css_vvvvvzo);
|
||||
|
||||
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_ajax_vvvvvyx);
|
||||
var add_php_ajax_vvvvvzp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_ajax_vvvvvzp);
|
||||
});
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_view_vvvvvyo)
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_view_vvvvvzg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyo == 1)
|
||||
if (add_php_view_vvvvvzg == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -56,11 +56,11 @@ function vvvvvyo(add_php_view_vvvvvyo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_php_jview_display_vvvvvyp)
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_jview_display_vvvvvzh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyp == 1)
|
||||
if (add_php_jview_display_vvvvvzh == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -70,11 +70,11 @@ function vvvvvyp(add_php_jview_display_vvvvvyp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_php_jview_vvvvvyq)
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_jview_vvvvvzi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvyq == 1)
|
||||
if (add_php_jview_vvvvvzi == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -84,11 +84,11 @@ function vvvvvyq(add_php_jview_vvvvvyq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_php_document_vvvvvyr)
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_document_vvvvvzj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvyr == 1)
|
||||
if (add_php_document_vvvvvzj == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -98,11 +98,11 @@ function vvvvvyr(add_php_document_vvvvvyr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_css_document_vvvvvys)
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_css_document_vvvvvzk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvys == 1)
|
||||
if (add_css_document_vvvvvzk == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -112,11 +112,11 @@ function vvvvvys(add_css_document_vvvvvys)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_javascript_file_vvvvvyt)
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_javascript_file_vvvvvzl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvyt == 1)
|
||||
if (add_javascript_file_vvvvvzl == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -126,11 +126,11 @@ function vvvvvyt(add_javascript_file_vvvvvyt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_js_document_vvvvvyu)
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_js_document_vvvvvzm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvyu == 1)
|
||||
if (add_js_document_vvvvvzm == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -140,11 +140,11 @@ function vvvvvyu(add_js_document_vvvvvyu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_custom_button_vvvvvyv)
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_custom_button_vvvvvzn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvyv == 1)
|
||||
if (add_custom_button_vvvvvzn == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -158,11 +158,11 @@ function vvvvvyv(add_custom_button_vvvvvyv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_css_vvvvvyw)
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_css_vvvvvzo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvyw == 1)
|
||||
if (add_css_vvvvvzo == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -172,11 +172,11 @@ function vvvvvyw(add_css_vvvvvyw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_php_ajax_vvvvvyx)
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_php_ajax_vvvvvzp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvyx == 1)
|
||||
if (add_php_ajax_vvvvvzp == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
|
@ -9,44 +9,44 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwamvxa_required = false;
|
||||
jform_vvvvwanvxb_required = false;
|
||||
jform_vvvvwanvxc_required = false;
|
||||
jform_vvvvwanvxd_required = false;
|
||||
jform_vvvvwbevxd_required = false;
|
||||
jform_vvvvwbfvxe_required = false;
|
||||
jform_vvvvwbfvxf_required = false;
|
||||
jform_vvvvwbfvxg_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwam(target_vvvvwam);
|
||||
var target_vvvvwbe = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbe(target_vvvvwbe);
|
||||
|
||||
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwan(target_vvvvwan);
|
||||
var target_vvvvwbf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbf(target_vvvvwbf);
|
||||
|
||||
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwao(target_vvvvwao,type_vvvvwao);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbg = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg,type_vvvvwbg);
|
||||
|
||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(type_vvvvwap,target_vvvvwap);
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbh(type_vvvvwbh,target_vvvvwbh);
|
||||
});
|
||||
|
||||
// the vvvvwam function
|
||||
function vvvvwam(target_vvvvwam)
|
||||
// the vvvvwbe function
|
||||
function vvvvwbe(target_vvvvwbe)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwam == 2)
|
||||
if (target_vvvvwbe == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
// add required attribute to function_name field
|
||||
if (jform_vvvvwamvxa_required)
|
||||
if (jform_vvvvwbevxd_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_vvvvwamvxa_required = false;
|
||||
jform_vvvvwbevxd_required = false;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
jQuery('#jform_system_name').closest('.control-group').show();
|
||||
@ -55,102 +55,102 @@ function vvvvwam(target_vvvvwam)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||
// remove required attribute from function_name field
|
||||
if (!jform_vvvvwamvxa_required)
|
||||
if (!jform_vvvvwbevxd_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_vvvvwamvxa_required = true;
|
||||
jform_vvvvwbevxd_required = true;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwan function
|
||||
function vvvvwan(target_vvvvwan)
|
||||
// the vvvvwbf function
|
||||
function vvvvwbf(target_vvvvwbf)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwan == 1)
|
||||
if (target_vvvvwbf == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
// add required attribute to component field
|
||||
if (jform_vvvvwanvxb_required)
|
||||
if (jform_vvvvwbfvxe_required)
|
||||
{
|
||||
updateFieldRequired('component',0);
|
||||
jQuery('#jform_component').prop('required','required');
|
||||
jQuery('#jform_component').attr('aria-required',true);
|
||||
jQuery('#jform_component').addClass('required');
|
||||
jform_vvvvwanvxb_required = false;
|
||||
jform_vvvvwbfvxe_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwanvxc_required)
|
||||
if (jform_vvvvwbfvxf_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwanvxc_required = false;
|
||||
jform_vvvvwbfvxf_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_vvvvwanvxd_required)
|
||||
if (jform_vvvvwbfvxg_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwanvxd_required = false;
|
||||
jform_vvvvwbfvxg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
// remove required attribute from component field
|
||||
if (!jform_vvvvwanvxb_required)
|
||||
if (!jform_vvvvwbfvxe_required)
|
||||
{
|
||||
updateFieldRequired('component',1);
|
||||
jQuery('#jform_component').removeAttr('required');
|
||||
jQuery('#jform_component').removeAttr('aria-required');
|
||||
jQuery('#jform_component').removeClass('required');
|
||||
jform_vvvvwanvxb_required = true;
|
||||
jform_vvvvwbfvxe_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwanvxc_required)
|
||||
if (!jform_vvvvwbfvxf_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwanvxc_required = true;
|
||||
jform_vvvvwbfvxf_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_vvvvwanvxd_required)
|
||||
if (!jform_vvvvwbfvxg_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwanvxd_required = true;
|
||||
jform_vvvvwbfvxg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwao function
|
||||
function vvvvwao(target_vvvvwao,type_vvvvwao)
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(target_vvvvwbg,type_vvvvwbg)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwao == 1 && type_vvvvwao == 1)
|
||||
if (target_vvvvwbg == 1 && type_vvvvwbg == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -162,11 +162,11 @@ function vvvvwao(target_vvvvwao,type_vvvvwao)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwap function
|
||||
function vvvvwap(type_vvvvwap,target_vvvvwap)
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(type_vvvvwbh,target_vvvvwbh)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwap == 1 && target_vvvvwap == 1)
|
||||
if (type_vvvvwbh == 1 && target_vvvvwbh == 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
@ -9,57 +9,57 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbavxi_required = false;
|
||||
jform_vvvvwbbvxj_required = false;
|
||||
jform_vvvvwbcvxk_required = false;
|
||||
jform_vvvvwbdvxl_required = false;
|
||||
jform_vvvvwbsvxl_required = false;
|
||||
jform_vvvvwbtvxm_required = false;
|
||||
jform_vvvvwbuvxn_required = false;
|
||||
jform_vvvvwbvvxo_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
||||
vvvvwba(datalenght_vvvvwba);
|
||||
var datalenght_vvvvwbs = jQuery("#jform_datalenght").val();
|
||||
vvvvwbs(datalenght_vvvvwbs);
|
||||
|
||||
var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
|
||||
vvvvwbb(datadefault_vvvvwbb);
|
||||
var datadefault_vvvvwbt = jQuery("#jform_datadefault").val();
|
||||
vvvvwbt(datadefault_vvvvwbt);
|
||||
|
||||
var datatype_vvvvwbc = jQuery("#jform_datatype").val();
|
||||
vvvvwbc(datatype_vvvvwbc);
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(datatype_vvvvwbu);
|
||||
|
||||
var datatype_vvvvwbd = jQuery("#jform_datatype").val();
|
||||
vvvvwbd(datatype_vvvvwbd);
|
||||
var datatype_vvvvwbv = jQuery("#jform_datatype").val();
|
||||
vvvvwbv(datatype_vvvvwbv);
|
||||
|
||||
var store_vvvvwbe = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
||||
vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
|
||||
var store_vvvvwbw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(store_vvvvwbw,datatype_vvvvwbw);
|
||||
|
||||
var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwbg(add_css_view_vvvvwbg);
|
||||
var add_css_view_vvvvwby = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwby(add_css_view_vvvvwby);
|
||||
|
||||
var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbh(add_css_views_vvvvwbh);
|
||||
var add_css_views_vvvvwbz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbz(add_css_views_vvvvwbz);
|
||||
|
||||
var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwbi(add_javascript_view_footer_vvvvwbi);
|
||||
var add_javascript_view_footer_vvvvwca = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwca(add_javascript_view_footer_vvvvwca);
|
||||
|
||||
var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwbj(add_javascript_views_footer_vvvvwbj);
|
||||
var add_javascript_views_footer_vvvvwcb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwcb(add_javascript_views_footer_vvvvwcb);
|
||||
});
|
||||
|
||||
// the vvvvwba function
|
||||
function vvvvwba(datalenght_vvvvwba)
|
||||
// the vvvvwbs function
|
||||
function vvvvwbs(datalenght_vvvvwbs)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwba) && datalenght_vvvvwba.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwbs) && datalenght_vvvvwbs.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwba = datalenght_vvvvwba;
|
||||
var datalenght_vvvvwba = [];
|
||||
datalenght_vvvvwba.push(temp_vvvvwba);
|
||||
var temp_vvvvwbs = datalenght_vvvvwbs;
|
||||
var datalenght_vvvvwbs = [];
|
||||
datalenght_vvvvwbs.push(temp_vvvvwbs);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwba))
|
||||
else if (!isSet(datalenght_vvvvwbs))
|
||||
{
|
||||
var datalenght_vvvvwba = [];
|
||||
var datalenght_vvvvwbs = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwba.some(datalenght_vvvvwba_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwbs.some(datalenght_vvvvwbs_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -67,55 +67,55 @@ function vvvvwba(datalenght_vvvvwba)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
// add required attribute to datalenght_other field
|
||||
if (jform_vvvvwbavxi_required)
|
||||
if (jform_vvvvwbsvxl_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_vvvvwbavxi_required = false;
|
||||
jform_vvvvwbsvxl_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwbavxi_required)
|
||||
if (!jform_vvvvwbsvxl_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_vvvvwbavxi_required = true;
|
||||
jform_vvvvwbsvxl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwba Some function
|
||||
function datalenght_vvvvwba_SomeFunc(datalenght_vvvvwba)
|
||||
// the vvvvwbs Some function
|
||||
function datalenght_vvvvwbs_SomeFunc(datalenght_vvvvwbs)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwba == 'Other')
|
||||
if (datalenght_vvvvwbs == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbb function
|
||||
function vvvvwbb(datadefault_vvvvwbb)
|
||||
// the vvvvwbt function
|
||||
function vvvvwbt(datadefault_vvvvwbt)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwbb) && datadefault_vvvvwbb.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwbt) && datadefault_vvvvwbt.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbb = datadefault_vvvvwbb;
|
||||
var datadefault_vvvvwbb = [];
|
||||
datadefault_vvvvwbb.push(temp_vvvvwbb);
|
||||
var temp_vvvvwbt = datadefault_vvvvwbt;
|
||||
var datadefault_vvvvwbt = [];
|
||||
datadefault_vvvvwbt.push(temp_vvvvwbt);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwbb))
|
||||
else if (!isSet(datadefault_vvvvwbt))
|
||||
{
|
||||
var datadefault_vvvvwbb = [];
|
||||
var datadefault_vvvvwbt = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwbb.some(datadefault_vvvvwbb_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwbt.some(datadefault_vvvvwbt_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -123,55 +123,55 @@ function vvvvwbb(datadefault_vvvvwbb)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwbbvxj_required)
|
||||
if (jform_vvvvwbtvxm_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_vvvvwbbvxj_required = false;
|
||||
jform_vvvvwbtvxm_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwbbvxj_required)
|
||||
if (!jform_vvvvwbtvxm_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_vvvvwbbvxj_required = true;
|
||||
jform_vvvvwbtvxm_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbb Some function
|
||||
function datadefault_vvvvwbb_SomeFunc(datadefault_vvvvwbb)
|
||||
// the vvvvwbt Some function
|
||||
function datadefault_vvvvwbt_SomeFunc(datadefault_vvvvwbt)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwbb == 'Other')
|
||||
if (datadefault_vvvvwbt == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbc function
|
||||
function vvvvwbc(datatype_vvvvwbc)
|
||||
// the vvvvwbu function
|
||||
function vvvvwbu(datatype_vvvvwbu)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbc) && datatype_vvvvwbc.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbu) && datatype_vvvvwbu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbc = datatype_vvvvwbc;
|
||||
var datatype_vvvvwbc = [];
|
||||
datatype_vvvvwbc.push(temp_vvvvwbc);
|
||||
var temp_vvvvwbu = datatype_vvvvwbu;
|
||||
var datatype_vvvvwbu = [];
|
||||
datatype_vvvvwbu.push(temp_vvvvwbu);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbc))
|
||||
else if (!isSet(datatype_vvvvwbu))
|
||||
{
|
||||
var datatype_vvvvwbc = [];
|
||||
var datatype_vvvvwbu = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbc.some(datatype_vvvvwbc_SomeFunc);
|
||||
var datatype = datatype_vvvvwbu.some(datatype_vvvvwbu_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -181,13 +181,13 @@ function vvvvwbc(datatype_vvvvwbc)
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwbcvxk_required)
|
||||
if (jform_vvvvwbuvxn_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwbcvxk_required = false;
|
||||
jform_vvvvwbuvxn_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -196,42 +196,42 @@ function vvvvwbc(datatype_vvvvwbc)
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwbcvxk_required)
|
||||
if (!jform_vvvvwbuvxn_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwbcvxk_required = true;
|
||||
jform_vvvvwbuvxn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbc Some function
|
||||
function datatype_vvvvwbc_SomeFunc(datatype_vvvvwbc)
|
||||
// the vvvvwbu Some function
|
||||
function datatype_vvvvwbu_SomeFunc(datatype_vvvvwbu)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbc == 'CHAR' || datatype_vvvvwbc == 'VARCHAR' || datatype_vvvvwbc == 'DATETIME' || datatype_vvvvwbc == 'DATE' || datatype_vvvvwbc == 'TIME' || datatype_vvvvwbc == 'INT' || datatype_vvvvwbc == 'TINYINT' || datatype_vvvvwbc == 'BIGINT' || datatype_vvvvwbc == 'FLOAT' || datatype_vvvvwbc == 'DECIMAL' || datatype_vvvvwbc == 'DOUBLE')
|
||||
if (datatype_vvvvwbu == 'CHAR' || datatype_vvvvwbu == 'VARCHAR' || datatype_vvvvwbu == 'DATETIME' || datatype_vvvvwbu == 'DATE' || datatype_vvvvwbu == 'TIME' || datatype_vvvvwbu == 'INT' || datatype_vvvvwbu == 'TINYINT' || datatype_vvvvwbu == 'BIGINT' || datatype_vvvvwbu == 'FLOAT' || datatype_vvvvwbu == 'DECIMAL' || datatype_vvvvwbu == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbd function
|
||||
function vvvvwbd(datatype_vvvvwbd)
|
||||
// the vvvvwbv function
|
||||
function vvvvwbv(datatype_vvvvwbv)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbd) && datatype_vvvvwbd.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbv) && datatype_vvvvwbv.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbd = datatype_vvvvwbd;
|
||||
var datatype_vvvvwbd = [];
|
||||
datatype_vvvvwbd.push(temp_vvvvwbd);
|
||||
var temp_vvvvwbv = datatype_vvvvwbv;
|
||||
var datatype_vvvvwbv = [];
|
||||
datatype_vvvvwbv.push(temp_vvvvwbv);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbd))
|
||||
else if (!isSet(datatype_vvvvwbv))
|
||||
{
|
||||
var datatype_vvvvwbd = [];
|
||||
var datatype_vvvvwbv = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbd.some(datatype_vvvvwbd_SomeFunc);
|
||||
var datatype = datatype_vvvvwbv.some(datatype_vvvvwbv_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -239,67 +239,67 @@ function vvvvwbd(datatype_vvvvwbd)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
// add required attribute to store field
|
||||
if (jform_vvvvwbdvxl_required)
|
||||
if (jform_vvvvwbvvxo_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwbdvxl_required = false;
|
||||
jform_vvvvwbvvxo_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
// remove required attribute from store field
|
||||
if (!jform_vvvvwbdvxl_required)
|
||||
if (!jform_vvvvwbvvxo_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwbdvxl_required = true;
|
||||
jform_vvvvwbvvxo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbd Some function
|
||||
function datatype_vvvvwbd_SomeFunc(datatype_vvvvwbd)
|
||||
// the vvvvwbv Some function
|
||||
function datatype_vvvvwbv_SomeFunc(datatype_vvvvwbv)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbd == 'CHAR' || datatype_vvvvwbd == 'VARCHAR' || datatype_vvvvwbd == 'TEXT' || datatype_vvvvwbd == 'MEDIUMTEXT' || datatype_vvvvwbd == 'LONGTEXT' || datatype_vvvvwbd == 'BLOB' || datatype_vvvvwbd == 'TINYBLOB' || datatype_vvvvwbd == 'MEDIUMBLOB' || datatype_vvvvwbd == 'LONGBLOB')
|
||||
if (datatype_vvvvwbv == 'CHAR' || datatype_vvvvwbv == 'VARCHAR' || datatype_vvvvwbv == 'TEXT' || datatype_vvvvwbv == 'MEDIUMTEXT' || datatype_vvvvwbv == 'LONGTEXT' || datatype_vvvvwbv == 'BLOB' || datatype_vvvvwbv == 'TINYBLOB' || datatype_vvvvwbv == 'MEDIUMBLOB' || datatype_vvvvwbv == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbe function
|
||||
function vvvvwbe(store_vvvvwbe,datatype_vvvvwbe)
|
||||
// the vvvvwbw function
|
||||
function vvvvwbw(store_vvvvwbw,datatype_vvvvwbw)
|
||||
{
|
||||
if (isSet(store_vvvvwbe) && store_vvvvwbe.constructor !== Array)
|
||||
if (isSet(store_vvvvwbw) && store_vvvvwbw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbe = store_vvvvwbe;
|
||||
var store_vvvvwbe = [];
|
||||
store_vvvvwbe.push(temp_vvvvwbe);
|
||||
var temp_vvvvwbw = store_vvvvwbw;
|
||||
var store_vvvvwbw = [];
|
||||
store_vvvvwbw.push(temp_vvvvwbw);
|
||||
}
|
||||
else if (!isSet(store_vvvvwbe))
|
||||
else if (!isSet(store_vvvvwbw))
|
||||
{
|
||||
var store_vvvvwbe = [];
|
||||
var store_vvvvwbw = [];
|
||||
}
|
||||
var store = store_vvvvwbe.some(store_vvvvwbe_SomeFunc);
|
||||
var store = store_vvvvwbw.some(store_vvvvwbw_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwbe) && datatype_vvvvwbe.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbw) && datatype_vvvvwbw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbe = datatype_vvvvwbe;
|
||||
var datatype_vvvvwbe = [];
|
||||
datatype_vvvvwbe.push(temp_vvvvwbe);
|
||||
var temp_vvvvwbw = datatype_vvvvwbw;
|
||||
var datatype_vvvvwbw = [];
|
||||
datatype_vvvvwbw.push(temp_vvvvwbw);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbe))
|
||||
else if (!isSet(datatype_vvvvwbw))
|
||||
{
|
||||
var datatype_vvvvwbe = [];
|
||||
var datatype_vvvvwbw = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbe.some(datatype_vvvvwbe_SomeFunc);
|
||||
var datatype = datatype_vvvvwbw.some(datatype_vvvvwbw_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -313,33 +313,33 @@ function vvvvwbe(store_vvvvwbe,datatype_vvvvwbe)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbe Some function
|
||||
function store_vvvvwbe_SomeFunc(store_vvvvwbe)
|
||||
// the vvvvwbw Some function
|
||||
function store_vvvvwbw_SomeFunc(store_vvvvwbw)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwbe == 4)
|
||||
if (store_vvvvwbw == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbe Some function
|
||||
function datatype_vvvvwbe_SomeFunc(datatype_vvvvwbe)
|
||||
// the vvvvwbw Some function
|
||||
function datatype_vvvvwbw_SomeFunc(datatype_vvvvwbw)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbe == 'CHAR' || datatype_vvvvwbe == 'VARCHAR' || datatype_vvvvwbe == 'TEXT' || datatype_vvvvwbe == 'MEDIUMTEXT' || datatype_vvvvwbe == 'LONGTEXT' || datatype_vvvvwbe == 'BLOB' || datatype_vvvvwbe == 'TINYBLOB' || datatype_vvvvwbe == 'MEDIUMBLOB' || datatype_vvvvwbe == 'LONGBLOB')
|
||||
if (datatype_vvvvwbw == 'CHAR' || datatype_vvvvwbw == 'VARCHAR' || datatype_vvvvwbw == 'TEXT' || datatype_vvvvwbw == 'MEDIUMTEXT' || datatype_vvvvwbw == 'LONGTEXT' || datatype_vvvvwbw == 'BLOB' || datatype_vvvvwbw == 'TINYBLOB' || datatype_vvvvwbw == 'MEDIUMBLOB' || datatype_vvvvwbw == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(add_css_view_vvvvwbg)
|
||||
// the vvvvwby function
|
||||
function vvvvwby(add_css_view_vvvvwby)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwbg == 1)
|
||||
if (add_css_view_vvvvwby == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -349,11 +349,11 @@ function vvvvwbg(add_css_view_vvvvwbg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(add_css_views_vvvvwbh)
|
||||
// the vvvvwbz function
|
||||
function vvvvwbz(add_css_views_vvvvwbz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwbh == 1)
|
||||
if (add_css_views_vvvvwbz == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -363,11 +363,11 @@ function vvvvwbh(add_css_views_vvvvwbh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(add_javascript_view_footer_vvvvwbi)
|
||||
// the vvvvwca function
|
||||
function vvvvwca(add_javascript_view_footer_vvvvwca)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwbi == 1)
|
||||
if (add_javascript_view_footer_vvvvwca == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -377,11 +377,11 @@ function vvvvwbi(add_javascript_view_footer_vvvvwbi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbj function
|
||||
function vvvvwbj(add_javascript_views_footer_vvvvwbj)
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(add_javascript_views_footer_vvvvwcb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwbj == 1)
|
||||
if (add_javascript_views_footer_vvvvwcb == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -9,82 +9,82 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbkvxm_required = false;
|
||||
jform_vvvvwbmvxn_required = false;
|
||||
jform_vvvvwbovxo_required = false;
|
||||
jform_vvvvwbpvxp_required = false;
|
||||
jform_vvvvwbqvxq_required = false;
|
||||
jform_vvvvwbvvxr_required = false;
|
||||
jform_vvvvwbvvxs_required = false;
|
||||
jform_vvvvwccvxp_required = false;
|
||||
jform_vvvvwcevxq_required = false;
|
||||
jform_vvvvwcgvxr_required = false;
|
||||
jform_vvvvwchvxs_required = false;
|
||||
jform_vvvvwcivxt_required = false;
|
||||
jform_vvvvwcnvxu_required = false;
|
||||
jform_vvvvwcnvxv_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwcc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc);
|
||||
|
||||
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwce = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce);
|
||||
|
||||
var datatype_vvvvwbo = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwcg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg);
|
||||
|
||||
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
|
||||
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
|
||||
var has_defaults_vvvvwch = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwci = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci);
|
||||
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbv(has_defaults_vvvvwbv);
|
||||
var has_defaults_vvvvwcn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcn(has_defaults_vvvvwcn);
|
||||
});
|
||||
|
||||
// the vvvvwbk function
|
||||
function vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk)
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwbk) && datalenght_vvvvwbk.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwcc) && datalenght_vvvvwcc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbk = datalenght_vvvvwbk;
|
||||
var datalenght_vvvvwbk = [];
|
||||
datalenght_vvvvwbk.push(temp_vvvvwbk);
|
||||
var temp_vvvvwcc = datalenght_vvvvwcc;
|
||||
var datalenght_vvvvwcc = [];
|
||||
datalenght_vvvvwcc.push(temp_vvvvwcc);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwbk))
|
||||
else if (!isSet(datalenght_vvvvwcc))
|
||||
{
|
||||
var datalenght_vvvvwbk = [];
|
||||
var datalenght_vvvvwcc = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwbk.some(datalenght_vvvvwbk_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwcc.some(datalenght_vvvvwcc_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbk) && has_defaults_vvvvwbk.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwcc) && has_defaults_vvvvwcc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbk = has_defaults_vvvvwbk;
|
||||
var has_defaults_vvvvwbk = [];
|
||||
has_defaults_vvvvwbk.push(temp_vvvvwbk);
|
||||
var temp_vvvvwcc = has_defaults_vvvvwcc;
|
||||
var has_defaults_vvvvwcc = [];
|
||||
has_defaults_vvvvwcc.push(temp_vvvvwcc);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbk))
|
||||
else if (!isSet(has_defaults_vvvvwcc))
|
||||
{
|
||||
var has_defaults_vvvvwbk = [];
|
||||
var has_defaults_vvvvwcc = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbk.some(has_defaults_vvvvwbk_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwcc.some(has_defaults_vvvvwcc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -92,78 +92,78 @@ function vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
// add required attribute to datalenght_other field
|
||||
if (jform_vvvvwbkvxm_required)
|
||||
if (jform_vvvvwccvxp_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_vvvvwbkvxm_required = false;
|
||||
jform_vvvvwccvxp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwbkvxm_required)
|
||||
if (!jform_vvvvwccvxp_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_vvvvwbkvxm_required = true;
|
||||
jform_vvvvwccvxp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbk Some function
|
||||
function datalenght_vvvvwbk_SomeFunc(datalenght_vvvvwbk)
|
||||
// the vvvvwcc Some function
|
||||
function datalenght_vvvvwcc_SomeFunc(datalenght_vvvvwcc)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwbk == 'Other')
|
||||
if (datalenght_vvvvwcc == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbk Some function
|
||||
function has_defaults_vvvvwbk_SomeFunc(has_defaults_vvvvwbk)
|
||||
// the vvvvwcc Some function
|
||||
function has_defaults_vvvvwcc_SomeFunc(has_defaults_vvvvwcc)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbk == 1)
|
||||
if (has_defaults_vvvvwcc == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbm function
|
||||
function vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm)
|
||||
// the vvvvwce function
|
||||
function vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwbm) && datadefault_vvvvwbm.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwce) && datadefault_vvvvwce.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbm = datadefault_vvvvwbm;
|
||||
var datadefault_vvvvwbm = [];
|
||||
datadefault_vvvvwbm.push(temp_vvvvwbm);
|
||||
var temp_vvvvwce = datadefault_vvvvwce;
|
||||
var datadefault_vvvvwce = [];
|
||||
datadefault_vvvvwce.push(temp_vvvvwce);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwbm))
|
||||
else if (!isSet(datadefault_vvvvwce))
|
||||
{
|
||||
var datadefault_vvvvwbm = [];
|
||||
var datadefault_vvvvwce = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwbm.some(datadefault_vvvvwbm_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwce.some(datadefault_vvvvwce_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbm) && has_defaults_vvvvwbm.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwce) && has_defaults_vvvvwce.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbm = has_defaults_vvvvwbm;
|
||||
var has_defaults_vvvvwbm = [];
|
||||
has_defaults_vvvvwbm.push(temp_vvvvwbm);
|
||||
var temp_vvvvwce = has_defaults_vvvvwce;
|
||||
var has_defaults_vvvvwce = [];
|
||||
has_defaults_vvvvwce.push(temp_vvvvwce);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbm))
|
||||
else if (!isSet(has_defaults_vvvvwce))
|
||||
{
|
||||
var has_defaults_vvvvwbm = [];
|
||||
var has_defaults_vvvvwce = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbm.some(has_defaults_vvvvwbm_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwce.some(has_defaults_vvvvwce_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -171,78 +171,78 @@ function vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwbmvxn_required)
|
||||
if (jform_vvvvwcevxq_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_vvvvwbmvxn_required = false;
|
||||
jform_vvvvwcevxq_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwbmvxn_required)
|
||||
if (!jform_vvvvwcevxq_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_vvvvwbmvxn_required = true;
|
||||
jform_vvvvwcevxq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbm Some function
|
||||
function datadefault_vvvvwbm_SomeFunc(datadefault_vvvvwbm)
|
||||
// the vvvvwce Some function
|
||||
function datadefault_vvvvwce_SomeFunc(datadefault_vvvvwce)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwbm == 'Other')
|
||||
if (datadefault_vvvvwce == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbm Some function
|
||||
function has_defaults_vvvvwbm_SomeFunc(has_defaults_vvvvwbm)
|
||||
// the vvvvwce Some function
|
||||
function has_defaults_vvvvwce_SomeFunc(has_defaults_vvvvwce)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbm == 1)
|
||||
if (has_defaults_vvvvwce == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbo function
|
||||
function vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo)
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbo) && datatype_vvvvwbo.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwcg) && datatype_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbo = datatype_vvvvwbo;
|
||||
var datatype_vvvvwbo = [];
|
||||
datatype_vvvvwbo.push(temp_vvvvwbo);
|
||||
var temp_vvvvwcg = datatype_vvvvwcg;
|
||||
var datatype_vvvvwcg = [];
|
||||
datatype_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbo))
|
||||
else if (!isSet(datatype_vvvvwcg))
|
||||
{
|
||||
var datatype_vvvvwbo = [];
|
||||
var datatype_vvvvwcg = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbo.some(datatype_vvvvwbo_SomeFunc);
|
||||
var datatype = datatype_vvvvwcg.some(datatype_vvvvwcg_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbo) && has_defaults_vvvvwbo.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwcg) && has_defaults_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbo = has_defaults_vvvvwbo;
|
||||
var has_defaults_vvvvwbo = [];
|
||||
has_defaults_vvvvwbo.push(temp_vvvvwbo);
|
||||
var temp_vvvvwcg = has_defaults_vvvvwcg;
|
||||
var has_defaults_vvvvwcg = [];
|
||||
has_defaults_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbo))
|
||||
else if (!isSet(has_defaults_vvvvwcg))
|
||||
{
|
||||
var has_defaults_vvvvwbo = [];
|
||||
var has_defaults_vvvvwcg = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbo.some(has_defaults_vvvvwbo_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwcg.some(has_defaults_vvvvwcg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -252,13 +252,13 @@ function vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo)
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwbovxo_required)
|
||||
if (jform_vvvvwcgvxr_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwbovxo_required = false;
|
||||
jform_vvvvwcgvxr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -267,65 +267,65 @@ function vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo)
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwbovxo_required)
|
||||
if (!jform_vvvvwcgvxr_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwbovxo_required = true;
|
||||
jform_vvvvwcgvxr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbo Some function
|
||||
function datatype_vvvvwbo_SomeFunc(datatype_vvvvwbo)
|
||||
// the vvvvwcg Some function
|
||||
function datatype_vvvvwcg_SomeFunc(datatype_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbo == 'CHAR' || datatype_vvvvwbo == 'VARCHAR' || datatype_vvvvwbo == 'DATETIME' || datatype_vvvvwbo == 'DATE' || datatype_vvvvwbo == 'TIME' || datatype_vvvvwbo == 'INT' || datatype_vvvvwbo == 'TINYINT' || datatype_vvvvwbo == 'BIGINT' || datatype_vvvvwbo == 'FLOAT' || datatype_vvvvwbo == 'DECIMAL' || datatype_vvvvwbo == 'DOUBLE')
|
||||
if (datatype_vvvvwcg == 'CHAR' || datatype_vvvvwcg == 'VARCHAR' || datatype_vvvvwcg == 'DATETIME' || datatype_vvvvwcg == 'DATE' || datatype_vvvvwcg == 'TIME' || datatype_vvvvwcg == 'INT' || datatype_vvvvwcg == 'TINYINT' || datatype_vvvvwcg == 'BIGINT' || datatype_vvvvwcg == 'FLOAT' || datatype_vvvvwcg == 'DECIMAL' || datatype_vvvvwcg == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbo Some function
|
||||
function has_defaults_vvvvwbo_SomeFunc(has_defaults_vvvvwbo)
|
||||
// the vvvvwcg Some function
|
||||
function has_defaults_vvvvwcg_SomeFunc(has_defaults_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbo == 1)
|
||||
if (has_defaults_vvvvwcg == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbp function
|
||||
function vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp)
|
||||
// the vvvvwch function
|
||||
function vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch)
|
||||
{
|
||||
if (isSet(has_defaults_vvvvwbp) && has_defaults_vvvvwbp.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwch) && has_defaults_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbp = has_defaults_vvvvwbp;
|
||||
var has_defaults_vvvvwbp = [];
|
||||
has_defaults_vvvvwbp.push(temp_vvvvwbp);
|
||||
var temp_vvvvwch = has_defaults_vvvvwch;
|
||||
var has_defaults_vvvvwch = [];
|
||||
has_defaults_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbp))
|
||||
else if (!isSet(has_defaults_vvvvwch))
|
||||
{
|
||||
var has_defaults_vvvvwbp = [];
|
||||
var has_defaults_vvvvwch = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbp.some(has_defaults_vvvvwbp_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwch.some(has_defaults_vvvvwch_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwbp) && datatype_vvvvwbp.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwch) && datatype_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbp = datatype_vvvvwbp;
|
||||
var datatype_vvvvwbp = [];
|
||||
datatype_vvvvwbp.push(temp_vvvvwbp);
|
||||
var temp_vvvvwch = datatype_vvvvwch;
|
||||
var datatype_vvvvwch = [];
|
||||
datatype_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbp))
|
||||
else if (!isSet(datatype_vvvvwch))
|
||||
{
|
||||
var datatype_vvvvwbp = [];
|
||||
var datatype_vvvvwch = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbp.some(datatype_vvvvwbp_SomeFunc);
|
||||
var datatype = datatype_vvvvwch.some(datatype_vvvvwch_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -335,13 +335,13 @@ function vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp)
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwbpvxp_required)
|
||||
if (jform_vvvvwchvxs_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwbpvxp_required = false;
|
||||
jform_vvvvwchvxs_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -350,65 +350,65 @@ function vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp)
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwbpvxp_required)
|
||||
if (!jform_vvvvwchvxs_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwbpvxp_required = true;
|
||||
jform_vvvvwchvxs_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbp Some function
|
||||
function has_defaults_vvvvwbp_SomeFunc(has_defaults_vvvvwbp)
|
||||
// the vvvvwch Some function
|
||||
function has_defaults_vvvvwch_SomeFunc(has_defaults_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbp == 1)
|
||||
if (has_defaults_vvvvwch == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbp Some function
|
||||
function datatype_vvvvwbp_SomeFunc(datatype_vvvvwbp)
|
||||
// the vvvvwch Some function
|
||||
function datatype_vvvvwch_SomeFunc(datatype_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbp == 'CHAR' || datatype_vvvvwbp == 'VARCHAR' || datatype_vvvvwbp == 'DATETIME' || datatype_vvvvwbp == 'DATE' || datatype_vvvvwbp == 'TIME' || datatype_vvvvwbp == 'INT' || datatype_vvvvwbp == 'TINYINT' || datatype_vvvvwbp == 'BIGINT' || datatype_vvvvwbp == 'FLOAT' || datatype_vvvvwbp == 'DECIMAL' || datatype_vvvvwbp == 'DOUBLE')
|
||||
if (datatype_vvvvwch == 'CHAR' || datatype_vvvvwch == 'VARCHAR' || datatype_vvvvwch == 'DATETIME' || datatype_vvvvwch == 'DATE' || datatype_vvvvwch == 'TIME' || datatype_vvvvwch == 'INT' || datatype_vvvvwch == 'TINYINT' || datatype_vvvvwch == 'BIGINT' || datatype_vvvvwch == 'FLOAT' || datatype_vvvvwch == 'DECIMAL' || datatype_vvvvwch == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbq function
|
||||
function vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq)
|
||||
// the vvvvwci function
|
||||
function vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbq) && datatype_vvvvwbq.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwci) && datatype_vvvvwci.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbq = datatype_vvvvwbq;
|
||||
var datatype_vvvvwbq = [];
|
||||
datatype_vvvvwbq.push(temp_vvvvwbq);
|
||||
var temp_vvvvwci = datatype_vvvvwci;
|
||||
var datatype_vvvvwci = [];
|
||||
datatype_vvvvwci.push(temp_vvvvwci);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbq))
|
||||
else if (!isSet(datatype_vvvvwci))
|
||||
{
|
||||
var datatype_vvvvwbq = [];
|
||||
var datatype_vvvvwci = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbq.some(datatype_vvvvwbq_SomeFunc);
|
||||
var datatype = datatype_vvvvwci.some(datatype_vvvvwci_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbq) && has_defaults_vvvvwbq.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwci) && has_defaults_vvvvwci.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbq = has_defaults_vvvvwbq;
|
||||
var has_defaults_vvvvwbq = [];
|
||||
has_defaults_vvvvwbq.push(temp_vvvvwbq);
|
||||
var temp_vvvvwci = has_defaults_vvvvwci;
|
||||
var has_defaults_vvvvwci = [];
|
||||
has_defaults_vvvvwci.push(temp_vvvvwci);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbq))
|
||||
else if (!isSet(has_defaults_vvvvwci))
|
||||
{
|
||||
var has_defaults_vvvvwbq = [];
|
||||
var has_defaults_vvvvwci = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbq.some(has_defaults_vvvvwbq_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwci.some(has_defaults_vvvvwci_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -416,90 +416,90 @@ function vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq)
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').show();
|
||||
// add required attribute to store field
|
||||
if (jform_vvvvwbqvxq_required)
|
||||
if (jform_vvvvwcivxt_required)
|
||||
{
|
||||
updateFieldRequired('store',0);
|
||||
jQuery('#jform_store').prop('required','required');
|
||||
jQuery('#jform_store').attr('aria-required',true);
|
||||
jQuery('#jform_store').addClass('required');
|
||||
jform_vvvvwbqvxq_required = false;
|
||||
jform_vvvvwcivxt_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_store').closest('.control-group').hide();
|
||||
// remove required attribute from store field
|
||||
if (!jform_vvvvwbqvxq_required)
|
||||
if (!jform_vvvvwcivxt_required)
|
||||
{
|
||||
updateFieldRequired('store',1);
|
||||
jQuery('#jform_store').removeAttr('required');
|
||||
jQuery('#jform_store').removeAttr('aria-required');
|
||||
jQuery('#jform_store').removeClass('required');
|
||||
jform_vvvvwbqvxq_required = true;
|
||||
jform_vvvvwcivxt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbq Some function
|
||||
function datatype_vvvvwbq_SomeFunc(datatype_vvvvwbq)
|
||||
// the vvvvwci Some function
|
||||
function datatype_vvvvwci_SomeFunc(datatype_vvvvwci)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbq == 'CHAR' || datatype_vvvvwbq == 'VARCHAR' || datatype_vvvvwbq == 'TEXT' || datatype_vvvvwbq == 'MEDIUMTEXT' || datatype_vvvvwbq == 'LONGTEXT' || datatype_vvvvwbq == 'BLOB' || datatype_vvvvwbq == 'TINYBLOB' || datatype_vvvvwbq == 'MEDIUMBLOB' || datatype_vvvvwbq == 'LONGBLOB')
|
||||
if (datatype_vvvvwci == 'CHAR' || datatype_vvvvwci == 'VARCHAR' || datatype_vvvvwci == 'TEXT' || datatype_vvvvwci == 'MEDIUMTEXT' || datatype_vvvvwci == 'LONGTEXT' || datatype_vvvvwci == 'BLOB' || datatype_vvvvwci == 'TINYBLOB' || datatype_vvvvwci == 'MEDIUMBLOB' || datatype_vvvvwci == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbq Some function
|
||||
function has_defaults_vvvvwbq_SomeFunc(has_defaults_vvvvwbq)
|
||||
// the vvvvwci Some function
|
||||
function has_defaults_vvvvwci_SomeFunc(has_defaults_vvvvwci)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbq == 1)
|
||||
if (has_defaults_vvvvwci == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbs function
|
||||
function vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs)
|
||||
// the vvvvwck function
|
||||
function vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck)
|
||||
{
|
||||
if (isSet(store_vvvvwbs) && store_vvvvwbs.constructor !== Array)
|
||||
if (isSet(store_vvvvwck) && store_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbs = store_vvvvwbs;
|
||||
var store_vvvvwbs = [];
|
||||
store_vvvvwbs.push(temp_vvvvwbs);
|
||||
var temp_vvvvwck = store_vvvvwck;
|
||||
var store_vvvvwck = [];
|
||||
store_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(store_vvvvwbs))
|
||||
else if (!isSet(store_vvvvwck))
|
||||
{
|
||||
var store_vvvvwbs = [];
|
||||
var store_vvvvwck = [];
|
||||
}
|
||||
var store = store_vvvvwbs.some(store_vvvvwbs_SomeFunc);
|
||||
var store = store_vvvvwck.some(store_vvvvwck_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwbs) && datatype_vvvvwbs.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwck) && datatype_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbs = datatype_vvvvwbs;
|
||||
var datatype_vvvvwbs = [];
|
||||
datatype_vvvvwbs.push(temp_vvvvwbs);
|
||||
var temp_vvvvwck = datatype_vvvvwck;
|
||||
var datatype_vvvvwck = [];
|
||||
datatype_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbs))
|
||||
else if (!isSet(datatype_vvvvwck))
|
||||
{
|
||||
var datatype_vvvvwbs = [];
|
||||
var datatype_vvvvwck = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbs.some(datatype_vvvvwbs_SomeFunc);
|
||||
var datatype = datatype_vvvvwck.some(datatype_vvvvwck_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbs) && has_defaults_vvvvwbs.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwck) && has_defaults_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbs = has_defaults_vvvvwbs;
|
||||
var has_defaults_vvvvwbs = [];
|
||||
has_defaults_vvvvwbs.push(temp_vvvvwbs);
|
||||
var temp_vvvvwck = has_defaults_vvvvwck;
|
||||
var has_defaults_vvvvwck = [];
|
||||
has_defaults_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbs))
|
||||
else if (!isSet(has_defaults_vvvvwck))
|
||||
{
|
||||
var has_defaults_vvvvwbs = [];
|
||||
var has_defaults_vvvvwck = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbs.some(has_defaults_vvvvwbs_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwck.some(has_defaults_vvvvwck_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -513,77 +513,77 @@ function vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbs Some function
|
||||
function store_vvvvwbs_SomeFunc(store_vvvvwbs)
|
||||
// the vvvvwck Some function
|
||||
function store_vvvvwck_SomeFunc(store_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwbs == 4)
|
||||
if (store_vvvvwck == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbs Some function
|
||||
function datatype_vvvvwbs_SomeFunc(datatype_vvvvwbs)
|
||||
// the vvvvwck Some function
|
||||
function datatype_vvvvwck_SomeFunc(datatype_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbs == 'CHAR' || datatype_vvvvwbs == 'VARCHAR' || datatype_vvvvwbs == 'TEXT' || datatype_vvvvwbs == 'MEDIUMTEXT' || datatype_vvvvwbs == 'LONGTEXT' || datatype_vvvvwbs == 'BLOB' || datatype_vvvvwbs == 'TINYBLOB' || datatype_vvvvwbs == 'MEDIUMBLOB' || datatype_vvvvwbs == 'LONGBLOB')
|
||||
if (datatype_vvvvwck == 'CHAR' || datatype_vvvvwck == 'VARCHAR' || datatype_vvvvwck == 'TEXT' || datatype_vvvvwck == 'MEDIUMTEXT' || datatype_vvvvwck == 'LONGTEXT' || datatype_vvvvwck == 'BLOB' || datatype_vvvvwck == 'TINYBLOB' || datatype_vvvvwck == 'MEDIUMBLOB' || datatype_vvvvwck == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbs Some function
|
||||
function has_defaults_vvvvwbs_SomeFunc(has_defaults_vvvvwbs)
|
||||
// the vvvvwck Some function
|
||||
function has_defaults_vvvvwck_SomeFunc(has_defaults_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbs == 1)
|
||||
if (has_defaults_vvvvwck == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbt function
|
||||
function vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt)
|
||||
// the vvvvwcl function
|
||||
function vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl)
|
||||
{
|
||||
if (isSet(datatype_vvvvwbt) && datatype_vvvvwbt.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwcl) && datatype_vvvvwcl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = datatype_vvvvwbt;
|
||||
var datatype_vvvvwbt = [];
|
||||
datatype_vvvvwbt.push(temp_vvvvwbt);
|
||||
var temp_vvvvwcl = datatype_vvvvwcl;
|
||||
var datatype_vvvvwcl = [];
|
||||
datatype_vvvvwcl.push(temp_vvvvwcl);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbt))
|
||||
else if (!isSet(datatype_vvvvwcl))
|
||||
{
|
||||
var datatype_vvvvwbt = [];
|
||||
var datatype_vvvvwcl = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbt.some(datatype_vvvvwbt_SomeFunc);
|
||||
var datatype = datatype_vvvvwcl.some(datatype_vvvvwcl_SomeFunc);
|
||||
|
||||
if (isSet(store_vvvvwbt) && store_vvvvwbt.constructor !== Array)
|
||||
if (isSet(store_vvvvwcl) && store_vvvvwcl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = store_vvvvwbt;
|
||||
var store_vvvvwbt = [];
|
||||
store_vvvvwbt.push(temp_vvvvwbt);
|
||||
var temp_vvvvwcl = store_vvvvwcl;
|
||||
var store_vvvvwcl = [];
|
||||
store_vvvvwcl.push(temp_vvvvwcl);
|
||||
}
|
||||
else if (!isSet(store_vvvvwbt))
|
||||
else if (!isSet(store_vvvvwcl))
|
||||
{
|
||||
var store_vvvvwbt = [];
|
||||
var store_vvvvwcl = [];
|
||||
}
|
||||
var store = store_vvvvwbt.some(store_vvvvwbt_SomeFunc);
|
||||
var store = store_vvvvwcl.some(store_vvvvwcl_SomeFunc);
|
||||
|
||||
if (isSet(has_defaults_vvvvwbt) && has_defaults_vvvvwbt.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwcl) && has_defaults_vvvvwcl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbt = has_defaults_vvvvwbt;
|
||||
var has_defaults_vvvvwbt = [];
|
||||
has_defaults_vvvvwbt.push(temp_vvvvwbt);
|
||||
var temp_vvvvwcl = has_defaults_vvvvwcl;
|
||||
var has_defaults_vvvvwcl = [];
|
||||
has_defaults_vvvvwcl.push(temp_vvvvwcl);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbt))
|
||||
else if (!isSet(has_defaults_vvvvwcl))
|
||||
{
|
||||
var has_defaults_vvvvwbt = [];
|
||||
var has_defaults_vvvvwcl = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbt.some(has_defaults_vvvvwbt_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwcl.some(has_defaults_vvvvwcl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -597,77 +597,77 @@ function vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbt Some function
|
||||
function datatype_vvvvwbt_SomeFunc(datatype_vvvvwbt)
|
||||
// the vvvvwcl Some function
|
||||
function datatype_vvvvwcl_SomeFunc(datatype_vvvvwcl)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbt == 'CHAR' || datatype_vvvvwbt == 'VARCHAR' || datatype_vvvvwbt == 'TEXT' || datatype_vvvvwbt == 'MEDIUMTEXT' || datatype_vvvvwbt == 'LONGTEXT' || datatype_vvvvwbt == 'BLOB' || datatype_vvvvwbt == 'TINYBLOB' || datatype_vvvvwbt == 'MEDIUMBLOB' || datatype_vvvvwbt == 'LONGBLOB')
|
||||
if (datatype_vvvvwcl == 'CHAR' || datatype_vvvvwcl == 'VARCHAR' || datatype_vvvvwcl == 'TEXT' || datatype_vvvvwcl == 'MEDIUMTEXT' || datatype_vvvvwcl == 'LONGTEXT' || datatype_vvvvwcl == 'BLOB' || datatype_vvvvwcl == 'TINYBLOB' || datatype_vvvvwcl == 'MEDIUMBLOB' || datatype_vvvvwcl == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbt Some function
|
||||
function store_vvvvwbt_SomeFunc(store_vvvvwbt)
|
||||
// the vvvvwcl Some function
|
||||
function store_vvvvwcl_SomeFunc(store_vvvvwcl)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwbt == 4)
|
||||
if (store_vvvvwcl == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbt Some function
|
||||
function has_defaults_vvvvwbt_SomeFunc(has_defaults_vvvvwbt)
|
||||
// the vvvvwcl Some function
|
||||
function has_defaults_vvvvwcl_SomeFunc(has_defaults_vvvvwcl)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbt == 1)
|
||||
if (has_defaults_vvvvwcl == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu function
|
||||
function vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu)
|
||||
// the vvvvwcm function
|
||||
function vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm)
|
||||
{
|
||||
if (isSet(has_defaults_vvvvwbu) && has_defaults_vvvvwbu.constructor !== Array)
|
||||
if (isSet(has_defaults_vvvvwcm) && has_defaults_vvvvwcm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = has_defaults_vvvvwbu;
|
||||
var has_defaults_vvvvwbu = [];
|
||||
has_defaults_vvvvwbu.push(temp_vvvvwbu);
|
||||
var temp_vvvvwcm = has_defaults_vvvvwcm;
|
||||
var has_defaults_vvvvwcm = [];
|
||||
has_defaults_vvvvwcm.push(temp_vvvvwcm);
|
||||
}
|
||||
else if (!isSet(has_defaults_vvvvwbu))
|
||||
else if (!isSet(has_defaults_vvvvwcm))
|
||||
{
|
||||
var has_defaults_vvvvwbu = [];
|
||||
var has_defaults_vvvvwcm = [];
|
||||
}
|
||||
var has_defaults = has_defaults_vvvvwbu.some(has_defaults_vvvvwbu_SomeFunc);
|
||||
var has_defaults = has_defaults_vvvvwcm.some(has_defaults_vvvvwcm_SomeFunc);
|
||||
|
||||
if (isSet(store_vvvvwbu) && store_vvvvwbu.constructor !== Array)
|
||||
if (isSet(store_vvvvwcm) && store_vvvvwcm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = store_vvvvwbu;
|
||||
var store_vvvvwbu = [];
|
||||
store_vvvvwbu.push(temp_vvvvwbu);
|
||||
var temp_vvvvwcm = store_vvvvwcm;
|
||||
var store_vvvvwcm = [];
|
||||
store_vvvvwcm.push(temp_vvvvwcm);
|
||||
}
|
||||
else if (!isSet(store_vvvvwbu))
|
||||
else if (!isSet(store_vvvvwcm))
|
||||
{
|
||||
var store_vvvvwbu = [];
|
||||
var store_vvvvwcm = [];
|
||||
}
|
||||
var store = store_vvvvwbu.some(store_vvvvwbu_SomeFunc);
|
||||
var store = store_vvvvwcm.some(store_vvvvwcm_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwbu) && datatype_vvvvwbu.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwcm) && datatype_vvvvwcm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbu = datatype_vvvvwbu;
|
||||
var datatype_vvvvwbu = [];
|
||||
datatype_vvvvwbu.push(temp_vvvvwbu);
|
||||
var temp_vvvvwcm = datatype_vvvvwcm;
|
||||
var datatype_vvvvwcm = [];
|
||||
datatype_vvvvwcm.push(temp_vvvvwcm);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwbu))
|
||||
else if (!isSet(datatype_vvvvwcm))
|
||||
{
|
||||
var datatype_vvvvwbu = [];
|
||||
var datatype_vvvvwcm = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwbu.some(datatype_vvvvwbu_SomeFunc);
|
||||
var datatype = datatype_vvvvwcm.some(datatype_vvvvwcm_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -681,87 +681,87 @@ function vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbu Some function
|
||||
function has_defaults_vvvvwbu_SomeFunc(has_defaults_vvvvwbu)
|
||||
// the vvvvwcm Some function
|
||||
function has_defaults_vvvvwcm_SomeFunc(has_defaults_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbu == 1)
|
||||
if (has_defaults_vvvvwcm == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu Some function
|
||||
function store_vvvvwbu_SomeFunc(store_vvvvwbu)
|
||||
// the vvvvwcm Some function
|
||||
function store_vvvvwcm_SomeFunc(store_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwbu == 4)
|
||||
if (store_vvvvwcm == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbu Some function
|
||||
function datatype_vvvvwbu_SomeFunc(datatype_vvvvwbu)
|
||||
// the vvvvwcm Some function
|
||||
function datatype_vvvvwcm_SomeFunc(datatype_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwbu == 'CHAR' || datatype_vvvvwbu == 'VARCHAR' || datatype_vvvvwbu == 'TEXT' || datatype_vvvvwbu == 'MEDIUMTEXT' || datatype_vvvvwbu == 'LONGTEXT' || datatype_vvvvwbu == 'BLOB' || datatype_vvvvwbu == 'TINYBLOB' || datatype_vvvvwbu == 'MEDIUMBLOB' || datatype_vvvvwbu == 'LONGBLOB')
|
||||
if (datatype_vvvvwcm == 'CHAR' || datatype_vvvvwcm == 'VARCHAR' || datatype_vvvvwcm == 'TEXT' || datatype_vvvvwcm == 'MEDIUMTEXT' || datatype_vvvvwcm == 'LONGTEXT' || datatype_vvvvwcm == 'BLOB' || datatype_vvvvwcm == 'TINYBLOB' || datatype_vvvvwcm == 'MEDIUMBLOB' || datatype_vvvvwcm == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbv function
|
||||
function vvvvwbv(has_defaults_vvvvwbv)
|
||||
// the vvvvwcn function
|
||||
function vvvvwcn(has_defaults_vvvvwcn)
|
||||
{
|
||||
// set the function logic
|
||||
if (has_defaults_vvvvwbv == 1)
|
||||
if (has_defaults_vvvvwcn == 1)
|
||||
{
|
||||
jQuery('#jform_datatype').closest('.control-group').show();
|
||||
// add required attribute to datatype field
|
||||
if (jform_vvvvwbvvxr_required)
|
||||
if (jform_vvvvwcnvxu_required)
|
||||
{
|
||||
updateFieldRequired('datatype',0);
|
||||
jQuery('#jform_datatype').prop('required','required');
|
||||
jQuery('#jform_datatype').attr('aria-required',true);
|
||||
jQuery('#jform_datatype').addClass('required');
|
||||
jform_vvvvwbvvxr_required = false;
|
||||
jform_vvvvwcnvxu_required = false;
|
||||
}
|
||||
jQuery('#jform_null_switch').closest('.control-group').show();
|
||||
// add required attribute to null_switch field
|
||||
if (jform_vvvvwbvvxs_required)
|
||||
if (jform_vvvvwcnvxv_required)
|
||||
{
|
||||
updateFieldRequired('null_switch',0);
|
||||
jQuery('#jform_null_switch').prop('required','required');
|
||||
jQuery('#jform_null_switch').attr('aria-required',true);
|
||||
jQuery('#jform_null_switch').addClass('required');
|
||||
jform_vvvvwbvvxs_required = false;
|
||||
jform_vvvvwcnvxv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datatype').closest('.control-group').hide();
|
||||
// remove required attribute from datatype field
|
||||
if (!jform_vvvvwbvvxr_required)
|
||||
if (!jform_vvvvwcnvxu_required)
|
||||
{
|
||||
updateFieldRequired('datatype',1);
|
||||
jQuery('#jform_datatype').removeAttr('required');
|
||||
jQuery('#jform_datatype').removeAttr('aria-required');
|
||||
jQuery('#jform_datatype').removeClass('required');
|
||||
jform_vvvvwbvvxr_required = true;
|
||||
jform_vvvvwcnvxu_required = true;
|
||||
}
|
||||
jQuery('#jform_null_switch').closest('.control-group').hide();
|
||||
// remove required attribute from null_switch field
|
||||
if (!jform_vvvvwbvvxs_required)
|
||||
if (!jform_vvvvwcnvxv_required)
|
||||
{
|
||||
updateFieldRequired('null_switch',1);
|
||||
jQuery('#jform_null_switch').removeAttr('required');
|
||||
jQuery('#jform_null_switch').removeAttr('aria-required');
|
||||
jQuery('#jform_null_switch').removeClass('required');
|
||||
jform_vvvvwbvvxs_required = true;
|
||||
jform_vvvvwcnvxv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,112 +9,112 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcgvye_required = false;
|
||||
jform_vvvvwchvyf_required = false;
|
||||
jform_vvvvwcivyg_required = false;
|
||||
jform_vvvvwcjvyh_required = false;
|
||||
jform_vvvvwclvyi_required = false;
|
||||
jform_vvvvwcyvyh_required = false;
|
||||
jform_vvvvwczvyi_required = false;
|
||||
jform_vvvvwdavyj_required = false;
|
||||
jform_vvvvwdbvyk_required = false;
|
||||
jform_vvvvwddvyl_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcg(location_vvvvwcg);
|
||||
var location_vvvvwcy = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcy(location_vvvvwcy);
|
||||
|
||||
var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwch(location_vvvvwch);
|
||||
var location_vvvvwcz = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcz(location_vvvvwcz);
|
||||
|
||||
var type_vvvvwci = jQuery("#jform_type").val();
|
||||
vvvvwci(type_vvvvwci);
|
||||
var type_vvvvwda = jQuery("#jform_type").val();
|
||||
vvvvwda(type_vvvvwda);
|
||||
|
||||
var type_vvvvwcj = jQuery("#jform_type").val();
|
||||
vvvvwcj(type_vvvvwcj);
|
||||
var type_vvvvwdb = jQuery("#jform_type").val();
|
||||
vvvvwdb(type_vvvvwdb);
|
||||
|
||||
var type_vvvvwck = jQuery("#jform_type").val();
|
||||
vvvvwck(type_vvvvwck);
|
||||
var type_vvvvwdc = jQuery("#jform_type").val();
|
||||
vvvvwdc(type_vvvvwdc);
|
||||
|
||||
var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcl(target_vvvvwcl);
|
||||
var target_vvvvwdd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwdd(target_vvvvwdd);
|
||||
});
|
||||
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(location_vvvvwcg)
|
||||
// the vvvvwcy function
|
||||
function vvvvwcy(location_vvvvwcy)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwcg == 1)
|
||||
if (location_vvvvwcy == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
// add required attribute to admin_view field
|
||||
if (jform_vvvvwcgvye_required)
|
||||
if (jform_vvvvwcyvyh_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_vvvvwcgvye_required = false;
|
||||
jform_vvvvwcyvyh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
// remove required attribute from admin_view field
|
||||
if (!jform_vvvvwcgvye_required)
|
||||
if (!jform_vvvvwcyvyh_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_vvvvwcgvye_required = true;
|
||||
jform_vvvvwcyvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwch function
|
||||
function vvvvwch(location_vvvvwch)
|
||||
// the vvvvwcz function
|
||||
function vvvvwcz(location_vvvvwcz)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwch == 2)
|
||||
if (location_vvvvwcz == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
// add required attribute to site_view field
|
||||
if (jform_vvvvwchvyf_required)
|
||||
if (jform_vvvvwczvyi_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_vvvvwchvyf_required = false;
|
||||
jform_vvvvwczvyi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
// remove required attribute from site_view field
|
||||
if (!jform_vvvvwchvyf_required)
|
||||
if (!jform_vvvvwczvyi_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_vvvvwchvyf_required = true;
|
||||
jform_vvvvwczvyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwci function
|
||||
function vvvvwci(type_vvvvwci)
|
||||
// the vvvvwda function
|
||||
function vvvvwda(type_vvvvwda)
|
||||
{
|
||||
if (isSet(type_vvvvwci) && type_vvvvwci.constructor !== Array)
|
||||
if (isSet(type_vvvvwda) && type_vvvvwda.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwci = type_vvvvwci;
|
||||
var type_vvvvwci = [];
|
||||
type_vvvvwci.push(temp_vvvvwci);
|
||||
var temp_vvvvwda = type_vvvvwda;
|
||||
var type_vvvvwda = [];
|
||||
type_vvvvwda.push(temp_vvvvwda);
|
||||
}
|
||||
else if (!isSet(type_vvvvwci))
|
||||
else if (!isSet(type_vvvvwda))
|
||||
{
|
||||
var type_vvvvwci = [];
|
||||
var type_vvvvwda = [];
|
||||
}
|
||||
var type = type_vvvvwci.some(type_vvvvwci_SomeFunc);
|
||||
var type = type_vvvvwda.some(type_vvvvwda_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -122,55 +122,55 @@ function vvvvwci(type_vvvvwci)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwcivyg_required)
|
||||
if (jform_vvvvwdavyj_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwcivyg_required = false;
|
||||
jform_vvvvwdavyj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwcivyg_required)
|
||||
if (!jform_vvvvwdavyj_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwcivyg_required = true;
|
||||
jform_vvvvwdavyj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwci Some function
|
||||
function type_vvvvwci_SomeFunc(type_vvvvwci)
|
||||
// the vvvvwda Some function
|
||||
function type_vvvvwda_SomeFunc(type_vvvvwda)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwci == 3)
|
||||
if (type_vvvvwda == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcj function
|
||||
function vvvvwcj(type_vvvvwcj)
|
||||
// the vvvvwdb function
|
||||
function vvvvwdb(type_vvvvwdb)
|
||||
{
|
||||
if (isSet(type_vvvvwcj) && type_vvvvwcj.constructor !== Array)
|
||||
if (isSet(type_vvvvwdb) && type_vvvvwdb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcj = type_vvvvwcj;
|
||||
var type_vvvvwcj = [];
|
||||
type_vvvvwcj.push(temp_vvvvwcj);
|
||||
var temp_vvvvwdb = type_vvvvwdb;
|
||||
var type_vvvvwdb = [];
|
||||
type_vvvvwdb.push(temp_vvvvwdb);
|
||||
}
|
||||
else if (!isSet(type_vvvvwcj))
|
||||
else if (!isSet(type_vvvvwdb))
|
||||
{
|
||||
var type_vvvvwcj = [];
|
||||
var type_vvvvwdb = [];
|
||||
}
|
||||
var type = type_vvvvwcj.some(type_vvvvwcj_SomeFunc);
|
||||
var type = type_vvvvwdb.some(type_vvvvwdb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -178,55 +178,55 @@ function vvvvwcj(type_vvvvwcj)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwcjvyh_required)
|
||||
if (jform_vvvvwdbvyk_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwcjvyh_required = false;
|
||||
jform_vvvvwdbvyk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwcjvyh_required)
|
||||
if (!jform_vvvvwdbvyk_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwcjvyh_required = true;
|
||||
jform_vvvvwdbvyk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcj Some function
|
||||
function type_vvvvwcj_SomeFunc(type_vvvvwcj)
|
||||
// the vvvvwdb Some function
|
||||
function type_vvvvwdb_SomeFunc(type_vvvvwdb)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwcj == 1)
|
||||
if (type_vvvvwdb == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwck function
|
||||
function vvvvwck(type_vvvvwck)
|
||||
// the vvvvwdc function
|
||||
function vvvvwdc(type_vvvvwdc)
|
||||
{
|
||||
if (isSet(type_vvvvwck) && type_vvvvwck.constructor !== Array)
|
||||
if (isSet(type_vvvvwdc) && type_vvvvwdc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwck = type_vvvvwck;
|
||||
var type_vvvvwck = [];
|
||||
type_vvvvwck.push(temp_vvvvwck);
|
||||
var temp_vvvvwdc = type_vvvvwdc;
|
||||
var type_vvvvwdc = [];
|
||||
type_vvvvwdc.push(temp_vvvvwdc);
|
||||
}
|
||||
else if (!isSet(type_vvvvwck))
|
||||
else if (!isSet(type_vvvvwdc))
|
||||
{
|
||||
var type_vvvvwck = [];
|
||||
var type_vvvvwdc = [];
|
||||
}
|
||||
var type = type_vvvvwck.some(type_vvvvwck_SomeFunc);
|
||||
var type = type_vvvvwdc.some(type_vvvvwdc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -240,45 +240,45 @@ function vvvvwck(type_vvvvwck)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwck Some function
|
||||
function type_vvvvwck_SomeFunc(type_vvvvwck)
|
||||
// the vvvvwdc Some function
|
||||
function type_vvvvwdc_SomeFunc(type_vvvvwdc)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwck == 2)
|
||||
if (type_vvvvwdc == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl function
|
||||
function vvvvwcl(target_vvvvwcl)
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(target_vvvvwdd)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcl == 1)
|
||||
if (target_vvvvwdd == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
// add required attribute to groups field
|
||||
if (jform_vvvvwclvyi_required)
|
||||
if (jform_vvvvwddvyl_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwclvyi_required = false;
|
||||
jform_vvvvwddvyl_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
// remove required attribute from groups field
|
||||
if (!jform_vvvvwclvyi_required)
|
||||
if (!jform_vvvvwddvyl_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwclvyi_required = true;
|
||||
jform_vvvvwddvyl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,9 @@
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvxevwd_required = false;
|
||||
jform_vvvvvxsvwe_required = false;
|
||||
jform_vvvvvxtvwf_required = false;
|
||||
jform_vvvvvxuvwg_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
@ -28,6 +31,58 @@ jQuery(document).ready(function()
|
||||
var add_head_vvvvvxe = jQuery("#jform_add_head input[type='radio']:checked").val();
|
||||
var class_extends_vvvvvxe = jQuery("#jform_class_extends").val();
|
||||
vvvvvxe(add_head_vvvvvxe,class_extends_vvvvvxe);
|
||||
|
||||
var add_php_preflight_install_vvvvvxg = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvxg(add_php_preflight_install_vvvvvxg);
|
||||
|
||||
var add_php_preflight_update_vvvvvxh = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvxh(add_php_preflight_update_vvvvvxh);
|
||||
|
||||
var add_php_preflight_uninstall_vvvvvxi = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxi(add_php_preflight_uninstall_vvvvvxi);
|
||||
|
||||
var add_php_postflight_install_vvvvvxj = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_postflight_install_vvvvvxj);
|
||||
|
||||
var add_php_postflight_update_vvvvvxk = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_postflight_update_vvvvvxk);
|
||||
|
||||
var add_php_method_uninstall_vvvvvxl = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxl(add_php_method_uninstall_vvvvvxl);
|
||||
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm);
|
||||
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn);
|
||||
|
||||
var update_server_target_vvvvvxo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo);
|
||||
|
||||
var update_server_target_vvvvvxq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq);
|
||||
|
||||
var add_update_server_vvvvvxs = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxs(add_update_server_vvvvvxs);
|
||||
|
||||
var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvxt(add_sql_vvvvvxt);
|
||||
|
||||
var add_sql_uninstall_vvvvvxu = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxu(add_sql_uninstall_vvvvvxu);
|
||||
|
||||
var add_update_server_vvvvvxv = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxv(add_update_server_vvvvvxv);
|
||||
|
||||
var add_sales_server_vvvvvxw = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvxw(add_sales_server_vvvvvxw);
|
||||
|
||||
var addreadme_vvvvvxx = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvxx(addreadme_vvvvvxx);
|
||||
});
|
||||
|
||||
// the vvvvvxb function
|
||||
@ -277,6 +332,288 @@ function class_extends_vvvvvxe_SomeFunc(class_extends_vvvvvxe)
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxg function
|
||||
function vvvvvxg(add_php_preflight_install_vvvvvxg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvxg == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxh function
|
||||
function vvvvvxh(add_php_preflight_update_vvvvvxh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvxh == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxi function
|
||||
function vvvvvxi(add_php_preflight_uninstall_vvvvvxi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_uninstall_vvvvvxi == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxj function
|
||||
function vvvvvxj(add_php_postflight_install_vvvvvxj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvxj == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxk function
|
||||
function vvvvvxk(add_php_postflight_update_vvvvvxk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvxk == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxl function
|
||||
function vvvvvxl(add_php_method_uninstall_vvvvvxl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvxl == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxm function
|
||||
function vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxm == 1 && add_update_server_vvvvvxm == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxn function
|
||||
function vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxn == 1 && update_server_target_vvvvvxn == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').hide();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxo function
|
||||
function vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxo == 2 && add_update_server_vvvvvxo == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxq function
|
||||
function vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxq == 3 && add_update_server_vvvvvxq == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxs function
|
||||
function vvvvvxs(add_update_server_vvvvvxs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxs == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
// add required attribute to update_server_target field
|
||||
if (jform_vvvvvxsvwe_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvxsvwe_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
// remove required attribute from update_server_target field
|
||||
if (!jform_vvvvvxsvwe_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvxsvwe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxt function
|
||||
function vvvvvxt(add_sql_vvvvvxt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvxt == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvxtvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvxtvwf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvxtvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvxtvwf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxu function
|
||||
function vvvvvxu(add_sql_uninstall_vvvvvxu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_uninstall_vvvvvxu == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
// add required attribute to sql_uninstall field
|
||||
if (jform_vvvvvxuvwg_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvxuvwg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
// remove required attribute from sql_uninstall field
|
||||
if (!jform_vvvvvxuvwg_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||
jform_vvvvvxuvwg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxv function
|
||||
function vvvvvxv(add_update_server_vvvvvxv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxv == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxw function
|
||||
function vvvvvxw(add_sales_server_vvvvvxw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvxw == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxx function
|
||||
function vvvvvxx(addreadme_vvvvvxx)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvxx == 1)
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// update required fields
|
||||
function updateFieldRequired(name,status)
|
||||
{
|
||||
|
@ -121,80 +121,96 @@
|
||||
required="true"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Fields Field. Type: Subform. (joomla) -->
|
||||
<!-- Sql_uninstall Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="fields"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELDS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
buttons="add,remove,move"
|
||||
icon="list"
|
||||
max="50">
|
||||
<form hidden="true" name="list_fields_modal" repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom) -->
|
||||
<field
|
||||
type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_DESCRIPTION"
|
||||
class="list_class fieldFull"
|
||||
multiple="false"
|
||||
default=""
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Main_class_code Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="main_class_code"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MAIN_CLASS_CODE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MAIN_CLASS_CODE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="800px"
|
||||
cols="40"
|
||||
rows="300"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Head Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="head"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
type="textarea"
|
||||
name="sql_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
rows="10"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_UNINSTALL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Sql Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="sql"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_LABEL"
|
||||
rows="30"
|
||||
cols="15"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="raw"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SQL_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Php_method_uninstall Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_method_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_METHOD_UNINSTALL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_METHOD_UNINSTALL_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_postflight_update Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_UPDATE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Php_postflight_install Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_POSTFLIGHT_INSTALL_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Add_sales_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_sales_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SALES_SERVER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Note_update_server_note_ftp Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_ftp" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_FTP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_FTP_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_ftp" />
|
||||
<!-- Method_selection Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
@ -263,6 +279,68 @@
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Readme Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="readme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README_LABEL"
|
||||
default="You can use all the normal markdown, including the place-holders."
|
||||
width="100%"
|
||||
height="1200px"
|
||||
buttons="false"
|
||||
editor="none"
|
||||
filter="raw"
|
||||
/>
|
||||
<!-- Update_server_url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="update_server_url"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_LABEL"
|
||||
size="60"
|
||||
maxlength="150"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_URL_HINT"
|
||||
/>
|
||||
<!-- Head Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="head"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_HEAD_DESCRIPTION"
|
||||
width="100%"
|
||||
height="100px"
|
||||
cols="15"
|
||||
rows="10"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="false"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Note_update_server_note_other Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_update_server_note_other" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_OTHER_DESCRIPTION" heading="h4" class="alert alert-success note_update_server_note_other" />
|
||||
<!-- Main_class_code Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="main_class_code"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MAIN_CLASS_CODE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MAIN_CLASS_CODE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="800px"
|
||||
cols="40"
|
||||
rows="300"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Name Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
@ -279,6 +357,281 @@
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NAME_HINT"
|
||||
/>
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Add_php_postflight_update Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_UPDATE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Not_required Field. Type: Hidden. (joomla) -->
|
||||
<field
|
||||
type="hidden"
|
||||
name="not_required"
|
||||
default="[]"
|
||||
/>
|
||||
<!-- Add_php_method_uninstall Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_method_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_METHOD_UNINSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Fields Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="fields"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELDS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
buttons="add,remove,move"
|
||||
icon="list"
|
||||
max="50">
|
||||
<form hidden="true" name="list_fields_modal" repeat="true">
|
||||
<!-- Field Field. Type: Fields. (custom) -->
|
||||
<field
|
||||
type="fields"
|
||||
name="field"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FIELD_DESCRIPTION"
|
||||
class="list_class fieldFull"
|
||||
multiple="false"
|
||||
default=""
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Custom_value Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="custom_value"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_LABEL"
|
||||
rows="2"
|
||||
cols="4"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_DESCRIPTION"
|
||||
class="text_area"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_CUSTOM_VALUE_HINT"
|
||||
required="false"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Add_sql Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_sql"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_preflight_install Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Add_sql_uninstall Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_sql_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_SQL_UNINSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Php_preflight_install Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_preflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_INSTALL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_INSTALL_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Addreadme Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addreadme"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADDREADME_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_preflight_update Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_preflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UPDATE_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Add_update_server Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_update_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_UPDATE_SERVER_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Php_preflight_update Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_preflight_update"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UPDATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UPDATE_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Update_server_target Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="update_server_target"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_TARGET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_TARGET_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="1"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SERVER</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ZIP</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_OTHER</option>
|
||||
</field>
|
||||
<!-- Add_php_preflight_uninstall Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_preflight_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_PREFLIGHT_UNINSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- 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_PLUGIN_NOTE_UPDATE_SERVER_NOTE_ZIP_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_UPDATE_SERVER_NOTE_ZIP_DESCRIPTION" heading="h4" class="alert alert-info note_update_server_note_zip" />
|
||||
<!-- Php_preflight_uninstall Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_preflight_uninstall"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UNINSTALL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_PHP_PREFLIGHT_UNINSTALL_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Update_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
name="update_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_UPDATE_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Add_php_postflight_install Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_postflight_install"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_ADD_PHP_POSTFLIGHT_INSTALL_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NO</option>
|
||||
</field>
|
||||
<!-- Sales_server Field. Type: Servers. (custom) -->
|
||||
<field
|
||||
type="servers"
|
||||
name="sales_server"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SALES_SERVER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
button="true"
|
||||
/>
|
||||
<!-- Note_beta_stage Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_beta_stage" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_NOTE_BETA_STAGE_DESCRIPTION" heading="h4" class="alert alert-warning note_beta_stage" />
|
||||
</fieldset>
|
||||
|
11
admin/models/forms/joomla_plugin_files_folders_urls.js
Normal file
11
admin/models/forms/joomla_plugin_files_folders_urls.js
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
|
390
admin/models/forms/joomla_plugin_files_folders_urls.xml
Normal file
390
admin/models/forms/joomla_plugin_files_folders_urls.xml
Normal file
@ -0,0 +1,390 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<form
|
||||
addrulepath="/administrator/components/com_componentbuilder/models/rules"
|
||||
addfieldpath="/administrator/components/com_componentbuilder/models/fields"
|
||||
>
|
||||
<fieldset name="details">
|
||||
<!-- Default Fields. -->
|
||||
<!-- Id Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="id"
|
||||
type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
|
||||
description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
|
||||
readonly="true"
|
||||
/>
|
||||
<!-- Date Created Field. Type: Calendar (joomla) -->
|
||||
<field
|
||||
name="created"
|
||||
type="calendar"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_DATE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_DATE_DESC"
|
||||
size="22"
|
||||
format="%Y-%m-%d %H:%M:%S"
|
||||
filter="user_utc"
|
||||
/>
|
||||
<!-- User Created Field. Type: User (joomla) -->
|
||||
<field
|
||||
name="created_by"
|
||||
type="user"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_CREATED_BY_DESC"
|
||||
/>
|
||||
<!-- Published Field. Type: List (joomla) -->
|
||||
<field name="published" type="list" label="JSTATUS"
|
||||
description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
|
||||
filter="intval" size="1" default="1" >
|
||||
<option value="1">
|
||||
JPUBLISHED</option>
|
||||
<option value="0">
|
||||
JUNPUBLISHED</option>
|
||||
<option value="2">
|
||||
JARCHIVED</option>
|
||||
<option value="-2">
|
||||
JTRASHED</option>
|
||||
</field>
|
||||
<!-- Date Modified Field. Type: Calendar (joomla) -->
|
||||
<field name="modified" type="calendar" class="readonly"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_DATE_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_DATE_DESC"
|
||||
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
|
||||
<!-- User Modified Field. Type: User (joomla) -->
|
||||
<field name="modified_by" type="user"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_BY_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_MODIFIED_BY_DESC"
|
||||
class="readonly"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Access Field. Type: Accesslevel (joomla) -->
|
||||
<field name="access"
|
||||
type="accesslevel"
|
||||
label="JFIELD_ACCESS_LABEL"
|
||||
description="JFIELD_ACCESS_DESC"
|
||||
default="1"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Ordering Field. Type: Numbers (joomla) -->
|
||||
<field
|
||||
name="ordering"
|
||||
type="number"
|
||||
class="inputbox validate-ordering"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ORDERING_LABEL"
|
||||
description=""
|
||||
default="0"
|
||||
size="6"
|
||||
required="false"
|
||||
/>
|
||||
<!-- Version Field. Type: Text (joomla) -->
|
||||
<field
|
||||
name="version"
|
||||
type="text"
|
||||
class="readonly"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_VERSION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_VERSION_DESC"
|
||||
size="6"
|
||||
readonly="true"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Dynamic Fields. -->
|
||||
<!-- Joomla_plugin Field. Type: Joomlaplugins. (custom) -->
|
||||
<field
|
||||
type="joomlaplugins"
|
||||
name="joomla_plugin"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_JOOMLA_PLUGIN_LABEL"
|
||||
description="JFIELD_TITLE_DESC"
|
||||
class="list_class span12"
|
||||
multiple="false"
|
||||
default="0"
|
||||
readonly="true"
|
||||
/>
|
||||
<!-- Note_constant_paths Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_constant_paths" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_CONSTANT_PATHS_DESCRIPTION" heading="h4" class="alert alert-info note_constant_paths" />
|
||||
<!-- Addfoldersfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfoldersfullpath"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERSFULLPATH_DESCRIPTION"
|
||||
default=""
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addfoldersfullpath_modal" repeat="true">
|
||||
<!-- Folderpath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="folderpath"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDERPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
default=""
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders_fullpath" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders_fullpath" />
|
||||
<!-- Addfilesfullpath Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfilesfullpath"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILESFULLPATH_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILESFULLPATH_DESCRIPTION"
|
||||
default=""
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addfilesfullpath_modal" repeat="true">
|
||||
<!-- Filepath Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="filepath"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_LABEL"
|
||||
size="70"
|
||||
maxlength="300"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="false"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILEPATH_HINT"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files_fullpath Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files_fullpath" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_FULLPATH_DESCRIPTION" heading="h4" class="alert alert-info note_add_files_fullpath" />
|
||||
<!-- Addfolders Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfolders"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFOLDERS_DESCRIPTION"
|
||||
default=""
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addfolders_modal" repeat="true">
|
||||
<!-- Folder Field. Type: Customfolderlist. (custom) -->
|
||||
<field
|
||||
type="customfolderlist"
|
||||
name="folder"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDER_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FOLDER_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Rename Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="rename"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_RENAME_LABEL"
|
||||
value="1"
|
||||
default=""
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_folders Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_folders" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FOLDERS_DESCRIPTION" heading="h4" class="alert alert-info note_add_folders" />
|
||||
<!-- Addfiles Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addfiles"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILES_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDFILES_DESCRIPTION"
|
||||
default=""
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addfiles_modal" repeat="true">
|
||||
<!-- File Field. Type: Customfilelist. (custom) -->
|
||||
<field
|
||||
type="customfilelist"
|
||||
name="file"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_FILE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
default="0"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Path Field. Type: Text. (joomla) -->
|
||||
<field
|
||||
type="text"
|
||||
name="path"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_LABEL"
|
||||
size="40"
|
||||
maxlength="150"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_DESCRIPTION"
|
||||
class="text_area"
|
||||
readonly="false"
|
||||
disabled="false"
|
||||
required="true"
|
||||
filter="PATH"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PATH_HINT"
|
||||
/>
|
||||
<!-- Notnew Field. Type: Checkbox. (joomla) -->
|
||||
<field
|
||||
type="checkbox"
|
||||
name="notnew"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_LABEL"
|
||||
value="1"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTNEW_DESCRIPTION"
|
||||
class="inputbox"
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_files Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_files" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_FILES_DESCRIPTION" heading="h4" class="alert alert-info note_add_files" />
|
||||
<!-- Addurls Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
name="addurls"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDURLS_LABEL"
|
||||
layout="joomla.form.field.subform.repeatable-table"
|
||||
multiple="true"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADDURLS_DESCRIPTION"
|
||||
default=""
|
||||
icon="list">
|
||||
<form hidden="true" name="list_addurls_modal" repeat="true">
|
||||
<!-- Url Field. Type: Url. (joomla) -->
|
||||
<field
|
||||
type="url"
|
||||
name="url"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_LABEL"
|
||||
size="150"
|
||||
maxlength="250"
|
||||
default=""
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_DESCRIPTION"
|
||||
class="text_area"
|
||||
required="true"
|
||||
filter="url"
|
||||
validated="url"
|
||||
message="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_MESSAGE"
|
||||
hint="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_URL_HINT"
|
||||
/>
|
||||
<!-- Type Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="type"
|
||||
label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_TYPE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_TYPE_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
filter="INT"
|
||||
required="true"
|
||||
default="1">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_DEFAULT_LINK</option>
|
||||
<option value="2">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_LOCAL_GET</option>
|
||||
<option value="3">
|
||||
COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_LINK_LOCAL_DYNAMIC</option>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_add_urls Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_add_urls" label="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_URLS_LABEL" description="COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NOTE_ADD_URLS_DESCRIPTION" heading="h4" class="alert alert-info note_add_urls" />
|
||||
</fieldset>
|
||||
|
||||
<!-- Access Control Fields. -->
|
||||
<fieldset name="accesscontrol">
|
||||
<!-- Asset Id Field. Type: Hidden (joomla) -->
|
||||
<field
|
||||
name="asset_id"
|
||||
type="hidden"
|
||||
filter="unset"
|
||||
/>
|
||||
<!-- Rules Field. Type: Rules (joomla) -->
|
||||
<field
|
||||
name="rules"
|
||||
type="rules"
|
||||
label="Permissions in relation to this joomla_plugin_files_folders_urls"
|
||||
translate_label="false"
|
||||
filter="rules"
|
||||
validate="rules"
|
||||
class="inputbox"
|
||||
component="com_componentbuilder"
|
||||
section="joomla_plugin_files_folders_urls"
|
||||
/>
|
||||
</fieldset>
|
||||
</form>
|
@ -11,15 +11,15 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_view_vvvvvzk);
|
||||
var add_php_view_vvvvwac = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwac(add_php_view_vvvvwac);
|
||||
});
|
||||
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_view_vvvvvzk)
|
||||
// the vvvvwac function
|
||||
function vvvvwac(add_php_view_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvzk == 1)
|
||||
if (add_php_view_vvvvwac == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -9,51 +9,51 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwatvxg_required = false;
|
||||
jform_vvvvwazvxh_required = false;
|
||||
jform_vvvvwblvxj_required = false;
|
||||
jform_vvvvwbrvxk_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var how_vvvvwas = jQuery("#jform_how").val();
|
||||
vvvvwas(how_vvvvwas);
|
||||
var how_vvvvwbk = jQuery("#jform_how").val();
|
||||
vvvvwbk(how_vvvvwbk);
|
||||
|
||||
var how_vvvvwat = jQuery("#jform_how").val();
|
||||
vvvvwat(how_vvvvwat);
|
||||
var how_vvvvwbl = jQuery("#jform_how").val();
|
||||
vvvvwbl(how_vvvvwbl);
|
||||
|
||||
var how_vvvvwau = jQuery("#jform_how").val();
|
||||
vvvvwau(how_vvvvwau);
|
||||
var how_vvvvwbm = jQuery("#jform_how").val();
|
||||
vvvvwbm(how_vvvvwbm);
|
||||
|
||||
var how_vvvvwav = jQuery("#jform_how").val();
|
||||
vvvvwav(how_vvvvwav);
|
||||
var how_vvvvwbn = jQuery("#jform_how").val();
|
||||
vvvvwbn(how_vvvvwbn);
|
||||
|
||||
var how_vvvvwaw = jQuery("#jform_how").val();
|
||||
vvvvwaw(how_vvvvwaw);
|
||||
var how_vvvvwbo = jQuery("#jform_how").val();
|
||||
vvvvwbo(how_vvvvwbo);
|
||||
|
||||
var how_vvvvwax = jQuery("#jform_how").val();
|
||||
vvvvwax(how_vvvvwax);
|
||||
var how_vvvvwbp = jQuery("#jform_how").val();
|
||||
vvvvwbp(how_vvvvwbp);
|
||||
|
||||
var how_vvvvway = jQuery("#jform_how").val();
|
||||
vvvvway(how_vvvvway);
|
||||
var how_vvvvwbq = jQuery("#jform_how").val();
|
||||
vvvvwbq(how_vvvvwbq);
|
||||
|
||||
var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwaz(type_vvvvwaz);
|
||||
var type_vvvvwbr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbr(type_vvvvwbr);
|
||||
});
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(how_vvvvwas)
|
||||
// the vvvvwbk function
|
||||
function vvvvwbk(how_vvvvwbk)
|
||||
{
|
||||
if (isSet(how_vvvvwas) && how_vvvvwas.constructor !== Array)
|
||||
if (isSet(how_vvvvwbk) && how_vvvvwbk.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwas = how_vvvvwas;
|
||||
var how_vvvvwas = [];
|
||||
how_vvvvwas.push(temp_vvvvwas);
|
||||
var temp_vvvvwbk = how_vvvvwbk;
|
||||
var how_vvvvwbk = [];
|
||||
how_vvvvwbk.push(temp_vvvvwbk);
|
||||
}
|
||||
else if (!isSet(how_vvvvwas))
|
||||
else if (!isSet(how_vvvvwbk))
|
||||
{
|
||||
var how_vvvvwas = [];
|
||||
var how_vvvvwbk = [];
|
||||
}
|
||||
var how = how_vvvvwas.some(how_vvvvwas_SomeFunc);
|
||||
var how = how_vvvvwbk.some(how_vvvvwbk_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -67,31 +67,31 @@ function vvvvwas(how_vvvvwas)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwas Some function
|
||||
function how_vvvvwas_SomeFunc(how_vvvvwas)
|
||||
// the vvvvwbk Some function
|
||||
function how_vvvvwbk_SomeFunc(how_vvvvwbk)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwas == 2)
|
||||
if (how_vvvvwbk == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(how_vvvvwat)
|
||||
// the vvvvwbl function
|
||||
function vvvvwbl(how_vvvvwbl)
|
||||
{
|
||||
if (isSet(how_vvvvwat) && how_vvvvwat.constructor !== Array)
|
||||
if (isSet(how_vvvvwbl) && how_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwat = how_vvvvwat;
|
||||
var how_vvvvwat = [];
|
||||
how_vvvvwat.push(temp_vvvvwat);
|
||||
var temp_vvvvwbl = how_vvvvwbl;
|
||||
var how_vvvvwbl = [];
|
||||
how_vvvvwbl.push(temp_vvvvwbl);
|
||||
}
|
||||
else if (!isSet(how_vvvvwat))
|
||||
else if (!isSet(how_vvvvwbl))
|
||||
{
|
||||
var how_vvvvwat = [];
|
||||
var how_vvvvwbl = [];
|
||||
}
|
||||
var how = how_vvvvwat.some(how_vvvvwat_SomeFunc);
|
||||
var how = how_vvvvwbl.some(how_vvvvwbl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -99,55 +99,55 @@ function vvvvwat(how_vvvvwat)
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
// add required attribute to php_setdocument field
|
||||
if (jform_vvvvwatvxg_required)
|
||||
if (jform_vvvvwblvxj_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_vvvvwatvxg_required = false;
|
||||
jform_vvvvwblvxj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
// remove required attribute from php_setdocument field
|
||||
if (!jform_vvvvwatvxg_required)
|
||||
if (!jform_vvvvwblvxj_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_vvvvwatvxg_required = true;
|
||||
jform_vvvvwblvxj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwat Some function
|
||||
function how_vvvvwat_SomeFunc(how_vvvvwat)
|
||||
// the vvvvwbl Some function
|
||||
function how_vvvvwbl_SomeFunc(how_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwat == 3)
|
||||
if (how_vvvvwbl == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwau function
|
||||
function vvvvwau(how_vvvvwau)
|
||||
// the vvvvwbm function
|
||||
function vvvvwbm(how_vvvvwbm)
|
||||
{
|
||||
if (isSet(how_vvvvwau) && how_vvvvwau.constructor !== Array)
|
||||
if (isSet(how_vvvvwbm) && how_vvvvwbm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwau = how_vvvvwau;
|
||||
var how_vvvvwau = [];
|
||||
how_vvvvwau.push(temp_vvvvwau);
|
||||
var temp_vvvvwbm = how_vvvvwbm;
|
||||
var how_vvvvwbm = [];
|
||||
how_vvvvwbm.push(temp_vvvvwbm);
|
||||
}
|
||||
else if (!isSet(how_vvvvwau))
|
||||
else if (!isSet(how_vvvvwbm))
|
||||
{
|
||||
var how_vvvvwau = [];
|
||||
var how_vvvvwbm = [];
|
||||
}
|
||||
var how = how_vvvvwau.some(how_vvvvwau_SomeFunc);
|
||||
var how = how_vvvvwbm.some(how_vvvvwbm_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -161,31 +161,31 @@ function vvvvwau(how_vvvvwau)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwau Some function
|
||||
function how_vvvvwau_SomeFunc(how_vvvvwau)
|
||||
// the vvvvwbm Some function
|
||||
function how_vvvvwbm_SomeFunc(how_vvvvwbm)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwau == 2 || how_vvvvwau == 3)
|
||||
if (how_vvvvwbm == 2 || how_vvvvwbm == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(how_vvvvwav)
|
||||
// the vvvvwbn function
|
||||
function vvvvwbn(how_vvvvwbn)
|
||||
{
|
||||
if (isSet(how_vvvvwav) && how_vvvvwav.constructor !== Array)
|
||||
if (isSet(how_vvvvwbn) && how_vvvvwbn.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwav = how_vvvvwav;
|
||||
var how_vvvvwav = [];
|
||||
how_vvvvwav.push(temp_vvvvwav);
|
||||
var temp_vvvvwbn = how_vvvvwbn;
|
||||
var how_vvvvwbn = [];
|
||||
how_vvvvwbn.push(temp_vvvvwbn);
|
||||
}
|
||||
else if (!isSet(how_vvvvwav))
|
||||
else if (!isSet(how_vvvvwbn))
|
||||
{
|
||||
var how_vvvvwav = [];
|
||||
var how_vvvvwbn = [];
|
||||
}
|
||||
var how = how_vvvvwav.some(how_vvvvwav_SomeFunc);
|
||||
var how = how_vvvvwbn.some(how_vvvvwbn_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -199,31 +199,31 @@ function vvvvwav(how_vvvvwav)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav Some function
|
||||
function how_vvvvwav_SomeFunc(how_vvvvwav)
|
||||
// the vvvvwbn Some function
|
||||
function how_vvvvwbn_SomeFunc(how_vvvvwbn)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwav == 1 || how_vvvvwav == 2 || how_vvvvwav == 3)
|
||||
if (how_vvvvwbn == 1 || how_vvvvwbn == 2 || how_vvvvwbn == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(how_vvvvwaw)
|
||||
// the vvvvwbo function
|
||||
function vvvvwbo(how_vvvvwbo)
|
||||
{
|
||||
if (isSet(how_vvvvwaw) && how_vvvvwaw.constructor !== Array)
|
||||
if (isSet(how_vvvvwbo) && how_vvvvwbo.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwaw = how_vvvvwaw;
|
||||
var how_vvvvwaw = [];
|
||||
how_vvvvwaw.push(temp_vvvvwaw);
|
||||
var temp_vvvvwbo = how_vvvvwbo;
|
||||
var how_vvvvwbo = [];
|
||||
how_vvvvwbo.push(temp_vvvvwbo);
|
||||
}
|
||||
else if (!isSet(how_vvvvwaw))
|
||||
else if (!isSet(how_vvvvwbo))
|
||||
{
|
||||
var how_vvvvwaw = [];
|
||||
var how_vvvvwbo = [];
|
||||
}
|
||||
var how = how_vvvvwaw.some(how_vvvvwaw_SomeFunc);
|
||||
var how = how_vvvvwbo.some(how_vvvvwbo_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -241,31 +241,31 @@ function vvvvwaw(how_vvvvwaw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaw Some function
|
||||
function how_vvvvwaw_SomeFunc(how_vvvvwaw)
|
||||
// the vvvvwbo Some function
|
||||
function how_vvvvwbo_SomeFunc(how_vvvvwbo)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwaw == 0)
|
||||
if (how_vvvvwbo == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwax function
|
||||
function vvvvwax(how_vvvvwax)
|
||||
// the vvvvwbp function
|
||||
function vvvvwbp(how_vvvvwbp)
|
||||
{
|
||||
if (isSet(how_vvvvwax) && how_vvvvwax.constructor !== Array)
|
||||
if (isSet(how_vvvvwbp) && how_vvvvwbp.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwax = how_vvvvwax;
|
||||
var how_vvvvwax = [];
|
||||
how_vvvvwax.push(temp_vvvvwax);
|
||||
var temp_vvvvwbp = how_vvvvwbp;
|
||||
var how_vvvvwbp = [];
|
||||
how_vvvvwbp.push(temp_vvvvwbp);
|
||||
}
|
||||
else if (!isSet(how_vvvvwax))
|
||||
else if (!isSet(how_vvvvwbp))
|
||||
{
|
||||
var how_vvvvwax = [];
|
||||
var how_vvvvwbp = [];
|
||||
}
|
||||
var how = how_vvvvwax.some(how_vvvvwax_SomeFunc);
|
||||
var how = how_vvvvwbp.some(how_vvvvwbp_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -281,31 +281,31 @@ function vvvvwax(how_vvvvwax)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwax Some function
|
||||
function how_vvvvwax_SomeFunc(how_vvvvwax)
|
||||
// the vvvvwbp Some function
|
||||
function how_vvvvwbp_SomeFunc(how_vvvvwbp)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwax == 1)
|
||||
if (how_vvvvwbp == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvway function
|
||||
function vvvvway(how_vvvvway)
|
||||
// the vvvvwbq function
|
||||
function vvvvwbq(how_vvvvwbq)
|
||||
{
|
||||
if (isSet(how_vvvvway) && how_vvvvway.constructor !== Array)
|
||||
if (isSet(how_vvvvwbq) && how_vvvvwbq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvway = how_vvvvway;
|
||||
var how_vvvvway = [];
|
||||
how_vvvvway.push(temp_vvvvway);
|
||||
var temp_vvvvwbq = how_vvvvwbq;
|
||||
var how_vvvvwbq = [];
|
||||
how_vvvvwbq.push(temp_vvvvwbq);
|
||||
}
|
||||
else if (!isSet(how_vvvvway))
|
||||
else if (!isSet(how_vvvvwbq))
|
||||
{
|
||||
var how_vvvvway = [];
|
||||
var how_vvvvwbq = [];
|
||||
}
|
||||
var how = how_vvvvway.some(how_vvvvway_SomeFunc);
|
||||
var how = how_vvvvwbq.some(how_vvvvwbq_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -323,45 +323,45 @@ function vvvvway(how_vvvvway)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvway Some function
|
||||
function how_vvvvway_SomeFunc(how_vvvvway)
|
||||
// the vvvvwbq Some function
|
||||
function how_vvvvwbq_SomeFunc(how_vvvvwbq)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvway == 4)
|
||||
if (how_vvvvwbq == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(type_vvvvwaz)
|
||||
// the vvvvwbr function
|
||||
function vvvvwbr(type_vvvvwbr)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwaz == 2)
|
||||
if (type_vvvvwbr == 2)
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').show();
|
||||
// add required attribute to libraries field
|
||||
if (jform_vvvvwazvxh_required)
|
||||
if (jform_vvvvwbrvxk_required)
|
||||
{
|
||||
updateFieldRequired('libraries',0);
|
||||
jQuery('#jform_libraries').prop('required','required');
|
||||
jQuery('#jform_libraries').attr('aria-required',true);
|
||||
jQuery('#jform_libraries').addClass('required');
|
||||
jform_vvvvwazvxh_required = false;
|
||||
jform_vvvvwbrvxk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').hide();
|
||||
// remove required attribute from libraries field
|
||||
if (!jform_vvvvwazvxh_required)
|
||||
if (!jform_vvvvwbrvxk_required)
|
||||
{
|
||||
updateFieldRequired('libraries',1);
|
||||
jQuery('#jform_libraries').removeAttr('required');
|
||||
jQuery('#jform_libraries').removeAttr('aria-required');
|
||||
jQuery('#jform_libraries').removeClass('required');
|
||||
jform_vvvvwazvxh_required = true;
|
||||
jform_vvvvwbrvxk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,56 +9,56 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwbwvxu_required = false;
|
||||
jform_vvvvwbwvxv_required = false;
|
||||
jform_vvvvwbwvxw_required = false;
|
||||
jform_vvvvwbwvxx_required = false;
|
||||
jform_vvvvwbwvxy_required = false;
|
||||
jform_vvvvwbxvxz_required = false;
|
||||
jform_vvvvwbyvya_required = false;
|
||||
jform_vvvvwcavyb_required = false;
|
||||
jform_vvvvwccvyc_required = false;
|
||||
jform_vvvvwcovxx_required = false;
|
||||
jform_vvvvwcovxy_required = false;
|
||||
jform_vvvvwcovxz_required = false;
|
||||
jform_vvvvwcovya_required = false;
|
||||
jform_vvvvwcovyb_required = false;
|
||||
jform_vvvvwcpvyc_required = false;
|
||||
jform_vvvvwcqvyd_required = false;
|
||||
jform_vvvvwcsvye_required = false;
|
||||
jform_vvvvwcuvyf_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
|
||||
vvvvwbw(protocol_vvvvwbw);
|
||||
var protocol_vvvvwco = jQuery("#jform_protocol").val();
|
||||
vvvvwco(protocol_vvvvwco);
|
||||
|
||||
var protocol_vvvvwbx = jQuery("#jform_protocol").val();
|
||||
vvvvwbx(protocol_vvvvwbx);
|
||||
var protocol_vvvvwcp = jQuery("#jform_protocol").val();
|
||||
vvvvwcp(protocol_vvvvwcp);
|
||||
|
||||
var protocol_vvvvwby = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwby = jQuery("#jform_authentication").val();
|
||||
vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
|
||||
var protocol_vvvvwcq = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcq = jQuery("#jform_authentication").val();
|
||||
vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq);
|
||||
|
||||
var protocol_vvvvwca = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwca = jQuery("#jform_authentication").val();
|
||||
vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcs = jQuery("#jform_authentication").val();
|
||||
vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs);
|
||||
|
||||
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
|
||||
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
|
||||
var protocol_vvvvwce = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwce = jQuery("#jform_authentication").val();
|
||||
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
});
|
||||
|
||||
// the vvvvwbw function
|
||||
function vvvvwbw(protocol_vvvvwbw)
|
||||
// the vvvvwco function
|
||||
function vvvvwco(protocol_vvvvwco)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbw) && protocol_vvvvwbw.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwco) && protocol_vvvvwco.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbw = protocol_vvvvwbw;
|
||||
var protocol_vvvvwbw = [];
|
||||
protocol_vvvvwbw.push(temp_vvvvwbw);
|
||||
var temp_vvvvwco = protocol_vvvvwco;
|
||||
var protocol_vvvvwco = [];
|
||||
protocol_vvvvwco.push(temp_vvvvwco);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbw))
|
||||
else if (!isSet(protocol_vvvvwco))
|
||||
{
|
||||
var protocol_vvvvwbw = [];
|
||||
var protocol_vvvvwco = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbw.some(protocol_vvvvwbw_SomeFunc);
|
||||
var protocol = protocol_vvvvwco.some(protocol_vvvvwco_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -66,137 +66,137 @@ function vvvvwbw(protocol_vvvvwbw)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
// add required attribute to authentication field
|
||||
if (jform_vvvvwbwvxu_required)
|
||||
if (jform_vvvvwcovxx_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwbwvxu_required = false;
|
||||
jform_vvvvwcovxx_required = false;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
// add required attribute to host field
|
||||
if (jform_vvvvwbwvxv_required)
|
||||
if (jform_vvvvwcovxy_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwbwvxv_required = false;
|
||||
jform_vvvvwcovxy_required = false;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
// add required attribute to port field
|
||||
if (jform_vvvvwbwvxw_required)
|
||||
if (jform_vvvvwcovxz_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwbwvxw_required = false;
|
||||
jform_vvvvwcovxz_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwbwvxx_required)
|
||||
if (jform_vvvvwcovya_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwbwvxx_required = false;
|
||||
jform_vvvvwcovya_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_vvvvwbwvxy_required)
|
||||
if (jform_vvvvwcovyb_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwbwvxy_required = false;
|
||||
jform_vvvvwcovyb_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
// remove required attribute from authentication field
|
||||
if (!jform_vvvvwbwvxu_required)
|
||||
if (!jform_vvvvwcovxx_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwbwvxu_required = true;
|
||||
jform_vvvvwcovxx_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
// remove required attribute from host field
|
||||
if (!jform_vvvvwbwvxv_required)
|
||||
if (!jform_vvvvwcovxy_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwbwvxv_required = true;
|
||||
jform_vvvvwcovxy_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
// remove required attribute from port field
|
||||
if (!jform_vvvvwbwvxw_required)
|
||||
if (!jform_vvvvwcovxz_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwbwvxw_required = true;
|
||||
jform_vvvvwcovxz_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwbwvxx_required)
|
||||
if (!jform_vvvvwcovya_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwbwvxx_required = true;
|
||||
jform_vvvvwcovya_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_vvvvwbwvxy_required)
|
||||
if (!jform_vvvvwcovyb_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwbwvxy_required = true;
|
||||
jform_vvvvwcovyb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbw Some function
|
||||
function protocol_vvvvwbw_SomeFunc(protocol_vvvvwbw)
|
||||
// the vvvvwco Some function
|
||||
function protocol_vvvvwco_SomeFunc(protocol_vvvvwco)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbw == 2)
|
||||
if (protocol_vvvvwco == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwbx function
|
||||
function vvvvwbx(protocol_vvvvwbx)
|
||||
// the vvvvwcp function
|
||||
function vvvvwcp(protocol_vvvvwcp)
|
||||
{
|
||||
if (isSet(protocol_vvvvwbx) && protocol_vvvvwbx.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcp) && protocol_vvvvwcp.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwbx = protocol_vvvvwbx;
|
||||
var protocol_vvvvwbx = [];
|
||||
protocol_vvvvwbx.push(temp_vvvvwbx);
|
||||
var temp_vvvvwcp = protocol_vvvvwcp;
|
||||
var protocol_vvvvwcp = [];
|
||||
protocol_vvvvwcp.push(temp_vvvvwcp);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwbx))
|
||||
else if (!isSet(protocol_vvvvwcp))
|
||||
{
|
||||
var protocol_vvvvwbx = [];
|
||||
var protocol_vvvvwcp = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwbx.some(protocol_vvvvwbx_SomeFunc);
|
||||
var protocol = protocol_vvvvwcp.some(protocol_vvvvwcp_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -205,13 +205,13 @@ function vvvvwbx(protocol_vvvvwbx)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
// add required attribute to signature field
|
||||
if (jform_vvvvwbxvxz_required)
|
||||
if (jform_vvvvwcpvyc_required)
|
||||
{
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvwbxvxz_required = false;
|
||||
jform_vvvvwcpvyc_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -219,54 +219,54 @@ function vvvvwbx(protocol_vvvvwbx)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
// remove required attribute from signature field
|
||||
if (!jform_vvvvwbxvxz_required)
|
||||
if (!jform_vvvvwcpvyc_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwbxvxz_required = true;
|
||||
jform_vvvvwcpvyc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwbx Some function
|
||||
function protocol_vvvvwbx_SomeFunc(protocol_vvvvwbx)
|
||||
// the vvvvwcp Some function
|
||||
function protocol_vvvvwcp_SomeFunc(protocol_vvvvwcp)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwbx == 1)
|
||||
if (protocol_vvvvwcp == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby function
|
||||
function vvvvwby(protocol_vvvvwby,authentication_vvvvwby)
|
||||
// the vvvvwcq function
|
||||
function vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq)
|
||||
{
|
||||
if (isSet(protocol_vvvvwby) && protocol_vvvvwby.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcq) && protocol_vvvvwcq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = protocol_vvvvwby;
|
||||
var protocol_vvvvwby = [];
|
||||
protocol_vvvvwby.push(temp_vvvvwby);
|
||||
var temp_vvvvwcq = protocol_vvvvwcq;
|
||||
var protocol_vvvvwcq = [];
|
||||
protocol_vvvvwcq.push(temp_vvvvwcq);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwby))
|
||||
else if (!isSet(protocol_vvvvwcq))
|
||||
{
|
||||
var protocol_vvvvwby = [];
|
||||
var protocol_vvvvwcq = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwby.some(protocol_vvvvwby_SomeFunc);
|
||||
var protocol = protocol_vvvvwcq.some(protocol_vvvvwcq_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwby) && authentication_vvvvwby.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwcq) && authentication_vvvvwcq.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwby = authentication_vvvvwby;
|
||||
var authentication_vvvvwby = [];
|
||||
authentication_vvvvwby.push(temp_vvvvwby);
|
||||
var temp_vvvvwcq = authentication_vvvvwcq;
|
||||
var authentication_vvvvwcq = [];
|
||||
authentication_vvvvwcq.push(temp_vvvvwcq);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwby))
|
||||
else if (!isSet(authentication_vvvvwcq))
|
||||
{
|
||||
var authentication_vvvvwby = [];
|
||||
var authentication_vvvvwcq = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwby.some(authentication_vvvvwby_SomeFunc);
|
||||
var authentication = authentication_vvvvwcq.some(authentication_vvvvwcq_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -274,78 +274,78 @@ function vvvvwby(protocol_vvvvwby,authentication_vvvvwby)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
// add required attribute to password field
|
||||
if (jform_vvvvwbyvya_required)
|
||||
if (jform_vvvvwcqvyd_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvwbyvya_required = false;
|
||||
jform_vvvvwcqvyd_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
// remove required attribute from password field
|
||||
if (!jform_vvvvwbyvya_required)
|
||||
if (!jform_vvvvwcqvyd_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvwbyvya_required = true;
|
||||
jform_vvvvwcqvyd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function protocol_vvvvwby_SomeFunc(protocol_vvvvwby)
|
||||
// the vvvvwcq Some function
|
||||
function protocol_vvvvwcq_SomeFunc(protocol_vvvvwcq)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwby == 2)
|
||||
if (protocol_vvvvwcq == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwby Some function
|
||||
function authentication_vvvvwby_SomeFunc(authentication_vvvvwby)
|
||||
// the vvvvwcq Some function
|
||||
function authentication_vvvvwcq_SomeFunc(authentication_vvvvwcq)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwby == 1 || authentication_vvvvwby == 3 || authentication_vvvvwby == 5)
|
||||
if (authentication_vvvvwcq == 1 || authentication_vvvvwcq == 3 || authentication_vvvvwcq == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwca function
|
||||
function vvvvwca(protocol_vvvvwca,authentication_vvvvwca)
|
||||
// the vvvvwcs function
|
||||
function vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs)
|
||||
{
|
||||
if (isSet(protocol_vvvvwca) && protocol_vvvvwca.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcs) && protocol_vvvvwcs.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwca = protocol_vvvvwca;
|
||||
var protocol_vvvvwca = [];
|
||||
protocol_vvvvwca.push(temp_vvvvwca);
|
||||
var temp_vvvvwcs = protocol_vvvvwcs;
|
||||
var protocol_vvvvwcs = [];
|
||||
protocol_vvvvwcs.push(temp_vvvvwcs);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwca))
|
||||
else if (!isSet(protocol_vvvvwcs))
|
||||
{
|
||||
var protocol_vvvvwca = [];
|
||||
var protocol_vvvvwcs = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwca.some(protocol_vvvvwca_SomeFunc);
|
||||
var protocol = protocol_vvvvwcs.some(protocol_vvvvwcs_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwca) && authentication_vvvvwca.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwcs) && authentication_vvvvwcs.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwca = authentication_vvvvwca;
|
||||
var authentication_vvvvwca = [];
|
||||
authentication_vvvvwca.push(temp_vvvvwca);
|
||||
var temp_vvvvwcs = authentication_vvvvwcs;
|
||||
var authentication_vvvvwcs = [];
|
||||
authentication_vvvvwcs.push(temp_vvvvwcs);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwca))
|
||||
else if (!isSet(authentication_vvvvwcs))
|
||||
{
|
||||
var authentication_vvvvwca = [];
|
||||
var authentication_vvvvwcs = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwca.some(authentication_vvvvwca_SomeFunc);
|
||||
var authentication = authentication_vvvvwcs.some(authentication_vvvvwcs_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -353,78 +353,78 @@ function vvvvwca(protocol_vvvvwca,authentication_vvvvwca)
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').show();
|
||||
// add required attribute to private field
|
||||
if (jform_vvvvwcavyb_required)
|
||||
if (jform_vvvvwcsvye_required)
|
||||
{
|
||||
updateFieldRequired('private',0);
|
||||
jQuery('#jform_private').prop('required','required');
|
||||
jQuery('#jform_private').attr('aria-required',true);
|
||||
jQuery('#jform_private').addClass('required');
|
||||
jform_vvvvwcavyb_required = false;
|
||||
jform_vvvvwcsvye_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
// remove required attribute from private field
|
||||
if (!jform_vvvvwcavyb_required)
|
||||
if (!jform_vvvvwcsvye_required)
|
||||
{
|
||||
updateFieldRequired('private',1);
|
||||
jQuery('#jform_private').removeAttr('required');
|
||||
jQuery('#jform_private').removeAttr('aria-required');
|
||||
jQuery('#jform_private').removeClass('required');
|
||||
jform_vvvvwcavyb_required = true;
|
||||
jform_vvvvwcsvye_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwca Some function
|
||||
function protocol_vvvvwca_SomeFunc(protocol_vvvvwca)
|
||||
// the vvvvwcs Some function
|
||||
function protocol_vvvvwcs_SomeFunc(protocol_vvvvwcs)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwca == 2)
|
||||
if (protocol_vvvvwcs == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwca Some function
|
||||
function authentication_vvvvwca_SomeFunc(authentication_vvvvwca)
|
||||
// the vvvvwcs Some function
|
||||
function authentication_vvvvwcs_SomeFunc(authentication_vvvvwcs)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwca == 2 || authentication_vvvvwca == 3)
|
||||
if (authentication_vvvvwcs == 2 || authentication_vvvvwcs == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc)
|
||||
// the vvvvwcu function
|
||||
function vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu)
|
||||
{
|
||||
if (isSet(protocol_vvvvwcc) && protocol_vvvvwcc.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcu) && protocol_vvvvwcu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcc = protocol_vvvvwcc;
|
||||
var protocol_vvvvwcc = [];
|
||||
protocol_vvvvwcc.push(temp_vvvvwcc);
|
||||
var temp_vvvvwcu = protocol_vvvvwcu;
|
||||
var protocol_vvvvwcu = [];
|
||||
protocol_vvvvwcu.push(temp_vvvvwcu);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwcc))
|
||||
else if (!isSet(protocol_vvvvwcu))
|
||||
{
|
||||
var protocol_vvvvwcc = [];
|
||||
var protocol_vvvvwcu = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwcc.some(protocol_vvvvwcc_SomeFunc);
|
||||
var protocol = protocol_vvvvwcu.some(protocol_vvvvwcu_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwcc) && authentication_vvvvwcc.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwcu) && authentication_vvvvwcu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcc = authentication_vvvvwcc;
|
||||
var authentication_vvvvwcc = [];
|
||||
authentication_vvvvwcc.push(temp_vvvvwcc);
|
||||
var temp_vvvvwcu = authentication_vvvvwcu;
|
||||
var authentication_vvvvwcu = [];
|
||||
authentication_vvvvwcu.push(temp_vvvvwcu);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwcc))
|
||||
else if (!isSet(authentication_vvvvwcu))
|
||||
{
|
||||
var authentication_vvvvwcc = [];
|
||||
var authentication_vvvvwcu = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwcc.some(authentication_vvvvwcc_SomeFunc);
|
||||
var authentication = authentication_vvvvwcu.some(authentication_vvvvwcu_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -432,78 +432,78 @@ function vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc)
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').show();
|
||||
// add required attribute to private_key field
|
||||
if (jform_vvvvwccvyc_required)
|
||||
if (jform_vvvvwcuvyf_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_vvvvwccvyc_required = false;
|
||||
jform_vvvvwcuvyf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
// remove required attribute from private_key field
|
||||
if (!jform_vvvvwccvyc_required)
|
||||
if (!jform_vvvvwcuvyf_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_vvvvwccvyc_required = true;
|
||||
jform_vvvvwcuvyf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcc Some function
|
||||
function protocol_vvvvwcc_SomeFunc(protocol_vvvvwcc)
|
||||
// the vvvvwcu Some function
|
||||
function protocol_vvvvwcu_SomeFunc(protocol_vvvvwcu)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwcc == 2)
|
||||
if (protocol_vvvvwcu == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcc Some function
|
||||
function authentication_vvvvwcc_SomeFunc(authentication_vvvvwcc)
|
||||
// the vvvvwcu Some function
|
||||
function authentication_vvvvwcu_SomeFunc(authentication_vvvvwcu)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwcc == 4 || authentication_vvvvwcc == 5)
|
||||
if (authentication_vvvvwcu == 4 || authentication_vvvvwcu == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwce function
|
||||
function vvvvwce(protocol_vvvvwce,authentication_vvvvwce)
|
||||
// the vvvvwcw function
|
||||
function vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw)
|
||||
{
|
||||
if (isSet(protocol_vvvvwce) && protocol_vvvvwce.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcw) && protocol_vvvvwcw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwce = protocol_vvvvwce;
|
||||
var protocol_vvvvwce = [];
|
||||
protocol_vvvvwce.push(temp_vvvvwce);
|
||||
var temp_vvvvwcw = protocol_vvvvwcw;
|
||||
var protocol_vvvvwcw = [];
|
||||
protocol_vvvvwcw.push(temp_vvvvwcw);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwce))
|
||||
else if (!isSet(protocol_vvvvwcw))
|
||||
{
|
||||
var protocol_vvvvwce = [];
|
||||
var protocol_vvvvwcw = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwce.some(protocol_vvvvwce_SomeFunc);
|
||||
var protocol = protocol_vvvvwcw.some(protocol_vvvvwcw_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwce) && authentication_vvvvwce.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwcw) && authentication_vvvvwcw.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwce = authentication_vvvvwce;
|
||||
var authentication_vvvvwce = [];
|
||||
authentication_vvvvwce.push(temp_vvvvwce);
|
||||
var temp_vvvvwcw = authentication_vvvvwcw;
|
||||
var authentication_vvvvwcw = [];
|
||||
authentication_vvvvwcw.push(temp_vvvvwcw);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwce))
|
||||
else if (!isSet(authentication_vvvvwcw))
|
||||
{
|
||||
var authentication_vvvvwce = [];
|
||||
var authentication_vvvvwcw = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwce.some(authentication_vvvvwce_SomeFunc);
|
||||
var authentication = authentication_vvvvwcw.some(authentication_vvvvwcw_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -517,22 +517,22 @@ function vvvvwce(protocol_vvvvwce,authentication_vvvvwce)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwce Some function
|
||||
function protocol_vvvvwce_SomeFunc(protocol_vvvvwce)
|
||||
// the vvvvwcw Some function
|
||||
function protocol_vvvvwcw_SomeFunc(protocol_vvvvwcw)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwce == 2)
|
||||
if (protocol_vvvvwcw == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwce Some function
|
||||
function authentication_vvvvwce_SomeFunc(authentication_vvvvwce)
|
||||
// the vvvvwcw Some function
|
||||
function authentication_vvvvwcw_SomeFunc(authentication_vvvvwcw)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwce == 2 || authentication_vvvvwce == 3 || authentication_vvvvwce == 4 || authentication_vvvvwce == 5)
|
||||
if (authentication_vvvvwcw == 2 || authentication_vvvvwcw == 3 || authentication_vvvvwcw == 4 || authentication_vvvvwcw == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,45 +11,45 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_view_vvvvvyy);
|
||||
var add_php_view_vvvvvzq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_view_vvvvvzq);
|
||||
|
||||
var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_jview_display_vvvvvyz);
|
||||
var add_php_jview_display_vvvvvzr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_jview_display_vvvvvzr);
|
||||
|
||||
var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_jview_vvvvvza);
|
||||
var add_php_jview_vvvvvzs = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_jview_vvvvvzs);
|
||||
|
||||
var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_document_vvvvvzb);
|
||||
var add_php_document_vvvvvzt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_document_vvvvvzt);
|
||||
|
||||
var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzc(add_css_document_vvvvvzc);
|
||||
var add_css_document_vvvvvzu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_css_document_vvvvvzu);
|
||||
|
||||
var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzd(add_javascript_file_vvvvvzd);
|
||||
var add_javascript_file_vvvvvzv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzv(add_javascript_file_vvvvvzv);
|
||||
|
||||
var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvze(add_js_document_vvvvvze);
|
||||
var add_js_document_vvvvvzw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzw(add_js_document_vvvvvzw);
|
||||
|
||||
var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzf(add_css_vvvvvzf);
|
||||
var add_css_vvvvvzx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzx(add_css_vvvvvzx);
|
||||
|
||||
var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_ajax_vvvvvzg);
|
||||
var add_php_ajax_vvvvvzy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzy(add_php_ajax_vvvvvzy);
|
||||
|
||||
var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzh(add_custom_button_vvvvvzh);
|
||||
var add_custom_button_vvvvvzz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzz(add_custom_button_vvvvvzz);
|
||||
|
||||
var button_position_vvvvvzi = jQuery("#jform_button_position").val();
|
||||
vvvvvzi(button_position_vvvvvzi);
|
||||
var button_position_vvvvwaa = jQuery("#jform_button_position").val();
|
||||
vvvvwaa(button_position_vvvvwaa);
|
||||
});
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_php_view_vvvvvyy)
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_view_vvvvvzq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvyy == 1)
|
||||
if (add_php_view_vvvvvzq == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -59,11 +59,11 @@ function vvvvvyy(add_php_view_vvvvvyy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_php_jview_display_vvvvvyz)
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(add_php_jview_display_vvvvvzr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvvyz == 1)
|
||||
if (add_php_jview_display_vvvvvzr == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -73,11 +73,11 @@ function vvvvvyz(add_php_jview_display_vvvvvyz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_php_jview_vvvvvza)
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_php_jview_vvvvvzs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvvza == 1)
|
||||
if (add_php_jview_vvvvvzs == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -87,11 +87,11 @@ function vvvvvza(add_php_jview_vvvvvza)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_php_document_vvvvvzb)
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_php_document_vvvvvzt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvzb == 1)
|
||||
if (add_php_document_vvvvvzt == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -101,11 +101,11 @@ function vvvvvzb(add_php_document_vvvvvzb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_css_document_vvvvvzc)
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_css_document_vvvvvzu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvvzc == 1)
|
||||
if (add_css_document_vvvvvzu == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -115,11 +115,11 @@ function vvvvvzc(add_css_document_vvvvvzc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_javascript_file_vvvvvzd)
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_javascript_file_vvvvvzv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvvzd == 1)
|
||||
if (add_javascript_file_vvvvvzv == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -129,11 +129,11 @@ function vvvvvzd(add_javascript_file_vvvvvzd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_js_document_vvvvvze)
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(add_js_document_vvvvvzw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvvze == 1)
|
||||
if (add_js_document_vvvvvzw == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -143,11 +143,11 @@ function vvvvvze(add_js_document_vvvvvze)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_css_vvvvvzf)
|
||||
// the vvvvvzx function
|
||||
function vvvvvzx(add_css_vvvvvzx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvvzf == 1)
|
||||
if (add_css_vvvvvzx == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -157,11 +157,11 @@ function vvvvvzf(add_css_vvvvvzf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_ajax_vvvvvzg)
|
||||
// the vvvvvzy function
|
||||
function vvvvvzy(add_php_ajax_vvvvvzy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvzg == 1)
|
||||
if (add_php_ajax_vvvvvzy == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -173,11 +173,11 @@ function vvvvvzg(add_php_ajax_vvvvvzg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_custom_button_vvvvvzh)
|
||||
// the vvvvvzz function
|
||||
function vvvvvzz(add_custom_button_vvvvvzz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvvzh == 1)
|
||||
if (add_custom_button_vvvvvzz == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -191,20 +191,20 @@ function vvvvvzh(add_custom_button_vvvvvzh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(button_position_vvvvvzi)
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(button_position_vvvvwaa)
|
||||
{
|
||||
if (isSet(button_position_vvvvvzi) && button_position_vvvvvzi.constructor !== Array)
|
||||
if (isSet(button_position_vvvvwaa) && button_position_vvvvwaa.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvzi = button_position_vvvvvzi;
|
||||
var button_position_vvvvvzi = [];
|
||||
button_position_vvvvvzi.push(temp_vvvvvzi);
|
||||
var temp_vvvvwaa = button_position_vvvvwaa;
|
||||
var button_position_vvvvwaa = [];
|
||||
button_position_vvvvwaa.push(temp_vvvvwaa);
|
||||
}
|
||||
else if (!isSet(button_position_vvvvvzi))
|
||||
else if (!isSet(button_position_vvvvwaa))
|
||||
{
|
||||
var button_position_vvvvvzi = [];
|
||||
var button_position_vvvvwaa = [];
|
||||
}
|
||||
var button_position = button_position_vvvvvzi.some(button_position_vvvvvzi_SomeFunc);
|
||||
var button_position = button_position_vvvvwaa.some(button_position_vvvvwaa_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -218,11 +218,11 @@ function vvvvvzi(button_position_vvvvvzi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzi Some function
|
||||
function button_position_vvvvvzi_SomeFunc(button_position_vvvvvzi)
|
||||
// the vvvvwaa Some function
|
||||
function button_position_vvvvwaa_SomeFunc(button_position_vvvvwaa)
|
||||
{
|
||||
// set the function logic
|
||||
if (button_position_vvvvvzi == 5)
|
||||
if (button_position_vvvvwaa == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,15 +11,15 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_view_vvvvvzj);
|
||||
var add_php_view_vvvvwab = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwab(add_php_view_vvvvwab);
|
||||
});
|
||||
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_view_vvvvvzj)
|
||||
// the vvvvwab function
|
||||
function vvvvwab(add_php_view_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvvzj == 1)
|
||||
if (add_php_view_vvvvwab == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -41,12 +41,56 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
'fullwidth' => array(
|
||||
'head',
|
||||
'main_class_code',
|
||||
'note_linked_to_notice'
|
||||
'note_linked_to_notice',
|
||||
'not_required'
|
||||
),
|
||||
'above' => array(
|
||||
'system_name'
|
||||
)
|
||||
),
|
||||
'mysql' => array(
|
||||
'fullwidth' => array(
|
||||
'add_sql',
|
||||
'sql',
|
||||
'add_sql_uninstall',
|
||||
'sql_uninstall'
|
||||
)
|
||||
),
|
||||
'script_file' => array(
|
||||
'fullwidth' => array(
|
||||
'add_php_preflight_install',
|
||||
'php_preflight_install',
|
||||
'add_php_preflight_update',
|
||||
'php_preflight_update',
|
||||
'add_php_preflight_uninstall',
|
||||
'php_preflight_uninstall',
|
||||
'add_php_postflight_install',
|
||||
'php_postflight_install',
|
||||
'add_php_postflight_update',
|
||||
'php_postflight_update',
|
||||
'add_php_method_uninstall',
|
||||
'php_method_uninstall'
|
||||
)
|
||||
),
|
||||
'dynamic_integration' => array(
|
||||
'left' => array(
|
||||
'add_update_server',
|
||||
'update_server_url',
|
||||
'update_server_target',
|
||||
'note_update_server_note_ftp',
|
||||
'note_update_server_note_zip',
|
||||
'note_update_server_note_other',
|
||||
'update_server',
|
||||
'add_sales_server',
|
||||
'sales_server'
|
||||
)
|
||||
),
|
||||
'readme' => array(
|
||||
'left' => array(
|
||||
'addreadme',
|
||||
'readme'
|
||||
)
|
||||
),
|
||||
'configparams' => array(
|
||||
'fullwidth' => array(
|
||||
'fields'
|
||||
@ -128,10 +172,40 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->main_class_code))
|
||||
if (!empty($item->sql_uninstall))
|
||||
{
|
||||
// base64 Decode main_class_code.
|
||||
$item->main_class_code = base64_decode($item->main_class_code);
|
||||
// base64 Decode sql_uninstall.
|
||||
$item->sql_uninstall = base64_decode($item->sql_uninstall);
|
||||
}
|
||||
|
||||
if (!empty($item->sql))
|
||||
{
|
||||
// base64 Decode sql.
|
||||
$item->sql = base64_decode($item->sql);
|
||||
}
|
||||
|
||||
if (!empty($item->php_method_uninstall))
|
||||
{
|
||||
// base64 Decode php_method_uninstall.
|
||||
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
|
||||
}
|
||||
|
||||
if (!empty($item->php_postflight_update))
|
||||
{
|
||||
// base64 Decode php_postflight_update.
|
||||
$item->php_postflight_update = base64_decode($item->php_postflight_update);
|
||||
}
|
||||
|
||||
if (!empty($item->php_postflight_install))
|
||||
{
|
||||
// base64 Decode php_postflight_install.
|
||||
$item->php_postflight_install = base64_decode($item->php_postflight_install);
|
||||
}
|
||||
|
||||
if (!empty($item->readme))
|
||||
{
|
||||
// base64 Decode readme.
|
||||
$item->readme = base64_decode($item->readme);
|
||||
}
|
||||
|
||||
if (!empty($item->head))
|
||||
@ -140,12 +214,28 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
$item->head = base64_decode($item->head);
|
||||
}
|
||||
|
||||
if (!empty($item->fields))
|
||||
if (!empty($item->main_class_code))
|
||||
{
|
||||
// Convert the fields field to an array.
|
||||
$fields = new Registry;
|
||||
$fields->loadString($item->fields);
|
||||
$item->fields = $fields->toArray();
|
||||
// base64 Decode main_class_code.
|
||||
$item->main_class_code = base64_decode($item->main_class_code);
|
||||
}
|
||||
|
||||
if (!empty($item->php_preflight_install))
|
||||
{
|
||||
// base64 Decode php_preflight_install.
|
||||
$item->php_preflight_install = base64_decode($item->php_preflight_install);
|
||||
}
|
||||
|
||||
if (!empty($item->php_preflight_update))
|
||||
{
|
||||
// base64 Decode php_preflight_update.
|
||||
$item->php_preflight_update = base64_decode($item->php_preflight_update);
|
||||
}
|
||||
|
||||
if (!empty($item->php_preflight_uninstall))
|
||||
{
|
||||
// base64 Decode php_preflight_uninstall.
|
||||
$item->php_preflight_uninstall = base64_decode($item->php_preflight_uninstall);
|
||||
}
|
||||
|
||||
if (!empty($item->method_selection))
|
||||
@ -164,6 +254,14 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
$item->property_selection = $property_selection->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->fields))
|
||||
{
|
||||
// Convert the fields field to an array.
|
||||
$fields = new Registry;
|
||||
$fields->loadString($item->fields);
|
||||
$item->fields = $fields->toArray();
|
||||
}
|
||||
|
||||
|
||||
if (empty($item->id))
|
||||
{
|
||||
@ -935,19 +1033,6 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
$data['name'] = ComponentbuilderHelper::safeClassFunctionName($data['name']);
|
||||
}
|
||||
|
||||
// Set the fields items to data.
|
||||
if (isset($data['fields']) && is_array($data['fields']))
|
||||
{
|
||||
$fields = new JRegistry;
|
||||
$fields->loadArray($data['fields']);
|
||||
$data['fields'] = (string) $fields;
|
||||
}
|
||||
elseif (!isset($data['fields']))
|
||||
{
|
||||
// Set the empty fields to data
|
||||
$data['fields'] = '';
|
||||
}
|
||||
|
||||
// Set the method_selection items to data.
|
||||
if (isset($data['method_selection']) && is_array($data['method_selection']))
|
||||
{
|
||||
@ -974,16 +1059,83 @@ class ComponentbuilderModelJoomla_plugin extends JModelAdmin
|
||||
$data['property_selection'] = '';
|
||||
}
|
||||
|
||||
// Set the main_class_code string to base64 string.
|
||||
if (isset($data['main_class_code']))
|
||||
// Set the fields items to data.
|
||||
if (isset($data['fields']) && is_array($data['fields']))
|
||||
{
|
||||
$data['main_class_code'] = base64_encode($data['main_class_code']);
|
||||
$fields = new JRegistry;
|
||||
$fields->loadArray($data['fields']);
|
||||
$data['fields'] = (string) $fields;
|
||||
}
|
||||
elseif (!isset($data['fields']))
|
||||
{
|
||||
// Set the empty fields to data
|
||||
$data['fields'] = '';
|
||||
}
|
||||
|
||||
// Set the sql_uninstall string to base64 string.
|
||||
if (isset($data['sql_uninstall']))
|
||||
{
|
||||
$data['sql_uninstall'] = base64_encode($data['sql_uninstall']);
|
||||
}
|
||||
|
||||
// Set the sql string to base64 string.
|
||||
if (isset($data['sql']))
|
||||
{
|
||||
$data['sql'] = base64_encode($data['sql']);
|
||||
}
|
||||
|
||||
// Set the php_method_uninstall string to base64 string.
|
||||
if (isset($data['php_method_uninstall']))
|
||||
{
|
||||
$data['php_method_uninstall'] = base64_encode($data['php_method_uninstall']);
|
||||
}
|
||||
|
||||
// Set the php_postflight_update string to base64 string.
|
||||
if (isset($data['php_postflight_update']))
|
||||
{
|
||||
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
|
||||
}
|
||||
|
||||
// Set the php_postflight_install string to base64 string.
|
||||
if (isset($data['php_postflight_install']))
|
||||
{
|
||||
$data['php_postflight_install'] = base64_encode($data['php_postflight_install']);
|
||||
}
|
||||
|
||||
// Set the readme string to base64 string.
|
||||
if (isset($data['readme']))
|
||||
{
|
||||
$data['readme'] = base64_encode($data['readme']);
|
||||
}
|
||||
|
||||
// Set the head string to base64 string.
|
||||
if (isset($data['head']))
|
||||
{
|
||||
$data['head'] = base64_encode($data['head']);
|
||||
}
|
||||
|
||||
// Set the main_class_code string to base64 string.
|
||||
if (isset($data['main_class_code']))
|
||||
{
|
||||
$data['main_class_code'] = base64_encode($data['main_class_code']);
|
||||
}
|
||||
|
||||
// Set the php_preflight_install string to base64 string.
|
||||
if (isset($data['php_preflight_install']))
|
||||
{
|
||||
$data['php_preflight_install'] = base64_encode($data['php_preflight_install']);
|
||||
}
|
||||
|
||||
// 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 php_preflight_uninstall string to base64 string.
|
||||
if (isset($data['php_preflight_uninstall']))
|
||||
{
|
||||
$data['php_preflight_uninstall'] = base64_encode($data['php_preflight_uninstall']);
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
|
978
admin/models/joomla_plugin_files_folders_urls.php
Normal file
978
admin/models/joomla_plugin_files_folders_urls.php
Normal file
@ -0,0 +1,978 @@
|
||||
<?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');
|
||||
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
/**
|
||||
* Componentbuilder Joomla_plugin_files_folders_urls Model
|
||||
*/
|
||||
class ComponentbuilderModelJoomla_plugin_files_folders_urls extends JModelAdmin
|
||||
{
|
||||
/**
|
||||
* The tab layout fields array.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $tabLayoutFields = array(
|
||||
'basic' => array(
|
||||
'fullwidth' => array(
|
||||
'note_add_urls',
|
||||
'addurls',
|
||||
'note_add_files',
|
||||
'addfiles',
|
||||
'note_add_folders',
|
||||
'addfolders'
|
||||
),
|
||||
'above' => array(
|
||||
'joomla_plugin'
|
||||
)
|
||||
),
|
||||
'advance' => array(
|
||||
'fullwidth' => array(
|
||||
'note_add_files_fullpath',
|
||||
'addfilesfullpath',
|
||||
'note_add_folders_fullpath',
|
||||
'addfoldersfullpath',
|
||||
'note_constant_paths'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
* @var string The prefix to use with controller messages.
|
||||
* @since 1.6
|
||||
*/
|
||||
protected $text_prefix = 'COM_COMPONENTBUILDER';
|
||||
|
||||
/**
|
||||
* The type alias for this content type.
|
||||
*
|
||||
* @var string
|
||||
* @since 3.2
|
||||
*/
|
||||
public $typeAlias = 'com_componentbuilder.joomla_plugin_files_folders_urls';
|
||||
|
||||
/**
|
||||
* Returns a Table object, always creating it
|
||||
*
|
||||
* @param type $type The table type to instantiate
|
||||
* @param string $prefix A prefix for the table class name. Optional.
|
||||
* @param array $config Configuration array for model. Optional.
|
||||
*
|
||||
* @return JTable A database object
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getTable($type = 'joomla_plugin_files_folders_urls', $prefix = 'ComponentbuilderTable', $config = array())
|
||||
{
|
||||
// add table path for when model gets used from other component
|
||||
$this->addTablePath(JPATH_ADMINISTRATOR . '/components/com_componentbuilder/tables');
|
||||
// get instance of the table
|
||||
return JTable::getInstance($type, $prefix, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a single record.
|
||||
*
|
||||
* @param integer $pk The id of the primary key.
|
||||
*
|
||||
* @return mixed Object on success, false on failure.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getItem($pk = null)
|
||||
{
|
||||
if ($item = parent::getItem($pk))
|
||||
{
|
||||
if (!empty($item->params) && !is_array($item->params))
|
||||
{
|
||||
// Convert the params field to an array.
|
||||
$registry = new Registry;
|
||||
$registry->loadString($item->params);
|
||||
$item->params = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->metadata))
|
||||
{
|
||||
// Convert the metadata field to an array.
|
||||
$registry = new Registry;
|
||||
$registry->loadString($item->metadata);
|
||||
$item->metadata = $registry->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addfoldersfullpath))
|
||||
{
|
||||
// Convert the addfoldersfullpath field to an array.
|
||||
$addfoldersfullpath = new Registry;
|
||||
$addfoldersfullpath->loadString($item->addfoldersfullpath);
|
||||
$item->addfoldersfullpath = $addfoldersfullpath->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addfilesfullpath))
|
||||
{
|
||||
// Convert the addfilesfullpath field to an array.
|
||||
$addfilesfullpath = new Registry;
|
||||
$addfilesfullpath->loadString($item->addfilesfullpath);
|
||||
$item->addfilesfullpath = $addfilesfullpath->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addfolders))
|
||||
{
|
||||
// Convert the addfolders field to an array.
|
||||
$addfolders = new Registry;
|
||||
$addfolders->loadString($item->addfolders);
|
||||
$item->addfolders = $addfolders->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addfiles))
|
||||
{
|
||||
// Convert the addfiles field to an array.
|
||||
$addfiles = new Registry;
|
||||
$addfiles->loadString($item->addfiles);
|
||||
$item->addfiles = $addfiles->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->addurls))
|
||||
{
|
||||
// Convert the addurls field to an array.
|
||||
$addurls = new Registry;
|
||||
$addurls->loadString($item->addurls);
|
||||
$item->addurls = $addurls->toArray();
|
||||
}
|
||||
|
||||
if (!empty($item->id))
|
||||
{
|
||||
$item->tags = new JHelperTags;
|
||||
$item->tags->getTagIds($item->id, 'com_componentbuilder.joomla_plugin_files_folders_urls');
|
||||
}
|
||||
}
|
||||
|
||||
return $item;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the record form.
|
||||
*
|
||||
* @param array $data Data for the form.
|
||||
* @param boolean $loadData True if the form is to load its own data (default case), false if not.
|
||||
* @param array $options Optional array of options for the form creation.
|
||||
*
|
||||
* @return mixed A JForm object on success, false on failure
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function getForm($data = array(), $loadData = true, $options = array('control' => 'jform'))
|
||||
{
|
||||
// set load data option
|
||||
$options['load_data'] = $loadData;
|
||||
// Get the form.
|
||||
$form = $this->loadForm('com_componentbuilder.joomla_plugin_files_folders_urls', 'joomla_plugin_files_folders_urls', $options);
|
||||
|
||||
if (empty($form))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
|
||||
// The front end calls this model and uses a_id to avoid id clashes so we need to check for that first.
|
||||
if ($jinput->get('a_id'))
|
||||
{
|
||||
$id = $jinput->get('a_id', 0, 'INT');
|
||||
}
|
||||
// The back end uses id so we use that the rest of the time and set it to 0 by default.
|
||||
else
|
||||
{
|
||||
$id = $jinput->get('id', 0, 'INT');
|
||||
}
|
||||
|
||||
$user = JFactory::getUser();
|
||||
|
||||
// Check for existing item.
|
||||
// Modify the form based on Edit State access controls.
|
||||
if ($id != 0 && (!$user->authorise('joomla_plugin_files_folders_urls.edit.state', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('joomla_plugin_files_folders_urls.edit.state', 'com_componentbuilder')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('ordering', 'disabled', 'true');
|
||||
$form->setFieldAttribute('published', 'disabled', 'true');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('ordering', 'filter', 'unset');
|
||||
$form->setFieldAttribute('published', 'filter', 'unset');
|
||||
}
|
||||
// If this is a new item insure the greated by is set.
|
||||
if (0 == $id)
|
||||
{
|
||||
// Set the created_by to this user
|
||||
$form->setValue('created_by', null, $user->id);
|
||||
}
|
||||
// Modify the form based on Edit Creaded By access controls.
|
||||
if ($id != 0 && (!$user->authorise('joomla_plugin_files_folders_urls.edit.created_by', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('joomla_plugin_files_folders_urls.edit.created_by', 'com_componentbuilder')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('created_by', 'disabled', 'true');
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('created_by', 'readonly', 'true');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('created_by', 'filter', 'unset');
|
||||
}
|
||||
// Modify the form based on Edit Creaded Date access controls.
|
||||
if ($id != 0 && (!$user->authorise('joomla_plugin_files_folders_urls.edit.created', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $id))
|
||||
|| ($id == 0 && !$user->authorise('joomla_plugin_files_folders_urls.edit.created', 'com_componentbuilder')))
|
||||
{
|
||||
// Disable fields for display.
|
||||
$form->setFieldAttribute('created', 'disabled', 'true');
|
||||
// Disable fields while saving.
|
||||
$form->setFieldAttribute('created', 'filter', 'unset');
|
||||
}
|
||||
// Only load these values if no id is found
|
||||
if (0 == $id)
|
||||
{
|
||||
// Set redirected view name
|
||||
$redirectedView = $jinput->get('ref', null, 'STRING');
|
||||
// Set field name (or fall back to view name)
|
||||
$redirectedField = $jinput->get('field', $redirectedView, 'STRING');
|
||||
// Set redirected view id
|
||||
$redirectedId = $jinput->get('refid', 0, 'INT');
|
||||
// Set field id (or fall back to redirected view id)
|
||||
$redirectedValue = $jinput->get('field_id', $redirectedId, 'INT');
|
||||
if (0 != $redirectedValue && $redirectedField)
|
||||
{
|
||||
// Now set the local-redirected field default value
|
||||
$form->setValue($redirectedField, null, $redirectedValue);
|
||||
}
|
||||
}
|
||||
return $form;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the script that have to be included on the form
|
||||
*
|
||||
* @return string script files
|
||||
*/
|
||||
public function getScript()
|
||||
{
|
||||
return 'administrator/components/com_componentbuilder/models/forms/joomla_plugin_files_folders_urls.js';
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to test whether a record can be deleted.
|
||||
*
|
||||
* @param object $record A record object.
|
||||
*
|
||||
* @return boolean True if allowed to delete the record. Defaults to the permission set in the component.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function canDelete($record)
|
||||
{
|
||||
if (!empty($record->id))
|
||||
{
|
||||
if ($record->published != -2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$user = JFactory::getUser();
|
||||
// The record has been set. Check the record permissions.
|
||||
return $user->authorise('joomla_plugin_files_folders_urls.delete', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $record->id);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to test whether a record can have its state edited.
|
||||
*
|
||||
* @param object $record A record object.
|
||||
*
|
||||
* @return boolean True if allowed to change the state of the record. Defaults to the permission set in the component.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function canEditState($record)
|
||||
{
|
||||
$user = JFactory::getUser();
|
||||
$recordId = (!empty($record->id)) ? $record->id : 0;
|
||||
|
||||
if ($recordId)
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('joomla_plugin_files_folders_urls.edit.state', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// In the absense of better information, revert to the component permissions.
|
||||
return $user->authorise('joomla_plugin_files_folders_urls.edit.state', 'com_componentbuilder');
|
||||
}
|
||||
|
||||
/**
|
||||
* Method override to check if you can edit an existing record.
|
||||
*
|
||||
* @param array $data An array of input data.
|
||||
* @param string $key The name of the key for the primary key.
|
||||
*
|
||||
* @return boolean
|
||||
* @since 2.5
|
||||
*/
|
||||
protected function allowEdit($data = array(), $key = 'id')
|
||||
{
|
||||
// Check specific edit permission then general edit permission.
|
||||
$user = JFactory::getUser();
|
||||
|
||||
return $user->authorise('joomla_plugin_files_folders_urls.edit', 'com_componentbuilder.joomla_plugin_files_folders_urls.'. ((int) isset($data[$key]) ? $data[$key] : 0)) or $user->authorise('joomla_plugin_files_folders_urls.edit', 'com_componentbuilder');
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare and sanitise the table data prior to saving.
|
||||
*
|
||||
* @param JTable $table A JTable object.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function prepareTable($table)
|
||||
{
|
||||
$date = JFactory::getDate();
|
||||
$user = JFactory::getUser();
|
||||
|
||||
if (isset($table->name))
|
||||
{
|
||||
$table->name = htmlspecialchars_decode($table->name, ENT_QUOTES);
|
||||
}
|
||||
|
||||
if (isset($table->alias) && empty($table->alias))
|
||||
{
|
||||
$table->generateAlias();
|
||||
}
|
||||
|
||||
if (empty($table->id))
|
||||
{
|
||||
$table->created = $date->toSql();
|
||||
// set the user
|
||||
if ($table->created_by == 0 || empty($table->created_by))
|
||||
{
|
||||
$table->created_by = $user->id;
|
||||
}
|
||||
// Set ordering to the last item if not set
|
||||
if (empty($table->ordering))
|
||||
{
|
||||
$db = JFactory::getDbo();
|
||||
$query = $db->getQuery(true)
|
||||
->select('MAX(ordering)')
|
||||
->from($db->quoteName('#__componentbuilder_joomla_plugin_files_folders_urls'));
|
||||
$db->setQuery($query);
|
||||
$max = $db->loadResult();
|
||||
|
||||
$table->ordering = $max + 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$table->modified = $date->toSql();
|
||||
$table->modified_by = $user->id;
|
||||
}
|
||||
|
||||
if (!empty($table->id))
|
||||
{
|
||||
// Increment the items version number.
|
||||
$table->version++;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the data that should be injected in the form.
|
||||
*
|
||||
* @return mixed The data for the form.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
protected function loadFormData()
|
||||
{
|
||||
// Check the session for previously entered form data.
|
||||
$data = JFactory::getApplication()->getUserState('com_componentbuilder.edit.joomla_plugin_files_folders_urls.data', array());
|
||||
|
||||
if (empty($data))
|
||||
{
|
||||
$data = $this->getItem();
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get the unique fields of this table.
|
||||
*
|
||||
* @return mixed An array of field names, boolean false if none is set.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
protected function getUniqeFields()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to delete one or more records.
|
||||
*
|
||||
* @param array &$pks An array of record primary keys.
|
||||
*
|
||||
* @return boolean True if successful, false if an error occurs.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function delete(&$pks)
|
||||
{
|
||||
if (!parent::delete($pks))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to change the published state of one or more records.
|
||||
*
|
||||
* @param array &$pks A list of the primary keys to change.
|
||||
* @param integer $value The value of the published state.
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function publish(&$pks, $value = 1)
|
||||
{
|
||||
if (!parent::publish($pks, $value))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to perform batch operations on an item or a set of items.
|
||||
*
|
||||
* @param array $commands An array of commands to perform.
|
||||
* @param array $pks An array of item ids.
|
||||
* @param array $contexts An array of item contexts.
|
||||
*
|
||||
* @return boolean Returns true on success, false on failure.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
public function batch($commands, $pks, $contexts)
|
||||
{
|
||||
// Sanitize ids.
|
||||
$pks = array_unique($pks);
|
||||
JArrayHelper::toInteger($pks);
|
||||
|
||||
// Remove any values of zero.
|
||||
if (array_search(0, $pks, true))
|
||||
{
|
||||
unset($pks[array_search(0, $pks, true)]);
|
||||
}
|
||||
|
||||
if (empty($pks))
|
||||
{
|
||||
$this->setError(JText::_('JGLOBAL_NO_ITEM_SELECTED'));
|
||||
return false;
|
||||
}
|
||||
|
||||
$done = false;
|
||||
|
||||
// Set some needed variables.
|
||||
$this->user = JFactory::getUser();
|
||||
$this->table = $this->getTable();
|
||||
$this->tableClassName = get_class($this->table);
|
||||
$this->contentType = new JUcmType;
|
||||
$this->type = $this->contentType->getTypeByTable($this->tableClassName);
|
||||
$this->canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls');
|
||||
$this->batchSet = true;
|
||||
|
||||
if (!$this->canDo->get('core.batch'))
|
||||
{
|
||||
$this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($this->type == false)
|
||||
{
|
||||
$type = new JUcmType;
|
||||
$this->type = $type->getTypeByAlias($this->typeAlias);
|
||||
}
|
||||
|
||||
$this->tagsObserver = $this->table->getObserverOfClass('JTableObserverTags');
|
||||
|
||||
if (!empty($commands['move_copy']))
|
||||
{
|
||||
$cmd = JArrayHelper::getValue($commands, 'move_copy', 'c');
|
||||
|
||||
if ($cmd == 'c')
|
||||
{
|
||||
$result = $this->batchCopy($commands, $pks, $contexts);
|
||||
|
||||
if (is_array($result))
|
||||
{
|
||||
foreach ($result as $old => $new)
|
||||
{
|
||||
$contexts[$new] = $contexts[$old];
|
||||
}
|
||||
$pks = array_values($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
elseif ($cmd == 'm' && !$this->batchMove($commands, $pks, $contexts))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$done = true;
|
||||
}
|
||||
|
||||
if (!$done)
|
||||
{
|
||||
$this->setError(JText::_('JLIB_APPLICATION_ERROR_INSUFFICIENT_BATCH_INFORMATION'));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Clear the cache
|
||||
$this->cleanCache();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Batch copy items to a new category or current.
|
||||
*
|
||||
* @param integer $values The new values.
|
||||
* @param array $pks An array of row IDs.
|
||||
* @param array $contexts An array of item contexts.
|
||||
*
|
||||
* @return mixed An array of new IDs on success, boolean false on failure.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function batchCopy($values, $pks, $contexts)
|
||||
{
|
||||
if (empty($this->batchSet))
|
||||
{
|
||||
// Set some needed variables.
|
||||
$this->user = JFactory::getUser();
|
||||
$this->table = $this->getTable();
|
||||
$this->tableClassName = get_class($this->table);
|
||||
$this->canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls');
|
||||
}
|
||||
|
||||
if (!$this->canDo->get('joomla_plugin_files_folders_urls.create') && !$this->canDo->get('joomla_plugin_files_folders_urls.batch'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
// get list of uniqe fields
|
||||
$uniqeFields = $this->getUniqeFields();
|
||||
// remove move_copy from array
|
||||
unset($values['move_copy']);
|
||||
|
||||
// make sure published is set
|
||||
if (!isset($values['published']))
|
||||
{
|
||||
$values['published'] = 0;
|
||||
}
|
||||
elseif (isset($values['published']) && !$this->canDo->get('joomla_plugin_files_folders_urls.edit.state'))
|
||||
{
|
||||
$values['published'] = 0;
|
||||
}
|
||||
|
||||
$newIds = array();
|
||||
// Parent exists so let's proceed
|
||||
while (!empty($pks))
|
||||
{
|
||||
// Pop the first ID off the stack
|
||||
$pk = array_shift($pks);
|
||||
|
||||
$this->table->reset();
|
||||
|
||||
// only allow copy if user may edit this item.
|
||||
if (!$this->user->authorise('joomla_plugin_files_folders_urls.edit', $contexts[$pk]))
|
||||
{
|
||||
// Not fatal error
|
||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk));
|
||||
continue;
|
||||
}
|
||||
|
||||
// Check that the row actually exists
|
||||
if (!$this->table->load($pk))
|
||||
{
|
||||
if ($error = $this->table->getError())
|
||||
{
|
||||
// Fatal error
|
||||
$this->setError($error);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Not fatal error
|
||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Only for strings
|
||||
if (ComponentbuilderHelper::checkString($this->table->joomla_plugin) && !is_numeric($this->table->joomla_plugin))
|
||||
{
|
||||
$this->table->joomla_plugin = $this->generateUniqe('joomla_plugin',$this->table->joomla_plugin);
|
||||
}
|
||||
|
||||
// insert all set values
|
||||
if (ComponentbuilderHelper::checkArray($values))
|
||||
{
|
||||
foreach ($values as $key => $value)
|
||||
{
|
||||
if (strlen($value) > 0 && isset($this->table->$key))
|
||||
{
|
||||
$this->table->$key = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// update all uniqe fields
|
||||
if (ComponentbuilderHelper::checkArray($uniqeFields))
|
||||
{
|
||||
foreach ($uniqeFields as $uniqeField)
|
||||
{
|
||||
$this->table->$uniqeField = $this->generateUniqe($uniqeField,$this->table->$uniqeField);
|
||||
}
|
||||
}
|
||||
|
||||
// Reset the ID because we are making a copy
|
||||
$this->table->id = 0;
|
||||
|
||||
// TODO: Deal with ordering?
|
||||
// $this->table->ordering = 1;
|
||||
|
||||
// Check the row.
|
||||
if (!$this->table->check())
|
||||
{
|
||||
$this->setError($this->table->getError());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!empty($this->type))
|
||||
{
|
||||
$this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table);
|
||||
}
|
||||
|
||||
// Store the row.
|
||||
if (!$this->table->store())
|
||||
{
|
||||
$this->setError($this->table->getError());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Get the new item ID
|
||||
$newId = $this->table->get('id');
|
||||
|
||||
// Add the new ID to the array
|
||||
$newIds[$pk] = $newId;
|
||||
}
|
||||
|
||||
// Clean the cache
|
||||
$this->cleanCache();
|
||||
|
||||
return $newIds;
|
||||
}
|
||||
|
||||
/**
|
||||
* Batch move items to a new category
|
||||
*
|
||||
* @param integer $value The new category ID.
|
||||
* @param array $pks An array of row IDs.
|
||||
* @param array $contexts An array of item contexts.
|
||||
*
|
||||
* @return boolean True if successful, false otherwise and internal error is set.
|
||||
*
|
||||
* @since 12.2
|
||||
*/
|
||||
protected function batchMove($values, $pks, $contexts)
|
||||
{
|
||||
if (empty($this->batchSet))
|
||||
{
|
||||
// Set some needed variables.
|
||||
$this->user = JFactory::getUser();
|
||||
$this->table = $this->getTable();
|
||||
$this->tableClassName = get_class($this->table);
|
||||
$this->canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls');
|
||||
}
|
||||
|
||||
if (!$this->canDo->get('joomla_plugin_files_folders_urls.edit') && !$this->canDo->get('joomla_plugin_files_folders_urls.batch'))
|
||||
{
|
||||
$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));
|
||||
return false;
|
||||
}
|
||||
|
||||
// make sure published only updates if user has the permission.
|
||||
if (isset($values['published']) && !$this->canDo->get('joomla_plugin_files_folders_urls.edit.state'))
|
||||
{
|
||||
unset($values['published']);
|
||||
}
|
||||
// remove move_copy from array
|
||||
unset($values['move_copy']);
|
||||
|
||||
// Parent exists so we proceed
|
||||
foreach ($pks as $pk)
|
||||
{
|
||||
if (!$this->user->authorise('joomla_plugin_files_folders_urls.edit', $contexts[$pk]))
|
||||
{
|
||||
$this->setError(JText::_('JLIB_APPLICATION_ERROR_BATCH_CANNOT_EDIT'));
|
||||
return false;
|
||||
}
|
||||
|
||||
// Check that the row actually exists
|
||||
if (!$this->table->load($pk))
|
||||
{
|
||||
if ($error = $this->table->getError())
|
||||
{
|
||||
// Fatal error
|
||||
$this->setError($error);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Not fatal error
|
||||
$this->setError(JText::sprintf('JLIB_APPLICATION_ERROR_BATCH_MOVE_ROW_NOT_FOUND', $pk));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// insert all set values.
|
||||
if (ComponentbuilderHelper::checkArray($values))
|
||||
{
|
||||
foreach ($values as $key => $value)
|
||||
{
|
||||
// Do special action for access.
|
||||
if ('access' === $key && strlen($value) > 0)
|
||||
{
|
||||
$this->table->$key = $value;
|
||||
}
|
||||
elseif (strlen($value) > 0 && isset($this->table->$key))
|
||||
{
|
||||
$this->table->$key = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Check the row.
|
||||
if (!$this->table->check())
|
||||
{
|
||||
$this->setError($this->table->getError());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!empty($this->type))
|
||||
{
|
||||
$this->createTagsHelper($this->tagsObserver, $this->type, $pk, $this->typeAlias, $this->table);
|
||||
}
|
||||
|
||||
// Store the row.
|
||||
if (!$this->table->store())
|
||||
{
|
||||
$this->setError($this->table->getError());
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// Clean the cache
|
||||
$this->cleanCache();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to save the form data.
|
||||
*
|
||||
* @param array $data The form data.
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
public function save($data)
|
||||
{
|
||||
$input = JFactory::getApplication()->input;
|
||||
$filter = JFilterInput::getInstance();
|
||||
|
||||
// set the metadata to the Item Data
|
||||
if (isset($data['metadata']) && isset($data['metadata']['author']))
|
||||
{
|
||||
$data['metadata']['author'] = $filter->clean($data['metadata']['author'], 'TRIM');
|
||||
|
||||
$metadata = new JRegistry;
|
||||
$metadata->loadArray($data['metadata']);
|
||||
$data['metadata'] = (string) $metadata;
|
||||
}
|
||||
|
||||
// Set the addfoldersfullpath items to data.
|
||||
if (isset($data['addfoldersfullpath']) && is_array($data['addfoldersfullpath']))
|
||||
{
|
||||
$addfoldersfullpath = new JRegistry;
|
||||
$addfoldersfullpath->loadArray($data['addfoldersfullpath']);
|
||||
$data['addfoldersfullpath'] = (string) $addfoldersfullpath;
|
||||
}
|
||||
elseif (!isset($data['addfoldersfullpath']))
|
||||
{
|
||||
// Set the empty addfoldersfullpath to data
|
||||
$data['addfoldersfullpath'] = '';
|
||||
}
|
||||
|
||||
// Set the addfilesfullpath items to data.
|
||||
if (isset($data['addfilesfullpath']) && is_array($data['addfilesfullpath']))
|
||||
{
|
||||
$addfilesfullpath = new JRegistry;
|
||||
$addfilesfullpath->loadArray($data['addfilesfullpath']);
|
||||
$data['addfilesfullpath'] = (string) $addfilesfullpath;
|
||||
}
|
||||
elseif (!isset($data['addfilesfullpath']))
|
||||
{
|
||||
// Set the empty addfilesfullpath to data
|
||||
$data['addfilesfullpath'] = '';
|
||||
}
|
||||
|
||||
// Set the addfolders items to data.
|
||||
if (isset($data['addfolders']) && is_array($data['addfolders']))
|
||||
{
|
||||
$addfolders = new JRegistry;
|
||||
$addfolders->loadArray($data['addfolders']);
|
||||
$data['addfolders'] = (string) $addfolders;
|
||||
}
|
||||
elseif (!isset($data['addfolders']))
|
||||
{
|
||||
// Set the empty addfolders to data
|
||||
$data['addfolders'] = '';
|
||||
}
|
||||
|
||||
// Set the addfiles items to data.
|
||||
if (isset($data['addfiles']) && is_array($data['addfiles']))
|
||||
{
|
||||
$addfiles = new JRegistry;
|
||||
$addfiles->loadArray($data['addfiles']);
|
||||
$data['addfiles'] = (string) $addfiles;
|
||||
}
|
||||
elseif (!isset($data['addfiles']))
|
||||
{
|
||||
// Set the empty addfiles to data
|
||||
$data['addfiles'] = '';
|
||||
}
|
||||
|
||||
// Set the addurls items to data.
|
||||
if (isset($data['addurls']) && is_array($data['addurls']))
|
||||
{
|
||||
$addurls = new JRegistry;
|
||||
$addurls->loadArray($data['addurls']);
|
||||
$data['addurls'] = (string) $addurls;
|
||||
}
|
||||
elseif (!isset($data['addurls']))
|
||||
{
|
||||
// Set the empty addurls to data
|
||||
$data['addurls'] = '';
|
||||
}
|
||||
|
||||
// Set the Params Items to data
|
||||
if (isset($data['params']) && is_array($data['params']))
|
||||
{
|
||||
$params = new JRegistry;
|
||||
$params->loadArray($data['params']);
|
||||
$data['params'] = (string) $params;
|
||||
}
|
||||
|
||||
// Alter the uniqe field for save as copy
|
||||
if ($input->get('task') === 'save2copy')
|
||||
{
|
||||
// Automatic handling of other uniqe fields
|
||||
$uniqeFields = $this->getUniqeFields();
|
||||
if (ComponentbuilderHelper::checkArray($uniqeFields))
|
||||
{
|
||||
foreach ($uniqeFields as $uniqeField)
|
||||
{
|
||||
$data[$uniqeField] = $this->generateUniqe($uniqeField,$data[$uniqeField]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (parent::save($data))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to generate a uniqe value.
|
||||
*
|
||||
* @param string $field name.
|
||||
* @param string $value data.
|
||||
*
|
||||
* @return string New value.
|
||||
*
|
||||
* @since 3.0
|
||||
*/
|
||||
protected function generateUniqe($field,$value)
|
||||
{
|
||||
|
||||
// set field value uniqe
|
||||
$table = $this->getTable();
|
||||
|
||||
while ($table->load(array($field => $value)))
|
||||
{
|
||||
$value = JString::increment($value);
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to change the title
|
||||
*
|
||||
* @param string $title The title.
|
||||
*
|
||||
* @return array Contains the modified title and alias.
|
||||
*
|
||||
*/
|
||||
protected function _generateNewTitle($title)
|
||||
{
|
||||
|
||||
// Alter the title
|
||||
$table = $this->getTable();
|
||||
|
||||
while ($table->load(array('title' => $title)))
|
||||
{
|
||||
$title = JString::increment($title);
|
||||
}
|
||||
|
||||
return $title;
|
||||
}
|
||||
}
|
237
admin/models/joomla_plugins_files_folders_urls.php
Normal file
237
admin/models/joomla_plugins_files_folders_urls.php
Normal file
@ -0,0 +1,237 @@
|
||||
<?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');
|
||||
|
||||
/**
|
||||
* Joomla_plugins_files_folders_urls Model
|
||||
*/
|
||||
class ComponentbuilderModelJoomla_plugins_files_folders_urls extends JModelList
|
||||
{
|
||||
public function __construct($config = array())
|
||||
{
|
||||
if (empty($config['filter_fields']))
|
||||
{
|
||||
$config['filter_fields'] = array(
|
||||
'a.id','id',
|
||||
'a.published','published',
|
||||
'a.ordering','ordering',
|
||||
'a.created_by','created_by',
|
||||
'a.modified_by','modified_by'
|
||||
);
|
||||
}
|
||||
|
||||
parent::__construct($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to auto-populate the model state.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function populateState($ordering = null, $direction = null)
|
||||
{
|
||||
$app = JFactory::getApplication();
|
||||
|
||||
// Adjust the context to support modal layouts.
|
||||
if ($layout = $app->input->get('layout'))
|
||||
{
|
||||
$this->context .= '.' . $layout;
|
||||
}
|
||||
|
||||
|
||||
$sorting = $this->getUserStateFromRequest($this->context . '.filter.sorting', 'filter_sorting', 0, 'int');
|
||||
$this->setState('filter.sorting', $sorting);
|
||||
|
||||
$access = $this->getUserStateFromRequest($this->context . '.filter.access', 'filter_access', 0, 'int');
|
||||
$this->setState('filter.access', $access);
|
||||
|
||||
$search = $this->getUserStateFromRequest($this->context . '.filter.search', 'filter_search');
|
||||
$this->setState('filter.search', $search);
|
||||
|
||||
$published = $this->getUserStateFromRequest($this->context . '.filter.published', 'filter_published', '');
|
||||
$this->setState('filter.published', $published);
|
||||
|
||||
$created_by = $this->getUserStateFromRequest($this->context . '.filter.created_by', 'filter_created_by', '');
|
||||
$this->setState('filter.created_by', $created_by);
|
||||
|
||||
$created = $this->getUserStateFromRequest($this->context . '.filter.created', 'filter_created');
|
||||
$this->setState('filter.created', $created);
|
||||
|
||||
// List state information.
|
||||
parent::populateState($ordering, $direction);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get an array of data items.
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getItems()
|
||||
{
|
||||
// check in items
|
||||
$this->checkInNow();
|
||||
|
||||
// load parent items
|
||||
$items = parent::getItems();
|
||||
|
||||
// set values to display correctly.
|
||||
if (ComponentbuilderHelper::checkArray($items))
|
||||
{
|
||||
foreach ($items as $nr => &$item)
|
||||
{
|
||||
$access = (JFactory::getUser()->authorise('joomla_plugin_files_folders_urls.access', 'com_componentbuilder.joomla_plugin_files_folders_urls.' . (int) $item->id) && JFactory::getUser()->authorise('joomla_plugin_files_folders_urls.access', 'com_componentbuilder'));
|
||||
if (!$access)
|
||||
{
|
||||
unset($items[$nr]);
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// return items
|
||||
return $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to build an SQL query to load the list data.
|
||||
*
|
||||
* @return string An SQL query
|
||||
*/
|
||||
protected function getListQuery()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
// Create a new query object.
|
||||
$db = JFactory::getDBO();
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Select some fields
|
||||
$query->select('a.*');
|
||||
|
||||
// From the componentbuilder_item table
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_plugin_files_folders_urls', 'a'));
|
||||
|
||||
// From the componentbuilder_joomla_plugin table.
|
||||
$query->select($db->quoteName('g.system_name','joomla_plugin_system_name'));
|
||||
$query->join('LEFT', $db->quoteName('#__componentbuilder_joomla_plugin', 'g') . ' ON (' . $db->quoteName('a.joomla_plugin') . ' = ' . $db->quoteName('g.id') . ')');
|
||||
|
||||
// Filter by published state
|
||||
$published = $this->getState('filter.published');
|
||||
if (is_numeric($published))
|
||||
{
|
||||
$query->where('a.published = ' . (int) $published);
|
||||
}
|
||||
elseif ($published === '')
|
||||
{
|
||||
$query->where('(a.published = 0 OR a.published = 1)');
|
||||
}
|
||||
|
||||
// Join over the asset groups.
|
||||
$query->select('ag.title AS access_level');
|
||||
$query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');
|
||||
// Filter by access level.
|
||||
if ($access = $this->getState('filter.access'))
|
||||
{
|
||||
$query->where('a.access = ' . (int) $access);
|
||||
}
|
||||
// Implement View Level Access
|
||||
if (!$user->authorise('core.options', 'com_componentbuilder'))
|
||||
{
|
||||
$groups = implode(',', $user->getAuthorisedViewLevels());
|
||||
$query->where('a.access IN (' . $groups . ')');
|
||||
}
|
||||
|
||||
// Add the list ordering clause.
|
||||
$orderCol = $this->state->get('list.ordering', 'a.id');
|
||||
$orderDirn = $this->state->get('list.direction', 'asc');
|
||||
if ($orderCol != '')
|
||||
{
|
||||
$query->order($db->escape($orderCol . ' ' . $orderDirn));
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to get a store id based on model configuration state.
|
||||
*
|
||||
* @return string A store id.
|
||||
*
|
||||
*/
|
||||
protected function getStoreId($id = '')
|
||||
{
|
||||
// Compile the store id.
|
||||
$id .= ':' . $this->getState('filter.id');
|
||||
$id .= ':' . $this->getState('filter.search');
|
||||
$id .= ':' . $this->getState('filter.published');
|
||||
$id .= ':' . $this->getState('filter.ordering');
|
||||
$id .= ':' . $this->getState('filter.created_by');
|
||||
$id .= ':' . $this->getState('filter.modified_by');
|
||||
|
||||
return parent::getStoreId($id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Build an SQL query to checkin all items left checked out longer then a set time.
|
||||
*
|
||||
* @return a bool
|
||||
*
|
||||
*/
|
||||
protected function checkInNow()
|
||||
{
|
||||
// Get set check in time
|
||||
$time = JComponentHelper::getParams('com_componentbuilder')->get('check_in');
|
||||
|
||||
if ($time)
|
||||
{
|
||||
|
||||
// Get a db connection.
|
||||
$db = JFactory::getDbo();
|
||||
// reset query
|
||||
$query = $db->getQuery(true);
|
||||
$query->select('*');
|
||||
$query->from($db->quoteName('#__componentbuilder_joomla_plugin_files_folders_urls'));
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
if ($db->getNumRows())
|
||||
{
|
||||
// Get Yesterdays date
|
||||
$date = JFactory::getDate()->modify($time)->toSql();
|
||||
// reset query
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Fields to update.
|
||||
$fields = array(
|
||||
$db->quoteName('checked_out_time') . '=\'0000-00-00 00:00:00\'',
|
||||
$db->quoteName('checked_out') . '=0'
|
||||
);
|
||||
|
||||
// Conditions for which records should be updated.
|
||||
$conditions = array(
|
||||
$db->quoteName('checked_out') . '!=0',
|
||||
$db->quoteName('checked_out_time') . '<\''.$date.'\''
|
||||
);
|
||||
|
||||
// Check table
|
||||
$query->update($db->quoteName('#__componentbuilder_joomla_plugin_files_folders_urls'))->set($fields)->where($conditions);
|
||||
|
||||
$db->setQuery($query);
|
||||
|
||||
$db->execute();
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
@ -189,7 +189,7 @@ class ComponentbuilderModelServer extends JModelAdmin
|
||||
*
|
||||
* @return mixed An array of data items on success, false on failure.
|
||||
*/
|
||||
public function getVydlinked_components()
|
||||
public function getVyglinked_components()
|
||||
{
|
||||
// Get the user object.
|
||||
$user = JFactory::getUser();
|
||||
|
@ -145,6 +145,17 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
|
||||
`add_head` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_method_uninstall` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_postflight_install` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_postflight_update` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_preflight_install` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_preflight_uninstall` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_php_preflight_update` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_sales_server` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_sql` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_sql_uninstall` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`add_update_server` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`addreadme` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`class_extends` INT(11) NOT NULL DEFAULT 0,
|
||||
`fields` TEXT NOT NULL,
|
||||
`head` TEXT NOT NULL,
|
||||
@ -152,8 +163,21 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` (
|
||||
`main_class_code` MEDIUMTEXT NOT NULL,
|
||||
`method_selection` TEXT NOT NULL,
|
||||
`name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`php_method_uninstall` MEDIUMTEXT NOT NULL,
|
||||
`php_postflight_install` MEDIUMTEXT NOT NULL,
|
||||
`php_postflight_update` MEDIUMTEXT NOT NULL,
|
||||
`php_preflight_install` MEDIUMTEXT NOT NULL,
|
||||
`php_preflight_uninstall` MEDIUMTEXT NOT NULL,
|
||||
`php_preflight_update` MEDIUMTEXT NOT NULL,
|
||||
`property_selection` TEXT NOT NULL,
|
||||
`readme` TEXT NOT NULL,
|
||||
`sales_server` INT(11) NOT NULL DEFAULT 0,
|
||||
`sql` MEDIUMTEXT NOT NULL,
|
||||
`sql_uninstall` MEDIUMTEXT NOT NULL,
|
||||
`system_name` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
`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 '',
|
||||
`params` text NOT NULL,
|
||||
`published` TINYINT(3) NOT NULL DEFAULT 1,
|
||||
`created_by` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
@ -175,7 +199,19 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin` (
|
||||
KEY `idx_system_name` (`system_name`),
|
||||
KEY `idx_class_extends` (`class_extends`),
|
||||
KEY `idx_joomla_plugin_group` (`joomla_plugin_group`),
|
||||
KEY `idx_name` (`name`)
|
||||
KEY `idx_add_sales_server` (`add_sales_server`),
|
||||
KEY `idx_name` (`name`),
|
||||
KEY `idx_add_php_postflight_update` (`add_php_postflight_update`),
|
||||
KEY `idx_add_php_method_uninstall` (`add_php_method_uninstall`),
|
||||
KEY `idx_add_sql` (`add_sql`),
|
||||
KEY `idx_add_php_preflight_install` (`add_php_preflight_install`),
|
||||
KEY `idx_add_sql_uninstall` (`add_sql_uninstall`),
|
||||
KEY `idx_addreadme` (`addreadme`),
|
||||
KEY `idx_add_php_preflight_update` (`add_php_preflight_update`),
|
||||
KEY `idx_add_update_server` (`add_update_server`),
|
||||
KEY `idx_update_server_target` (`update_server_target`),
|
||||
KEY `idx_add_php_preflight_uninstall` (`add_php_preflight_uninstall`),
|
||||
KEY `idx_add_php_postflight_install` (`add_php_postflight_install`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
|
||||
@ -1615,6 +1651,36 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin_group` (
|
||||
KEY `idx_class_extends` (`class_extends`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin_files_folders_urls` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
|
||||
`addfiles` TEXT NOT NULL,
|
||||
`addfilesfullpath` TEXT NOT NULL,
|
||||
`addfolders` TEXT NOT NULL,
|
||||
`addfoldersfullpath` TEXT NOT NULL,
|
||||
`addurls` TEXT NOT NULL,
|
||||
`joomla_plugin` INT(11) NOT NULL DEFAULT 0,
|
||||
`params` text NOT NULL,
|
||||
`published` TINYINT(3) NOT NULL DEFAULT 1,
|
||||
`created_by` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`checked_out` int(11) unsigned NOT NULL DEFAULT 0,
|
||||
`checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`version` INT(10) unsigned NOT NULL DEFAULT 1,
|
||||
`hits` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`access` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ordering` INT(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_access` (`access`),
|
||||
KEY `idx_checkout` (`checked_out`),
|
||||
KEY `idx_createdby` (`created_by`),
|
||||
KEY `idx_modifiedby` (`modified_by`),
|
||||
KEY `idx_state` (`published`),
|
||||
KEY `idx_joomla_plugin` (`joomla_plugin`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||
|
||||
--
|
||||
-- Dumping data for table `#__componentbuilder_joomla_component`
|
||||
--
|
||||
|
@ -39,4 +39,5 @@ DROP TABLE IF EXISTS `#__componentbuilder_library_config`;
|
||||
DROP TABLE IF EXISTS `#__componentbuilder_library_files_folders_urls`;
|
||||
DROP TABLE IF EXISTS `#__componentbuilder_class_extends`;
|
||||
DROP TABLE IF EXISTS `#__componentbuilder_joomla_plugin_group`;
|
||||
DROP TABLE IF EXISTS `#__componentbuilder_joomla_plugin_files_folders_urls`;
|
||||
DROP TABLE IF EXISTS `#__componentbuilder_external_code`;
|
||||
|
77
admin/sql/updates/mysql/2.9.34.sql
Normal file
77
admin/sql/updates/mysql/2.9.34.sql
Normal file
@ -0,0 +1,77 @@
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_method_uninstall` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_head`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_postflight_install` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_method_uninstall`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_postflight_update` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_postflight_install`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_preflight_install` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_postflight_update`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_preflight_uninstall` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_preflight_install`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_php_preflight_update` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_preflight_uninstall`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_sales_server` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_preflight_update`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_sql` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_sales_server`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_sql_uninstall` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_sql`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `add_update_server` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_sql_uninstall`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `addreadme` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_update_server`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_method_uninstall` MEDIUMTEXT NOT NULL AFTER `name`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_postflight_install` MEDIUMTEXT NOT NULL AFTER `php_method_uninstall`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_postflight_update` MEDIUMTEXT NOT NULL AFTER `php_postflight_install`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_preflight_install` MEDIUMTEXT NOT NULL AFTER `php_postflight_update`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_preflight_uninstall` MEDIUMTEXT NOT NULL AFTER `php_preflight_install`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `php_preflight_update` MEDIUMTEXT NOT NULL AFTER `php_preflight_uninstall`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `readme` TEXT NOT NULL AFTER `property_selection`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `sales_server` INT(11) NOT NULL DEFAULT 0 AFTER `readme`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `sql` MEDIUMTEXT NOT NULL AFTER `sales_server`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `sql_uninstall` MEDIUMTEXT NOT NULL AFTER `sql`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `update_server` INT(11) NOT NULL DEFAULT 0 AFTER `system_name`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `update_server_target` TINYINT(1) NOT NULL DEFAULT 0 AFTER `update_server`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_plugin` ADD `update_server_url` VARCHAR(255) NOT NULL DEFAULT '' AFTER `update_server_target`;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_plugin_files_folders_urls` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
|
||||
`addfiles` TEXT NOT NULL,
|
||||
`addfilesfullpath` TEXT NOT NULL,
|
||||
`addfolders` TEXT NOT NULL,
|
||||
`addfoldersfullpath` TEXT NOT NULL,
|
||||
`addurls` TEXT NOT NULL,
|
||||
`joomla_plugin` INT(11) NOT NULL DEFAULT 0,
|
||||
`params` text NOT NULL,
|
||||
`published` TINYINT(3) NOT NULL DEFAULT 1,
|
||||
`created_by` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`checked_out` int(11) unsigned NOT NULL DEFAULT 0,
|
||||
`checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`version` INT(10) unsigned NOT NULL DEFAULT 1,
|
||||
`hits` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`access` INT(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ordering` INT(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `idx_access` (`access`),
|
||||
KEY `idx_checkout` (`checked_out`),
|
||||
KEY `idx_createdby` (`created_by`),
|
||||
KEY `idx_modifiedby` (`modified_by`),
|
||||
KEY `idx_state` (`published`),
|
||||
KEY `idx_joomla_plugin` (`joomla_plugin`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
321
admin/tables/joomla_plugin_files_folders_urls.php
Normal file
321
admin/tables/joomla_plugin_files_folders_urls.php
Normal file
@ -0,0 +1,321 @@
|
||||
<?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');
|
||||
|
||||
use Joomla\Registry\Registry;
|
||||
|
||||
/**
|
||||
* Joomla_plugins_files_folders_urls Table class
|
||||
*/
|
||||
class ComponentbuilderTableJoomla_plugin_files_folders_urls extends JTable
|
||||
{
|
||||
/**
|
||||
* Ensure the params and metadata in json encoded in the bind method
|
||||
*
|
||||
* @var array
|
||||
* @since 3.3
|
||||
*/
|
||||
protected $_jsonEncode = array('params', 'metadata');
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param object Database connector object
|
||||
*/
|
||||
function __construct(&$db)
|
||||
{
|
||||
parent::__construct('#__componentbuilder_joomla_plugin_files_folders_urls', 'id', $db);
|
||||
|
||||
// Adding History Options
|
||||
JTableObserverContenthistory::createObserver($this, array('typeAlias' => 'com_componentbuilder.joomla_plugin_files_folders_urls'));
|
||||
}
|
||||
|
||||
public function bind($array, $ignore = '')
|
||||
{
|
||||
|
||||
if (isset($array['params']) && is_array($array['params']))
|
||||
{
|
||||
$registry = new JRegistry;
|
||||
$registry->loadArray($array['params']);
|
||||
$array['params'] = (string) $registry;
|
||||
}
|
||||
|
||||
if (isset($array['metadata']) && is_array($array['metadata']))
|
||||
{
|
||||
$registry = new JRegistry;
|
||||
$registry->loadArray($array['metadata']);
|
||||
$array['metadata'] = (string) $registry;
|
||||
}
|
||||
|
||||
// Bind the rules.
|
||||
if (isset($array['rules']) && is_array($array['rules']))
|
||||
{
|
||||
$rules = new JAccessRules($array['rules']);
|
||||
$this->setRules($rules);
|
||||
}
|
||||
return parent::bind($array, $ignore);
|
||||
}
|
||||
|
||||
/**
|
||||
* Overload the store method for the Joomla_plugin_files_folders_urls table.
|
||||
*
|
||||
* @param boolean Toggle whether null values should be updated.
|
||||
* @return boolean True on success, false on failure.
|
||||
* @since 1.6
|
||||
*/
|
||||
public function store($updateNulls = false)
|
||||
{
|
||||
$date = JFactory::getDate();
|
||||
$user = JFactory::getUser();
|
||||
|
||||
if ($this->id)
|
||||
{
|
||||
// Existing item
|
||||
$this->modified = $date->toSql();
|
||||
$this->modified_by = $user->get('id');
|
||||
}
|
||||
else
|
||||
{
|
||||
// New joomla_plugin_files_folders_urls. A joomla_plugin_files_folders_urls created and created_by field can be set by the user,
|
||||
// so we don't touch either of these if they are set.
|
||||
if (!(int) $this->created)
|
||||
{
|
||||
$this->created = $date->toSql();
|
||||
}
|
||||
if (empty($this->created_by))
|
||||
{
|
||||
$this->created_by = $user->get('id');
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($this->alias))
|
||||
{
|
||||
// Verify that the alias is unique
|
||||
$table = JTable::getInstance('joomla_plugin_files_folders_urls', 'ComponentbuilderTable');
|
||||
|
||||
if ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0))
|
||||
{
|
||||
$this->setError(JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ERROR_UNIQUE_ALIAS'));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($this->url))
|
||||
{
|
||||
// Convert IDN urls to punycode
|
||||
$this->url = JStringPunycode::urlToPunycode($this->url);
|
||||
}
|
||||
if (isset($this->website))
|
||||
{
|
||||
// Convert IDN urls to punycode
|
||||
$this->website = JStringPunycode::urlToPunycode($this->website);
|
||||
}
|
||||
|
||||
return parent::store($updateNulls);
|
||||
}
|
||||
|
||||
/**
|
||||
* Overloaded check method to ensure data integrity.
|
||||
*
|
||||
* @return boolean True on success.
|
||||
*/
|
||||
public function check()
|
||||
{
|
||||
if (isset($this->alias))
|
||||
{
|
||||
// Generate a valid alias
|
||||
$this->generateAlias();
|
||||
|
||||
$table = JTable::getInstance('joomla_plugin_files_folders_urls', 'componentbuilderTable');
|
||||
|
||||
while ($table->load(array('alias' => $this->alias)) && ($table->id != $this->id || $this->id == 0))
|
||||
{
|
||||
$this->alias = JString::increment($this->alias, 'dash');
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Clean up keywords -- eliminate extra spaces between phrases
|
||||
* and cr (\r) and lf (\n) characters from string.
|
||||
* Only process if not empty.
|
||||
*/
|
||||
if (!empty($this->metakey))
|
||||
{
|
||||
// Array of characters to remove.
|
||||
$bad_characters = array("\n", "\r", "\"", "<", ">");
|
||||
|
||||
// Remove bad characters.
|
||||
$after_clean = JString::str_ireplace($bad_characters, "", $this->metakey);
|
||||
|
||||
// Create array using commas as delimiter.
|
||||
$keys = explode(',', $after_clean);
|
||||
$clean_keys = array();
|
||||
|
||||
foreach ($keys as $key)
|
||||
{
|
||||
// Ignore blank keywords.
|
||||
if (trim($key))
|
||||
{
|
||||
$clean_keys[] = trim($key);
|
||||
}
|
||||
}
|
||||
|
||||
// Put array back together delimited by ", "
|
||||
$this->metakey = implode(", ", $clean_keys);
|
||||
}
|
||||
|
||||
// Clean up description -- eliminate quotes and <> brackets
|
||||
if (!empty($this->metadesc))
|
||||
{
|
||||
// Only process if not empty
|
||||
$bad_characters = array("\"", "<", ">");
|
||||
$this->metadesc = JString::str_ireplace($bad_characters, "", $this->metadesc);
|
||||
}
|
||||
|
||||
// If we don't have any access rules set at this point just use an empty JAccessRules class
|
||||
if (!$this->getRules())
|
||||
{
|
||||
$rules = $this->getDefaultAssetValues('com_componentbuilder.joomla_plugin_files_folders_urls.'.$this->id);
|
||||
$this->setRules($rules);
|
||||
}
|
||||
|
||||
// Set ordering
|
||||
if ($this->published < 0)
|
||||
{
|
||||
// Set ordering to 0 if state is archived or trashed
|
||||
$this->ordering = 0;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the default asset values for a component.
|
||||
*
|
||||
* @param $string $component The component asset name to search for
|
||||
*
|
||||
* @return JAccessRules The JAccessRules object for the asset
|
||||
*/
|
||||
protected function getDefaultAssetValues($component, $try = true)
|
||||
{
|
||||
// Need to find the asset id by the name of the component.
|
||||
$db = JFactory::getDbo();
|
||||
$query = $db->getQuery(true)
|
||||
->select($db->quoteName('id'))
|
||||
->from($db->quoteName('#__assets'))
|
||||
->where($db->quoteName('name') . ' = ' . $db->quote($component));
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
if ($db->loadRowList())
|
||||
{
|
||||
// asset alread set so use saved rules
|
||||
$assetId = (int) $db->loadResult();
|
||||
return JAccess::getAssetRules($assetId); // (TODO) instead of keeping inherited Allowed it becomes Allowed.
|
||||
}
|
||||
// try again
|
||||
elseif ($try)
|
||||
{
|
||||
$try = explode('.',$component);
|
||||
$result = $this->getDefaultAssetValues($try[0], false);
|
||||
if ($result instanceof JAccessRules)
|
||||
{
|
||||
if (isset($try[1]))
|
||||
{
|
||||
$_result = (string) $result;
|
||||
$_result = json_decode($_result);
|
||||
foreach ($_result as $name => &$rule)
|
||||
{
|
||||
$v = explode('.', $name);
|
||||
if ($try[1] !== $v[0])
|
||||
{
|
||||
// remove since it is not part of this view
|
||||
unset($_result->$name);
|
||||
}
|
||||
else
|
||||
{
|
||||
// clear the value since we inherit
|
||||
$rule = array();
|
||||
}
|
||||
}
|
||||
// check if there are any view values remaining
|
||||
if (count( (array) $_result))
|
||||
{
|
||||
$_result = json_encode($_result);
|
||||
$_result = array($_result);
|
||||
// Instantiate and return the JAccessRules object for the asset rules.
|
||||
$rules = new JAccessRules;
|
||||
$rules->mergeCollection($_result);
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
return JAccess::getAssetRules(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to compute the default name of the asset.
|
||||
* The default name is in the form 'table_name.id'
|
||||
* where id is the value of the primary key of the table.
|
||||
*
|
||||
* @return string
|
||||
* @since 2.5
|
||||
*/
|
||||
protected function _getAssetName()
|
||||
{
|
||||
$k = $this->_tbl_key;
|
||||
return 'com_componentbuilder.joomla_plugin_files_folders_urls.'.(int) $this->$k;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to return the title to use for the asset table.
|
||||
*
|
||||
* @return string
|
||||
* @since 2.5
|
||||
*/
|
||||
protected function _getAssetTitle()
|
||||
{
|
||||
if (isset($this->title))
|
||||
{
|
||||
return $this->title;
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the parent asset id for the record
|
||||
*
|
||||
* @return int
|
||||
* @since 2.5
|
||||
*/
|
||||
protected function _getAssetParentId(JTable $table = NULL, $id = NULL)
|
||||
{
|
||||
$asset = JTable::getInstance('Asset');
|
||||
$asset->loadByName('com_componentbuilder');
|
||||
|
||||
return $asset->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This view does not actually have an alias
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function generateAlias()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
@ -208,521 +208,521 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvvxg function
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvvxy function
|
||||
jQuery('#jform_add_css_view').on('keyup',function()
|
||||
{
|
||||
var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxg(add_css_view_vvvvvxg);
|
||||
var add_css_view_vvvvvxy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxy(add_css_view_vvvvvxy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_view_vvvvvxg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxg(add_css_view_vvvvvxg);
|
||||
var add_css_view_vvvvvxy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxy(add_css_view_vvvvvxy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvvxh function
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvvxz function
|
||||
jQuery('#jform_add_css_views').on('keyup',function()
|
||||
{
|
||||
var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxh(add_css_views_vvvvvxh);
|
||||
var add_css_views_vvvvvxz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxz(add_css_views_vvvvvxz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_views_vvvvvxh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxh(add_css_views_vvvvvxh);
|
||||
var add_css_views_vvvvvxz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxz(add_css_views_vvvvvxz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvxi function
|
||||
// #jform_add_javascript_view_file listeners for add_javascript_view_file_vvvvvya function
|
||||
jQuery('#jform_add_javascript_view_file').on('keyup',function()
|
||||
{
|
||||
var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvxi(add_javascript_view_file_vvvvvxi);
|
||||
var add_javascript_view_file_vvvvvya = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvya(add_javascript_view_file_vvvvvya);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_view_file_vvvvvxi = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvxi(add_javascript_view_file_vvvvvxi);
|
||||
var add_javascript_view_file_vvvvvya = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvya(add_javascript_view_file_vvvvvya);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvxj function
|
||||
// #jform_add_javascript_views_file listeners for add_javascript_views_file_vvvvvyb function
|
||||
jQuery('#jform_add_javascript_views_file').on('keyup',function()
|
||||
{
|
||||
var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvxj(add_javascript_views_file_vvvvvxj);
|
||||
var add_javascript_views_file_vvvvvyb = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyb(add_javascript_views_file_vvvvvyb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_views_file_vvvvvxj = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvxj(add_javascript_views_file_vvvvvxj);
|
||||
var add_javascript_views_file_vvvvvyb = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyb(add_javascript_views_file_vvvvvyb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvxk function
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvyc function
|
||||
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvxk(add_javascript_view_footer_vvvvvxk);
|
||||
var add_javascript_view_footer_vvvvvyc = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyc(add_javascript_view_footer_vvvvvyc);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_view_footer_vvvvvxk = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvxk(add_javascript_view_footer_vvvvvxk);
|
||||
var add_javascript_view_footer_vvvvvyc = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyc(add_javascript_view_footer_vvvvvyc);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvxl function
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvyd function
|
||||
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvxl(add_javascript_views_footer_vvvvvxl);
|
||||
var add_javascript_views_footer_vvvvvyd = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvyd(add_javascript_views_footer_vvvvvyd);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_views_footer_vvvvvxl = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvxl(add_javascript_views_footer_vvvvvxl);
|
||||
var add_javascript_views_footer_vvvvvyd = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvyd(add_javascript_views_footer_vvvvvyd);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvxm function
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvye function
|
||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||
{
|
||||
var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvxm(add_php_ajax_vvvvvxm);
|
||||
var add_php_ajax_vvvvvye = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_ajax_vvvvvye);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_ajax_vvvvvxm = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvxm(add_php_ajax_vvvvvxm);
|
||||
var add_php_ajax_vvvvvye = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_ajax_vvvvvye);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvxn function
|
||||
// #jform_add_php_getitem listeners for add_php_getitem_vvvvvyf function
|
||||
jQuery('#jform_add_php_getitem').on('keyup',function()
|
||||
{
|
||||
var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvxn(add_php_getitem_vvvvvxn);
|
||||
var add_php_getitem_vvvvvyf = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_getitem_vvvvvyf);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getitem_vvvvvxn = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvxn(add_php_getitem_vvvvvxn);
|
||||
var add_php_getitem_vvvvvyf = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_getitem_vvvvvyf);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvxo function
|
||||
// #jform_add_php_getitems listeners for add_php_getitems_vvvvvyg function
|
||||
jQuery('#jform_add_php_getitems').on('keyup',function()
|
||||
{
|
||||
var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvxo(add_php_getitems_vvvvvxo);
|
||||
var add_php_getitems_vvvvvyg = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_getitems_vvvvvyg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getitems_vvvvvxo = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvxo(add_php_getitems_vvvvvxo);
|
||||
var add_php_getitems_vvvvvyg = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_getitems_vvvvvyg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvxp function
|
||||
// #jform_add_php_getitems_after_all listeners for add_php_getitems_after_all_vvvvvyh function
|
||||
jQuery('#jform_add_php_getitems_after_all').on('keyup',function()
|
||||
{
|
||||
var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvxp(add_php_getitems_after_all_vvvvvxp);
|
||||
var add_php_getitems_after_all_vvvvvyh = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_getitems_after_all_vvvvvyh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getitems_after_all',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getitems_after_all_vvvvvxp = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvxp(add_php_getitems_after_all_vvvvvxp);
|
||||
var add_php_getitems_after_all_vvvvvyh = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_getitems_after_all_vvvvvyh);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvxq function
|
||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvvyi function
|
||||
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
||||
{
|
||||
var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvxq(add_php_getlistquery_vvvvvxq);
|
||||
var add_php_getlistquery_vvvvvyi = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_getlistquery_vvvvvyi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getlistquery_vvvvvxq = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvxq(add_php_getlistquery_vvvvvxq);
|
||||
var add_php_getlistquery_vvvvvyi = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvyi(add_php_getlistquery_vvvvvyi);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getform listeners for add_php_getform_vvvvvxr function
|
||||
// #jform_add_php_getform listeners for add_php_getform_vvvvvyj function
|
||||
jQuery('#jform_add_php_getform').on('keyup',function()
|
||||
{
|
||||
var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvxr(add_php_getform_vvvvvxr);
|
||||
var add_php_getform_vvvvvyj = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvyj(add_php_getform_vvvvvyj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getform_vvvvvxr = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvxr(add_php_getform_vvvvvxr);
|
||||
var add_php_getform_vvvvvyj = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvyj(add_php_getform_vvvvvyj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxs function
|
||||
// #jform_add_php_before_save listeners for add_php_before_save_vvvvvyk function
|
||||
jQuery('#jform_add_php_before_save').on('keyup',function()
|
||||
{
|
||||
var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvxs(add_php_before_save_vvvvvxs);
|
||||
var add_php_before_save_vvvvvyk = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvyk(add_php_before_save_vvvvvyk);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_save_vvvvvxs = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvxs(add_php_before_save_vvvvvxs);
|
||||
var add_php_before_save_vvvvvyk = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvyk(add_php_before_save_vvvvvyk);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_save listeners for add_php_save_vvvvvxt function
|
||||
// #jform_add_php_save listeners for add_php_save_vvvvvyl function
|
||||
jQuery('#jform_add_php_save').on('keyup',function()
|
||||
{
|
||||
var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvxt(add_php_save_vvvvvxt);
|
||||
var add_php_save_vvvvvyl = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvyl(add_php_save_vvvvvyl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_save_vvvvvxt = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvxt(add_php_save_vvvvvxt);
|
||||
var add_php_save_vvvvvyl = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvyl(add_php_save_vvvvvyl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxu function
|
||||
// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvym function
|
||||
jQuery('#jform_add_php_postsavehook').on('keyup',function()
|
||||
{
|
||||
var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvxu(add_php_postsavehook_vvvvvxu);
|
||||
var add_php_postsavehook_vvvvvym = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_postsavehook_vvvvvym);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_postsavehook_vvvvvxu = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvxu(add_php_postsavehook_vvvvvxu);
|
||||
var add_php_postsavehook_vvvvvym = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_postsavehook_vvvvvym);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvxv function
|
||||
// #jform_add_php_allowadd listeners for add_php_allowadd_vvvvvyn function
|
||||
jQuery('#jform_add_php_allowadd').on('keyup',function()
|
||||
{
|
||||
var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvxv(add_php_allowadd_vvvvvxv);
|
||||
var add_php_allowadd_vvvvvyn = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_allowadd_vvvvvyn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_allowadd',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_allowadd_vvvvvxv = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvxv(add_php_allowadd_vvvvvxv);
|
||||
var add_php_allowadd_vvvvvyn = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_allowadd_vvvvvyn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxw function
|
||||
// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvyo function
|
||||
jQuery('#jform_add_php_allowedit').on('keyup',function()
|
||||
{
|
||||
var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvxw(add_php_allowedit_vvvvvxw);
|
||||
var add_php_allowedit_vvvvvyo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_allowedit_vvvvvyo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_allowedit_vvvvvxw = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvxw(add_php_allowedit_vvvvvxw);
|
||||
var add_php_allowedit_vvvvvyo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_allowedit_vvvvvyo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvxx function
|
||||
// #jform_add_php_before_cancel listeners for add_php_before_cancel_vvvvvyp function
|
||||
jQuery('#jform_add_php_before_cancel').on('keyup',function()
|
||||
{
|
||||
var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvxx(add_php_before_cancel_vvvvvxx);
|
||||
var add_php_before_cancel_vvvvvyp = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_before_cancel_vvvvvyp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_cancel',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_cancel_vvvvvxx = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvxx(add_php_before_cancel_vvvvvxx);
|
||||
var add_php_before_cancel_vvvvvyp = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_before_cancel_vvvvvyp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_cancel listeners for add_php_after_cancel_vvvvvxy function
|
||||
// #jform_add_php_after_cancel listeners for add_php_after_cancel_vvvvvyq function
|
||||
jQuery('#jform_add_php_after_cancel').on('keyup',function()
|
||||
{
|
||||
var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_after_cancel_vvvvvxy);
|
||||
var add_php_after_cancel_vvvvvyq = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_after_cancel_vvvvvyq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_cancel',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_cancel_vvvvvxy = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_after_cancel_vvvvvxy);
|
||||
var add_php_after_cancel_vvvvvyq = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_after_cancel_vvvvvyq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxz function
|
||||
// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvyr function
|
||||
jQuery('#jform_add_php_batchcopy').on('keyup',function()
|
||||
{
|
||||
var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_batchcopy_vvvvvxz);
|
||||
var add_php_batchcopy_vvvvvyr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_batchcopy_vvvvvyr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_batchcopy_vvvvvxz = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_batchcopy_vvvvvxz);
|
||||
var add_php_batchcopy_vvvvvyr = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_batchcopy_vvvvvyr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvya function
|
||||
// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvys function
|
||||
jQuery('#jform_add_php_batchmove').on('keyup',function()
|
||||
{
|
||||
var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_batchmove_vvvvvya);
|
||||
var add_php_batchmove_vvvvvys = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvys(add_php_batchmove_vvvvvys);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_batchmove_vvvvvya = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_batchmove_vvvvvya);
|
||||
var add_php_batchmove_vvvvvys = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvys(add_php_batchmove_vvvvvys);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvyb function
|
||||
// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvyt function
|
||||
jQuery('#jform_add_php_before_publish').on('keyup',function()
|
||||
{
|
||||
var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_before_publish_vvvvvyb);
|
||||
var add_php_before_publish_vvvvvyt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyt(add_php_before_publish_vvvvvyt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_publish_vvvvvyb = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_before_publish_vvvvvyb);
|
||||
var add_php_before_publish_vvvvvyt = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvyt(add_php_before_publish_vvvvvyt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvyc function
|
||||
// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvyu function
|
||||
jQuery('#jform_add_php_after_publish').on('keyup',function()
|
||||
{
|
||||
var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyc(add_php_after_publish_vvvvvyc);
|
||||
var add_php_after_publish_vvvvvyu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyu(add_php_after_publish_vvvvvyu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_publish_vvvvvyc = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyc(add_php_after_publish_vvvvvyc);
|
||||
var add_php_after_publish_vvvvvyu = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvyu(add_php_after_publish_vvvvvyu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvyd function
|
||||
// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvyv function
|
||||
jQuery('#jform_add_php_before_delete').on('keyup',function()
|
||||
{
|
||||
var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyd(add_php_before_delete_vvvvvyd);
|
||||
var add_php_before_delete_vvvvvyv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_before_delete_vvvvvyv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_delete_vvvvvyd = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyd(add_php_before_delete_vvvvvyd);
|
||||
var add_php_before_delete_vvvvvyv = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_before_delete_vvvvvyv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvye function
|
||||
// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvyw function
|
||||
jQuery('#jform_add_php_after_delete').on('keyup',function()
|
||||
{
|
||||
var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_after_delete_vvvvvye);
|
||||
var add_php_after_delete_vvvvvyw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_after_delete_vvvvvyw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_delete_vvvvvye = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_after_delete_vvvvvye);
|
||||
var add_php_after_delete_vvvvvyw = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_after_delete_vvvvvyw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvyf function
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvyx function
|
||||
jQuery('#jform_add_php_document').on('keyup',function()
|
||||
{
|
||||
var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_document_vvvvvyf);
|
||||
var add_php_document_vvvvvyx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_document_vvvvvyx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_document_vvvvvyf = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_document_vvvvvyf);
|
||||
var add_php_document_vvvvvyx = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_document_vvvvvyx);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sql listeners for add_sql_vvvvvyg function
|
||||
// #jform_add_sql listeners for add_sql_vvvvvyy function
|
||||
jQuery('#jform_add_sql').on('keyup',function()
|
||||
{
|
||||
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyg(add_sql_vvvvvyg);
|
||||
var add_sql_vvvvvyy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyy(add_sql_vvvvvyy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyg(add_sql_vvvvvyg);
|
||||
var add_sql_vvvvvyy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyy(add_sql_vvvvvyy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_vvvvvyh function
|
||||
// #jform_source listeners for source_vvvvvyz function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
|
||||
var source_vvvvvyz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
|
||||
var source_vvvvvyz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sql listeners for add_sql_vvvvvyh function
|
||||
// #jform_add_sql listeners for add_sql_vvvvvyz function
|
||||
jQuery('#jform_add_sql').on('keyup',function()
|
||||
{
|
||||
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
|
||||
var source_vvvvvyz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_vvvvvyh = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyh = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyh(source_vvvvvyh,add_sql_vvvvvyh);
|
||||
var source_vvvvvyz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyz(source_vvvvvyz,add_sql_vvvvvyz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_source listeners for source_vvvvvyj function
|
||||
// #jform_source listeners for source_vvvvvzb function
|
||||
jQuery('#jform_source').on('keyup',function()
|
||||
{
|
||||
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
|
||||
var source_vvvvvzb = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
|
||||
var source_vvvvvzb = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sql listeners for add_sql_vvvvvyj function
|
||||
// #jform_add_sql listeners for add_sql_vvvvvzb function
|
||||
jQuery('#jform_add_sql').on('keyup',function()
|
||||
{
|
||||
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
|
||||
var source_vvvvvzb = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var source_vvvvvyj = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyj = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyj(source_vvvvvyj,add_sql_vvvvvyj);
|
||||
var source_vvvvvzb = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzb(source_vvvvvzb,add_sql_vvvvvzb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_custom_import listeners for add_custom_import_vvvvvyl function
|
||||
// #jform_add_custom_import listeners for add_custom_import_vvvvvzd function
|
||||
jQuery('#jform_add_custom_import').on('keyup',function()
|
||||
{
|
||||
var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvyl(add_custom_import_vvvvvyl);
|
||||
var add_custom_import_vvvvvzd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvzd(add_custom_import_vvvvvzd);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_custom_import_vvvvvyl = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvyl(add_custom_import_vvvvvyl);
|
||||
var add_custom_import_vvvvvzd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvzd(add_custom_import_vvvvvzd);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_custom_import listeners for add_custom_import_vvvvvym function
|
||||
// #jform_add_custom_import listeners for add_custom_import_vvvvvze function
|
||||
jQuery('#jform_add_custom_import').on('keyup',function()
|
||||
{
|
||||
var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvym(add_custom_import_vvvvvym);
|
||||
var add_custom_import_vvvvvze = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvze(add_custom_import_vvvvvze);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_custom_import_vvvvvym = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvym(add_custom_import_vvvvvym);
|
||||
var add_custom_import_vvvvvze = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvze(add_custom_import_vvvvvze);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvyn function
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvzf 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_vvvvvzf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzf(add_custom_button_vvvvvzf);
|
||||
|
||||
});
|
||||
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_vvvvvzf = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzf(add_custom_button_vvvvvzf);
|
||||
|
||||
});
|
||||
|
||||
|
@ -73,11 +73,7 @@ $edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.
|
||||
-
|
||||
<?php echo JText::_($item->type); ?>
|
||||
</div>
|
||||
<?php // setup the return path
|
||||
if (!isset($returnpath))
|
||||
{
|
||||
$returnpath = urlencode(base64_encode((string) JUri::getInstance()));
|
||||
}
|
||||
<?php
|
||||
// setup the buttons
|
||||
if (!isset($_buttons) || !ComponentbuilderHelper::checkArray($_buttons))
|
||||
{
|
||||
@ -108,9 +104,9 @@ $edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'admin_view', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=admin_view&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=admin_view&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
@ -112,18 +112,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_extension_type listeners for extension_type_vvvvwar function
|
||||
// #jform_extension_type listeners for extension_type_vvvvwbj function
|
||||
jQuery('#jform_extension_type').on('keyup',function()
|
||||
{
|
||||
var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
|
||||
vvvvwar(extension_type_vvvvwar);
|
||||
var extension_type_vvvvwbj = jQuery("#jform_extension_type").val();
|
||||
vvvvwbj(extension_type_vvvvwbj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_extension_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var extension_type_vvvvwar = jQuery("#jform_extension_type").val();
|
||||
vvvvwar(extension_type_vvvvwar);
|
||||
var extension_type_vvvvwbj = jQuery("#jform_extension_type").val();
|
||||
vvvvwbj(extension_type_vvvvwbj);
|
||||
|
||||
});
|
||||
|
||||
|
@ -107,18 +107,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_extension_type listeners for extension_type_vvvvwaq function
|
||||
// #jform_extension_type listeners for extension_type_vvvvwbi function
|
||||
jQuery('#jform_extension_type').on('keyup',function()
|
||||
{
|
||||
var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
|
||||
vvvvwaq(extension_type_vvvvwaq);
|
||||
var extension_type_vvvvwbi = jQuery("#jform_extension_type").val();
|
||||
vvvvwbi(extension_type_vvvvwbi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_extension_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var extension_type_vvvvwaq = jQuery("#jform_extension_type").val();
|
||||
vvvvwaq(extension_type_vvvvwaq);
|
||||
var extension_type_vvvvwbi = jQuery("#jform_extension_type").val();
|
||||
vvvvwbi(extension_type_vvvvwbi);
|
||||
|
||||
});
|
||||
|
||||
|
@ -231,16 +231,16 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
// Set the Custom JS script to view
|
||||
$this->document->addScriptDeclaration("
|
||||
function getComponentDetails_server(id){
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.getComponentDetails&format=json\");
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.getComponentDetails&format=json&raw=true\");
|
||||
if(token.length > 0 && id > 0){
|
||||
var request = token+'=1&id='+id;
|
||||
}
|
||||
return jQuery.ajax({
|
||||
type: 'GET',
|
||||
url: getUrl,
|
||||
dataType: 'jsonp',
|
||||
dataType: 'json',
|
||||
data: request,
|
||||
jsonp: 'callback'
|
||||
jsonp: false
|
||||
});
|
||||
}
|
||||
function getComponentDetails(id) {
|
||||
@ -273,9 +273,9 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
// to check is READ/NEW
|
||||
function getIS(type,notice){
|
||||
if (type == 1) {
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.isNew&format=json\");
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.isNew&format=json&raw=true\");
|
||||
} else if (type == 2) {
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.isRead&format=json\");
|
||||
var getUrl = JRouter(\"index.php?option=com_componentbuilder&task=ajax.isRead&format=json&raw=true\");
|
||||
}
|
||||
if(token.length > 0 && notice.length){
|
||||
var request = token+\"=1¬ice=\"+notice;
|
||||
@ -283,9 +283,9 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
return jQuery.ajax({
|
||||
type: \"POST\",
|
||||
url: getUrl,
|
||||
dataType: \"jsonp\",
|
||||
dataType: 'json',
|
||||
data: request,
|
||||
jsonp: \"callback\"
|
||||
jsonp: false
|
||||
});
|
||||
}
|
||||
");
|
||||
|
@ -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_vvvvvyo function
|
||||
// #jform_add_php_view listeners for add_php_view_vvvvvzg function
|
||||
jQuery('#jform_add_php_view').on('keyup',function()
|
||||
{
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_view_vvvvvzg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_view_vvvvvyo);
|
||||
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_view_vvvvvzg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyp function
|
||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvzh function
|
||||
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
||||
{
|
||||
var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_display_vvvvvyp);
|
||||
var add_php_jview_display_vvvvvzh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_jview_display_vvvvvzh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyp(add_php_jview_display_vvvvvyp);
|
||||
var add_php_jview_display_vvvvvzh = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_jview_display_vvvvvzh);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvyq function
|
||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvzi function
|
||||
jQuery('#jform_add_php_jview').on('keyup',function()
|
||||
{
|
||||
var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_vvvvvyq);
|
||||
var add_php_jview_vvvvvzi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_jview_vvvvvzi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyq(add_php_jview_vvvvvyq);
|
||||
var add_php_jview_vvvvvzi = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_jview_vvvvvzi);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvyr function
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvzj function
|
||||
jQuery('#jform_add_php_document').on('keyup',function()
|
||||
{
|
||||
var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_document_vvvvvyr);
|
||||
var add_php_document_vvvvvzj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_document_vvvvvzj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_php_document_vvvvvyr);
|
||||
var add_php_document_vvvvvzj = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_document_vvvvvzj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_document listeners for add_css_document_vvvvvys function
|
||||
// #jform_add_css_document listeners for add_css_document_vvvvvzk function
|
||||
jQuery('#jform_add_css_document').on('keyup',function()
|
||||
{
|
||||
var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_css_document_vvvvvys);
|
||||
var add_css_document_vvvvvzk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzk(add_css_document_vvvvvzk);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvys(add_css_document_vvvvvys);
|
||||
var add_css_document_vvvvvzk = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzk(add_css_document_vvvvvzk);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvyt function
|
||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvzl function
|
||||
jQuery('#jform_add_javascript_file').on('keyup',function()
|
||||
{
|
||||
var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyt(add_javascript_file_vvvvvyt);
|
||||
var add_javascript_file_vvvvvzl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzl(add_javascript_file_vvvvvzl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyt(add_javascript_file_vvvvvyt);
|
||||
var add_javascript_file_vvvvvzl = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzl(add_javascript_file_vvvvvzl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_js_document listeners for add_js_document_vvvvvyu function
|
||||
// #jform_add_js_document listeners for add_js_document_vvvvvzm function
|
||||
jQuery('#jform_add_js_document').on('keyup',function()
|
||||
{
|
||||
var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyu(add_js_document_vvvvvyu);
|
||||
var add_js_document_vvvvvzm = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzm(add_js_document_vvvvvzm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyu(add_js_document_vvvvvyu);
|
||||
var add_js_document_vvvvvzm = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzm(add_js_document_vvvvvzm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvyv function
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvzn function
|
||||
jQuery('#jform_add_custom_button').on('keyup',function()
|
||||
{
|
||||
var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyv(add_custom_button_vvvvvyv);
|
||||
var add_custom_button_vvvvvzn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzn(add_custom_button_vvvvvzn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_custom_button_vvvvvyv = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyv(add_custom_button_vvvvvyv);
|
||||
var add_custom_button_vvvvvzn = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzn(add_custom_button_vvvvvzn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css listeners for add_css_vvvvvyw function
|
||||
// #jform_add_css listeners for add_css_vvvvvzo function
|
||||
jQuery('#jform_add_css').on('keyup',function()
|
||||
{
|
||||
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_vvvvvyw);
|
||||
var add_css_vvvvvzo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzo(add_css_vvvvvzo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_vvvvvyw);
|
||||
var add_css_vvvvvzo = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzo(add_css_vvvvvzo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvyx function
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvzp function
|
||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||
{
|
||||
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_ajax_vvvvvyx);
|
||||
var add_php_ajax_vvvvvzp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_ajax_vvvvvzp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_ajax_vvvvvyx);
|
||||
var add_php_ajax_vvvvvzp = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_ajax_vvvvvzp);
|
||||
|
||||
});
|
||||
|
||||
|
@ -116,101 +116,101 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_target listeners for target_vvvvwam function
|
||||
// #jform_target listeners for target_vvvvwbe function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwam(target_vvvvwam);
|
||||
var target_vvvvwbe = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbe(target_vvvvwbe);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwam(target_vvvvwam);
|
||||
var target_vvvvwbe = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbe(target_vvvvwbe);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvwan function
|
||||
// #jform_target listeners for target_vvvvwbf function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwan(target_vvvvwan);
|
||||
var target_vvvvwbf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbf(target_vvvvwbf);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwan = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwan(target_vvvvwan);
|
||||
var target_vvvvwbf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbf(target_vvvvwbf);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvwao function
|
||||
// #jform_target listeners for target_vvvvwbg function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwao(target_vvvvwao,type_vvvvwao);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbg = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg,type_vvvvwbg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwao(target_vvvvwao,type_vvvvwao);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbg = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg,type_vvvvwbg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwao function
|
||||
// #jform_type listeners for type_vvvvwbg function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwao(target_vvvvwao,type_vvvvwao);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbg = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg,type_vvvvwbg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwao = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwao(target_vvvvwao,type_vvvvwao);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbg = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg,type_vvvvwbg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwap function
|
||||
// #jform_type listeners for type_vvvvwbh function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(type_vvvvwap,target_vvvvwap);
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbh(type_vvvvwbh,target_vvvvwbh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(type_vvvvwap,target_vvvvwap);
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbh(type_vvvvwbh,target_vvvvwbh);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvwap function
|
||||
// #jform_target listeners for target_vvvvwbh function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(type_vvvvwap,target_vvvvwap);
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbh(type_vvvvwbh,target_vvvvwbh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(type_vvvvwap,target_vvvvwap);
|
||||
var type_vvvvwbh = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwbh = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbh(type_vvvvwbh,target_vvvvwbh);
|
||||
|
||||
});
|
||||
|
||||
|
@ -159,485 +159,485 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvvzl function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
|
||||
vvvvvzl(gettype_vvvvvzl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvvzl = jQuery("#jform_gettype").val();
|
||||
vvvvvzl(gettype_vvvvvzl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzm function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzm = jQuery("#jform_main_source").val();
|
||||
vvvvvzm(main_source_vvvvvzm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzm = jQuery("#jform_main_source").val();
|
||||
vvvvvzm(main_source_vvvvvzm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzn function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzn = jQuery("#jform_main_source").val();
|
||||
vvvvvzn(main_source_vvvvvzn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzn = jQuery("#jform_main_source").val();
|
||||
vvvvvzn(main_source_vvvvvzn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzo function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
|
||||
vvvvvzo(main_source_vvvvvzo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
|
||||
vvvvvzo(main_source_vvvvvzo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzp function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzp = jQuery("#jform_main_source").val();
|
||||
vvvvvzp(main_source_vvvvvzp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzp = jQuery("#jform_main_source").val();
|
||||
vvvvvzp(main_source_vvvvvzp);
|
||||
|
||||
});
|
||||
|
||||
// #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_addcalculation listeners for addcalculation_vvvvvzr function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvvzr = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
vvvvvzr(addcalculation_vvvvvzr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvvzr = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
vvvvvzr(addcalculation_vvvvvzr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_addcalculation listeners for addcalculation_vvvvvzs function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvvzs function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvvzs = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
|
||||
vvvvvzs(addcalculation_vvvvvzs,gettype_vvvvvzs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_addcalculation listeners for addcalculation_vvvvvzt function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
||||
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
||||
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvvzt function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
||||
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvvzt = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
|
||||
vvvvvzt(addcalculation_vvvvvzt,gettype_vvvvvzt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzw function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzw = jQuery("#jform_main_source").val();
|
||||
vvvvvzw(main_source_vvvvvzw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzw = jQuery("#jform_main_source").val();
|
||||
vvvvvzw(main_source_vvvvvzw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvvzx function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvvzx = jQuery("#jform_main_source").val();
|
||||
vvvvvzx(main_source_vvvvvzx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvvzx = jQuery("#jform_main_source").val();
|
||||
vvvvvzx(main_source_vvvvvzx);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvvzy function
|
||||
jQuery('#jform_add_php_before_getitem').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
||||
vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
||||
vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvvzy function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
||||
vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitem_vvvvvzy = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
|
||||
vvvvvzy(add_php_before_getitem_vvvvvzy,gettype_vvvvvzy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvvzz function
|
||||
jQuery('#jform_add_php_after_getitem').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
|
||||
vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
|
||||
vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvvzz function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
|
||||
vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitem_vvvvvzz = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvvzz = jQuery("#jform_gettype").val();
|
||||
vvvvvzz(add_php_after_getitem_vvvvvzz,gettype_vvvvvzz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwab function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
||||
vvvvwab(gettype_vvvvwab);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwab = jQuery("#jform_gettype").val();
|
||||
vvvvwab(gettype_vvvvwab);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvwac function
|
||||
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
||||
{
|
||||
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwac function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getlistquery_vvvvwac = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwac = jQuery("#jform_gettype").val();
|
||||
vvvvwac(add_php_getlistquery_vvvvwac,gettype_vvvvwac);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvwad function
|
||||
jQuery('#jform_add_php_before_getitems').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
||||
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
||||
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwad function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
||||
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
|
||||
vvvvwad(gettype_vvvvwad);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitems_vvvvwad = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwad = jQuery("#jform_gettype").val();
|
||||
vvvvwad(add_php_before_getitems_vvvvwad,gettype_vvvvwad);
|
||||
vvvvwad(gettype_vvvvwad);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvwae function
|
||||
jQuery('#jform_add_php_after_getitems').on('keyup',function()
|
||||
// #jform_main_source listeners for main_source_vvvvwae function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
|
||||
var main_source_vvvvwae = jQuery("#jform_main_source").val();
|
||||
vvvvwae(main_source_vvvvwae);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
|
||||
var main_source_vvvvwae = jQuery("#jform_main_source").val();
|
||||
vvvvwae(main_source_vvvvwae);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwae function
|
||||
// #jform_main_source listeners for main_source_vvvvwaf function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwaf = jQuery("#jform_main_source").val();
|
||||
vvvvwaf(main_source_vvvvwaf);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwaf = jQuery("#jform_main_source").val();
|
||||
vvvvwaf(main_source_vvvvwaf);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvwag function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwag = jQuery("#jform_main_source").val();
|
||||
vvvvwag(main_source_vvvvwag);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwag = jQuery("#jform_main_source").val();
|
||||
vvvvwag(main_source_vvvvwag);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvwah function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwah = jQuery("#jform_main_source").val();
|
||||
vvvvwah(main_source_vvvvwah);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwah = jQuery("#jform_main_source").val();
|
||||
vvvvwah(main_source_vvvvwah);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvwai function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwai = jQuery("#jform_main_source").val();
|
||||
vvvvwai(main_source_vvvvwai);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwai = jQuery("#jform_main_source").val();
|
||||
vvvvwai(main_source_vvvvwai);
|
||||
|
||||
});
|
||||
|
||||
// #jform_addcalculation listeners for addcalculation_vvvvwaj function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvwaj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
vvvvwaj(addcalculation_vvvvwaj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvwaj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
vvvvwaj(addcalculation_vvvvwaj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_addcalculation listeners for addcalculation_vvvvwak function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvwak = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwak = jQuery("#jform_gettype").val();
|
||||
vvvvwak(addcalculation_vvvvwak,gettype_vvvvwak);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvwak = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwak = jQuery("#jform_gettype").val();
|
||||
vvvvwak(addcalculation_vvvvwak,gettype_vvvvwak);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwak function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
|
||||
var addcalculation_vvvvwak = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwak = jQuery("#jform_gettype").val();
|
||||
vvvvwak(addcalculation_vvvvwak,gettype_vvvvwak);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitems_vvvvwae = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwae = jQuery("#jform_gettype").val();
|
||||
vvvvwae(add_php_after_getitems_vvvvwae,gettype_vvvvwae);
|
||||
var addcalculation_vvvvwak = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwak = jQuery("#jform_gettype").val();
|
||||
vvvvwak(addcalculation_vvvvwak,gettype_vvvvwak);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwag function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
// #jform_addcalculation listeners for addcalculation_vvvvwal function
|
||||
jQuery('#jform_addcalculation').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwag = jQuery("#jform_gettype").val();
|
||||
vvvvwag(gettype_vvvvwag);
|
||||
var addcalculation_vvvvwal = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwal = jQuery("#jform_gettype").val();
|
||||
vvvvwal(addcalculation_vvvvwal,gettype_vvvvwal);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
jQuery('#adminForm').on('change', '#jform_addcalculation',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwag = jQuery("#jform_gettype").val();
|
||||
vvvvwag(gettype_vvvvwag);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwah function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwah = jQuery("#jform_gettype").val();
|
||||
vvvvwah(gettype_vvvvwah);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwah = jQuery("#jform_gettype").val();
|
||||
vvvvwah(gettype_vvvvwah);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwai function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwai = jQuery("#jform_gettype").val();
|
||||
vvvvwai(gettype_vvvvwai);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwai = jQuery("#jform_gettype").val();
|
||||
vvvvwai(gettype_vvvvwai);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwaj function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwaj function
|
||||
jQuery('#jform_add_php_router_parse').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwaj = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwaj = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwaj(gettype_vvvvwaj,add_php_router_parse_vvvvwaj);
|
||||
var addcalculation_vvvvwal = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwal = jQuery("#jform_gettype").val();
|
||||
vvvvwal(addcalculation_vvvvwal,gettype_vvvvwal);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwal function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var addcalculation_vvvvwal = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwal = jQuery("#jform_gettype").val();
|
||||
vvvvwal(gettype_vvvvwal);
|
||||
vvvvwal(addcalculation_vvvvwal,gettype_vvvvwal);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addcalculation_vvvvwal = jQuery("#jform_addcalculation input[type='radio']:checked").val();
|
||||
var gettype_vvvvwal = jQuery("#jform_gettype").val();
|
||||
vvvvwal(gettype_vvvvwal);
|
||||
vvvvwal(addcalculation_vvvvwal,gettype_vvvvwal);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvwao function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwao = jQuery("#jform_main_source").val();
|
||||
vvvvwao(main_source_vvvvwao);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwao = jQuery("#jform_main_source").val();
|
||||
vvvvwao(main_source_vvvvwao);
|
||||
|
||||
});
|
||||
|
||||
// #jform_main_source listeners for main_source_vvvvwap function
|
||||
jQuery('#jform_main_source').on('keyup',function()
|
||||
{
|
||||
var main_source_vvvvwap = jQuery("#jform_main_source").val();
|
||||
vvvvwap(main_source_vvvvwap);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_main_source',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var main_source_vvvvwap = jQuery("#jform_main_source").val();
|
||||
vvvvwap(main_source_vvvvwap);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_getitem listeners for add_php_before_getitem_vvvvwaq function
|
||||
jQuery('#jform_add_php_before_getitem').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitem_vvvvwaq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaq = jQuery("#jform_gettype").val();
|
||||
vvvvwaq(add_php_before_getitem_vvvvwaq,gettype_vvvvwaq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitem_vvvvwaq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaq = jQuery("#jform_gettype").val();
|
||||
vvvvwaq(add_php_before_getitem_vvvvwaq,gettype_vvvvwaq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwaq function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitem_vvvvwaq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaq = jQuery("#jform_gettype").val();
|
||||
vvvvwaq(add_php_before_getitem_vvvvwaq,gettype_vvvvwaq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitem_vvvvwaq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaq = jQuery("#jform_gettype").val();
|
||||
vvvvwaq(add_php_before_getitem_vvvvwaq,gettype_vvvvwaq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_getitem listeners for add_php_after_getitem_vvvvwar function
|
||||
jQuery('#jform_add_php_after_getitem').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitem_vvvvwar = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwar = jQuery("#jform_gettype").val();
|
||||
vvvvwar(add_php_after_getitem_vvvvwar,gettype_vvvvwar);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitem_vvvvwar = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwar = jQuery("#jform_gettype").val();
|
||||
vvvvwar(add_php_after_getitem_vvvvwar,gettype_vvvvwar);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwar function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitem_vvvvwar = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwar = jQuery("#jform_gettype").val();
|
||||
vvvvwar(add_php_after_getitem_vvvvwar,gettype_vvvvwar);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitem_vvvvwar = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
|
||||
var gettype_vvvvwar = jQuery("#jform_gettype").val();
|
||||
vvvvwar(add_php_after_getitem_vvvvwar,gettype_vvvvwar);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwat function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwat = jQuery("#jform_gettype").val();
|
||||
vvvvwat(gettype_vvvvwat);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwat = jQuery("#jform_gettype").val();
|
||||
vvvvwat(gettype_vvvvwat);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_getlistquery listeners for add_php_getlistquery_vvvvwau function
|
||||
jQuery('#jform_add_php_getlistquery').on('keyup',function()
|
||||
{
|
||||
var add_php_getlistquery_vvvvwau = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwau = jQuery("#jform_gettype").val();
|
||||
vvvvwau(add_php_getlistquery_vvvvwau,gettype_vvvvwau);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getlistquery_vvvvwau = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwau = jQuery("#jform_gettype").val();
|
||||
vvvvwau(add_php_getlistquery_vvvvwau,gettype_vvvvwau);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwau function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_getlistquery_vvvvwau = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwau = jQuery("#jform_gettype").val();
|
||||
vvvvwau(add_php_getlistquery_vvvvwau,gettype_vvvvwau);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_getlistquery_vvvvwau = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
var gettype_vvvvwau = jQuery("#jform_gettype").val();
|
||||
vvvvwau(add_php_getlistquery_vvvvwau,gettype_vvvvwau);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_before_getitems listeners for add_php_before_getitems_vvvvwav function
|
||||
jQuery('#jform_add_php_before_getitems').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitems_vvvvwav = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwav = jQuery("#jform_gettype").val();
|
||||
vvvvwav(add_php_before_getitems_vvvvwav,gettype_vvvvwav);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitems_vvvvwav = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwav = jQuery("#jform_gettype").val();
|
||||
vvvvwav(add_php_before_getitems_vvvvwav,gettype_vvvvwav);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwav function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_before_getitems_vvvvwav = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwav = jQuery("#jform_gettype").val();
|
||||
vvvvwav(add_php_before_getitems_vvvvwav,gettype_vvvvwav);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_before_getitems_vvvvwav = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwav = jQuery("#jform_gettype").val();
|
||||
vvvvwav(add_php_before_getitems_vvvvwav,gettype_vvvvwav);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_after_getitems listeners for add_php_after_getitems_vvvvwaw function
|
||||
jQuery('#jform_add_php_after_getitems').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitems_vvvvwaw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaw = jQuery("#jform_gettype").val();
|
||||
vvvvwaw(add_php_after_getitems_vvvvwaw,gettype_vvvvwaw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitems_vvvvwaw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaw = jQuery("#jform_gettype").val();
|
||||
vvvvwaw(add_php_after_getitems_vvvvwaw,gettype_vvvvwaw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwaw function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var add_php_after_getitems_vvvvwaw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaw = jQuery("#jform_gettype").val();
|
||||
vvvvwaw(add_php_after_getitems_vvvvwaw,gettype_vvvvwaw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_after_getitems_vvvvwaw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
|
||||
var gettype_vvvvwaw = jQuery("#jform_gettype").val();
|
||||
vvvvwaw(add_php_after_getitems_vvvvwaw,gettype_vvvvwaw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvway function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvway = jQuery("#jform_gettype").val();
|
||||
vvvvway(gettype_vvvvway);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvway = jQuery("#jform_gettype").val();
|
||||
vvvvway(gettype_vvvvway);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwaz function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwaz = jQuery("#jform_gettype").val();
|
||||
vvvvwaz(gettype_vvvvwaz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwaz = jQuery("#jform_gettype").val();
|
||||
vvvvwaz(gettype_vvvvwaz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwba function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwba = jQuery("#jform_gettype").val();
|
||||
vvvvwba(gettype_vvvvwba);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwba = jQuery("#jform_gettype").val();
|
||||
vvvvwba(gettype_vvvvwba);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwbb function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwbb = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwbb = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwbb(gettype_vvvvwbb,add_php_router_parse_vvvvwbb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwbb = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwbb = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwbb(gettype_vvvvwbb,add_php_router_parse_vvvvwbb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_router_parse listeners for add_php_router_parse_vvvvwbb function
|
||||
jQuery('#jform_add_php_router_parse').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwbb = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwbb = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwbb(gettype_vvvvwbb,add_php_router_parse_vvvvwbb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwbb = jQuery("#jform_gettype").val();
|
||||
var add_php_router_parse_vvvvwbb = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
vvvvwbb(gettype_vvvvwbb,add_php_router_parse_vvvvwbb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_gettype listeners for gettype_vvvvwbd function
|
||||
jQuery('#jform_gettype').on('keyup',function()
|
||||
{
|
||||
var gettype_vvvvwbd = jQuery("#jform_gettype").val();
|
||||
vvvvwbd(gettype_vvvvwbd);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var gettype_vvvvwbd = jQuery("#jform_gettype").val();
|
||||
vvvvwbd(gettype_vvvvwbd);
|
||||
|
||||
});
|
||||
|
||||
|
@ -147,157 +147,157 @@ $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_vvvvwbs function
|
||||
jQuery('#jform_datalenght').on('keyup',function()
|
||||
{
|
||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
||||
vvvvwba(datalenght_vvvvwba);
|
||||
var datalenght_vvvvwbs = jQuery("#jform_datalenght").val();
|
||||
vvvvwbs(datalenght_vvvvwbs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datalenght_vvvvwba = jQuery("#jform_datalenght").val();
|
||||
vvvvwba(datalenght_vvvvwba);
|
||||
var datalenght_vvvvwbs = jQuery("#jform_datalenght").val();
|
||||
vvvvwbs(datalenght_vvvvwbs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datadefault listeners for datadefault_vvvvwbb function
|
||||
// #jform_datadefault listeners for datadefault_vvvvwbt function
|
||||
jQuery('#jform_datadefault').on('keyup',function()
|
||||
{
|
||||
var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
|
||||
vvvvwbb(datadefault_vvvvwbb);
|
||||
var datadefault_vvvvwbt = jQuery("#jform_datadefault").val();
|
||||
vvvvwbt(datadefault_vvvvwbt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datadefault_vvvvwbb = jQuery("#jform_datadefault").val();
|
||||
vvvvwbb(datadefault_vvvvwbb);
|
||||
var datadefault_vvvvwbt = jQuery("#jform_datadefault").val();
|
||||
vvvvwbt(datadefault_vvvvwbt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbc function
|
||||
// #jform_datatype listeners for datatype_vvvvwbu function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbc = jQuery("#jform_datatype").val();
|
||||
vvvvwbc(datatype_vvvvwbc);
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(datatype_vvvvwbu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbc = jQuery("#jform_datatype").val();
|
||||
vvvvwbc(datatype_vvvvwbc);
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(datatype_vvvvwbu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbd function
|
||||
// #jform_datatype listeners for datatype_vvvvwbv function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbd = jQuery("#jform_datatype").val();
|
||||
vvvvwbd(datatype_vvvvwbd);
|
||||
var datatype_vvvvwbv = jQuery("#jform_datatype").val();
|
||||
vvvvwbv(datatype_vvvvwbv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbd = jQuery("#jform_datatype").val();
|
||||
vvvvwbd(datatype_vvvvwbd);
|
||||
var datatype_vvvvwbv = jQuery("#jform_datatype").val();
|
||||
vvvvwbv(datatype_vvvvwbv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_store listeners for store_vvvvwbe function
|
||||
// #jform_store listeners for store_vvvvwbw function
|
||||
jQuery('#jform_store').on('keyup',function()
|
||||
{
|
||||
var store_vvvvwbe = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
||||
vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
|
||||
var store_vvvvwbw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(store_vvvvwbw,datatype_vvvvwbw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvwbe = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
||||
vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
|
||||
var store_vvvvwbw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(store_vvvvwbw,datatype_vvvvwbw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbe function
|
||||
// #jform_datatype listeners for datatype_vvvvwbw function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var store_vvvvwbe = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
||||
vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
|
||||
var store_vvvvwbw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(store_vvvvwbw,datatype_vvvvwbw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvwbe = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbe = jQuery("#jform_datatype").val();
|
||||
vvvvwbe(store_vvvvwbe,datatype_vvvvwbe);
|
||||
var store_vvvvwbw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbw = jQuery("#jform_datatype").val();
|
||||
vvvvwbw(store_vvvvwbw,datatype_vvvvwbw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvwbg function
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvwby function
|
||||
jQuery('#jform_add_css_view').on('keyup',function()
|
||||
{
|
||||
var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwbg(add_css_view_vvvvwbg);
|
||||
var add_css_view_vvvvwby = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwby(add_css_view_vvvvwby);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_view_vvvvwbg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwbg(add_css_view_vvvvwbg);
|
||||
var add_css_view_vvvvwby = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwby(add_css_view_vvvvwby);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvwbh function
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvwbz function
|
||||
jQuery('#jform_add_css_views').on('keyup',function()
|
||||
{
|
||||
var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbh(add_css_views_vvvvwbh);
|
||||
var add_css_views_vvvvwbz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbz(add_css_views_vvvvwbz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_views_vvvvwbh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbh(add_css_views_vvvvwbh);
|
||||
var add_css_views_vvvvwbz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbz(add_css_views_vvvvwbz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwbi function
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwca function
|
||||
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwbi(add_javascript_view_footer_vvvvwbi);
|
||||
var add_javascript_view_footer_vvvvwca = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwca(add_javascript_view_footer_vvvvwca);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_view_footer_vvvvwbi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwbi(add_javascript_view_footer_vvvvwbi);
|
||||
var add_javascript_view_footer_vvvvwca = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwca(add_javascript_view_footer_vvvvwca);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwbj function
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwcb function
|
||||
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwbj(add_javascript_views_footer_vvvvwbj);
|
||||
var add_javascript_views_footer_vvvvwcb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwcb(add_javascript_views_footer_vvvvwcb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_views_footer_vvvvwbj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwbj(add_javascript_views_footer_vvvvwbj);
|
||||
var add_javascript_views_footer_vvvvwcb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwcb(add_javascript_views_footer_vvvvwcb);
|
||||
|
||||
});
|
||||
|
||||
|
@ -136,359 +136,359 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_datalenght listeners for datalenght_vvvvwbk function
|
||||
// #jform_datalenght listeners for datalenght_vvvvwcc function
|
||||
jQuery('#jform_datalenght').on('keyup',function()
|
||||
{
|
||||
var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwcc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwcc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbk function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwcc function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwcc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datalenght_vvvvwbk = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwbk = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbk(datalenght_vvvvwbk,has_defaults_vvvvwbk);
|
||||
var datalenght_vvvvwcc = jQuery("#jform_datalenght").val();
|
||||
var has_defaults_vvvvwcc = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcc(datalenght_vvvvwcc,has_defaults_vvvvwcc);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datadefault listeners for datadefault_vvvvwbm function
|
||||
// #jform_datadefault listeners for datadefault_vvvvwce function
|
||||
jQuery('#jform_datadefault').on('keyup',function()
|
||||
{
|
||||
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwce = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwce = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbm function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwce function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwce = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datadefault_vvvvwbm = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwbm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbm(datadefault_vvvvwbm,has_defaults_vvvvwbm);
|
||||
var datadefault_vvvvwce = jQuery("#jform_datadefault").val();
|
||||
var has_defaults_vvvvwce = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwce(datadefault_vvvvwce,has_defaults_vvvvwce);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbo function
|
||||
// #jform_datatype listeners for datatype_vvvvwcg function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbo = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwcg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbo = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwcg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbo function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwcg function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbo = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwcg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbo = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbo = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbo(datatype_vvvvwbo,has_defaults_vvvvwbo);
|
||||
var datatype_vvvvwcg = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwcg = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcg(datatype_vvvvwcg,has_defaults_vvvvwcg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbp function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwch function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
|
||||
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
|
||||
var has_defaults_vvvvwch = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
|
||||
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
|
||||
var has_defaults_vvvvwch = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbp function
|
||||
// #jform_datatype listeners for datatype_vvvvwch function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
|
||||
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
|
||||
var has_defaults_vvvvwch = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbp = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwbp = jQuery("#jform_datatype").val();
|
||||
vvvvwbp(has_defaults_vvvvwbp,datatype_vvvvwbp);
|
||||
var has_defaults_vvvvwch = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var datatype_vvvvwch = jQuery("#jform_datatype").val();
|
||||
vvvvwch(has_defaults_vvvvwch,datatype_vvvvwch);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbq function
|
||||
// #jform_datatype listeners for datatype_vvvvwci function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwci = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwci = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbq function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwci function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwci = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbq = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbq = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbq(datatype_vvvvwbq,has_defaults_vvvvwbq);
|
||||
var datatype_vvvvwci = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwci = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwci(datatype_vvvvwci,has_defaults_vvvvwci);
|
||||
|
||||
});
|
||||
|
||||
// #jform_store listeners for store_vvvvwbs function
|
||||
// #jform_store listeners for store_vvvvwck function
|
||||
jQuery('#jform_store').on('keyup',function()
|
||||
{
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbs function
|
||||
// #jform_datatype listeners for datatype_vvvvwck function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbs function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwck function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvwbs = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbs = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwbs = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbs(store_vvvvwbs,datatype_vvvvwbs,has_defaults_vvvvwbs);
|
||||
var store_vvvvwck = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwck = jQuery("#jform_datatype").val();
|
||||
var has_defaults_vvvvwck = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwck(store_vvvvwck,datatype_vvvvwck,has_defaults_vvvvwck);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbt function
|
||||
// #jform_datatype listeners for datatype_vvvvwcl function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_store listeners for store_vvvvwbt function
|
||||
// #jform_store listeners for store_vvvvwcl function
|
||||
jQuery('#jform_store').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbt function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwcl function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvwbt = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwbt = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwbt = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbt(datatype_vvvvwbt,store_vvvvwbt,has_defaults_vvvvwbt);
|
||||
var datatype_vvvvwcl = jQuery("#jform_datatype").val();
|
||||
var store_vvvvwcl = jQuery("#jform_store").val();
|
||||
var has_defaults_vvvvwcl = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcl(datatype_vvvvwcl,store_vvvvwcl,has_defaults_vvvvwcl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbu function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwcm function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_store listeners for store_vvvvwbu function
|
||||
// #jform_store listeners for store_vvvvwcm function
|
||||
jQuery('#jform_store').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvwbu function
|
||||
// #jform_datatype listeners for datatype_vvvvwcm function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbu = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwbu = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbu = jQuery("#jform_datatype").val();
|
||||
vvvvwbu(has_defaults_vvvvwbu,store_vvvvwbu,datatype_vvvvwbu);
|
||||
var has_defaults_vvvvwcm = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
var store_vvvvwcm = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwcm = jQuery("#jform_datatype").val();
|
||||
vvvvwcm(has_defaults_vvvvwcm,store_vvvvwcm,datatype_vvvvwcm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwbv function
|
||||
// #jform_has_defaults listeners for has_defaults_vvvvwcn function
|
||||
jQuery('#jform_has_defaults').on('keyup',function()
|
||||
{
|
||||
var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbv(has_defaults_vvvvwbv);
|
||||
var has_defaults_vvvvwcn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcn(has_defaults_vvvvwcn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_has_defaults',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var has_defaults_vvvvwbv = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwbv(has_defaults_vvvvwbv);
|
||||
var has_defaults_vvvvwcn = jQuery("#jform_has_defaults input[type='radio']:checked").val();
|
||||
vvvvwcn(has_defaults_vvvvwcn);
|
||||
|
||||
});
|
||||
|
||||
|
@ -57,7 +57,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
|
||||
}
|
||||
|
||||
// Get Linked view data
|
||||
$this->vxtfields = $this->get('Vxtfields');
|
||||
$this->vxwfields = $this->get('Vxwfields');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -116,93 +116,93 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_location listeners for location_vvvvwcg function
|
||||
// #jform_location listeners for location_vvvvwcy function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcg(location_vvvvwcg);
|
||||
var location_vvvvwcy = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcy(location_vvvvwcy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_vvvvwcg = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcg(location_vvvvwcg);
|
||||
var location_vvvvwcy = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcy(location_vvvvwcy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_location listeners for location_vvvvwch function
|
||||
// #jform_location listeners for location_vvvvwcz function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwch(location_vvvvwch);
|
||||
var location_vvvvwcz = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcz(location_vvvvwcz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_vvvvwch = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwch(location_vvvvwch);
|
||||
var location_vvvvwcz = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcz(location_vvvvwcz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwci function
|
||||
// #jform_type listeners for type_vvvvwda function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwci = jQuery("#jform_type").val();
|
||||
vvvvwci(type_vvvvwci);
|
||||
var type_vvvvwda = jQuery("#jform_type").val();
|
||||
vvvvwda(type_vvvvwda);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwci = jQuery("#jform_type").val();
|
||||
vvvvwci(type_vvvvwci);
|
||||
var type_vvvvwda = jQuery("#jform_type").val();
|
||||
vvvvwda(type_vvvvwda);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwcj function
|
||||
// #jform_type listeners for type_vvvvwdb function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwcj = jQuery("#jform_type").val();
|
||||
vvvvwcj(type_vvvvwcj);
|
||||
var type_vvvvwdb = jQuery("#jform_type").val();
|
||||
vvvvwdb(type_vvvvwdb);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwcj = jQuery("#jform_type").val();
|
||||
vvvvwcj(type_vvvvwcj);
|
||||
var type_vvvvwdb = jQuery("#jform_type").val();
|
||||
vvvvwdb(type_vvvvwdb);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwck function
|
||||
// #jform_type listeners for type_vvvvwdc function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwck = jQuery("#jform_type").val();
|
||||
vvvvwck(type_vvvvwck);
|
||||
var type_vvvvwdc = jQuery("#jform_type").val();
|
||||
vvvvwdc(type_vvvvwdc);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwck = jQuery("#jform_type").val();
|
||||
vvvvwck(type_vvvvwck);
|
||||
var type_vvvvwdc = jQuery("#jform_type").val();
|
||||
vvvvwdc(type_vvvvwdc);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvwcl function
|
||||
// #jform_target listeners for target_vvvvwdd function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcl(target_vvvvwcl);
|
||||
var target_vvvvwdd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwdd(target_vvvvwdd);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcl(target_vvvvwcl);
|
||||
var target_vvvvwdd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwdd(target_vvvvwdd);
|
||||
|
||||
});
|
||||
|
||||
|
@ -72,11 +72,7 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=jooml
|
||||
<?php endif; ?>
|
||||
- <?php echo $this->escape($item->component_version); ?>
|
||||
</div>
|
||||
<?php // setup the return path
|
||||
if (!isset($returnpath))
|
||||
{
|
||||
$returnpath = urlencode(base64_encode((string) JUri::getInstance()));
|
||||
}
|
||||
<?php
|
||||
// setup the buttons
|
||||
if (!isset($_buttons) || !ComponentbuilderHelper::checkArray($_buttons))
|
||||
{
|
||||
@ -147,9 +143,9 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=jooml
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[0] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
@ -161,9 +157,9 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=jooml
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[1] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
@ -175,9 +171,9 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_components&task=jooml
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[2] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_component', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $returnpath; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_component&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
@ -75,6 +75,42 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'script_file', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_SCRIPT_FILE', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
</div>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin.script_file_fullwidth', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'mysql', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_MYSQL', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
</div>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin.mysql_fullwidth', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'readme', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_README', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin.readme_left', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_pluginTab', 'dynamic_integration', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_DYNAMIC_INTEGRATION', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin.dynamic_integration_left', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
|
||||
<?php $this->tab_name = 'joomla_pluginTab'; ?>
|
||||
<?php echo JLayoutHelper::render('joomla.edit.params', $this); ?>
|
||||
@ -240,6 +276,322 @@ jQuery('#adminForm').on('change', '#jform_class_extends',function (e)
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_preflight_install listeners for add_php_preflight_install_vvvvvxg function
|
||||
jQuery('#jform_add_php_preflight_install').on('keyup',function()
|
||||
{
|
||||
var add_php_preflight_install_vvvvvxg = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvxg(add_php_preflight_install_vvvvvxg);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_preflight_install',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_preflight_install_vvvvvxg = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvxg(add_php_preflight_install_vvvvvxg);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_preflight_update listeners for add_php_preflight_update_vvvvvxh function
|
||||
jQuery('#jform_add_php_preflight_update').on('keyup',function()
|
||||
{
|
||||
var add_php_preflight_update_vvvvvxh = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvxh(add_php_preflight_update_vvvvvxh);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_preflight_update',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_preflight_update_vvvvvxh = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvxh(add_php_preflight_update_vvvvvxh);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_preflight_uninstall listeners for add_php_preflight_uninstall_vvvvvxi function
|
||||
jQuery('#jform_add_php_preflight_uninstall').on('keyup',function()
|
||||
{
|
||||
var add_php_preflight_uninstall_vvvvvxi = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxi(add_php_preflight_uninstall_vvvvvxi);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_preflight_uninstall',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_preflight_uninstall_vvvvvxi = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxi(add_php_preflight_uninstall_vvvvvxi);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_postflight_install listeners for add_php_postflight_install_vvvvvxj function
|
||||
jQuery('#jform_add_php_postflight_install').on('keyup',function()
|
||||
{
|
||||
var add_php_postflight_install_vvvvvxj = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_postflight_install_vvvvvxj);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_postflight_install',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_postflight_install_vvvvvxj = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_postflight_install_vvvvvxj);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_postflight_update listeners for add_php_postflight_update_vvvvvxk function
|
||||
jQuery('#jform_add_php_postflight_update').on('keyup',function()
|
||||
{
|
||||
var add_php_postflight_update_vvvvvxk = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_postflight_update_vvvvvxk);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_postflight_update',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_postflight_update_vvvvvxk = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_postflight_update_vvvvvxk);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_method_uninstall listeners for add_php_method_uninstall_vvvvvxl function
|
||||
jQuery('#jform_add_php_method_uninstall').on('keyup',function()
|
||||
{
|
||||
var add_php_method_uninstall_vvvvvxl = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxl(add_php_method_uninstall_vvvvvxl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_method_uninstall',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_method_uninstall_vvvvvxl = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxl(add_php_method_uninstall_vvvvvxl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_update_server_target listeners for update_server_target_vvvvvxm function
|
||||
jQuery('#jform_update_server_target').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxm function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxm(update_server_target_vvvvvxm,add_update_server_vvvvvxm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxn function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_update_server_target listeners for update_server_target_vvvvvxn function
|
||||
jQuery('#jform_update_server_target').on('keyup',function()
|
||||
{
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxn(add_update_server_vvvvvxn,update_server_target_vvvvvxn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_update_server_target listeners for update_server_target_vvvvvxo function
|
||||
jQuery('#jform_update_server_target').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxo function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxo(update_server_target_vvvvvxo,add_update_server_vvvvvxo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_update_server_target listeners for update_server_target_vvvvvxq function
|
||||
jQuery('#jform_update_server_target').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_update_server_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxq function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var update_server_target_vvvvvxq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var update_server_target_vvvvvxq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxq(update_server_target_vvvvvxq,add_update_server_vvvvvxq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxs function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var add_update_server_vvvvvxs = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxs(add_update_server_vvvvvxs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_update_server_vvvvvxs = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxs(add_update_server_vvvvvxs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sql listeners for add_sql_vvvvvxt function
|
||||
jQuery('#jform_add_sql').on('keyup',function()
|
||||
{
|
||||
var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvxt(add_sql_vvvvvxt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvxt(add_sql_vvvvvxt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sql_uninstall listeners for add_sql_uninstall_vvvvvxu function
|
||||
jQuery('#jform_add_sql_uninstall').on('keyup',function()
|
||||
{
|
||||
var add_sql_uninstall_vvvvvxu = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxu(add_sql_uninstall_vvvvvxu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sql_uninstall',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_sql_uninstall_vvvvvxu = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxu(add_sql_uninstall_vvvvvxu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_update_server listeners for add_update_server_vvvvvxv function
|
||||
jQuery('#jform_add_update_server').on('keyup',function()
|
||||
{
|
||||
var add_update_server_vvvvvxv = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxv(add_update_server_vvvvvxv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_update_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_update_server_vvvvvxv = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxv(add_update_server_vvvvvxv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_sales_server listeners for add_sales_server_vvvvvxw function
|
||||
jQuery('#jform_add_sales_server').on('keyup',function()
|
||||
{
|
||||
var add_sales_server_vvvvvxw = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvxw(add_sales_server_vvvvvxw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_sales_server',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_sales_server_vvvvvxw = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvxw(add_sales_server_vvvvvxw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_addreadme listeners for addreadme_vvvvvxx function
|
||||
jQuery('#jform_addreadme').on('keyup',function()
|
||||
{
|
||||
var addreadme_vvvvvxx = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvxx(addreadme_vvvvvxx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_addreadme',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var addreadme_vvvvvxx = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvxx(addreadme_vvvvvxx);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
jQuery('#adminForm').on('change', '#jform_joomla_plugin_group',function (e)
|
||||
|
25
admin/views/joomla_plugin_files_folders_urls/submitbutton.js
Normal file
25
admin/views/joomla_plugin_files_folders_urls/submitbutton.js
Normal file
@ -0,0 +1,25 @@
|
||||
/**
|
||||
* @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
|
||||
*/
|
||||
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == ''){
|
||||
return false;
|
||||
} else {
|
||||
var action = task.split('.');
|
||||
if (action[1] == 'cancel' || action[1] == 'close' || document.formvalidator.isValid(document.getElementById("adminForm"))){
|
||||
Joomla.submitform(task, document.getElementById("adminForm"));
|
||||
return true;
|
||||
} else {
|
||||
alert(Joomla.JText._('joomla_plugin_files_folders_urls, some values are not acceptable.','Some values are unacceptable'));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
116
admin/views/joomla_plugin_files_folders_urls/tmpl/edit.php
Normal file
116
admin/views/joomla_plugin_files_folders_urls/tmpl/edit.php
Normal file
@ -0,0 +1,116 @@
|
||||
<?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');
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
JHtml::_('behavior.tooltip');
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('formbehavior.chosen', 'select');
|
||||
JHtml::_('behavior.keepalive');
|
||||
$componentParams = $this->params; // will be removed just use $this->params instead
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
// waiting spinner
|
||||
var outerDiv = jQuery('body');
|
||||
jQuery('<div id="loading"></div>')
|
||||
.css("background", "rgba(255, 255, 255, .8) url('components/com_componentbuilder/assets/images/import.gif') 50% 15% no-repeat")
|
||||
.css("top", outerDiv.position().top - jQuery(window).scrollTop())
|
||||
.css("left", outerDiv.position().left - jQuery(window).scrollLeft())
|
||||
.css("width", outerDiv.width())
|
||||
.css("height", outerDiv.height())
|
||||
.css("position", "fixed")
|
||||
.css("opacity", "0.80")
|
||||
.css("-ms-filter", "progid:DXImageTransform.Microsoft.Alpha(Opacity = 80)")
|
||||
.css("filter", "alpha(opacity = 80)")
|
||||
.css("display", "none")
|
||||
.appendTo(outerDiv);
|
||||
jQuery('#loading').show();
|
||||
// when page is ready remove and show
|
||||
jQuery(window).load(function() {
|
||||
jQuery('#componentbuilder_loader').fadeIn('fast');
|
||||
jQuery('#loading').hide();
|
||||
});
|
||||
</script>
|
||||
<div id="componentbuilder_loader" style="display: none;">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&layout=edit&id='. (int) $this->item->id . $this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
||||
|
||||
<?php echo JLayoutHelper::render('joomla_plugin_files_folders_urls.basic_above', $this); ?>
|
||||
<div class="form-horizontal">
|
||||
|
||||
<?php echo JHtml::_('bootstrap.startTabSet', 'joomla_plugin_files_folders_urlsTab', array('active' => 'basic')); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_plugin_files_folders_urlsTab', 'basic', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_BASIC', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
</div>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin_files_folders_urls.basic_fullwidth', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_plugin_files_folders_urlsTab', 'advance', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ADVANCE', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
</div>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin_files_folders_urls.advance_fullwidth', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
|
||||
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
|
||||
<?php $this->tab_name = 'joomla_plugin_files_folders_urlsTab'; ?>
|
||||
<?php echo JLayoutHelper::render('joomla.edit.params', $this); ?>
|
||||
|
||||
<?php if ($this->canDo->get('joomla_plugin_files_folders_urls.delete') || $this->canDo->get('joomla_plugin_files_folders_urls.edit.created_by') || $this->canDo->get('joomla_plugin_files_folders_urls.edit.state') || $this->canDo->get('joomla_plugin_files_folders_urls.edit.created')) : ?>
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_plugin_files_folders_urlsTab', 'publishing', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PUBLISHING', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span6">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin_files_folders_urls.publishing', $this); ?>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<?php echo JLayoutHelper::render('joomla_plugin_files_folders_urls.publlshing', $this); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<?php echo JHtml::_('bootstrap.addTab', 'joomla_plugin_files_folders_urlsTab', 'permissions', JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_PERMISSION', true)); ?>
|
||||
<div class="row-fluid form-horizontal-desktop">
|
||||
<div class="span12">
|
||||
<fieldset class="adminform">
|
||||
<div class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?>
|
||||
<div>
|
||||
<?php echo $field->label; echo $field->input;?>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo JHtml::_('bootstrap.endTabSet'); ?>
|
||||
|
||||
<div>
|
||||
<input type="hidden" name="task" value="joomla_plugin_files_folders_urls.edit" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
195
admin/views/joomla_plugin_files_folders_urls/view.html.php
Normal file
195
admin/views/joomla_plugin_files_folders_urls/view.html.php
Normal file
@ -0,0 +1,195 @@
|
||||
<?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');
|
||||
|
||||
/**
|
||||
* Joomla_plugin_files_folders_urls View class
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugin_files_folders_urls extends JViewLegacy
|
||||
{
|
||||
/**
|
||||
* display method of View
|
||||
* @return void
|
||||
*/
|
||||
public function display($tpl = null)
|
||||
{
|
||||
// set params
|
||||
$this->params = JComponentHelper::getParams('com_componentbuilder');
|
||||
// Assign the variables
|
||||
$this->form = $this->get('Form');
|
||||
$this->item = $this->get('Item');
|
||||
$this->script = $this->get('Script');
|
||||
$this->state = $this->get('State');
|
||||
// get action permissions
|
||||
$this->canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls', $this->item);
|
||||
// get input
|
||||
$jinput = JFactory::getApplication()->input;
|
||||
$this->ref = $jinput->get('ref', 0, 'word');
|
||||
$this->refid = $jinput->get('refid', 0, 'int');
|
||||
$return = $jinput->get('return', null, 'base64');
|
||||
// set the referral string
|
||||
$this->referral = '';
|
||||
if ($this->refid && $this->ref)
|
||||
{
|
||||
// return to the item that referred to this item
|
||||
$this->referral = '&ref=' . (string)$this->ref . '&refid=' . (int)$this->refid;
|
||||
}
|
||||
elseif($this->ref)
|
||||
{
|
||||
// return to the list view that referred to this item
|
||||
$this->referral = '&ref=' . (string)$this->ref;
|
||||
}
|
||||
// check return value
|
||||
if (!is_null($return))
|
||||
{
|
||||
// add the return value
|
||||
$this->referral .= '&return=' . (string)$return;
|
||||
}
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new Exception(implode("\n", $errors), 500);
|
||||
}
|
||||
|
||||
// Display the template
|
||||
parent::display($tpl);
|
||||
|
||||
// Set the document
|
||||
$this->setDocument();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Setting the toolbar
|
||||
*/
|
||||
protected function addToolBar()
|
||||
{
|
||||
JFactory::getApplication()->input->set('hidemainmenu', true);
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->id;
|
||||
$isNew = $this->item->id == 0;
|
||||
|
||||
JToolbarHelper::title( JText::_($isNew ? 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NEW' : 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_EDIT'), 'pencil-2 article-add');
|
||||
// Built the actions for new and existing records.
|
||||
if (ComponentbuilderHelper::checkString($this->referral))
|
||||
{
|
||||
if ($this->canDo->get('joomla_plugin_files_folders_urls.create') && $isNew)
|
||||
{
|
||||
// We can create the record.
|
||||
JToolBarHelper::save('joomla_plugin_files_folders_urls.save', 'JTOOLBAR_SAVE');
|
||||
}
|
||||
elseif ($this->canDo->get('joomla_plugin_files_folders_urls.edit'))
|
||||
{
|
||||
// We can save the record.
|
||||
JToolBarHelper::save('joomla_plugin_files_folders_urls.save', 'JTOOLBAR_SAVE');
|
||||
}
|
||||
if ($isNew)
|
||||
{
|
||||
// Do not creat but cancel.
|
||||
JToolBarHelper::cancel('joomla_plugin_files_folders_urls.cancel', 'JTOOLBAR_CANCEL');
|
||||
}
|
||||
else
|
||||
{
|
||||
// We can close it.
|
||||
JToolBarHelper::cancel('joomla_plugin_files_folders_urls.cancel', 'JTOOLBAR_CLOSE');
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($isNew)
|
||||
{
|
||||
// For new records, check the create permission.
|
||||
if ($this->canDo->get('joomla_plugin_files_folders_urls.create'))
|
||||
{
|
||||
JToolBarHelper::apply('joomla_plugin_files_folders_urls.apply', 'JTOOLBAR_APPLY');
|
||||
JToolBarHelper::save('joomla_plugin_files_folders_urls.save', 'JTOOLBAR_SAVE');
|
||||
JToolBarHelper::custom('joomla_plugin_files_folders_urls.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
|
||||
};
|
||||
JToolBarHelper::cancel('joomla_plugin_files_folders_urls.cancel', 'JTOOLBAR_CANCEL');
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($this->canDo->get('joomla_plugin_files_folders_urls.edit'))
|
||||
{
|
||||
// We can save the new record
|
||||
JToolBarHelper::apply('joomla_plugin_files_folders_urls.apply', 'JTOOLBAR_APPLY');
|
||||
JToolBarHelper::save('joomla_plugin_files_folders_urls.save', 'JTOOLBAR_SAVE');
|
||||
// We can save this record, but check the create permission to see
|
||||
// if we can return to make a new one.
|
||||
if ($this->canDo->get('joomla_plugin_files_folders_urls.create'))
|
||||
{
|
||||
JToolBarHelper::custom('joomla_plugin_files_folders_urls.save2new', 'save-new.png', 'save-new_f2.png', 'JTOOLBAR_SAVE_AND_NEW', false);
|
||||
}
|
||||
}
|
||||
$canVersion = ($this->canDo->get('core.version') && $this->canDo->get('joomla_plugin_files_folders_urls.version'));
|
||||
if ($this->state->params->get('save_history', 1) && $this->canDo->get('joomla_plugin_files_folders_urls.edit') && $canVersion)
|
||||
{
|
||||
JToolbarHelper::versions('com_componentbuilder.joomla_plugin_files_folders_urls', $this->item->id);
|
||||
}
|
||||
if ($this->canDo->get('joomla_plugin_files_folders_urls.create'))
|
||||
{
|
||||
JToolBarHelper::custom('joomla_plugin_files_folders_urls.save2copy', 'save-copy.png', 'save-copy_f2.png', 'JTOOLBAR_SAVE_AS_COPY', false);
|
||||
}
|
||||
JToolBarHelper::cancel('joomla_plugin_files_folders_urls.cancel', 'JTOOLBAR_CLOSE');
|
||||
}
|
||||
}
|
||||
JToolbarHelper::divider();
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Escapes a value for output in a view script.
|
||||
*
|
||||
* @param mixed $var The output to escape.
|
||||
*
|
||||
* @return mixed The escaped value.
|
||||
*/
|
||||
public function escape($var)
|
||||
{
|
||||
if(strlen($var) > 30)
|
||||
{
|
||||
// use the helper htmlEscape method instead and shorten the string
|
||||
return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true, 30);
|
||||
}
|
||||
// use the helper htmlEscape method instead.
|
||||
return ComponentbuilderHelper::htmlEscape($var, $this->_charset);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to set up the document properties
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setDocument()
|
||||
{
|
||||
$isNew = ($this->item->id < 1);
|
||||
if (!isset($this->document))
|
||||
{
|
||||
$this->document = JFactory::getDocument();
|
||||
}
|
||||
$this->document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_NEW' : 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_EDIT'));
|
||||
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/joomla_plugin_files_folders_urls.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
$this->document->addScript(JURI::root() . $this->script, (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
|
||||
$this->document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/joomla_plugin_files_folders_urls/submitbutton.js", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
|
||||
JText::script('view not acceptable. Error');
|
||||
}
|
||||
}
|
@ -61,15 +61,38 @@ $edit = "index.php?option=com_componentbuilder&view=joomla_plugins&task=joomla_p
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<div class="name">
|
||||
<?php if ($canDo->get('joomla_plugin.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_plugins.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo $this->escape($item->system_name); ?>
|
||||
<div>
|
||||
<?php if ($canDo->get('joomla_plugin.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_plugins.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo $this->escape($item->system_name); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php
|
||||
// setup the buttons
|
||||
if (!isset($_buttons) || !ComponentbuilderHelper::checkArray($_buttons))
|
||||
{
|
||||
$_buttons = array();
|
||||
$_buttons[0] = array(
|
||||
array(
|
||||
'view' => 'joomla_plugin_files_folders_urls',
|
||||
'views' => 'joomla_plugins_files_folders_urls',
|
||||
'title' => JText::_('COM_COMPONENTBUILDER_THE_PLUGIN_FILES_FOLDERS'),
|
||||
'icon' => 'briefcase')
|
||||
);
|
||||
}
|
||||
?>
|
||||
<div class="btn-group" style="margin: 5px 0 0 0;">
|
||||
<?php foreach ($_buttons[0] as $_button): ?>
|
||||
<?php if ($canDo->get($_button['view'].'.edit') && ($id = ComponentbuilderHelper::getVar($_button['view'], $item->id, 'joomla_plugin', 'id')) !== false): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&id=<?php echo $id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php elseif ($canDo->get($_button['view'].'.create')): ?>
|
||||
<a class="hasTooltip btn btn-mini" href="index.php?option=com_componentbuilder&view=<?php echo $_button['views'] ?>&task=<?php echo $_button['view'] ?>.edit&ref=joomla_plugin&refid=<?php echo $item->id; ?>&return=<?php echo $this->return_here; ?>" title="<?php echo $_button['title']; ?>" ><span class="icon-<?php echo $_button['icon']; ?>"></span></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
|
1
admin/views/joomla_plugins_files_folders_urls/index.html
Normal file
1
admin/views/joomla_plugins_files_folders_urls/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
@ -0,0 +1,85 @@
|
||||
<?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');
|
||||
|
||||
// load tooltip behavior
|
||||
JHtml::_('behavior.tooltip');
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('dropdown.init');
|
||||
JHtml::_('formbehavior.chosen', 'select');
|
||||
|
||||
if ($this->saveOrder)
|
||||
{
|
||||
$saveOrderingUrl = 'index.php?option=com_componentbuilder&task=joomla_plugins_files_folders_urls.saveOrderAjax&tmpl=component';
|
||||
JHtml::_('sortablelist.sortable', 'joomla_plugin_files_folders_urlsList', 'adminForm', strtolower($this->listDirn), $saveOrderingUrl);
|
||||
}
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.orderTable = function()
|
||||
{
|
||||
table = document.getElementById("sortTable");
|
||||
direction = document.getElementById("directionTable");
|
||||
order = table.options[table.selectedIndex].value;
|
||||
if (order != '<?php echo $this->listOrder; ?>')
|
||||
{
|
||||
dirn = 'asc';
|
||||
}
|
||||
else
|
||||
{
|
||||
dirn = direction.options[direction.selectedIndex].value;
|
||||
}
|
||||
Joomla.tableOrdering(order, dirn, '');
|
||||
}
|
||||
</script>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_componentbuilder&view=joomla_plugins_files_folders_urls'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if(!empty( $this->sidebar)): ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif; ?>
|
||||
<?php if (empty($this->items)): ?>
|
||||
<?php echo $this->loadTemplate('toolbar');?>
|
||||
<div class="alert alert-no-items">
|
||||
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<?php echo $this->loadTemplate('toolbar');?>
|
||||
<table class="table table-striped" id="joomla_plugin_files_folders_urlsList">
|
||||
<thead><?php echo $this->loadTemplate('head');?></thead>
|
||||
<tfoot><?php echo $this->loadTemplate('foot');?></tfoot>
|
||||
<tbody><?php echo $this->loadTemplate('body');?></tbody>
|
||||
</table>
|
||||
<?php //Load the batch processing form. ?>
|
||||
<?php if ($this->canCreate && $this->canEdit) : ?>
|
||||
<?php echo JHtml::_(
|
||||
'bootstrap.renderModal',
|
||||
'collapseModal',
|
||||
array(
|
||||
'title' => JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_OPTIONS'),
|
||||
'footer' => $this->loadTemplate('batch_footer')
|
||||
),
|
||||
$this->loadTemplate('batch_body')
|
||||
); ?>
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="filter_order" value="" />
|
||||
<input type="hidden" name="filter_order_Dir" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</form>
|
@ -0,0 +1,18 @@
|
||||
<?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');
|
||||
|
||||
?>
|
||||
|
||||
<p><?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS_BATCH_TIP'); ?></p>
|
||||
<?php echo $this->batchDisplay; ?>
|
@ -0,0 +1,23 @@
|
||||
<?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');
|
||||
|
||||
?>
|
||||
<!-- clear the batch values if cancel -->
|
||||
<button class="btn" type="button" onclick="" data-dismiss="modal">
|
||||
<?php echo JText::_('JCANCEL'); ?>
|
||||
</button>
|
||||
<!-- post the batch values if process -->
|
||||
<button class="btn btn-success" type="submit" onclick="Joomla.submitbutton('joomla_plugin_files_folders_urls.batch');">
|
||||
<?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?>
|
||||
</button>
|
@ -0,0 +1,94 @@
|
||||
<?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');
|
||||
|
||||
$edit = "index.php?option=com_componentbuilder&view=joomla_plugins_files_folders_urls&task=joomla_plugin_files_folders_urls.edit";
|
||||
|
||||
?>
|
||||
<?php foreach ($this->items as $i => $item): ?>
|
||||
<?php
|
||||
$canCheckin = $this->user->authorise('core.manage', 'com_checkin') || $item->checked_out == $this->user->id || $item->checked_out == 0;
|
||||
$userChkOut = JFactory::getUser($item->checked_out);
|
||||
$canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls',$item,'joomla_plugins_files_folders_urls');
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="order nowrap center hidden-phone">
|
||||
<?php if ($canDo->get('joomla_plugin_files_folders_urls.edit.state')): ?>
|
||||
<?php
|
||||
if ($this->saveOrder)
|
||||
{
|
||||
$iconClass = ' inactive';
|
||||
}
|
||||
else
|
||||
{
|
||||
$iconClass = ' inactive tip-top" hasTooltip" title="' . JHtml::tooltipText('JORDERINGDISABLED');
|
||||
}
|
||||
?>
|
||||
<span class="sortable-handler<?php echo $iconClass; ?>">
|
||||
<i class="icon-menu"></i>
|
||||
</span>
|
||||
<?php if ($this->saveOrder) : ?>
|
||||
<input type="text" style="display:none" name="order[]" size="5"
|
||||
value="<?php echo $item->ordering; ?>" class="width-20 text-area-order " />
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
⋮
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap center">
|
||||
<?php if ($canDo->get('joomla_plugin_files_folders_urls.edit')): ?>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php if ($canCheckin) : ?>
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
<?php else: ?>
|
||||
□
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
□
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<div class="name">
|
||||
<?php if ($canDo->get('joomla_plugin_files_folders_urls.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->joomla_plugin_system_name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_plugins_files_folders_urls.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo $this->escape($item->joomla_plugin_system_name); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($canDo->get('joomla_plugin_files_folders_urls.edit.state')) : ?>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php if ($canCheckin) : ?>
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'joomla_plugins_files_folders_urls.', true, 'cb'); ?>
|
||||
<?php else: ?>
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'joomla_plugins_files_folders_urls.', false, 'cb'); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'joomla_plugins_files_folders_urls.', true, 'cb'); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'joomla_plugins_files_folders_urls.', false, 'cb'); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap center hidden-phone">
|
||||
<?php echo $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
@ -0,0 +1,18 @@
|
||||
<?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');
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="5"><?php echo $this->pagination->getListFooter(); ?></td>
|
||||
</tr>
|
@ -0,0 +1,47 @@
|
||||
<?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');
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($this->canEdit&& $this->canState): ?>
|
||||
<th width="1%" class="nowrap center hidden-phone">
|
||||
<?php echo JHtml::_('grid.sort', '<i class="icon-menu-2"></i>', 'ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING'); ?>
|
||||
</th>
|
||||
<th width="20" class="nowrap center">
|
||||
<?php echo JHtml::_('grid.checkall'); ?>
|
||||
</th>
|
||||
<?php else: ?>
|
||||
<th width="20" class="nowrap center hidden-phone">
|
||||
▾
|
||||
</th>
|
||||
<th width="20" class="nowrap center">
|
||||
■
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
<th class="nowrap" >
|
||||
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_JOOMLA_PLUGIN_LABEL'); ?>
|
||||
</th>
|
||||
<?php if ($this->canState): ?>
|
||||
<th width="10" class="nowrap center" >
|
||||
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_STATUS', 'published', $this->listDirn, $this->listOrder); ?>
|
||||
</th>
|
||||
<?php else: ?>
|
||||
<th width="10" class="nowrap center" >
|
||||
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_STATUS'); ?>
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
<th width="5" class="nowrap center hidden-phone" >
|
||||
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_JOOMLA_PLUGIN_FILES_FOLDERS_URLS_ID', 'id', $this->listDirn, $this->listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
@ -0,0 +1,45 @@
|
||||
<?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');
|
||||
|
||||
?>
|
||||
<div id="filter-bar" class="btn-toolbar">
|
||||
<div class="filter-search btn-group pull-left">
|
||||
<label for="filter_search" class="element-invisible"><?php echo JText::_('Search');?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo JHtml::tooltipText('Search Joomla_plugins_files_folders_urls'); ?>" />
|
||||
</div>
|
||||
<div class="btn-group pull-left">
|
||||
<button type="submit" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button>
|
||||
<button type="button" class="btn hasTooltip" title="<?php echo JHtml::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button>
|
||||
</div>
|
||||
<div class="btn-group pull-right hidden-phone">
|
||||
<label for="limit" class="element-invisible"><?php echo JText::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label>
|
||||
<?php echo $this->pagination->getLimitBox(); ?>
|
||||
</div>
|
||||
<div class="btn-group pull-right hidden-phone">
|
||||
<label for="directionTable" class="element-invisible"><?php echo JText::_('JFIELD_ORDERING_DESC');?></label>
|
||||
<select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()">
|
||||
<option value=""><?php echo JText::_('JFIELD_ORDERING_DESC');?></option>
|
||||
<option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_ASCENDING');?></option>
|
||||
<option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo JText::_('JGLOBAL_ORDER_DESCENDING');?></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="btn-group pull-right">
|
||||
<label for="sortTable" class="element-invisible"><?php echo JText::_('JGLOBAL_SORT_BY');?></label>
|
||||
<select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()">
|
||||
<option value=""><?php echo JText::_('JGLOBAL_SORT_BY');?></option>
|
||||
<?php echo JHtml::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"> </div>
|
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
226
admin/views/joomla_plugins_files_folders_urls/view.html.php
Normal file
226
admin/views/joomla_plugins_files_folders_urls/view.html.php
Normal file
@ -0,0 +1,226 @@
|
||||
<?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');
|
||||
|
||||
/**
|
||||
* Componentbuilder View class for the Joomla_plugins_files_folders_urls
|
||||
*/
|
||||
class ComponentbuilderViewJoomla_plugins_files_folders_urls extends JViewLegacy
|
||||
{
|
||||
/**
|
||||
* Joomla_plugins_files_folders_urls view display method
|
||||
* @return void
|
||||
*/
|
||||
function display($tpl = null)
|
||||
{
|
||||
if ($this->getLayout() !== 'modal')
|
||||
{
|
||||
// Include helper submenu
|
||||
ComponentbuilderHelper::addSubmenu('joomla_plugins_files_folders_urls');
|
||||
}
|
||||
|
||||
// Assign data to the view
|
||||
$this->items = $this->get('Items');
|
||||
$this->pagination = $this->get('Pagination');
|
||||
$this->state = $this->get('State');
|
||||
$this->user = JFactory::getUser();
|
||||
$this->listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$this->listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$this->saveOrder = $this->listOrder == 'ordering';
|
||||
// set the return here value
|
||||
$this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
|
||||
// get global action permissions
|
||||
$this->canDo = ComponentbuilderHelper::getActions('joomla_plugin_files_folders_urls');
|
||||
$this->canEdit = $this->canDo->get('joomla_plugin_files_folders_urls.edit');
|
||||
$this->canState = $this->canDo->get('joomla_plugin_files_folders_urls.edit.state');
|
||||
$this->canCreate = $this->canDo->get('joomla_plugin_files_folders_urls.create');
|
||||
$this->canDelete = $this->canDo->get('joomla_plugin_files_folders_urls.delete');
|
||||
$this->canBatch = $this->canDo->get('core.batch');
|
||||
|
||||
// We don't need toolbar in the modal window.
|
||||
if ($this->getLayout() !== 'modal')
|
||||
{
|
||||
$this->addToolbar();
|
||||
$this->sidebar = JHtmlSidebar::render();
|
||||
// load the batch html
|
||||
if ($this->canCreate && $this->canEdit && $this->canState)
|
||||
{
|
||||
$this->batchDisplay = JHtmlBatch_::render();
|
||||
}
|
||||
}
|
||||
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
throw new Exception(implode("\n", $errors), 500);
|
||||
}
|
||||
|
||||
// Display the template
|
||||
parent::display($tpl);
|
||||
|
||||
// Set the document
|
||||
$this->setDocument();
|
||||
}
|
||||
|
||||
/**
|
||||
* Setting the toolbar
|
||||
*/
|
||||
protected function addToolBar()
|
||||
{
|
||||
JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS'), 'joomla');
|
||||
JHtmlSidebar::setAction('index.php?option=com_componentbuilder&view=joomla_plugins_files_folders_urls');
|
||||
JFormHelper::addFieldPath(JPATH_COMPONENT . '/models/fields');
|
||||
|
||||
if ($this->canCreate)
|
||||
{
|
||||
JToolBarHelper::addNew('joomla_plugin_files_folders_urls.add');
|
||||
}
|
||||
|
||||
// Only load if there are items
|
||||
if (ComponentbuilderHelper::checkArray($this->items))
|
||||
{
|
||||
if ($this->canEdit)
|
||||
{
|
||||
JToolBarHelper::editList('joomla_plugin_files_folders_urls.edit');
|
||||
}
|
||||
|
||||
if ($this->canState)
|
||||
{
|
||||
JToolBarHelper::publishList('joomla_plugins_files_folders_urls.publish');
|
||||
JToolBarHelper::unpublishList('joomla_plugins_files_folders_urls.unpublish');
|
||||
JToolBarHelper::archiveList('joomla_plugins_files_folders_urls.archive');
|
||||
|
||||
if ($this->canDo->get('core.admin'))
|
||||
{
|
||||
JToolBarHelper::checkin('joomla_plugins_files_folders_urls.checkin');
|
||||
}
|
||||
}
|
||||
|
||||
// Add a batch button
|
||||
if ($this->canBatch && $this->canCreate && $this->canEdit && $this->canState)
|
||||
{
|
||||
// Get the toolbar object instance
|
||||
$bar = JToolBar::getInstance('toolbar');
|
||||
// set the batch button name
|
||||
$title = JText::_('JTOOLBAR_BATCH');
|
||||
// Instantiate a new JLayoutFile instance and render the batch button
|
||||
$layout = new JLayoutFile('joomla.toolbar.batch');
|
||||
// add the button to the page
|
||||
$dhtml = $layout->render(array('title' => $title));
|
||||
$bar->appendButton('Custom', $dhtml, 'batch');
|
||||
}
|
||||
|
||||
if ($this->state->get('filter.published') == -2 && ($this->canState && $this->canDelete))
|
||||
{
|
||||
JToolbarHelper::deleteList('', 'joomla_plugins_files_folders_urls.delete', 'JTOOLBAR_EMPTY_TRASH');
|
||||
}
|
||||
elseif ($this->canState && $this->canDelete)
|
||||
{
|
||||
JToolbarHelper::trash('joomla_plugins_files_folders_urls.trash');
|
||||
}
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
if ($this->canDo->get('core.admin') || $this->canDo->get('core.options'))
|
||||
{
|
||||
JToolBarHelper::preferences('com_componentbuilder');
|
||||
}
|
||||
|
||||
if ($this->canState)
|
||||
{
|
||||
JHtmlSidebar::addFilter(
|
||||
JText::_('JOPTION_SELECT_PUBLISHED'),
|
||||
'filter_published',
|
||||
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true)
|
||||
);
|
||||
// only load if batch allowed
|
||||
if ($this->canBatch)
|
||||
{
|
||||
JHtmlBatch_::addListSelection(
|
||||
JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_STATE'),
|
||||
'batch[published]',
|
||||
JHtml::_('select.options', JHtml::_('jgrid.publishedOptions', array('all' => false)), 'value', 'text', '', true)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
JHtmlSidebar::addFilter(
|
||||
JText::_('JOPTION_SELECT_ACCESS'),
|
||||
'filter_access',
|
||||
JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'))
|
||||
);
|
||||
|
||||
if ($this->canBatch && $this->canCreate && $this->canEdit)
|
||||
{
|
||||
JHtmlBatch_::addListSelection(
|
||||
JText::_('COM_COMPONENTBUILDER_KEEP_ORIGINAL_ACCESS'),
|
||||
'batch[access]',
|
||||
JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to set up the document properties
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function setDocument()
|
||||
{
|
||||
if (!isset($this->document))
|
||||
{
|
||||
$this->document = JFactory::getDocument();
|
||||
}
|
||||
$this->document->setTitle(JText::_('COM_COMPONENTBUILDER_JOOMLA_PLUGINS_FILES_FOLDERS_URLS'));
|
||||
$this->document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/joomla_plugins_files_folders_urls.css", (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
}
|
||||
|
||||
/**
|
||||
* Escapes a value for output in a view script.
|
||||
*
|
||||
* @param mixed $var The output to escape.
|
||||
*
|
||||
* @return mixed The escaped value.
|
||||
*/
|
||||
public function escape($var)
|
||||
{
|
||||
if(strlen($var) > 50)
|
||||
{
|
||||
// use the helper htmlEscape method instead and shorten the string
|
||||
return ComponentbuilderHelper::htmlEscape($var, $this->_charset, true);
|
||||
}
|
||||
// use the helper htmlEscape method instead.
|
||||
return ComponentbuilderHelper::htmlEscape($var, $this->_charset);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of fields the table can be sorted by
|
||||
*
|
||||
* @return array Array containing the field name to sort by as the key and display text as value
|
||||
*/
|
||||
protected function getSortFields()
|
||||
{
|
||||
return array(
|
||||
'a.sorting' => JText::_('JGRID_HEADING_ORDERING'),
|
||||
'a.published' => JText::_('JSTATUS'),
|
||||
'a.id' => JText::_('JGRID_HEADING_ID')
|
||||
);
|
||||
}
|
||||
}
|
@ -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_vvvvvzk function
|
||||
// #jform_add_php_view listeners for add_php_view_vvvvwac function
|
||||
jQuery('#jform_add_php_view').on('keyup',function()
|
||||
{
|
||||
var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_view_vvvvvzk);
|
||||
var add_php_view_vvvvwac = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwac(add_php_view_vvvvwac);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_view_vvvvvzk = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_view_vvvvvzk);
|
||||
var add_php_view_vvvvwac = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwac(add_php_view_vvvvwac);
|
||||
|
||||
});
|
||||
|
||||
|
@ -146,123 +146,123 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_how listeners for how_vvvvwas function
|
||||
// #jform_how listeners for how_vvvvwbk function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwas = jQuery("#jform_how").val();
|
||||
vvvvwas(how_vvvvwas);
|
||||
var how_vvvvwbk = jQuery("#jform_how").val();
|
||||
vvvvwbk(how_vvvvwbk);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwas = jQuery("#jform_how").val();
|
||||
vvvvwas(how_vvvvwas);
|
||||
var how_vvvvwbk = jQuery("#jform_how").val();
|
||||
vvvvwbk(how_vvvvwbk);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvwat function
|
||||
// #jform_how listeners for how_vvvvwbl function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwat = jQuery("#jform_how").val();
|
||||
vvvvwat(how_vvvvwat);
|
||||
var how_vvvvwbl = jQuery("#jform_how").val();
|
||||
vvvvwbl(how_vvvvwbl);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwat = jQuery("#jform_how").val();
|
||||
vvvvwat(how_vvvvwat);
|
||||
var how_vvvvwbl = jQuery("#jform_how").val();
|
||||
vvvvwbl(how_vvvvwbl);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvwau function
|
||||
// #jform_how listeners for how_vvvvwbm function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwau = jQuery("#jform_how").val();
|
||||
vvvvwau(how_vvvvwau);
|
||||
var how_vvvvwbm = jQuery("#jform_how").val();
|
||||
vvvvwbm(how_vvvvwbm);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwau = jQuery("#jform_how").val();
|
||||
vvvvwau(how_vvvvwau);
|
||||
var how_vvvvwbm = jQuery("#jform_how").val();
|
||||
vvvvwbm(how_vvvvwbm);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvwav function
|
||||
// #jform_how listeners for how_vvvvwbn function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwav = jQuery("#jform_how").val();
|
||||
vvvvwav(how_vvvvwav);
|
||||
var how_vvvvwbn = jQuery("#jform_how").val();
|
||||
vvvvwbn(how_vvvvwbn);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwav = jQuery("#jform_how").val();
|
||||
vvvvwav(how_vvvvwav);
|
||||
var how_vvvvwbn = jQuery("#jform_how").val();
|
||||
vvvvwbn(how_vvvvwbn);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvwaw function
|
||||
// #jform_how listeners for how_vvvvwbo function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwaw = jQuery("#jform_how").val();
|
||||
vvvvwaw(how_vvvvwaw);
|
||||
var how_vvvvwbo = jQuery("#jform_how").val();
|
||||
vvvvwbo(how_vvvvwbo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwaw = jQuery("#jform_how").val();
|
||||
vvvvwaw(how_vvvvwaw);
|
||||
var how_vvvvwbo = jQuery("#jform_how").val();
|
||||
vvvvwbo(how_vvvvwbo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvwax function
|
||||
// #jform_how listeners for how_vvvvwbp function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvwax = jQuery("#jform_how").val();
|
||||
vvvvwax(how_vvvvwax);
|
||||
var how_vvvvwbp = jQuery("#jform_how").val();
|
||||
vvvvwbp(how_vvvvwbp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvwax = jQuery("#jform_how").val();
|
||||
vvvvwax(how_vvvvwax);
|
||||
var how_vvvvwbp = jQuery("#jform_how").val();
|
||||
vvvvwbp(how_vvvvwbp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_how listeners for how_vvvvway function
|
||||
// #jform_how listeners for how_vvvvwbq function
|
||||
jQuery('#jform_how').on('keyup',function()
|
||||
{
|
||||
var how_vvvvway = jQuery("#jform_how").val();
|
||||
vvvvway(how_vvvvway);
|
||||
var how_vvvvwbq = jQuery("#jform_how").val();
|
||||
vvvvwbq(how_vvvvwbq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_how',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var how_vvvvway = jQuery("#jform_how").val();
|
||||
vvvvway(how_vvvvway);
|
||||
var how_vvvvwbq = jQuery("#jform_how").val();
|
||||
vvvvwbq(how_vvvvwbq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwaz function
|
||||
// #jform_type listeners for type_vvvvwbr function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwaz(type_vvvvwaz);
|
||||
var type_vvvvwbr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbr(type_vvvvwbr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwaz = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwaz(type_vvvvwaz);
|
||||
var type_vvvvwbr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbr(type_vvvvwbr);
|
||||
|
||||
});
|
||||
|
||||
|
@ -125,169 +125,169 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwbw function
|
||||
// #jform_protocol listeners for protocol_vvvvwco function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
|
||||
vvvvwbw(protocol_vvvvwbw);
|
||||
var protocol_vvvvwco = jQuery("#jform_protocol").val();
|
||||
vvvvwco(protocol_vvvvwco);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwbw = jQuery("#jform_protocol").val();
|
||||
vvvvwbw(protocol_vvvvwbw);
|
||||
var protocol_vvvvwco = jQuery("#jform_protocol").val();
|
||||
vvvvwco(protocol_vvvvwco);
|
||||
|
||||
});
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwbx function
|
||||
// #jform_protocol listeners for protocol_vvvvwcp function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwbx = jQuery("#jform_protocol").val();
|
||||
vvvvwbx(protocol_vvvvwbx);
|
||||
var protocol_vvvvwcp = jQuery("#jform_protocol").val();
|
||||
vvvvwcp(protocol_vvvvwcp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwbx = jQuery("#jform_protocol").val();
|
||||
vvvvwbx(protocol_vvvvwbx);
|
||||
var protocol_vvvvwcp = jQuery("#jform_protocol").val();
|
||||
vvvvwcp(protocol_vvvvwcp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwby function
|
||||
// #jform_protocol listeners for protocol_vvvvwcq function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwby = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwby = jQuery("#jform_authentication").val();
|
||||
vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
|
||||
var protocol_vvvvwcq = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcq = jQuery("#jform_authentication").val();
|
||||
vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwby = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwby = jQuery("#jform_authentication").val();
|
||||
vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
|
||||
var protocol_vvvvwcq = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcq = jQuery("#jform_authentication").val();
|
||||
vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_authentication listeners for authentication_vvvvwby function
|
||||
// #jform_authentication listeners for authentication_vvvvwcq function
|
||||
jQuery('#jform_authentication').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwby = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwby = jQuery("#jform_authentication").val();
|
||||
vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
|
||||
var protocol_vvvvwcq = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcq = jQuery("#jform_authentication").val();
|
||||
vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwby = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwby = jQuery("#jform_authentication").val();
|
||||
vvvvwby(protocol_vvvvwby,authentication_vvvvwby);
|
||||
var protocol_vvvvwcq = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcq = jQuery("#jform_authentication").val();
|
||||
vvvvwcq(protocol_vvvvwcq,authentication_vvvvwcq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwca function
|
||||
// #jform_protocol listeners for protocol_vvvvwcs function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwca = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwca = jQuery("#jform_authentication").val();
|
||||
vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcs = jQuery("#jform_authentication").val();
|
||||
vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwca = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwca = jQuery("#jform_authentication").val();
|
||||
vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcs = jQuery("#jform_authentication").val();
|
||||
vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_authentication listeners for authentication_vvvvwca function
|
||||
// #jform_authentication listeners for authentication_vvvvwcs function
|
||||
jQuery('#jform_authentication').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwca = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwca = jQuery("#jform_authentication").val();
|
||||
vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcs = jQuery("#jform_authentication").val();
|
||||
vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwca = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwca = jQuery("#jform_authentication").val();
|
||||
vvvvwca(protocol_vvvvwca,authentication_vvvvwca);
|
||||
var protocol_vvvvwcs = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcs = jQuery("#jform_authentication").val();
|
||||
vvvvwcs(protocol_vvvvwcs,authentication_vvvvwcs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwcc function
|
||||
// #jform_protocol listeners for protocol_vvvvwcu function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
|
||||
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
|
||||
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_authentication listeners for authentication_vvvvwcc function
|
||||
// #jform_authentication listeners for authentication_vvvvwcu function
|
||||
jQuery('#jform_authentication').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
|
||||
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwcc = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcc = jQuery("#jform_authentication").val();
|
||||
vvvvwcc(protocol_vvvvwcc,authentication_vvvvwcc);
|
||||
var protocol_vvvvwcu = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcu = jQuery("#jform_authentication").val();
|
||||
vvvvwcu(protocol_vvvvwcu,authentication_vvvvwcu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_protocol listeners for protocol_vvvvwce function
|
||||
// #jform_protocol listeners for protocol_vvvvwcw function
|
||||
jQuery('#jform_protocol').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwce = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwce = jQuery("#jform_authentication").val();
|
||||
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwce = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwce = jQuery("#jform_authentication").val();
|
||||
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_authentication listeners for authentication_vvvvwce function
|
||||
// #jform_authentication listeners for authentication_vvvvwcw function
|
||||
jQuery('#jform_authentication').on('keyup',function()
|
||||
{
|
||||
var protocol_vvvvwce = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwce = jQuery("#jform_authentication").val();
|
||||
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var protocol_vvvvwce = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwce = jQuery("#jform_authentication").val();
|
||||
vvvvwce(protocol_vvvvwce,authentication_vvvvwce);
|
||||
var protocol_vvvvwcw = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcw = jQuery("#jform_authentication").val();
|
||||
vvvvwcw(protocol_vvvvwcw,authentication_vvvvwcw);
|
||||
|
||||
});
|
||||
|
||||
|
@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
|
||||
}
|
||||
|
||||
// Get Linked view data
|
||||
$this->vydlinked_components = $this->get('Vydlinked_components');
|
||||
$this->vyglinked_components = $this->get('Vyglinked_components');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -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_vvvvvyy function
|
||||
// #jform_add_php_view listeners for add_php_view_vvvvvzq function
|
||||
jQuery('#jform_add_php_view').on('keyup',function()
|
||||
{
|
||||
var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_view_vvvvvyy);
|
||||
var add_php_view_vvvvvzq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_view_vvvvvzq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_view_vvvvvyy = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_view_vvvvvyy);
|
||||
var add_php_view_vvvvvzq = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_view_vvvvvzq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvyz function
|
||||
// #jform_add_php_jview_display listeners for add_php_jview_display_vvvvvzr function
|
||||
jQuery('#jform_add_php_jview_display').on('keyup',function()
|
||||
{
|
||||
var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_jview_display_vvvvvyz);
|
||||
var add_php_jview_display_vvvvvzr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_jview_display_vvvvvzr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_jview_display_vvvvvyz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyz(add_php_jview_display_vvvvvyz);
|
||||
var add_php_jview_display_vvvvvzr = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_jview_display_vvvvvzr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvza function
|
||||
// #jform_add_php_jview listeners for add_php_jview_vvvvvzs function
|
||||
jQuery('#jform_add_php_jview').on('keyup',function()
|
||||
{
|
||||
var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_jview_vvvvvza);
|
||||
var add_php_jview_vvvvvzs = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_jview_vvvvvzs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_jview_vvvvvza = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvza(add_php_jview_vvvvvza);
|
||||
var add_php_jview_vvvvvzs = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_jview_vvvvvzs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvzb function
|
||||
// #jform_add_php_document listeners for add_php_document_vvvvvzt function
|
||||
jQuery('#jform_add_php_document').on('keyup',function()
|
||||
{
|
||||
var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_document_vvvvvzb);
|
||||
var add_php_document_vvvvvzt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_document_vvvvvzt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_document_vvvvvzb = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_document_vvvvvzb);
|
||||
var add_php_document_vvvvvzt = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_document_vvvvvzt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_document listeners for add_css_document_vvvvvzc function
|
||||
// #jform_add_css_document listeners for add_css_document_vvvvvzu function
|
||||
jQuery('#jform_add_css_document').on('keyup',function()
|
||||
{
|
||||
var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzc(add_css_document_vvvvvzc);
|
||||
var add_css_document_vvvvvzu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_css_document_vvvvvzu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_document_vvvvvzc = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzc(add_css_document_vvvvvzc);
|
||||
var add_css_document_vvvvvzu = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_css_document_vvvvvzu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvzd function
|
||||
// #jform_add_javascript_file listeners for add_javascript_file_vvvvvzv function
|
||||
jQuery('#jform_add_javascript_file').on('keyup',function()
|
||||
{
|
||||
var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzd(add_javascript_file_vvvvvzd);
|
||||
var add_javascript_file_vvvvvzv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzv(add_javascript_file_vvvvvzv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_file',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_file_vvvvvzd = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzd(add_javascript_file_vvvvvzd);
|
||||
var add_javascript_file_vvvvvzv = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvzv(add_javascript_file_vvvvvzv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_js_document listeners for add_js_document_vvvvvze function
|
||||
// #jform_add_js_document listeners for add_js_document_vvvvvzw function
|
||||
jQuery('#jform_add_js_document').on('keyup',function()
|
||||
{
|
||||
var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvze(add_js_document_vvvvvze);
|
||||
var add_js_document_vvvvvzw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzw(add_js_document_vvvvvzw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_js_document',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_js_document_vvvvvze = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvze(add_js_document_vvvvvze);
|
||||
var add_js_document_vvvvvzw = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzw(add_js_document_vvvvvzw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css listeners for add_css_vvvvvzf function
|
||||
// #jform_add_css listeners for add_css_vvvvvzx function
|
||||
jQuery('#jform_add_css').on('keyup',function()
|
||||
{
|
||||
var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzf(add_css_vvvvvzf);
|
||||
var add_css_vvvvvzx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzx(add_css_vvvvvzx);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_vvvvvzf = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzf(add_css_vvvvvzf);
|
||||
var add_css_vvvvvzx = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzx(add_css_vvvvvzx);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvzg function
|
||||
// #jform_add_php_ajax listeners for add_php_ajax_vvvvvzy function
|
||||
jQuery('#jform_add_php_ajax').on('keyup',function()
|
||||
{
|
||||
var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_ajax_vvvvvzg);
|
||||
var add_php_ajax_vvvvvzy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzy(add_php_ajax_vvvvvzy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_ajax_vvvvvzg = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_ajax_vvvvvzg);
|
||||
var add_php_ajax_vvvvvzy = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzy(add_php_ajax_vvvvvzy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvzh function
|
||||
// #jform_add_custom_button listeners for add_custom_button_vvvvvzz function
|
||||
jQuery('#jform_add_custom_button').on('keyup',function()
|
||||
{
|
||||
var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzh(add_custom_button_vvvvvzh);
|
||||
var add_custom_button_vvvvvzz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzz(add_custom_button_vvvvvzz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_custom_button_vvvvvzh = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzh(add_custom_button_vvvvvzh);
|
||||
var add_custom_button_vvvvvzz = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvzz(add_custom_button_vvvvvzz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_button_position listeners for button_position_vvvvvzi function
|
||||
// #jform_button_position listeners for button_position_vvvvwaa function
|
||||
jQuery('#jform_button_position').on('keyup',function()
|
||||
{
|
||||
var button_position_vvvvvzi = jQuery("#jform_button_position").val();
|
||||
vvvvvzi(button_position_vvvvvzi);
|
||||
var button_position_vvvvwaa = jQuery("#jform_button_position").val();
|
||||
vvvvwaa(button_position_vvvvwaa);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_button_position',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var button_position_vvvvvzi = jQuery("#jform_button_position").val();
|
||||
vvvvvzi(button_position_vvvvvzi);
|
||||
var button_position_vvvvwaa = jQuery("#jform_button_position").val();
|
||||
vvvvwaa(button_position_vvvvwaa);
|
||||
|
||||
});
|
||||
|
||||
|
@ -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_vvvvvzj function
|
||||
// #jform_add_php_view listeners for add_php_view_vvvvwab function
|
||||
jQuery('#jform_add_php_view').on('keyup',function()
|
||||
{
|
||||
var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_view_vvvvvzj);
|
||||
var add_php_view_vvvvwab = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwab(add_php_view_vvvvwab);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_php_view_vvvvvzj = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_view_vvvvvzj);
|
||||
var add_php_view_vvvvwab = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwab(add_php_view_vvvvwab);
|
||||
|
||||
});
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="3.2" method="upgrade">
|
||||
<name>COM_COMPONENTBUILDER</name>
|
||||
<creationDate>19th July, 2019</creationDate>
|
||||
<creationDate>28th July, 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.34</version>
|
||||
<version>2.9.35</version>
|
||||
<description><![CDATA[
|
||||
<h1>Component Builder (v.2.9.34)</h1>
|
||||
<h1>Component Builder (v.2.9.35)</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.
|
||||
|
||||
|
@ -721,7 +721,7 @@
|
||||
<version>2.9.31</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.34/JCB_v2.9.34.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.35/JCB_v2.9.35.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
@ -738,7 +738,7 @@
|
||||
<version>2.9.32</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.34/JCB_v2.9.34.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.35/JCB_v2.9.35.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
@ -755,7 +755,7 @@
|
||||
<version>2.9.33</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.34/JCB_v2.9.34.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.35/JCB_v2.9.35.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
@ -772,7 +772,24 @@
|
||||
<version>2.9.34</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.34/JCB_v2.9.34.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Component-Builder/releases/download/v2.9.35/JCB_v2.9.35.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.35</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.35/JCB_v2.9.35.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
|
141
script.php
141
script.php
@ -3740,6 +3740,92 @@ class com_componentbuilderInstallerScript
|
||||
}
|
||||
}
|
||||
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
// Select id from content type table
|
||||
$query->select($db->quoteName('type_id'));
|
||||
$query->from($db->quoteName('#__content_types'));
|
||||
// Where Joomla_plugin_files_folders_urls alias is found
|
||||
$query->where( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.joomla_plugin_files_folders_urls') );
|
||||
$db->setQuery($query);
|
||||
// Execute query to see if alias is found
|
||||
$db->execute();
|
||||
$joomla_plugin_files_folders_urls_found = $db->getNumRows();
|
||||
// Now check if there were any rows
|
||||
if ($joomla_plugin_files_folders_urls_found)
|
||||
{
|
||||
// Since there are load the needed joomla_plugin_files_folders_urls type ids
|
||||
$joomla_plugin_files_folders_urls_ids = $db->loadColumn();
|
||||
// Remove Joomla_plugin_files_folders_urls from the content type table
|
||||
$joomla_plugin_files_folders_urls_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.joomla_plugin_files_folders_urls') );
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
$query->delete($db->quoteName('#__content_types'));
|
||||
$query->where($joomla_plugin_files_folders_urls_condition);
|
||||
$db->setQuery($query);
|
||||
// Execute the query to remove Joomla_plugin_files_folders_urls items
|
||||
$joomla_plugin_files_folders_urls_done = $db->execute();
|
||||
if ($joomla_plugin_files_folders_urls_done)
|
||||
{
|
||||
// If succesfully remove Joomla_plugin_files_folders_urls add queued success message.
|
||||
$app->enqueueMessage(JText::_('The (com_componentbuilder.joomla_plugin_files_folders_urls) type alias was removed from the <b>#__content_type</b> table'));
|
||||
}
|
||||
|
||||
// Remove Joomla_plugin_files_folders_urls items from the contentitem tag map table
|
||||
$joomla_plugin_files_folders_urls_condition = array( $db->quoteName('type_alias') . ' = '. $db->quote('com_componentbuilder.joomla_plugin_files_folders_urls') );
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
$query->delete($db->quoteName('#__contentitem_tag_map'));
|
||||
$query->where($joomla_plugin_files_folders_urls_condition);
|
||||
$db->setQuery($query);
|
||||
// Execute the query to remove Joomla_plugin_files_folders_urls items
|
||||
$joomla_plugin_files_folders_urls_done = $db->execute();
|
||||
if ($joomla_plugin_files_folders_urls_done)
|
||||
{
|
||||
// If succesfully remove Joomla_plugin_files_folders_urls add queued success message.
|
||||
$app->enqueueMessage(JText::_('The (com_componentbuilder.joomla_plugin_files_folders_urls) type alias was removed from the <b>#__contentitem_tag_map</b> table'));
|
||||
}
|
||||
|
||||
// Remove Joomla_plugin_files_folders_urls items from the ucm content table
|
||||
$joomla_plugin_files_folders_urls_condition = array( $db->quoteName('core_type_alias') . ' = ' . $db->quote('com_componentbuilder.joomla_plugin_files_folders_urls') );
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
$query->delete($db->quoteName('#__ucm_content'));
|
||||
$query->where($joomla_plugin_files_folders_urls_condition);
|
||||
$db->setQuery($query);
|
||||
// Execute the query to remove Joomla_plugin_files_folders_urls items
|
||||
$joomla_plugin_files_folders_urls_done = $db->execute();
|
||||
if ($joomla_plugin_files_folders_urls_done)
|
||||
{
|
||||
// If succesfully remove Joomla_plugin_files_folders_urls add queued success message.
|
||||
$app->enqueueMessage(JText::_('The (com_componentbuilder.joomla_plugin_files_folders_urls) type alias was removed from the <b>#__ucm_content</b> table'));
|
||||
}
|
||||
|
||||
// Make sure that all the Joomla_plugin_files_folders_urls items are cleared from DB
|
||||
foreach ($joomla_plugin_files_folders_urls_ids as $joomla_plugin_files_folders_urls_id)
|
||||
{
|
||||
// Remove Joomla_plugin_files_folders_urls items from the ucm base table
|
||||
$joomla_plugin_files_folders_urls_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $joomla_plugin_files_folders_urls_id);
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
$query->delete($db->quoteName('#__ucm_base'));
|
||||
$query->where($joomla_plugin_files_folders_urls_condition);
|
||||
$db->setQuery($query);
|
||||
// Execute the query to remove Joomla_plugin_files_folders_urls items
|
||||
$db->execute();
|
||||
|
||||
// Remove Joomla_plugin_files_folders_urls items from the ucm history table
|
||||
$joomla_plugin_files_folders_urls_condition = array( $db->quoteName('ucm_type_id') . ' = ' . $joomla_plugin_files_folders_urls_id);
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
$query->delete($db->quoteName('#__ucm_history'));
|
||||
$query->where($joomla_plugin_files_folders_urls_condition);
|
||||
$db->setQuery($query);
|
||||
// Execute the query to remove Joomla_plugin_files_folders_urls items
|
||||
$db->execute();
|
||||
}
|
||||
}
|
||||
|
||||
// If All related items was removed queued success message.
|
||||
$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_base</b> table'));
|
||||
$app->enqueueMessage(JText::_('All related items was removed from the <b>#__ucm_history</b> table'));
|
||||
@ -3752,8 +3838,8 @@ class com_componentbuilderInstallerScript
|
||||
$query->delete($db->quoteName('#__assets'));
|
||||
$query->where($componentbuilder_condition);
|
||||
$db->setQuery($query);
|
||||
$joomla_plugin_group_done = $db->execute();
|
||||
if ($joomla_plugin_group_done)
|
||||
$joomla_plugin_files_folders_urls_done = $db->execute();
|
||||
if ($joomla_plugin_files_folders_urls_done)
|
||||
{
|
||||
// If succesfully remove componentbuilder add queued success message.
|
||||
$app->enqueueMessage(JText::_('All related items was removed from the <b>#__assets</b> table'));
|
||||
@ -4208,9 +4294,9 @@ class com_componentbuilderInstallerScript
|
||||
$joomla_plugin->type_title = 'Componentbuilder Joomla_plugin';
|
||||
$joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin';
|
||||
$joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$joomla_plugin->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": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code","head":"head","add_head":"add_head","name":"name"}}';
|
||||
$joomla_plugin->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_method_uninstall","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","sql_uninstall":"sql_uninstall","sql":"sql","php_method_uninstall":"php_method_uninstall","php_postflight_update":"php_postflight_update","php_postflight_install":"php_postflight_install","add_sales_server":"add_sales_server","add_head":"add_head","readme":"readme","update_server_url":"update_server_url","head":"head","main_class_code":"main_class_code","name":"name","add_php_postflight_update":"add_php_postflight_update","not_required":"not_required","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_php_preflight_install":"add_php_preflight_install","add_sql_uninstall":"add_sql_uninstall","php_preflight_install":"php_preflight_install","addreadme":"addreadme","add_php_preflight_update":"add_php_preflight_update","add_update_server":"add_update_server","php_preflight_update":"php_preflight_update","update_server_target":"update_server_target","add_php_preflight_uninstall":"add_php_preflight_uninstall","php_preflight_uninstall":"php_preflight_uninstall","update_server":"update_server","add_php_postflight_install":"add_php_postflight_install","sales_server":"sales_server"}}';
|
||||
$joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute';
|
||||
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group","add_head"],"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": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}';
|
||||
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.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","class_extends","joomla_plugin_group","add_sales_server","add_head","add_php_postflight_update","add_php_method_uninstall","add_sql","add_php_preflight_install","add_sql_uninstall","addreadme","add_php_preflight_update","add_update_server","update_server_target","add_php_preflight_uninstall","update_server","add_php_postflight_install","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": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"}]}';
|
||||
|
||||
// Set the object into the content types table.
|
||||
$joomla_plugin_Inserted = $db->insertObject('#__content_types', $joomla_plugin);
|
||||
@ -4707,6 +4793,18 @@ class com_componentbuilderInstallerScript
|
||||
// Set the object into the content types table.
|
||||
$joomla_plugin_group_Inserted = $db->insertObject('#__content_types', $joomla_plugin_group);
|
||||
|
||||
// Create the joomla_plugin_files_folders_urls content type object.
|
||||
$joomla_plugin_files_folders_urls = new stdClass();
|
||||
$joomla_plugin_files_folders_urls->type_title = 'Componentbuilder Joomla_plugin_files_folders_urls';
|
||||
$joomla_plugin_files_folders_urls->type_alias = 'com_componentbuilder.joomla_plugin_files_folders_urls';
|
||||
$joomla_plugin_files_folders_urls->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin_files_folders_urls","key": "id","type": "Joomla_plugin_files_folders_urls","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$joomla_plugin_files_folders_urls->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "joomla_plugin","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"joomla_plugin":"joomla_plugin"}}';
|
||||
$joomla_plugin_files_folders_urls->router = 'ComponentbuilderHelperRoute::getJoomla_plugin_files_folders_urlsRoute';
|
||||
$joomla_plugin_files_folders_urls->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin_files_folders_urls.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","joomla_plugin"],"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": "joomla_plugin","targetTable": "#__componentbuilder_joomla_plugin","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||
|
||||
// Set the object into the content types table.
|
||||
$joomla_plugin_files_folders_urls_Inserted = $db->insertObject('#__content_types', $joomla_plugin_files_folders_urls);
|
||||
|
||||
|
||||
// Install the global extenstion params.
|
||||
$query = $db->getQuery(true);
|
||||
@ -4767,9 +4865,9 @@ class com_componentbuilderInstallerScript
|
||||
$joomla_plugin->type_title = 'Componentbuilder Joomla_plugin';
|
||||
$joomla_plugin->type_alias = 'com_componentbuilder.joomla_plugin';
|
||||
$joomla_plugin->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin","key": "id","type": "Joomla_plugin","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$joomla_plugin->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": "main_class_code","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","main_class_code":"main_class_code","head":"head","add_head":"add_head","name":"name"}}';
|
||||
$joomla_plugin->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_method_uninstall","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","class_extends":"class_extends","joomla_plugin_group":"joomla_plugin_group","sql_uninstall":"sql_uninstall","sql":"sql","php_method_uninstall":"php_method_uninstall","php_postflight_update":"php_postflight_update","php_postflight_install":"php_postflight_install","add_sales_server":"add_sales_server","add_head":"add_head","readme":"readme","update_server_url":"update_server_url","head":"head","main_class_code":"main_class_code","name":"name","add_php_postflight_update":"add_php_postflight_update","not_required":"not_required","add_php_method_uninstall":"add_php_method_uninstall","add_sql":"add_sql","add_php_preflight_install":"add_php_preflight_install","add_sql_uninstall":"add_sql_uninstall","php_preflight_install":"php_preflight_install","addreadme":"addreadme","add_php_preflight_update":"add_php_preflight_update","add_update_server":"add_update_server","php_preflight_update":"php_preflight_update","update_server_target":"update_server_target","add_php_preflight_uninstall":"add_php_preflight_uninstall","php_preflight_uninstall":"php_preflight_uninstall","update_server":"update_server","add_php_postflight_install":"add_php_postflight_install","sales_server":"sales_server"}}';
|
||||
$joomla_plugin->router = 'ComponentbuilderHelperRoute::getJoomla_pluginRoute';
|
||||
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","class_extends","joomla_plugin_group","add_head"],"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": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"}]}';
|
||||
$joomla_plugin->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin.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","class_extends","joomla_plugin_group","add_sales_server","add_head","add_php_postflight_update","add_php_method_uninstall","add_sql","add_php_preflight_install","add_sql_uninstall","addreadme","add_php_preflight_update","add_update_server","update_server_target","add_php_preflight_uninstall","update_server","add_php_postflight_install","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": "class_extends","targetTable": "#__componentbuilder_class_extends","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "joomla_plugin_group","targetTable": "#__componentbuilder_joomla_plugin_group","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "update_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "sales_server","targetTable": "#__componentbuilder_server","targetColumn": "id","displayColumn": "name"}]}';
|
||||
|
||||
// Check if joomla_plugin type is already in content_type DB.
|
||||
$joomla_plugin_id = null;
|
||||
@ -5980,6 +6078,35 @@ class com_componentbuilderInstallerScript
|
||||
$joomla_plugin_group_Inserted = $db->insertObject('#__content_types', $joomla_plugin_group);
|
||||
}
|
||||
|
||||
// Create the joomla_plugin_files_folders_urls content type object.
|
||||
$joomla_plugin_files_folders_urls = new stdClass();
|
||||
$joomla_plugin_files_folders_urls->type_title = 'Componentbuilder Joomla_plugin_files_folders_urls';
|
||||
$joomla_plugin_files_folders_urls->type_alias = 'com_componentbuilder.joomla_plugin_files_folders_urls';
|
||||
$joomla_plugin_files_folders_urls->table = '{"special": {"dbtable": "#__componentbuilder_joomla_plugin_files_folders_urls","key": "id","type": "Joomla_plugin_files_folders_urls","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$joomla_plugin_files_folders_urls->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "joomla_plugin","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"joomla_plugin":"joomla_plugin"}}';
|
||||
$joomla_plugin_files_folders_urls->router = 'ComponentbuilderHelperRoute::getJoomla_plugin_files_folders_urlsRoute';
|
||||
$joomla_plugin_files_folders_urls->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/joomla_plugin_files_folders_urls.xml","hideFields": ["asset_id","checked_out","checked_out_time","version"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","joomla_plugin"],"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": "joomla_plugin","targetTable": "#__componentbuilder_joomla_plugin","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||
|
||||
// Check if joomla_plugin_files_folders_urls type is already in content_type DB.
|
||||
$joomla_plugin_files_folders_urls_id = null;
|
||||
$query = $db->getQuery(true);
|
||||
$query->select($db->quoteName(array('type_id')));
|
||||
$query->from($db->quoteName('#__content_types'));
|
||||
$query->where($db->quoteName('type_alias') . ' LIKE '. $db->quote($joomla_plugin_files_folders_urls->type_alias));
|
||||
$db->setQuery($query);
|
||||
$db->execute();
|
||||
|
||||
// Set the object into the content types table.
|
||||
if ($db->getNumRows())
|
||||
{
|
||||
$joomla_plugin_files_folders_urls->type_id = $db->loadResult();
|
||||
$joomla_plugin_files_folders_urls_Updated = $db->updateObject('#__content_types', $joomla_plugin_files_folders_urls, 'type_id');
|
||||
}
|
||||
else
|
||||
{
|
||||
$joomla_plugin_files_folders_urls_Inserted = $db->insertObject('#__content_types', $joomla_plugin_files_folders_urls);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// target version less then 2.6.5
|
||||
@ -6188,7 +6315,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.34 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
<h3>Upgrade to Version 2.9.35 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user