removed linked components from admin views.

This commit is contained in:
Llewellyn van der Merwe 2017-10-30 21:19:39 +02:00
parent 306a9b9613
commit 5553e2b822
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
46 changed files with 487 additions and 744 deletions

View File

@ -115,8 +115,8 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.6.0 + *Version*: 2.6.0
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **159502** + *Line count*: **159245**
+ *File count*: **999** + *File count*: **998**
+ *Folder count*: **165** + *Folder count*: **165**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -115,8 +115,8 @@ Component Builder is mapped as a component in itself on my local development env
+ *Version*: 2.6.0 + *Version*: 2.6.0
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **159502** + *Line count*: **159245**
+ *File count*: **999** + *File count*: **998**
+ *Folder count*: **165** + *Folder count*: **165**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.css @subpackage admin_view.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.css @subpackage admin_views.css

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.php @subpackage admin_view.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.php @subpackage admin_views.php

View File

@ -537,7 +537,6 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_LABEL="Child Key"
COM_COMPONENTBUILDER_ADMIN_VIEW_LAMP="Lamp" COM_COMPONENTBUILDER_ADMIN_VIEW_LAMP="Lamp"
COM_COMPONENTBUILDER_ADMIN_VIEW_LAST="Last" COM_COMPONENTBUILDER_ADMIN_VIEW_LAST="Last"
COM_COMPONENTBUILDER_ADMIN_VIEW_LINK="Link" COM_COMPONENTBUILDER_ADMIN_VIEW_LINK="Link"
COM_COMPONENTBUILDER_ADMIN_VIEW_LINKED_COMPONENTS="Linked - Components"
COM_COMPONENTBUILDER_ADMIN_VIEW_LIST="List" COM_COMPONENTBUILDER_ADMIN_VIEW_LIST="List"
COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_TWO="List 2" COM_COMPONENTBUILDER_ADMIN_VIEW_LIST_TWO="List 2"
COM_COMPONENTBUILDER_ADMIN_VIEW_LOCATION="Location" COM_COMPONENTBUILDER_ADMIN_VIEW_LOCATION="Location"

View File

@ -1,138 +0,0 @@
<?php
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
__ __ _ _____ _ _ __ __ _ _ _
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
| |
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.6.0
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage linked_components_fullwidth.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
Builds Complex Joomla Components
/-----------------------------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// set the defaults
$items = $displayData->vxvlinked_components;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=joomla_components&task=joomla_component.edit";
?>
<div class="form-vertical">
<?php if (ComponentbuilderHelper::checkArray($items)): ?>
<table class="footable table data joomla_components" data-show-toggle="true" data-toggle-column="first" data-sorting="true" data-paging="true" data-paging-size="20" data-filtering="true">
<thead>
<tr>
<th data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SYSTEM_NAME_LABEL'); ?>
</th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NAME_CODE_LABEL'); ?>
</th>
<th data-breakpoints="xs sm" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPONENT_VERSION_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_SHORT_DESCRIPTION_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_COMPANYNAME_LABEL'); ?>
</th>
<th data-breakpoints="xs sm md" data-type="html" data-sort-use="text">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_AUTHOR_LABEL'); ?>
</th>
<th width="10" data-breakpoints="xs sm md">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_STATUS'); ?>
</th>
<th width="5" data-type="number" data-breakpoints="xs sm md">
<?php echo JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ID'); ?>
</th>
</tr>
</thead>
<tbody>
<?php foreach ($items as $i => $item): ?>
<?php
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->id || $item->checked_out == 0;
$userChkOut = JFactory::getUser($item->checked_out);
$canDo = ComponentbuilderHelper::getActions('joomla_component',$item,'joomla_components');
?>
<tr>
<td class="nowrap">
<?php if ($canDo->get('joomla_component.edit')): ?>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>&ref=admin_view&refid=<?php echo $id; ?>"><?php echo $displayData->escape($item->system_name); ?></a>
<?php if ($item->checked_out): ?>
<?php echo JHtml::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'joomla_components.', $canCheckin); ?>
<?php endif; ?>
<?php else: ?>
<div class="name"><?php echo $displayData->escape($item->system_name); ?></div>
<?php endif; ?>
</td>
<td>
<?php echo $displayData->escape($item->name_code); ?>
</td>
<td>
<?php echo $displayData->escape($item->component_version); ?>
</td>
<td>
<?php echo $displayData->escape($item->short_description); ?>
</td>
<td>
<?php echo $displayData->escape($item->companyname); ?>
</td>
<td>
<?php echo $displayData->escape($item->author); ?>
</td>
<?php if ($item->published == 1):?>
<td class="center" data-sort-value="1">
<span class="status-metro status-published" title="<?php echo JText::_('COM_COMPONENTBUILDER_PUBLISHED'); ?>">
<?php echo JText::_('COM_COMPONENTBUILDER_PUBLISHED'); ?>
</span>
</td>
<?php elseif ($item->published == 0):?>
<td class="center" data-sort-value="2">
<span class="status-metro status-inactive" title="<?php echo JText::_('COM_COMPONENTBUILDER_INACTIVE'); ?>">
<?php echo JText::_('COM_COMPONENTBUILDER_INACTIVE'); ?>
</span>
</td>
<?php elseif ($item->published == 2):?>
<td class="center" data-sort-value="3">
<span class="status-metro status-archived" title="<?php echo JText::_('COM_COMPONENTBUILDER_ARCHIVED'); ?>">
<?php echo JText::_('COM_COMPONENTBUILDER_ARCHIVED'); ?>
</span>
</td>
<?php elseif ($item->published == -2):?>
<td class="center" data-sort-value="4">
<span class="status-metro status-trashed" title="<?php echo JText::_('COM_COMPONENTBUILDER_TRASHED'); ?>">
<?php echo JText::_('COM_COMPONENTBUILDER_TRASHED'); ?>
</span>
</td>
<?php endif; ?>
<td class="nowrap center hidden-phone">
<?php echo $item->id; ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="alert alert-no-items">
<?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php endif; ?>
</div>

View File

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

View File

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

View File

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

View File

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

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.php @subpackage admin_view.php
@ -148,16 +148,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->ajax_input = $ajax_input->toArray(); $item->ajax_input = $ajax_input->toArray();
} }
if (!empty($item->php_getitems)) if (!empty($item->php_after_delete))
{ {
// base64 Decode php_getitems. // base64 Decode php_after_delete.
$item->php_getitems = base64_decode($item->php_getitems); $item->php_after_delete = base64_decode($item->php_after_delete);
}
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
} }
if (!empty($item->php_save)) if (!empty($item->php_save))
@ -166,10 +160,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_save = base64_decode($item->php_save); $item->php_save = base64_decode($item->php_save);
} }
if (!empty($item->php_after_delete)) if (!empty($item->php_batchmove))
{ {
// base64 Decode php_after_delete. // base64 Decode php_batchmove.
$item->php_after_delete = base64_decode($item->php_after_delete); $item->php_batchmove = base64_decode($item->php_batchmove);
} }
if (!empty($item->php_getlistquery)) if (!empty($item->php_getlistquery))
@ -190,6 +184,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_after_publish = base64_decode($item->php_after_publish); $item->php_after_publish = base64_decode($item->php_after_publish);
} }
if (!empty($item->php_getitems))
{
// base64 Decode php_getitems.
$item->php_getitems = base64_decode($item->php_getitems);
}
if (!empty($item->php_import)) if (!empty($item->php_import))
{ {
// base64 Decode php_import. // base64 Decode php_import.
@ -408,102 +408,9 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->tags = new JHelperTags; $item->tags = new JHelperTags;
$item->tags->getTagIds($item->id, 'com_componentbuilder.admin_view'); $item->tags->getTagIds($item->id, 'com_componentbuilder.admin_view');
} }
} }
$this->addadmin_viewsvvvw = $item->id;
return $item; return $item;
}
/**
* Method to get list data.
*
* @return mixed An array of data items on success, false on failure.
*/
public function getVxvlinked_components()
{
// 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_joomla_component table
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
// 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 . ')');
}
// Order the results by ordering
$query->order('a.published ASC');
$query->order('a.ordering ASC');
// Load the items
$db->setQuery($query);
$db->execute();
if ($db->getNumRows())
{
$items = $db->loadObjectList();
// set values to display correctly.
if (ComponentbuilderHelper::checkArray($items))
{
// get user object.
$user = JFactory::getUser();
foreach ($items as $nr => &$item)
{
$access = ($user->authorise('joomla_component.access', 'com_componentbuilder.joomla_component.' . (int) $item->id) && $user->authorise('joomla_component.access', 'com_componentbuilder'));
if (!$access)
{
unset($items[$nr]);
continue;
}
}
}
// Filter by addadmin_viewsvvvw in this Repetable Field
if (ComponentbuilderHelper::checkArray($items) && isset($this->addadmin_viewsvvvw))
{
foreach ($items as $nr => &$item)
{
if (isset($item->addadmin_views) && ComponentbuilderHelper::checkJson($item->addadmin_views))
{
$tmpArray = json_decode($item->addadmin_views,true);
if (!isset($tmpArray['adminview']) || !ComponentbuilderHelper::checkArray($tmpArray['adminview']) || !in_array($this->addadmin_viewsvvvw, $tmpArray['adminview']))
{
unset($items[$nr]);
continue;
}
}
else
{
unset($items[$nr]);
continue;
}
}
}
else
{
return false;
}
return $items;
}
return false;
} }
/** /**
@ -1357,16 +1264,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['ajax_input'] = ''; $data['ajax_input'] = '';
} }
// Set the php_getitems string to base64 string. // Set the php_after_delete string to base64 string.
if (isset($data['php_getitems'])) if (isset($data['php_after_delete']))
{ {
$data['php_getitems'] = base64_encode($data['php_getitems']); $data['php_after_delete'] = base64_encode($data['php_after_delete']);
}
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
} }
// Set the php_save string to base64 string. // Set the php_save string to base64 string.
@ -1375,10 +1276,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_save'] = base64_encode($data['php_save']); $data['php_save'] = base64_encode($data['php_save']);
} }
// Set the php_after_delete string to base64 string. // Set the php_batchmove string to base64 string.
if (isset($data['php_after_delete'])) if (isset($data['php_batchmove']))
{ {
$data['php_after_delete'] = base64_encode($data['php_after_delete']); $data['php_batchmove'] = base64_encode($data['php_batchmove']);
} }
// Set the php_getlistquery string to base64 string. // Set the php_getlistquery string to base64 string.
@ -1399,6 +1300,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_after_publish'] = base64_encode($data['php_after_publish']); $data['php_after_publish'] = base64_encode($data['php_after_publish']);
} }
// Set the php_getitems string to base64 string.
if (isset($data['php_getitems']))
{
$data['php_getitems'] = base64_encode($data['php_getitems']);
}
// Set the php_import string to base64 string. // Set the php_import string to base64 string.
if (isset($data['php_import'])) if (isset($data['php_import']))
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_views.php @subpackage admin_views.php
@ -262,20 +262,20 @@ class ComponentbuilderModelAdmin_views extends JModelList
continue; continue;
} }
// decode php_getitems
$item->php_getitems = base64_decode($item->php_getitems);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode php_save
$item->php_save = base64_decode($item->php_save);
// decode php_after_delete // decode php_after_delete
$item->php_after_delete = base64_decode($item->php_after_delete); $item->php_after_delete = base64_decode($item->php_after_delete);
// decode php_save
$item->php_save = base64_decode($item->php_save);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
// decode php_getlistquery // decode php_getlistquery
$item->php_getlistquery = base64_decode($item->php_getlistquery); $item->php_getlistquery = base64_decode($item->php_getlistquery);
// decode php_allowedit // decode php_allowedit
$item->php_allowedit = base64_decode($item->php_allowedit); $item->php_allowedit = base64_decode($item->php_allowedit);
// decode php_after_publish // decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish); $item->php_after_publish = base64_decode($item->php_after_publish);
// decode php_getitems
$item->php_getitems = base64_decode($item->php_getitems);
// decode php_import // decode php_import
$item->php_import = base64_decode($item->php_import); $item->php_import = base64_decode($item->php_import);
// decode php_getitems_after_all // decode php_getitems_after_all

View File

@ -198,7 +198,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.custom_admin_view'); $item->tags->getTagIds($item->id, 'com_componentbuilder.custom_admin_view');
} }
} }
$this->addcustom_admin_viewsvvvx = $item->id; $this->addcustom_admin_viewsvvvw = $item->id;
return $item; return $item;
} }
@ -208,7 +208,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getVyflinked_components() public function getVyelinked_components()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -265,15 +265,15 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
} }
} }
// Filter by addcustom_admin_viewsvvvx in this Repetable Field // Filter by addcustom_admin_viewsvvvw in this Repetable Field
if (ComponentbuilderHelper::checkArray($items) && isset($this->addcustom_admin_viewsvvvx)) if (ComponentbuilderHelper::checkArray($items) && isset($this->addcustom_admin_viewsvvvw))
{ {
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
if (isset($item->addcustom_admin_views) && ComponentbuilderHelper::checkJson($item->addcustom_admin_views)) if (isset($item->addcustom_admin_views) && ComponentbuilderHelper::checkJson($item->addcustom_admin_views))
{ {
$tmpArray = json_decode($item->addcustom_admin_views,true); $tmpArray = json_decode($item->addcustom_admin_views,true);
if (!isset($tmpArray['customadminview']) || !ComponentbuilderHelper::checkArray($tmpArray['customadminview']) || !in_array($this->addcustom_admin_viewsvvvx, $tmpArray['customadminview'])) if (!isset($tmpArray['customadminview']) || !ComponentbuilderHelper::checkArray($tmpArray['customadminview']) || !in_array($this->addcustom_admin_viewsvvvw, $tmpArray['customadminview']))
{ {
unset($items[$nr]); unset($items[$nr]);
continue; continue;

View File

@ -129,7 +129,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.fieldtype'); $item->tags->getTagIds($item->id, 'com_componentbuilder.fieldtype');
} }
} }
$this->fieldtypevvvz = $item->id; $this->fieldtypevvvy = $item->id;
return $item; return $item;
} }
@ -139,7 +139,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getVzxfields() public function getVzwfields()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -159,15 +159,15 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$query->select($db->quoteName('g.name','fieldtype_name')); $query->select($db->quoteName('g.name','fieldtype_name'));
$query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.fieldtype') . ' = ' . $db->quoteName('g.id') . ')'); $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.fieldtype') . ' = ' . $db->quoteName('g.id') . ')');
// Filter by fieldtypevvvz global. // Filter by fieldtypevvvy global.
$fieldtypevvvz = $this->fieldtypevvvz; $fieldtypevvvy = $this->fieldtypevvvy;
if (is_numeric($fieldtypevvvz )) if (is_numeric($fieldtypevvvy ))
{ {
$query->where('a.fieldtype = ' . (int) $fieldtypevvvz ); $query->where('a.fieldtype = ' . (int) $fieldtypevvvy );
} }
elseif (is_string($fieldtypevvvz)) elseif (is_string($fieldtypevvvy))
{ {
$query->where('a.fieldtype = ' . $db->quote($fieldtypevvvz)); $query->where('a.fieldtype = ' . $db->quote($fieldtypevvvy));
} }
else else
{ {
@ -223,13 +223,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
// convert datatype // convert datatype
$item->datatype = $this->selectionTranslationVzxfields($item->datatype, 'datatype'); $item->datatype = $this->selectionTranslationVzwfields($item->datatype, 'datatype');
// convert indexes // convert indexes
$item->indexes = $this->selectionTranslationVzxfields($item->indexes, 'indexes'); $item->indexes = $this->selectionTranslationVzwfields($item->indexes, 'indexes');
// convert null_switch // convert null_switch
$item->null_switch = $this->selectionTranslationVzxfields($item->null_switch, 'null_switch'); $item->null_switch = $this->selectionTranslationVzwfields($item->null_switch, 'null_switch');
// convert store // convert store
$item->store = $this->selectionTranslationVzxfields($item->store, 'store'); $item->store = $this->selectionTranslationVzwfields($item->store, 'store');
} }
} }
@ -243,7 +243,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
* *
* @return translatable string * @return translatable string
*/ */
public function selectionTranslationVzxfields($value,$name) public function selectionTranslationVzwfields($value,$name)
{ {
// Array of datatype language strings // Array of datatype language strings
if ($name === 'datatype') if ($name === 'datatype')

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.js @subpackage admin_view.js

View File

@ -149,31 +149,34 @@
message="Error! Please add some short description here." message="Error! Please add some short description here."
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT" hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/> />
<!-- Php_getitems Field. Type: Textarea. (joomla) --> <!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Php_after_delete Field. Type: Textarea. (joomla) -->
<field <field
type="textarea" type="textarea"
name="php_getitems" name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL" label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
rows="30" rows="30"
cols="15" cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION" description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
class="text_area span12" class="text_area span12"
filter="raw" filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT" hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT"
required="true" required="true"
/> />
<!-- Php_batchmove Field. Type: Textarea. (joomla) --> <!-- Icon_category Field. Type: Media. (joomla) -->
<field <field
type="textarea" type="media"
name="php_batchmove" name="icon_category"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL" label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_LABEL"
rows="30" description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION"
cols="15" directory=""
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
required="true"
/> />
<!-- Icon_add Field. Type: Media. (joomla) --> <!-- Icon_add Field. Type: Media. (joomla) -->
<field <field
@ -196,63 +199,6 @@
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT" hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT"
required="true" required="true"
/> />
<!-- Icon_category Field. Type: Media. (joomla) -->
<field
type="media"
name="icon_category"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_CATEGORY_DESCRIPTION"
directory=""
/>
<!-- Icon Field. Type: Media. (joomla) -->
<field
type="media"
name="icon"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_LABEL"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
<!-- Php_after_delete Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_after_delete"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT"
required="true"
/>
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT"
required="true"
/>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Php_allowedit Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT"
required="true"
/>
<!-- Type Field. Type: List. (joomla) --> <!-- Type Field. Type: List. (joomla) -->
<field <field
type="list" type="list"
@ -268,17 +214,30 @@
<option value="2"> <option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY</option> COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY</option>
</field> </field>
<!-- Php_after_publish Field. Type: Textarea. (joomla) --> <!-- Php_batchmove Field. Type: Textarea. (joomla) -->
<field <field
type="textarea" type="textarea"
name="php_after_publish" name="php_batchmove"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL" label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
rows="30" rows="30"
cols="15" cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION" description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
class="text_area span12" class="text_area span12"
filter="raw" filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_HINT" hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT"
required="true"
/>
<!-- Php_getlistquery Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getlistquery"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT"
required="true" required="true"
/> />
<!-- Description Field. Type: Textarea. (joomla) --> <!-- Description Field. Type: Textarea. (joomla) -->
@ -293,19 +252,19 @@
filter="HTML" filter="HTML"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT" hint="COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_HINT"
/> />
<!-- Source Field. Type: Radio. (joomla) --> <!-- Php_allowedit Field. Type: Textarea. (joomla) -->
<field <field
type="radio" type="textarea"
name="source" name="php_allowedit"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL" label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
class="btn-group btn-group-yesno" rows="30"
required="true"> cols="15"
<!-- Option Set. --> description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
<option value="1"> class="text_area span12"
COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE</option> filter="raw"
<option value="2"> hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT"
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option> required="true"
</field> />
<!-- Add_fadein Field. Type: Radio. (joomla) --> <!-- Add_fadein Field. Type: Radio. (joomla) -->
<field <field
type="radio" type="radio"
@ -320,6 +279,47 @@
<option value="0"> <option value="0">
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE</option> COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE</option>
</field> </field>
<!-- Php_after_publish Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_after_publish"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_HINT"
required="true"
/>
<!-- Note_advanced_import Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_advanced_import" label="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_LABEL" description="COM_COMPONENTBUILDER_ADMIN_VIEW_NOTE_ADVANCED_IMPORT_DESCRIPTION" heading="h4" class="alert alert-success note_advanced_import" />
<!-- Source Field. Type: Radio. (joomla) -->
<field
type="radio"
name="source"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_SOURCE_LABEL"
class="btn-group btn-group-yesno"
required="true">
<!-- Option Set. -->
<option value="1">
COM_COMPONENTBUILDER_ADMIN_VIEW_TABLE</option>
<option value="2">
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP</option>
</field>
<!-- Php_getitems Field. Type: Textarea. (joomla) -->
<field
type="textarea"
name="php_getitems"
label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL"
rows="30"
cols="15"
description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION"
class="text_area span12"
filter="raw"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT"
required="true"
/>
<!-- Php_import Field. Type: Textarea. (joomla) --> <!-- Php_import Field. Type: Textarea. (joomla) -->
<field <field
type="textarea" type="textarea"

View File

@ -23,15 +23,15 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyavxw_required = false; jform_vvvvvyavxv_required = false;
jform_vvvvvybvxx_required = false; jform_vvvvvybvxw_required = false;
jform_vvvvvycvxy_required = false; jform_vvvvvycvxx_required = false;
jform_vvvvvydvxz_required = false; jform_vvvvvydvxy_required = false;
jform_vvvvvyevya_required = false; jform_vvvvvyevxz_required = false;
jform_vvvvvyfvyb_required = false; jform_vvvvvyfvya_required = false;
jform_vvvvvygvyb_required = false;
jform_vvvvvygvyc_required = false; jform_vvvvvygvyc_required = false;
jform_vvvvvygvyd_required = false; jform_vvvvvyhvyd_required = false;
jform_vvvvvyhvye_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -68,26 +68,26 @@ function vvvvvya(add_php_view_vvvvvya)
if (add_php_view_vvvvvya == 1) if (add_php_view_vvvvvya == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyavxw_required) if (jform_vvvvvyavxv_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvyavxw_required = false; jform_vvvvvyavxv_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyavxw_required) if (!jform_vvvvvyavxv_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyavxw_required = true; jform_vvvvvyavxv_required = true;
} }
} }
} }
@ -99,26 +99,26 @@ function vvvvvyb(add_php_jview_display_vvvvvyb)
if (add_php_jview_display_vvvvvyb == 1) if (add_php_jview_display_vvvvvyb == 1)
{ {
jQuery('#jform_php_jview_display').closest('.control-group').show(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvybvxx_required) if (jform_vvvvvybvxw_required)
{ {
updateFieldRequired('php_jview_display',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvybvxx_required = false; jform_vvvvvybvxw_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview_display').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvybvxx_required) if (!jform_vvvvvybvxw_required)
{ {
updateFieldRequired('php_jview_display',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvybvxx_required = true; jform_vvvvvybvxw_required = true;
} }
} }
} }
@ -130,26 +130,26 @@ function vvvvvyc(add_php_jview_vvvvvyc)
if (add_php_jview_vvvvvyc == 1) if (add_php_jview_vvvvvyc == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvycvxy_required) if (jform_vvvvvycvxx_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvycvxy_required = false; jform_vvvvvycvxx_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvycvxy_required) if (!jform_vvvvvycvxx_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvycvxy_required = true; jform_vvvvvycvxx_required = true;
} }
} }
} }
@ -161,26 +161,26 @@ function vvvvvyd(add_php_document_vvvvvyd)
if (add_php_document_vvvvvyd == 1) if (add_php_document_vvvvvyd == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvydvxz_required) if (jform_vvvvvydvxy_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvydvxz_required = false; jform_vvvvvydvxy_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvydvxz_required) if (!jform_vvvvvydvxy_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvydvxz_required = true; jform_vvvvvydvxy_required = true;
} }
} }
} }
@ -192,26 +192,26 @@ function vvvvvye(add_css_document_vvvvvye)
if (add_css_document_vvvvvye == 1) if (add_css_document_vvvvvye == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvyevya_required) if (jform_vvvvvyevxz_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvyevya_required = false; jform_vvvvvyevxz_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvyevya_required) if (!jform_vvvvvyevxz_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvyevya_required = true; jform_vvvvvyevxz_required = true;
} }
} }
} }
@ -223,26 +223,26 @@ function vvvvvyf(add_js_document_vvvvvyf)
if (add_js_document_vvvvvyf == 1) if (add_js_document_vvvvvyf == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvyfvyb_required) if (jform_vvvvvyfvya_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_js_document').addClass('required');
jform_vvvvvyfvyb_required = false; jform_vvvvvyfvya_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvyfvyb_required) if (!jform_vvvvvyfvya_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_js_document').removeClass('required');
jform_vvvvvyfvyb_required = true; jform_vvvvvyfvya_required = true;
} }
} }
} }
@ -255,23 +255,23 @@ function vvvvvyg(add_custom_button_vvvvvyg)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvygvyc_required) if (jform_vvvvvygvyb_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvygvyc_required = false; jform_vvvvvygvyb_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvygvyd_required) if (jform_vvvvvygvyc_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); jQuery('#jform_php_model').addClass('required');
jform_vvvvvygvyd_required = false; jform_vvvvvygvyc_required = false;
} }
} }
@ -279,22 +279,22 @@ function vvvvvyg(add_custom_button_vvvvvyg)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvygvyc_required) if (!jform_vvvvvygvyb_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvygvyc_required = true; jform_vvvvvygvyb_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvygvyd_required) if (!jform_vvvvvygvyc_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvygvyd_required = true; jform_vvvvvygvyc_required = true;
} }
} }
} }
@ -306,26 +306,26 @@ function vvvvvyh(add_css_vvvvvyh)
if (add_css_vvvvvyh == 1) if (add_css_vvvvvyh == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvyhvye_required) if (jform_vvvvvyhvyd_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_css').addClass('required');
jform_vvvvvyhvye_required = false; jform_vvvvvyhvyd_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvyhvye_required) if (!jform_vvvvvyhvyd_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_css').removeClass('required');
jform_vvvvvyhvye_required = true; jform_vvvvvyhvyd_required = true;
} }
} }
} }

View File

@ -23,10 +23,10 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvzqvzl_required = false; jform_vvvvvzqvzk_required = false;
jform_vvvvvzrvzl_required = false;
jform_vvvvvzrvzm_required = false; jform_vvvvvzrvzm_required = false;
jform_vvvvvzrvzn_required = false; jform_vvvvvzrvzn_required = false;
jform_vvvvvzrvzo_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -53,13 +53,13 @@ function vvvvvzq(target_vvvvvzq)
if (target_vvvvvzq == 2) if (target_vvvvvzq == 2)
{ {
jQuery('#jform_function_name').closest('.control-group').show(); jQuery('#jform_function_name').closest('.control-group').show();
if (jform_vvvvvzqvzl_required) if (jform_vvvvvzqvzk_required)
{ {
updateFieldRequired('function_name',0); updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required'); jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true); jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required'); jQuery('#jform_function_name').addClass('required');
jform_vvvvvzqvzl_required = false; jform_vvvvvzqvzk_required = false;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').show(); jQuery('.note_jcb_placeholder').closest('.control-group').show();
@ -68,13 +68,13 @@ function vvvvvzq(target_vvvvvzq)
else else
{ {
jQuery('#jform_function_name').closest('.control-group').hide(); jQuery('#jform_function_name').closest('.control-group').hide();
if (!jform_vvvvvzqvzl_required) if (!jform_vvvvvzqvzk_required)
{ {
updateFieldRequired('function_name',1); updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required'); jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required'); jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required'); jQuery('#jform_function_name').removeClass('required');
jform_vvvvvzqvzl_required = true; jform_vvvvvzqvzk_required = true;
} }
jQuery('.note_jcb_placeholder').closest('.control-group').hide(); jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide(); jQuery('#jform_system_name').closest('.control-group').hide();
@ -88,70 +88,70 @@ function vvvvvzr(target_vvvvvzr)
if (target_vvvvvzr == 1) if (target_vvvvvzr == 1)
{ {
jQuery('#jform_component').closest('.control-group').show(); jQuery('#jform_component').closest('.control-group').show();
if (jform_vvvvvzrvzm_required) if (jform_vvvvvzrvzl_required)
{ {
updateFieldRequired('component',0); updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required'); jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true); jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required'); jQuery('#jform_component').addClass('required');
jform_vvvvvzrvzm_required = false; jform_vvvvvzrvzl_required = false;
} }
jQuery('#jform_path').closest('.control-group').show(); jQuery('#jform_path').closest('.control-group').show();
if (jform_vvvvvzrvzn_required) if (jform_vvvvvzrvzm_required)
{ {
updateFieldRequired('path',0); updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required'); jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true); jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required'); jQuery('#jform_path').addClass('required');
jform_vvvvvzrvzn_required = false; jform_vvvvvzrvzm_required = false;
} }
jQuery('#jform_from_line').closest('.control-group').show(); jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show(); jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show(); jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show(); jQuery('#jform_type').closest('.control-group').show();
if (jform_vvvvvzrvzo_required) if (jform_vvvvvzrvzn_required)
{ {
updateFieldRequired('type',0); updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required'); jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true); jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required'); jQuery('#jform_type').addClass('required');
jform_vvvvvzrvzo_required = false; jform_vvvvvzrvzn_required = false;
} }
} }
else else
{ {
jQuery('#jform_component').closest('.control-group').hide(); jQuery('#jform_component').closest('.control-group').hide();
if (!jform_vvvvvzrvzm_required) if (!jform_vvvvvzrvzl_required)
{ {
updateFieldRequired('component',1); updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required'); jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required'); jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required'); jQuery('#jform_component').removeClass('required');
jform_vvvvvzrvzm_required = true; jform_vvvvvzrvzl_required = true;
} }
jQuery('#jform_path').closest('.control-group').hide(); jQuery('#jform_path').closest('.control-group').hide();
if (!jform_vvvvvzrvzn_required) if (!jform_vvvvvzrvzm_required)
{ {
updateFieldRequired('path',1); updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required'); jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required'); jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required'); jQuery('#jform_path').removeClass('required');
jform_vvvvvzrvzn_required = true; jform_vvvvvzrvzm_required = true;
} }
jQuery('#jform_from_line').closest('.control-group').hide(); jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide(); jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide(); jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide(); jQuery('#jform_type').closest('.control-group').hide();
if (!jform_vvvvvzrvzo_required) if (!jform_vvvvvzrvzn_required)
{ {
updateFieldRequired('type',1); updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required'); jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required'); jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required'); jQuery('#jform_type').removeClass('required');
jform_vvvvvzrvzo_required = true; jform_vvvvvzrvzn_required = true;
} }
} }
} }

View File

@ -23,24 +23,24 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyuvyt_required = false; jform_vvvvvyuvys_required = false;
jform_vvvvvyvvyu_required = false; jform_vvvvvyvvyt_required = false;
jform_vvvvvywvyv_required = false; jform_vvvvvywvyu_required = false;
jform_vvvvvyxvyw_required = false; jform_vvvvvyxvyv_required = false;
jform_vvvvvyyvyx_required = false; jform_vvvvvyyvyw_required = false;
jform_vvvvvyzvyy_required = false; jform_vvvvvyzvyx_required = false;
jform_vvvvvzevyz_required = false; jform_vvvvvzevyy_required = false;
jform_vvvvvzgvza_required = false; jform_vvvvvzgvyz_required = false;
jform_vvvvvzhvzb_required = false; jform_vvvvvzhvza_required = false;
jform_vvvvvzjvzb_required = false;
jform_vvvvvzjvzc_required = false; jform_vvvvvzjvzc_required = false;
jform_vvvvvzjvzd_required = false; jform_vvvvvzkvzd_required = false;
jform_vvvvvzkvze_required = false; jform_vvvvvzlvze_required = false;
jform_vvvvvzlvzf_required = false; jform_vvvvvzmvzf_required = false;
jform_vvvvvzmvzg_required = false; jform_vvvvvzovzg_required = false;
jform_vvvvvzovzh_required = false; jform_vvvvvzovzh_required = false;
jform_vvvvvzovzi_required = false; jform_vvvvvzovzi_required = false;
jform_vvvvvzovzj_required = false; jform_vvvvvzpvzj_required = false;
jform_vvvvvzpvzk_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -127,26 +127,26 @@ function vvvvvyu(gettype_vvvvvyu)
if (gettype) if (gettype)
{ {
jQuery('#jform_getcustom').closest('.control-group').show(); jQuery('#jform_getcustom').closest('.control-group').show();
if (jform_vvvvvyuvyt_required) if (jform_vvvvvyuvys_required)
{ {
updateFieldRequired('getcustom',0); updateFieldRequired('getcustom',0);
jQuery('#jform_getcustom').prop('required','required'); jQuery('#jform_getcustom').prop('required','required');
jQuery('#jform_getcustom').attr('aria-required',true); jQuery('#jform_getcustom').attr('aria-required',true);
jQuery('#jform_getcustom').addClass('required'); jQuery('#jform_getcustom').addClass('required');
jform_vvvvvyuvyt_required = false; jform_vvvvvyuvys_required = false;
} }
} }
else else
{ {
jQuery('#jform_getcustom').closest('.control-group').hide(); jQuery('#jform_getcustom').closest('.control-group').hide();
if (!jform_vvvvvyuvyt_required) if (!jform_vvvvvyuvys_required)
{ {
updateFieldRequired('getcustom',1); updateFieldRequired('getcustom',1);
jQuery('#jform_getcustom').removeAttr('required'); jQuery('#jform_getcustom').removeAttr('required');
jQuery('#jform_getcustom').removeAttr('aria-required'); jQuery('#jform_getcustom').removeAttr('aria-required');
jQuery('#jform_getcustom').removeClass('required'); jQuery('#jform_getcustom').removeClass('required');
jform_vvvvvyuvyt_required = true; jform_vvvvvyuvys_required = true;
} }
} }
} }
@ -182,26 +182,26 @@ function vvvvvyv(main_source_vvvvvyv)
if (main_source) if (main_source)
{ {
jQuery('#jform_view_table_main').closest('.control-group').show(); jQuery('#jform_view_table_main').closest('.control-group').show();
if (jform_vvvvvyvvyu_required) if (jform_vvvvvyvvyt_required)
{ {
updateFieldRequired('view_table_main',0); updateFieldRequired('view_table_main',0);
jQuery('#jform_view_table_main').prop('required','required'); jQuery('#jform_view_table_main').prop('required','required');
jQuery('#jform_view_table_main').attr('aria-required',true); jQuery('#jform_view_table_main').attr('aria-required',true);
jQuery('#jform_view_table_main').addClass('required'); jQuery('#jform_view_table_main').addClass('required');
jform_vvvvvyvvyu_required = false; jform_vvvvvyvvyt_required = false;
} }
} }
else else
{ {
jQuery('#jform_view_table_main').closest('.control-group').hide(); jQuery('#jform_view_table_main').closest('.control-group').hide();
if (!jform_vvvvvyvvyu_required) if (!jform_vvvvvyvvyt_required)
{ {
updateFieldRequired('view_table_main',1); updateFieldRequired('view_table_main',1);
jQuery('#jform_view_table_main').removeAttr('required'); jQuery('#jform_view_table_main').removeAttr('required');
jQuery('#jform_view_table_main').removeAttr('aria-required'); jQuery('#jform_view_table_main').removeAttr('aria-required');
jQuery('#jform_view_table_main').removeClass('required'); jQuery('#jform_view_table_main').removeClass('required');
jform_vvvvvyvvyu_required = true; jform_vvvvvyvvyt_required = true;
} }
} }
} }
@ -237,26 +237,26 @@ function vvvvvyw(main_source_vvvvvyw)
if (main_source) if (main_source)
{ {
jQuery('#jform_view_selection').closest('.control-group').show(); jQuery('#jform_view_selection').closest('.control-group').show();
if (jform_vvvvvywvyv_required) if (jform_vvvvvywvyu_required)
{ {
updateFieldRequired('view_selection',0); updateFieldRequired('view_selection',0);
jQuery('#jform_view_selection').prop('required','required'); jQuery('#jform_view_selection').prop('required','required');
jQuery('#jform_view_selection').attr('aria-required',true); jQuery('#jform_view_selection').attr('aria-required',true);
jQuery('#jform_view_selection').addClass('required'); jQuery('#jform_view_selection').addClass('required');
jform_vvvvvywvyv_required = false; jform_vvvvvywvyu_required = false;
} }
} }
else else
{ {
jQuery('#jform_view_selection').closest('.control-group').hide(); jQuery('#jform_view_selection').closest('.control-group').hide();
if (!jform_vvvvvywvyv_required) if (!jform_vvvvvywvyu_required)
{ {
updateFieldRequired('view_selection',1); updateFieldRequired('view_selection',1);
jQuery('#jform_view_selection').removeAttr('required'); jQuery('#jform_view_selection').removeAttr('required');
jQuery('#jform_view_selection').removeAttr('aria-required'); jQuery('#jform_view_selection').removeAttr('aria-required');
jQuery('#jform_view_selection').removeClass('required'); jQuery('#jform_view_selection').removeClass('required');
jform_vvvvvywvyv_required = true; jform_vvvvvywvyu_required = true;
} }
} }
} }
@ -292,26 +292,26 @@ function vvvvvyx(main_source_vvvvvyx)
if (main_source) if (main_source)
{ {
jQuery('#jform_db_table_main').closest('.control-group').show(); jQuery('#jform_db_table_main').closest('.control-group').show();
if (jform_vvvvvyxvyw_required) if (jform_vvvvvyxvyv_required)
{ {
updateFieldRequired('db_table_main',0); updateFieldRequired('db_table_main',0);
jQuery('#jform_db_table_main').prop('required','required'); jQuery('#jform_db_table_main').prop('required','required');
jQuery('#jform_db_table_main').attr('aria-required',true); jQuery('#jform_db_table_main').attr('aria-required',true);
jQuery('#jform_db_table_main').addClass('required'); jQuery('#jform_db_table_main').addClass('required');
jform_vvvvvyxvyw_required = false; jform_vvvvvyxvyv_required = false;
} }
} }
else else
{ {
jQuery('#jform_db_table_main').closest('.control-group').hide(); jQuery('#jform_db_table_main').closest('.control-group').hide();
if (!jform_vvvvvyxvyw_required) if (!jform_vvvvvyxvyv_required)
{ {
updateFieldRequired('db_table_main',1); updateFieldRequired('db_table_main',1);
jQuery('#jform_db_table_main').removeAttr('required'); jQuery('#jform_db_table_main').removeAttr('required');
jQuery('#jform_db_table_main').removeAttr('aria-required'); jQuery('#jform_db_table_main').removeAttr('aria-required');
jQuery('#jform_db_table_main').removeClass('required'); jQuery('#jform_db_table_main').removeClass('required');
jform_vvvvvyxvyw_required = true; jform_vvvvvyxvyv_required = true;
} }
} }
} }
@ -347,26 +347,26 @@ function vvvvvyy(main_source_vvvvvyy)
if (main_source) if (main_source)
{ {
jQuery('#jform_db_selection').closest('.control-group').show(); jQuery('#jform_db_selection').closest('.control-group').show();
if (jform_vvvvvyyvyx_required) if (jform_vvvvvyyvyw_required)
{ {
updateFieldRequired('db_selection',0); updateFieldRequired('db_selection',0);
jQuery('#jform_db_selection').prop('required','required'); jQuery('#jform_db_selection').prop('required','required');
jQuery('#jform_db_selection').attr('aria-required',true); jQuery('#jform_db_selection').attr('aria-required',true);
jQuery('#jform_db_selection').addClass('required'); jQuery('#jform_db_selection').addClass('required');
jform_vvvvvyyvyx_required = false; jform_vvvvvyyvyw_required = false;
} }
} }
else else
{ {
jQuery('#jform_db_selection').closest('.control-group').hide(); jQuery('#jform_db_selection').closest('.control-group').hide();
if (!jform_vvvvvyyvyx_required) if (!jform_vvvvvyyvyw_required)
{ {
updateFieldRequired('db_selection',1); updateFieldRequired('db_selection',1);
jQuery('#jform_db_selection').removeAttr('required'); jQuery('#jform_db_selection').removeAttr('required');
jQuery('#jform_db_selection').removeAttr('aria-required'); jQuery('#jform_db_selection').removeAttr('aria-required');
jQuery('#jform_db_selection').removeClass('required'); jQuery('#jform_db_selection').removeClass('required');
jform_vvvvvyyvyx_required = true; jform_vvvvvyyvyw_required = true;
} }
} }
} }
@ -389,26 +389,26 @@ function vvvvvyz(addcalculation_vvvvvyz)
if (addcalculation_vvvvvyz == 1) if (addcalculation_vvvvvyz == 1)
{ {
jQuery('#jform_php_calculation').closest('.control-group').show(); jQuery('#jform_php_calculation').closest('.control-group').show();
if (jform_vvvvvyzvyy_required) if (jform_vvvvvyzvyx_required)
{ {
updateFieldRequired('php_calculation',0); updateFieldRequired('php_calculation',0);
jQuery('#jform_php_calculation').prop('required','required'); jQuery('#jform_php_calculation').prop('required','required');
jQuery('#jform_php_calculation').attr('aria-required',true); jQuery('#jform_php_calculation').attr('aria-required',true);
jQuery('#jform_php_calculation').addClass('required'); jQuery('#jform_php_calculation').addClass('required');
jform_vvvvvyzvyy_required = false; jform_vvvvvyzvyx_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_calculation').closest('.control-group').hide(); jQuery('#jform_php_calculation').closest('.control-group').hide();
if (!jform_vvvvvyzvyy_required) if (!jform_vvvvvyzvyx_required)
{ {
updateFieldRequired('php_calculation',1); updateFieldRequired('php_calculation',1);
jQuery('#jform_php_calculation').removeAttr('required'); jQuery('#jform_php_calculation').removeAttr('required');
jQuery('#jform_php_calculation').removeAttr('aria-required'); jQuery('#jform_php_calculation').removeAttr('aria-required');
jQuery('#jform_php_calculation').removeClass('required'); jQuery('#jform_php_calculation').removeClass('required');
jform_vvvvvyzvyy_required = true; jform_vvvvvyzvyx_required = true;
} }
} }
} }
@ -555,26 +555,26 @@ function vvvvvze(main_source_vvvvvze)
if (main_source) if (main_source)
{ {
jQuery('#jform_php_custom_get').closest('.control-group').show(); jQuery('#jform_php_custom_get').closest('.control-group').show();
if (jform_vvvvvzevyz_required) if (jform_vvvvvzevyy_required)
{ {
updateFieldRequired('php_custom_get',0); updateFieldRequired('php_custom_get',0);
jQuery('#jform_php_custom_get').prop('required','required'); jQuery('#jform_php_custom_get').prop('required','required');
jQuery('#jform_php_custom_get').attr('aria-required',true); jQuery('#jform_php_custom_get').attr('aria-required',true);
jQuery('#jform_php_custom_get').addClass('required'); jQuery('#jform_php_custom_get').addClass('required');
jform_vvvvvzevyz_required = false; jform_vvvvvzevyy_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_custom_get').closest('.control-group').hide(); jQuery('#jform_php_custom_get').closest('.control-group').hide();
if (!jform_vvvvvzevyz_required) if (!jform_vvvvvzevyy_required)
{ {
updateFieldRequired('php_custom_get',1); updateFieldRequired('php_custom_get',1);
jQuery('#jform_php_custom_get').removeAttr('required'); jQuery('#jform_php_custom_get').removeAttr('required');
jQuery('#jform_php_custom_get').removeAttr('aria-required'); jQuery('#jform_php_custom_get').removeAttr('aria-required');
jQuery('#jform_php_custom_get').removeClass('required'); jQuery('#jform_php_custom_get').removeClass('required');
jform_vvvvvzevyz_required = true; jform_vvvvvzevyy_required = true;
} }
} }
} }
@ -670,26 +670,26 @@ function vvvvvzg(add_php_before_getitem_vvvvvzg,gettype_vvvvvzg)
if (add_php_before_getitem && gettype) if (add_php_before_getitem && gettype)
{ {
jQuery('#jform_php_before_getitem').closest('.control-group').show(); jQuery('#jform_php_before_getitem').closest('.control-group').show();
if (jform_vvvvvzgvza_required) if (jform_vvvvvzgvyz_required)
{ {
updateFieldRequired('php_before_getitem',0); updateFieldRequired('php_before_getitem',0);
jQuery('#jform_php_before_getitem').prop('required','required'); jQuery('#jform_php_before_getitem').prop('required','required');
jQuery('#jform_php_before_getitem').attr('aria-required',true); jQuery('#jform_php_before_getitem').attr('aria-required',true);
jQuery('#jform_php_before_getitem').addClass('required'); jQuery('#jform_php_before_getitem').addClass('required');
jform_vvvvvzgvza_required = false; jform_vvvvvzgvyz_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_before_getitem').closest('.control-group').hide(); jQuery('#jform_php_before_getitem').closest('.control-group').hide();
if (!jform_vvvvvzgvza_required) if (!jform_vvvvvzgvyz_required)
{ {
updateFieldRequired('php_before_getitem',1); updateFieldRequired('php_before_getitem',1);
jQuery('#jform_php_before_getitem').removeAttr('required'); jQuery('#jform_php_before_getitem').removeAttr('required');
jQuery('#jform_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_php_before_getitem').removeAttr('aria-required');
jQuery('#jform_php_before_getitem').removeClass('required'); jQuery('#jform_php_before_getitem').removeClass('required');
jform_vvvvvzgvza_required = true; jform_vvvvvzgvyz_required = true;
} }
} }
} }
@ -748,26 +748,26 @@ function vvvvvzh(add_php_after_getitem_vvvvvzh,gettype_vvvvvzh)
if (add_php_after_getitem && gettype) if (add_php_after_getitem && gettype)
{ {
jQuery('#jform_php_after_getitem').closest('.control-group').show(); jQuery('#jform_php_after_getitem').closest('.control-group').show();
if (jform_vvvvvzhvzb_required) if (jform_vvvvvzhvza_required)
{ {
updateFieldRequired('php_after_getitem',0); updateFieldRequired('php_after_getitem',0);
jQuery('#jform_php_after_getitem').prop('required','required'); jQuery('#jform_php_after_getitem').prop('required','required');
jQuery('#jform_php_after_getitem').attr('aria-required',true); jQuery('#jform_php_after_getitem').attr('aria-required',true);
jQuery('#jform_php_after_getitem').addClass('required'); jQuery('#jform_php_after_getitem').addClass('required');
jform_vvvvvzhvzb_required = false; jform_vvvvvzhvza_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_after_getitem').closest('.control-group').hide(); jQuery('#jform_php_after_getitem').closest('.control-group').hide();
if (!jform_vvvvvzhvzb_required) if (!jform_vvvvvzhvza_required)
{ {
updateFieldRequired('php_after_getitem',1); updateFieldRequired('php_after_getitem',1);
jQuery('#jform_php_after_getitem').removeAttr('required'); jQuery('#jform_php_after_getitem').removeAttr('required');
jQuery('#jform_php_after_getitem').removeAttr('aria-required'); jQuery('#jform_php_after_getitem').removeAttr('aria-required');
jQuery('#jform_php_after_getitem').removeClass('required'); jQuery('#jform_php_after_getitem').removeClass('required');
jform_vvvvvzhvzb_required = true; jform_vvvvvzhvza_required = true;
} }
} }
} }
@ -814,45 +814,45 @@ function vvvvvzj(gettype_vvvvvzj)
if (gettype) if (gettype)
{ {
jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
if (jform_vvvvvzjvzc_required) if (jform_vvvvvzjvzb_required)
{ {
updateFieldRequired('add_php_after_getitem',0); updateFieldRequired('add_php_after_getitem',0);
jQuery('#jform_add_php_after_getitem').prop('required','required'); jQuery('#jform_add_php_after_getitem').prop('required','required');
jQuery('#jform_add_php_after_getitem').attr('aria-required',true); jQuery('#jform_add_php_after_getitem').attr('aria-required',true);
jQuery('#jform_add_php_after_getitem').addClass('required'); jQuery('#jform_add_php_after_getitem').addClass('required');
jform_vvvvvzjvzc_required = false; jform_vvvvvzjvzb_required = false;
} }
jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
if (jform_vvvvvzjvzd_required) if (jform_vvvvvzjvzc_required)
{ {
updateFieldRequired('add_php_before_getitem',0); updateFieldRequired('add_php_before_getitem',0);
jQuery('#jform_add_php_before_getitem').prop('required','required'); jQuery('#jform_add_php_before_getitem').prop('required','required');
jQuery('#jform_add_php_before_getitem').attr('aria-required',true); jQuery('#jform_add_php_before_getitem').attr('aria-required',true);
jQuery('#jform_add_php_before_getitem').addClass('required'); jQuery('#jform_add_php_before_getitem').addClass('required');
jform_vvvvvzjvzd_required = false; jform_vvvvvzjvzc_required = false;
} }
} }
else else
{ {
jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
if (!jform_vvvvvzjvzc_required) if (!jform_vvvvvzjvzb_required)
{ {
updateFieldRequired('add_php_after_getitem',1); updateFieldRequired('add_php_after_getitem',1);
jQuery('#jform_add_php_after_getitem').removeAttr('required'); jQuery('#jform_add_php_after_getitem').removeAttr('required');
jQuery('#jform_add_php_after_getitem').removeAttr('aria-required'); jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
jQuery('#jform_add_php_after_getitem').removeClass('required'); jQuery('#jform_add_php_after_getitem').removeClass('required');
jform_vvvvvzjvzc_required = true; jform_vvvvvzjvzb_required = true;
} }
jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
if (!jform_vvvvvzjvzd_required) if (!jform_vvvvvzjvzc_required)
{ {
updateFieldRequired('add_php_before_getitem',1); updateFieldRequired('add_php_before_getitem',1);
jQuery('#jform_add_php_before_getitem').removeAttr('required'); jQuery('#jform_add_php_before_getitem').removeAttr('required');
jQuery('#jform_add_php_before_getitem').removeAttr('aria-required'); jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
jQuery('#jform_add_php_before_getitem').removeClass('required'); jQuery('#jform_add_php_before_getitem').removeClass('required');
jform_vvvvvzjvzd_required = true; jform_vvvvvzjvzc_required = true;
} }
} }
} }
@ -900,26 +900,26 @@ function vvvvvzk(add_php_getlistquery_vvvvvzk,gettype_vvvvvzk)
if (add_php_getlistquery && gettype) if (add_php_getlistquery && gettype)
{ {
jQuery('#jform_php_getlistquery').closest('.control-group').show(); jQuery('#jform_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvzkvze_required) if (jform_vvvvvzkvzd_required)
{ {
updateFieldRequired('php_getlistquery',0); updateFieldRequired('php_getlistquery',0);
jQuery('#jform_php_getlistquery').prop('required','required'); jQuery('#jform_php_getlistquery').prop('required','required');
jQuery('#jform_php_getlistquery').attr('aria-required',true); jQuery('#jform_php_getlistquery').attr('aria-required',true);
jQuery('#jform_php_getlistquery').addClass('required'); jQuery('#jform_php_getlistquery').addClass('required');
jform_vvvvvzkvze_required = false; jform_vvvvvzkvzd_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_getlistquery').closest('.control-group').hide(); jQuery('#jform_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvzkvze_required) if (!jform_vvvvvzkvzd_required)
{ {
updateFieldRequired('php_getlistquery',1); updateFieldRequired('php_getlistquery',1);
jQuery('#jform_php_getlistquery').removeAttr('required'); jQuery('#jform_php_getlistquery').removeAttr('required');
jQuery('#jform_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_php_getlistquery').removeClass('required'); jQuery('#jform_php_getlistquery').removeClass('required');
jform_vvvvvzkvze_required = true; jform_vvvvvzkvzd_required = true;
} }
} }
} }
@ -978,26 +978,26 @@ function vvvvvzl(add_php_before_getitems_vvvvvzl,gettype_vvvvvzl)
if (add_php_before_getitems && gettype) if (add_php_before_getitems && gettype)
{ {
jQuery('#jform_php_before_getitems').closest('.control-group').show(); jQuery('#jform_php_before_getitems').closest('.control-group').show();
if (jform_vvvvvzlvzf_required) if (jform_vvvvvzlvze_required)
{ {
updateFieldRequired('php_before_getitems',0); updateFieldRequired('php_before_getitems',0);
jQuery('#jform_php_before_getitems').prop('required','required'); jQuery('#jform_php_before_getitems').prop('required','required');
jQuery('#jform_php_before_getitems').attr('aria-required',true); jQuery('#jform_php_before_getitems').attr('aria-required',true);
jQuery('#jform_php_before_getitems').addClass('required'); jQuery('#jform_php_before_getitems').addClass('required');
jform_vvvvvzlvzf_required = false; jform_vvvvvzlvze_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_before_getitems').closest('.control-group').hide(); jQuery('#jform_php_before_getitems').closest('.control-group').hide();
if (!jform_vvvvvzlvzf_required) if (!jform_vvvvvzlvze_required)
{ {
updateFieldRequired('php_before_getitems',1); updateFieldRequired('php_before_getitems',1);
jQuery('#jform_php_before_getitems').removeAttr('required'); jQuery('#jform_php_before_getitems').removeAttr('required');
jQuery('#jform_php_before_getitems').removeAttr('aria-required'); jQuery('#jform_php_before_getitems').removeAttr('aria-required');
jQuery('#jform_php_before_getitems').removeClass('required'); jQuery('#jform_php_before_getitems').removeClass('required');
jform_vvvvvzlvzf_required = true; jform_vvvvvzlvze_required = true;
} }
} }
} }
@ -1056,26 +1056,26 @@ function vvvvvzm(add_php_after_getitems_vvvvvzm,gettype_vvvvvzm)
if (add_php_after_getitems && gettype) if (add_php_after_getitems && gettype)
{ {
jQuery('#jform_php_after_getitems').closest('.control-group').show(); jQuery('#jform_php_after_getitems').closest('.control-group').show();
if (jform_vvvvvzmvzg_required) if (jform_vvvvvzmvzf_required)
{ {
updateFieldRequired('php_after_getitems',0); updateFieldRequired('php_after_getitems',0);
jQuery('#jform_php_after_getitems').prop('required','required'); jQuery('#jform_php_after_getitems').prop('required','required');
jQuery('#jform_php_after_getitems').attr('aria-required',true); jQuery('#jform_php_after_getitems').attr('aria-required',true);
jQuery('#jform_php_after_getitems').addClass('required'); jQuery('#jform_php_after_getitems').addClass('required');
jform_vvvvvzmvzg_required = false; jform_vvvvvzmvzf_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_after_getitems').closest('.control-group').hide(); jQuery('#jform_php_after_getitems').closest('.control-group').hide();
if (!jform_vvvvvzmvzg_required) if (!jform_vvvvvzmvzf_required)
{ {
updateFieldRequired('php_after_getitems',1); updateFieldRequired('php_after_getitems',1);
jQuery('#jform_php_after_getitems').removeAttr('required'); jQuery('#jform_php_after_getitems').removeAttr('required');
jQuery('#jform_php_after_getitems').removeAttr('aria-required'); jQuery('#jform_php_after_getitems').removeAttr('aria-required');
jQuery('#jform_php_after_getitems').removeClass('required'); jQuery('#jform_php_after_getitems').removeClass('required');
jform_vvvvvzmvzg_required = true; jform_vvvvvzmvzf_required = true;
} }
} }
} }
@ -1122,64 +1122,64 @@ function vvvvvzo(gettype_vvvvvzo)
if (gettype) if (gettype)
{ {
jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
if (jform_vvvvvzovzh_required) if (jform_vvvvvzovzg_required)
{ {
updateFieldRequired('add_php_after_getitems',0); updateFieldRequired('add_php_after_getitems',0);
jQuery('#jform_add_php_after_getitems').prop('required','required'); jQuery('#jform_add_php_after_getitems').prop('required','required');
jQuery('#jform_add_php_after_getitems').attr('aria-required',true); jQuery('#jform_add_php_after_getitems').attr('aria-required',true);
jQuery('#jform_add_php_after_getitems').addClass('required'); jQuery('#jform_add_php_after_getitems').addClass('required');
jform_vvvvvzovzh_required = false; jform_vvvvvzovzg_required = false;
} }
jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
if (jform_vvvvvzovzi_required) if (jform_vvvvvzovzh_required)
{ {
updateFieldRequired('add_php_before_getitems',0); updateFieldRequired('add_php_before_getitems',0);
jQuery('#jform_add_php_before_getitems').prop('required','required'); jQuery('#jform_add_php_before_getitems').prop('required','required');
jQuery('#jform_add_php_before_getitems').attr('aria-required',true); jQuery('#jform_add_php_before_getitems').attr('aria-required',true);
jQuery('#jform_add_php_before_getitems').addClass('required'); jQuery('#jform_add_php_before_getitems').addClass('required');
jform_vvvvvzovzi_required = false; jform_vvvvvzovzh_required = false;
} }
jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvzovzj_required) if (jform_vvvvvzovzi_required)
{ {
updateFieldRequired('add_php_getlistquery',0); updateFieldRequired('add_php_getlistquery',0);
jQuery('#jform_add_php_getlistquery').prop('required','required'); jQuery('#jform_add_php_getlistquery').prop('required','required');
jQuery('#jform_add_php_getlistquery').attr('aria-required',true); jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
jQuery('#jform_add_php_getlistquery').addClass('required'); jQuery('#jform_add_php_getlistquery').addClass('required');
jform_vvvvvzovzj_required = false; jform_vvvvvzovzi_required = false;
} }
} }
else else
{ {
jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
if (!jform_vvvvvzovzh_required) if (!jform_vvvvvzovzg_required)
{ {
updateFieldRequired('add_php_after_getitems',1); updateFieldRequired('add_php_after_getitems',1);
jQuery('#jform_add_php_after_getitems').removeAttr('required'); jQuery('#jform_add_php_after_getitems').removeAttr('required');
jQuery('#jform_add_php_after_getitems').removeAttr('aria-required'); jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
jQuery('#jform_add_php_after_getitems').removeClass('required'); jQuery('#jform_add_php_after_getitems').removeClass('required');
jform_vvvvvzovzh_required = true; jform_vvvvvzovzg_required = true;
} }
jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
if (!jform_vvvvvzovzi_required) if (!jform_vvvvvzovzh_required)
{ {
updateFieldRequired('add_php_before_getitems',1); updateFieldRequired('add_php_before_getitems',1);
jQuery('#jform_add_php_before_getitems').removeAttr('required'); jQuery('#jform_add_php_before_getitems').removeAttr('required');
jQuery('#jform_add_php_before_getitems').removeAttr('aria-required'); jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
jQuery('#jform_add_php_before_getitems').removeClass('required'); jQuery('#jform_add_php_before_getitems').removeClass('required');
jform_vvvvvzovzi_required = true; jform_vvvvvzovzh_required = true;
} }
jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvzovzj_required) if (!jform_vvvvvzovzi_required)
{ {
updateFieldRequired('add_php_getlistquery',1); updateFieldRequired('add_php_getlistquery',1);
jQuery('#jform_add_php_getlistquery').removeAttr('required'); jQuery('#jform_add_php_getlistquery').removeAttr('required');
jQuery('#jform_add_php_getlistquery').removeAttr('aria-required'); jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
jQuery('#jform_add_php_getlistquery').removeClass('required'); jQuery('#jform_add_php_getlistquery').removeClass('required');
jform_vvvvvzovzj_required = true; jform_vvvvvzovzi_required = true;
} }
} }
} }
@ -1215,26 +1215,26 @@ function vvvvvzp(gettype_vvvvvzp)
if (gettype) if (gettype)
{ {
jQuery('#jform_pagination').closest('.control-group').show(); jQuery('#jform_pagination').closest('.control-group').show();
if (jform_vvvvvzpvzk_required) if (jform_vvvvvzpvzj_required)
{ {
updateFieldRequired('pagination',0); updateFieldRequired('pagination',0);
jQuery('#jform_pagination').prop('required','required'); jQuery('#jform_pagination').prop('required','required');
jQuery('#jform_pagination').attr('aria-required',true); jQuery('#jform_pagination').attr('aria-required',true);
jQuery('#jform_pagination').addClass('required'); jQuery('#jform_pagination').addClass('required');
jform_vvvvvzpvzk_required = false; jform_vvvvvzpvzj_required = false;
} }
} }
else else
{ {
jQuery('#jform_pagination').closest('.control-group').hide(); jQuery('#jform_pagination').closest('.control-group').hide();
if (!jform_vvvvvzpvzk_required) if (!jform_vvvvvzpvzj_required)
{ {
updateFieldRequired('pagination',1); updateFieldRequired('pagination',1);
jQuery('#jform_pagination').removeAttr('required'); jQuery('#jform_pagination').removeAttr('required');
jQuery('#jform_pagination').removeAttr('aria-required'); jQuery('#jform_pagination').removeAttr('aria-required');
jQuery('#jform_pagination').removeClass('required'); jQuery('#jform_pagination').removeClass('required');
jform_vvvvvzpvzk_required = true; jform_vvvvvzpvzj_required = true;
} }
} }
} }

View File

@ -23,14 +23,14 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvzuvzp_required = false; jform_vvvvvzuvzo_required = false;
jform_vvvvvzvvzq_required = false; jform_vvvvvzvvzp_required = false;
jform_vvvvvzwvzr_required = false; jform_vvvvvzwvzq_required = false;
jform_vvvvvzxvzs_required = false; jform_vvvvvzxvzr_required = false;
jform_vvvvwaavzt_required = false; jform_vvvvwaavzs_required = false;
jform_vvvvwabvzu_required = false; jform_vvvvwabvzt_required = false;
jform_vvvvwacvzv_required = false; jform_vvvvwacvzu_required = false;
jform_vvvvwadvzw_required = false; jform_vvvvwadvzv_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -84,26 +84,26 @@ function vvvvvzu(datalenght_vvvvvzu)
if (datalenght) if (datalenght)
{ {
jQuery('#jform_datalenght_other').closest('.control-group').show(); jQuery('#jform_datalenght_other').closest('.control-group').show();
if (jform_vvvvvzuvzp_required) if (jform_vvvvvzuvzo_required)
{ {
updateFieldRequired('datalenght_other',0); updateFieldRequired('datalenght_other',0);
jQuery('#jform_datalenght_other').prop('required','required'); jQuery('#jform_datalenght_other').prop('required','required');
jQuery('#jform_datalenght_other').attr('aria-required',true); jQuery('#jform_datalenght_other').attr('aria-required',true);
jQuery('#jform_datalenght_other').addClass('required'); jQuery('#jform_datalenght_other').addClass('required');
jform_vvvvvzuvzp_required = false; jform_vvvvvzuvzo_required = false;
} }
} }
else else
{ {
jQuery('#jform_datalenght_other').closest('.control-group').hide(); jQuery('#jform_datalenght_other').closest('.control-group').hide();
if (!jform_vvvvvzuvzp_required) if (!jform_vvvvvzuvzo_required)
{ {
updateFieldRequired('datalenght_other',1); updateFieldRequired('datalenght_other',1);
jQuery('#jform_datalenght_other').removeAttr('required'); jQuery('#jform_datalenght_other').removeAttr('required');
jQuery('#jform_datalenght_other').removeAttr('aria-required'); jQuery('#jform_datalenght_other').removeAttr('aria-required');
jQuery('#jform_datalenght_other').removeClass('required'); jQuery('#jform_datalenght_other').removeClass('required');
jform_vvvvvzuvzp_required = true; jform_vvvvvzuvzo_required = true;
} }
} }
} }
@ -139,26 +139,26 @@ function vvvvvzv(datadefault_vvvvvzv)
if (datadefault) if (datadefault)
{ {
jQuery('#jform_datadefault_other').closest('.control-group').show(); jQuery('#jform_datadefault_other').closest('.control-group').show();
if (jform_vvvvvzvvzq_required) if (jform_vvvvvzvvzp_required)
{ {
updateFieldRequired('datadefault_other',0); updateFieldRequired('datadefault_other',0);
jQuery('#jform_datadefault_other').prop('required','required'); jQuery('#jform_datadefault_other').prop('required','required');
jQuery('#jform_datadefault_other').attr('aria-required',true); jQuery('#jform_datadefault_other').attr('aria-required',true);
jQuery('#jform_datadefault_other').addClass('required'); jQuery('#jform_datadefault_other').addClass('required');
jform_vvvvvzvvzq_required = false; jform_vvvvvzvvzp_required = false;
} }
} }
else else
{ {
jQuery('#jform_datadefault_other').closest('.control-group').hide(); jQuery('#jform_datadefault_other').closest('.control-group').hide();
if (!jform_vvvvvzvvzq_required) if (!jform_vvvvvzvvzp_required)
{ {
updateFieldRequired('datadefault_other',1); updateFieldRequired('datadefault_other',1);
jQuery('#jform_datadefault_other').removeAttr('required'); jQuery('#jform_datadefault_other').removeAttr('required');
jQuery('#jform_datadefault_other').removeAttr('aria-required'); jQuery('#jform_datadefault_other').removeAttr('aria-required');
jQuery('#jform_datadefault_other').removeClass('required'); jQuery('#jform_datadefault_other').removeClass('required');
jform_vvvvvzvvzq_required = true; jform_vvvvvzvvzp_required = true;
} }
} }
} }
@ -196,13 +196,13 @@ function vvvvvzw(datatype_vvvvvzw)
jQuery('#jform_datadefault').closest('.control-group').show(); jQuery('#jform_datadefault').closest('.control-group').show();
jQuery('#jform_datalenght').closest('.control-group').show(); jQuery('#jform_datalenght').closest('.control-group').show();
jQuery('#jform_indexes').closest('.control-group').show(); jQuery('#jform_indexes').closest('.control-group').show();
if (jform_vvvvvzwvzr_required) if (jform_vvvvvzwvzq_required)
{ {
updateFieldRequired('indexes',0); updateFieldRequired('indexes',0);
jQuery('#jform_indexes').prop('required','required'); jQuery('#jform_indexes').prop('required','required');
jQuery('#jform_indexes').attr('aria-required',true); jQuery('#jform_indexes').attr('aria-required',true);
jQuery('#jform_indexes').addClass('required'); jQuery('#jform_indexes').addClass('required');
jform_vvvvvzwvzr_required = false; jform_vvvvvzwvzq_required = false;
} }
} }
@ -211,13 +211,13 @@ function vvvvvzw(datatype_vvvvvzw)
jQuery('#jform_datadefault').closest('.control-group').hide(); jQuery('#jform_datadefault').closest('.control-group').hide();
jQuery('#jform_datalenght').closest('.control-group').hide(); jQuery('#jform_datalenght').closest('.control-group').hide();
jQuery('#jform_indexes').closest('.control-group').hide(); jQuery('#jform_indexes').closest('.control-group').hide();
if (!jform_vvvvvzwvzr_required) if (!jform_vvvvvzwvzq_required)
{ {
updateFieldRequired('indexes',1); updateFieldRequired('indexes',1);
jQuery('#jform_indexes').removeAttr('required'); jQuery('#jform_indexes').removeAttr('required');
jQuery('#jform_indexes').removeAttr('aria-required'); jQuery('#jform_indexes').removeAttr('aria-required');
jQuery('#jform_indexes').removeClass('required'); jQuery('#jform_indexes').removeClass('required');
jform_vvvvvzwvzr_required = true; jform_vvvvvzwvzq_required = true;
} }
} }
} }
@ -253,26 +253,26 @@ function vvvvvzx(datatype_vvvvvzx)
if (datatype) if (datatype)
{ {
jQuery('#jform_store').closest('.control-group').show(); jQuery('#jform_store').closest('.control-group').show();
if (jform_vvvvvzxvzs_required) if (jform_vvvvvzxvzr_required)
{ {
updateFieldRequired('store',0); updateFieldRequired('store',0);
jQuery('#jform_store').prop('required','required'); jQuery('#jform_store').prop('required','required');
jQuery('#jform_store').attr('aria-required',true); jQuery('#jform_store').attr('aria-required',true);
jQuery('#jform_store').addClass('required'); jQuery('#jform_store').addClass('required');
jform_vvvvvzxvzs_required = false; jform_vvvvvzxvzr_required = false;
} }
} }
else else
{ {
jQuery('#jform_store').closest('.control-group').hide(); jQuery('#jform_store').closest('.control-group').hide();
if (!jform_vvvvvzxvzs_required) if (!jform_vvvvvzxvzr_required)
{ {
updateFieldRequired('store',1); updateFieldRequired('store',1);
jQuery('#jform_store').removeAttr('required'); jQuery('#jform_store').removeAttr('required');
jQuery('#jform_store').removeAttr('aria-required'); jQuery('#jform_store').removeAttr('aria-required');
jQuery('#jform_store').removeClass('required'); jQuery('#jform_store').removeClass('required');
jform_vvvvvzxvzs_required = true; jform_vvvvvzxvzr_required = true;
} }
} }
} }
@ -356,26 +356,26 @@ function vvvvwaa(add_css_view_vvvvwaa)
if (add_css_view_vvvvwaa == 1) if (add_css_view_vvvvwaa == 1)
{ {
jQuery('#jform_css_view').closest('.control-group').show(); jQuery('#jform_css_view').closest('.control-group').show();
if (jform_vvvvwaavzt_required) if (jform_vvvvwaavzs_required)
{ {
updateFieldRequired('css_view',0); updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required'); jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true); jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required'); jQuery('#jform_css_view').addClass('required');
jform_vvvvwaavzt_required = false; jform_vvvvwaavzs_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_view').closest('.control-group').hide(); jQuery('#jform_css_view').closest('.control-group').hide();
if (!jform_vvvvwaavzt_required) if (!jform_vvvvwaavzs_required)
{ {
updateFieldRequired('css_view',1); updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required'); jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required'); jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required'); jQuery('#jform_css_view').removeClass('required');
jform_vvvvwaavzt_required = true; jform_vvvvwaavzs_required = true;
} }
} }
} }
@ -387,26 +387,26 @@ function vvvvwab(add_css_views_vvvvwab)
if (add_css_views_vvvvwab == 1) if (add_css_views_vvvvwab == 1)
{ {
jQuery('#jform_css_views').closest('.control-group').show(); jQuery('#jform_css_views').closest('.control-group').show();
if (jform_vvvvwabvzu_required) if (jform_vvvvwabvzt_required)
{ {
updateFieldRequired('css_views',0); updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required'); jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true); jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required'); jQuery('#jform_css_views').addClass('required');
jform_vvvvwabvzu_required = false; jform_vvvvwabvzt_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_views').closest('.control-group').hide(); jQuery('#jform_css_views').closest('.control-group').hide();
if (!jform_vvvvwabvzu_required) if (!jform_vvvvwabvzt_required)
{ {
updateFieldRequired('css_views',1); updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required'); jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required'); jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required'); jQuery('#jform_css_views').removeClass('required');
jform_vvvvwabvzu_required = true; jform_vvvvwabvzt_required = true;
} }
} }
} }
@ -418,26 +418,26 @@ function vvvvwac(add_javascript_view_footer_vvvvwac)
if (add_javascript_view_footer_vvvvwac == 1) if (add_javascript_view_footer_vvvvwac == 1)
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').show(); jQuery('#jform_javascript_view_footer').closest('.control-group').show();
if (jform_vvvvwacvzv_required) if (jform_vvvvwacvzu_required)
{ {
updateFieldRequired('javascript_view_footer',0); updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required'); jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true); jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required'); jQuery('#jform_javascript_view_footer').addClass('required');
jform_vvvvwacvzv_required = false; jform_vvvvwacvzu_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
if (!jform_vvvvwacvzv_required) if (!jform_vvvvwacvzu_required)
{ {
updateFieldRequired('javascript_view_footer',1); updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required'); jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required'); jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required'); jQuery('#jform_javascript_view_footer').removeClass('required');
jform_vvvvwacvzv_required = true; jform_vvvvwacvzu_required = true;
} }
} }
} }
@ -449,26 +449,26 @@ function vvvvwad(add_javascript_views_footer_vvvvwad)
if (add_javascript_views_footer_vvvvwad == 1) if (add_javascript_views_footer_vvvvwad == 1)
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').show(); jQuery('#jform_javascript_views_footer').closest('.control-group').show();
if (jform_vvvvwadvzw_required) if (jform_vvvvwadvzv_required)
{ {
updateFieldRequired('javascript_views_footer',0); updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required'); jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true); jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required'); jQuery('#jform_javascript_views_footer').addClass('required');
jform_vvvvwadvzw_required = false; jform_vvvvwadvzv_required = false;
} }
} }
else else
{ {
jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
if (!jform_vvvvwadvzw_required) if (!jform_vvvvwadvzv_required)
{ {
updateFieldRequired('javascript_views_footer',1); updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required'); jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required'); jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required'); jQuery('#jform_javascript_views_footer').removeClass('required');
jform_vvvvwadvzw_required = true; jform_vvvvwadvzv_required = true;
} }
} }
} }

View File

@ -23,12 +23,12 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvwaevzz_required = false; jform_vvvvwaevzy_required = false;
jform_vvvvwafwaa_required = false; jform_vvvvwafvzz_required = false;
jform_vvvvwagwab_required = false; jform_vvvvwagwaa_required = false;
jform_vvvvwahwac_required = false; jform_vvvvwahwab_required = false;
jform_vvvvwaiwad_required = false; jform_vvvvwaiwac_required = false;
jform_vvvvwajwae_required = false; jform_vvvvwajwad_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -59,26 +59,26 @@ function vvvvwae(location_vvvvwae)
if (location_vvvvwae == 1) if (location_vvvvwae == 1)
{ {
jQuery('#jform_admin_view').closest('.control-group').show(); jQuery('#jform_admin_view').closest('.control-group').show();
if (jform_vvvvwaevzz_required) if (jform_vvvvwaevzy_required)
{ {
updateFieldRequired('admin_view',0); updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required'); jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true); jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required'); jQuery('#jform_admin_view').addClass('required');
jform_vvvvwaevzz_required = false; jform_vvvvwaevzy_required = false;
} }
} }
else else
{ {
jQuery('#jform_admin_view').closest('.control-group').hide(); jQuery('#jform_admin_view').closest('.control-group').hide();
if (!jform_vvvvwaevzz_required) if (!jform_vvvvwaevzy_required)
{ {
updateFieldRequired('admin_view',1); updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required'); jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required'); jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required'); jQuery('#jform_admin_view').removeClass('required');
jform_vvvvwaevzz_required = true; jform_vvvvwaevzy_required = true;
} }
} }
} }
@ -90,26 +90,26 @@ function vvvvwaf(location_vvvvwaf)
if (location_vvvvwaf == 2) if (location_vvvvwaf == 2)
{ {
jQuery('#jform_site_view').closest('.control-group').show(); jQuery('#jform_site_view').closest('.control-group').show();
if (jform_vvvvwafwaa_required) if (jform_vvvvwafvzz_required)
{ {
updateFieldRequired('site_view',0); updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required'); jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true); jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required'); jQuery('#jform_site_view').addClass('required');
jform_vvvvwafwaa_required = false; jform_vvvvwafvzz_required = false;
} }
} }
else else
{ {
jQuery('#jform_site_view').closest('.control-group').hide(); jQuery('#jform_site_view').closest('.control-group').hide();
if (!jform_vvvvwafwaa_required) if (!jform_vvvvwafvzz_required)
{ {
updateFieldRequired('site_view',1); updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required'); jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required'); jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required'); jQuery('#jform_site_view').removeClass('required');
jform_vvvvwafwaa_required = true; jform_vvvvwafvzz_required = true;
} }
} }
} }
@ -134,26 +134,26 @@ function vvvvwag(type_vvvvwag)
if (type) if (type)
{ {
jQuery('#jform_url').closest('.control-group').show(); jQuery('#jform_url').closest('.control-group').show();
if (jform_vvvvwagwab_required) if (jform_vvvvwagwaa_required)
{ {
updateFieldRequired('url',0); updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required'); jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true); jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required'); jQuery('#jform_url').addClass('required');
jform_vvvvwagwab_required = false; jform_vvvvwagwaa_required = false;
} }
} }
else else
{ {
jQuery('#jform_url').closest('.control-group').hide(); jQuery('#jform_url').closest('.control-group').hide();
if (!jform_vvvvwagwab_required) if (!jform_vvvvwagwaa_required)
{ {
updateFieldRequired('url',1); updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required'); jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required'); jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required'); jQuery('#jform_url').removeClass('required');
jform_vvvvwagwab_required = true; jform_vvvvwagwaa_required = true;
} }
} }
} }
@ -189,26 +189,26 @@ function vvvvwah(type_vvvvwah)
if (type) if (type)
{ {
jQuery('#jform_article').closest('.control-group').show(); jQuery('#jform_article').closest('.control-group').show();
if (jform_vvvvwahwac_required) if (jform_vvvvwahwab_required)
{ {
updateFieldRequired('article',0); updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required'); jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true); jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required'); jQuery('#jform_article').addClass('required');
jform_vvvvwahwac_required = false; jform_vvvvwahwab_required = false;
} }
} }
else else
{ {
jQuery('#jform_article').closest('.control-group').hide(); jQuery('#jform_article').closest('.control-group').hide();
if (!jform_vvvvwahwac_required) if (!jform_vvvvwahwab_required)
{ {
updateFieldRequired('article',1); updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required'); jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required'); jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required'); jQuery('#jform_article').removeClass('required');
jform_vvvvwahwac_required = true; jform_vvvvwahwab_required = true;
} }
} }
} }
@ -244,26 +244,26 @@ function vvvvwai(type_vvvvwai)
if (type) if (type)
{ {
jQuery('#jform_content-lbl').closest('.control-group').show(); jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_vvvvwaiwad_required) if (jform_vvvvwaiwac_required)
{ {
updateFieldRequired('content',0); updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required'); jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true); jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required'); jQuery('#jform_content').addClass('required');
jform_vvvvwaiwad_required = false; jform_vvvvwaiwac_required = false;
} }
} }
else else
{ {
jQuery('#jform_content-lbl').closest('.control-group').hide(); jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_vvvvwaiwad_required) if (!jform_vvvvwaiwac_required)
{ {
updateFieldRequired('content',1); updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required'); jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required'); jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required'); jQuery('#jform_content').removeClass('required');
jform_vvvvwaiwad_required = true; jform_vvvvwaiwac_required = true;
} }
} }
} }
@ -286,26 +286,26 @@ function vvvvwaj(target_vvvvwaj)
if (target_vvvvwaj == 1) if (target_vvvvwaj == 1)
{ {
jQuery('#jform_groups').closest('.control-group').show(); jQuery('#jform_groups').closest('.control-group').show();
if (jform_vvvvwajwae_required) if (jform_vvvvwajwad_required)
{ {
updateFieldRequired('groups',0); updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required'); jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true); jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required'); jQuery('#jform_groups').addClass('required');
jform_vvvvwajwae_required = false; jform_vvvvwajwad_required = false;
} }
} }
else else
{ {
jQuery('#jform_groups').closest('.control-group').hide(); jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_vvvvwajwae_required) if (!jform_vvvvwajwad_required)
{ {
updateFieldRequired('groups',1); updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required'); jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required'); jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required'); jQuery('#jform_groups').removeClass('required');
jform_vvvvwajwae_required = true; jform_vvvvwajwad_required = true;
} }
} }
} }

View File

@ -23,7 +23,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvytvys_required = false; jform_vvvvvytvyr_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -39,26 +39,26 @@ function vvvvvyt(add_php_view_vvvvvyt)
if (add_php_view_vvvvvyt == 1) if (add_php_view_vvvvvyt == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvytvys_required) if (jform_vvvvvytvyr_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvytvys_required = false; jform_vvvvvytvyr_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvytvys_required) if (!jform_vvvvvytvyr_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvytvys_required = true; jform_vvvvvytvyr_required = true;
} }
} }
} }

View File

@ -23,16 +23,16 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvyivyg_required = false; jform_vvvvvyivyf_required = false;
jform_vvvvvyjvyh_required = false; jform_vvvvvyjvyg_required = false;
jform_vvvvvykvyi_required = false; jform_vvvvvykvyh_required = false;
jform_vvvvvylvyj_required = false; jform_vvvvvylvyi_required = false;
jform_vvvvvymvyk_required = false; jform_vvvvvymvyj_required = false;
jform_vvvvvynvyl_required = false; jform_vvvvvynvyk_required = false;
jform_vvvvvyovym_required = false; jform_vvvvvyovyl_required = false;
jform_vvvvvypvyn_required = false; jform_vvvvvypvym_required = false;
jform_vvvvvyqvyn_required = false;
jform_vvvvvyqvyo_required = false; jform_vvvvvyqvyo_required = false;
jform_vvvvvyqvyp_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -75,26 +75,26 @@ function vvvvvyi(add_php_view_vvvvvyi)
if (add_php_view_vvvvvyi == 1) if (add_php_view_vvvvvyi == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyivyg_required) if (jform_vvvvvyivyf_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvyivyg_required = false; jform_vvvvvyivyf_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyivyg_required) if (!jform_vvvvvyivyf_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyivyg_required = true; jform_vvvvvyivyf_required = true;
} }
} }
} }
@ -106,26 +106,26 @@ function vvvvvyj(add_php_jview_display_vvvvvyj)
if (add_php_jview_display_vvvvvyj == 1) if (add_php_jview_display_vvvvvyj == 1)
{ {
jQuery('#jform_php_jview_display').closest('.control-group').show(); jQuery('#jform_php_jview_display').closest('.control-group').show();
if (jform_vvvvvyjvyh_required) if (jform_vvvvvyjvyg_required)
{ {
updateFieldRequired('php_jview_display',0); updateFieldRequired('php_jview_display',0);
jQuery('#jform_php_jview_display').prop('required','required'); jQuery('#jform_php_jview_display').prop('required','required');
jQuery('#jform_php_jview_display').attr('aria-required',true); jQuery('#jform_php_jview_display').attr('aria-required',true);
jQuery('#jform_php_jview_display').addClass('required'); jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyjvyh_required = false; jform_vvvvvyjvyg_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview_display').closest('.control-group').hide(); jQuery('#jform_php_jview_display').closest('.control-group').hide();
if (!jform_vvvvvyjvyh_required) if (!jform_vvvvvyjvyg_required)
{ {
updateFieldRequired('php_jview_display',1); updateFieldRequired('php_jview_display',1);
jQuery('#jform_php_jview_display').removeAttr('required'); jQuery('#jform_php_jview_display').removeAttr('required');
jQuery('#jform_php_jview_display').removeAttr('aria-required'); jQuery('#jform_php_jview_display').removeAttr('aria-required');
jQuery('#jform_php_jview_display').removeClass('required'); jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyjvyh_required = true; jform_vvvvvyjvyg_required = true;
} }
} }
} }
@ -137,26 +137,26 @@ function vvvvvyk(add_php_jview_vvvvvyk)
if (add_php_jview_vvvvvyk == 1) if (add_php_jview_vvvvvyk == 1)
{ {
jQuery('#jform_php_jview').closest('.control-group').show(); jQuery('#jform_php_jview').closest('.control-group').show();
if (jform_vvvvvykvyi_required) if (jform_vvvvvykvyh_required)
{ {
updateFieldRequired('php_jview',0); updateFieldRequired('php_jview',0);
jQuery('#jform_php_jview').prop('required','required'); jQuery('#jform_php_jview').prop('required','required');
jQuery('#jform_php_jview').attr('aria-required',true); jQuery('#jform_php_jview').attr('aria-required',true);
jQuery('#jform_php_jview').addClass('required'); jQuery('#jform_php_jview').addClass('required');
jform_vvvvvykvyi_required = false; jform_vvvvvykvyh_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_jview').closest('.control-group').hide(); jQuery('#jform_php_jview').closest('.control-group').hide();
if (!jform_vvvvvykvyi_required) if (!jform_vvvvvykvyh_required)
{ {
updateFieldRequired('php_jview',1); updateFieldRequired('php_jview',1);
jQuery('#jform_php_jview').removeAttr('required'); jQuery('#jform_php_jview').removeAttr('required');
jQuery('#jform_php_jview').removeAttr('aria-required'); jQuery('#jform_php_jview').removeAttr('aria-required');
jQuery('#jform_php_jview').removeClass('required'); jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvykvyi_required = true; jform_vvvvvykvyh_required = true;
} }
} }
} }
@ -168,26 +168,26 @@ function vvvvvyl(add_php_document_vvvvvyl)
if (add_php_document_vvvvvyl == 1) if (add_php_document_vvvvvyl == 1)
{ {
jQuery('#jform_php_document').closest('.control-group').show(); jQuery('#jform_php_document').closest('.control-group').show();
if (jform_vvvvvylvyj_required) if (jform_vvvvvylvyi_required)
{ {
updateFieldRequired('php_document',0); updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required'); jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true); jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required'); jQuery('#jform_php_document').addClass('required');
jform_vvvvvylvyj_required = false; jform_vvvvvylvyi_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_document').closest('.control-group').hide(); jQuery('#jform_php_document').closest('.control-group').hide();
if (!jform_vvvvvylvyj_required) if (!jform_vvvvvylvyi_required)
{ {
updateFieldRequired('php_document',1); updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required'); jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required'); jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required'); jQuery('#jform_php_document').removeClass('required');
jform_vvvvvylvyj_required = true; jform_vvvvvylvyi_required = true;
} }
} }
} }
@ -199,26 +199,26 @@ function vvvvvym(add_css_document_vvvvvym)
if (add_css_document_vvvvvym == 1) if (add_css_document_vvvvvym == 1)
{ {
jQuery('#jform_css_document').closest('.control-group').show(); jQuery('#jform_css_document').closest('.control-group').show();
if (jform_vvvvvymvyk_required) if (jform_vvvvvymvyj_required)
{ {
updateFieldRequired('css_document',0); updateFieldRequired('css_document',0);
jQuery('#jform_css_document').prop('required','required'); jQuery('#jform_css_document').prop('required','required');
jQuery('#jform_css_document').attr('aria-required',true); jQuery('#jform_css_document').attr('aria-required',true);
jQuery('#jform_css_document').addClass('required'); jQuery('#jform_css_document').addClass('required');
jform_vvvvvymvyk_required = false; jform_vvvvvymvyj_required = false;
} }
} }
else else
{ {
jQuery('#jform_css_document').closest('.control-group').hide(); jQuery('#jform_css_document').closest('.control-group').hide();
if (!jform_vvvvvymvyk_required) if (!jform_vvvvvymvyj_required)
{ {
updateFieldRequired('css_document',1); updateFieldRequired('css_document',1);
jQuery('#jform_css_document').removeAttr('required'); jQuery('#jform_css_document').removeAttr('required');
jQuery('#jform_css_document').removeAttr('aria-required'); jQuery('#jform_css_document').removeAttr('aria-required');
jQuery('#jform_css_document').removeClass('required'); jQuery('#jform_css_document').removeClass('required');
jform_vvvvvymvyk_required = true; jform_vvvvvymvyj_required = true;
} }
} }
} }
@ -230,26 +230,26 @@ function vvvvvyn(add_js_document_vvvvvyn)
if (add_js_document_vvvvvyn == 1) if (add_js_document_vvvvvyn == 1)
{ {
jQuery('#jform_js_document').closest('.control-group').show(); jQuery('#jform_js_document').closest('.control-group').show();
if (jform_vvvvvynvyl_required) if (jform_vvvvvynvyk_required)
{ {
updateFieldRequired('js_document',0); updateFieldRequired('js_document',0);
jQuery('#jform_js_document').prop('required','required'); jQuery('#jform_js_document').prop('required','required');
jQuery('#jform_js_document').attr('aria-required',true); jQuery('#jform_js_document').attr('aria-required',true);
jQuery('#jform_js_document').addClass('required'); jQuery('#jform_js_document').addClass('required');
jform_vvvvvynvyl_required = false; jform_vvvvvynvyk_required = false;
} }
} }
else else
{ {
jQuery('#jform_js_document').closest('.control-group').hide(); jQuery('#jform_js_document').closest('.control-group').hide();
if (!jform_vvvvvynvyl_required) if (!jform_vvvvvynvyk_required)
{ {
updateFieldRequired('js_document',1); updateFieldRequired('js_document',1);
jQuery('#jform_js_document').removeAttr('required'); jQuery('#jform_js_document').removeAttr('required');
jQuery('#jform_js_document').removeAttr('aria-required'); jQuery('#jform_js_document').removeAttr('aria-required');
jQuery('#jform_js_document').removeClass('required'); jQuery('#jform_js_document').removeClass('required');
jform_vvvvvynvyl_required = true; jform_vvvvvynvyk_required = true;
} }
} }
} }
@ -261,26 +261,26 @@ function vvvvvyo(add_css_vvvvvyo)
if (add_css_vvvvvyo == 1) if (add_css_vvvvvyo == 1)
{ {
jQuery('#jform_css').closest('.control-group').show(); jQuery('#jform_css').closest('.control-group').show();
if (jform_vvvvvyovym_required) if (jform_vvvvvyovyl_required)
{ {
updateFieldRequired('css',0); updateFieldRequired('css',0);
jQuery('#jform_css').prop('required','required'); jQuery('#jform_css').prop('required','required');
jQuery('#jform_css').attr('aria-required',true); jQuery('#jform_css').attr('aria-required',true);
jQuery('#jform_css').addClass('required'); jQuery('#jform_css').addClass('required');
jform_vvvvvyovym_required = false; jform_vvvvvyovyl_required = false;
} }
} }
else else
{ {
jQuery('#jform_css').closest('.control-group').hide(); jQuery('#jform_css').closest('.control-group').hide();
if (!jform_vvvvvyovym_required) if (!jform_vvvvvyovyl_required)
{ {
updateFieldRequired('css',1); updateFieldRequired('css',1);
jQuery('#jform_css').removeAttr('required'); jQuery('#jform_css').removeAttr('required');
jQuery('#jform_css').removeAttr('aria-required'); jQuery('#jform_css').removeAttr('aria-required');
jQuery('#jform_css').removeClass('required'); jQuery('#jform_css').removeClass('required');
jform_vvvvvyovym_required = true; jform_vvvvvyovyl_required = true;
} }
} }
} }
@ -293,13 +293,13 @@ function vvvvvyp(add_php_ajax_vvvvvyp)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').show(); jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
if (jform_vvvvvypvyn_required) if (jform_vvvvvypvym_required)
{ {
updateFieldRequired('php_ajaxmethod',0); updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required'); jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true); jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required'); jQuery('#jform_php_ajaxmethod').addClass('required');
jform_vvvvvypvyn_required = false; jform_vvvvvypvym_required = false;
} }
} }
@ -307,13 +307,13 @@ function vvvvvyp(add_php_ajax_vvvvvyp)
{ {
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide(); jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
if (!jform_vvvvvypvyn_required) if (!jform_vvvvvypvym_required)
{ {
updateFieldRequired('php_ajaxmethod',1); updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required'); jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required'); jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required'); jQuery('#jform_php_ajaxmethod').removeClass('required');
jform_vvvvvypvyn_required = true; jform_vvvvvypvym_required = true;
} }
} }
} }
@ -326,23 +326,23 @@ function vvvvvyq(add_custom_button_vvvvvyq)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').show(); jQuery('#jform_custom_button-lbl').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show(); jQuery('#jform_php_controller').closest('.control-group').show();
if (jform_vvvvvyqvyo_required) if (jform_vvvvvyqvyn_required)
{ {
updateFieldRequired('php_controller',0); updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required'); jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true); jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required'); jQuery('#jform_php_controller').addClass('required');
jform_vvvvvyqvyo_required = false; jform_vvvvvyqvyn_required = false;
} }
jQuery('#jform_php_model').closest('.control-group').show(); jQuery('#jform_php_model').closest('.control-group').show();
if (jform_vvvvvyqvyp_required) if (jform_vvvvvyqvyo_required)
{ {
updateFieldRequired('php_model',0); updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required'); jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true); jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required'); jQuery('#jform_php_model').addClass('required');
jform_vvvvvyqvyp_required = false; jform_vvvvvyqvyo_required = false;
} }
} }
@ -350,22 +350,22 @@ function vvvvvyq(add_custom_button_vvvvvyq)
{ {
jQuery('#jform_custom_button-lbl').closest('.control-group').hide(); jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide(); jQuery('#jform_php_controller').closest('.control-group').hide();
if (!jform_vvvvvyqvyo_required) if (!jform_vvvvvyqvyn_required)
{ {
updateFieldRequired('php_controller',1); updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required'); jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required'); jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required'); jQuery('#jform_php_controller').removeClass('required');
jform_vvvvvyqvyo_required = true; jform_vvvvvyqvyn_required = true;
} }
jQuery('#jform_php_model').closest('.control-group').hide(); jQuery('#jform_php_model').closest('.control-group').hide();
if (!jform_vvvvvyqvyp_required) if (!jform_vvvvvyqvyo_required)
{ {
updateFieldRequired('php_model',1); updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required'); jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required'); jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required'); jQuery('#jform_php_model').removeClass('required');
jform_vvvvvyqvyp_required = true; jform_vvvvvyqvyo_required = true;
} }
} }
} }

View File

@ -23,7 +23,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/ /-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values // Some Global Values
jform_vvvvvysvyr_required = false; jform_vvvvvysvyq_required = false;
// Initial Script // Initial Script
jQuery(document).ready(function() jQuery(document).ready(function()
@ -39,26 +39,26 @@ function vvvvvys(add_php_view_vvvvvys)
if (add_php_view_vvvvvys == 1) if (add_php_view_vvvvvys == 1)
{ {
jQuery('#jform_php_view').closest('.control-group').show(); jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvysvyr_required) if (jform_vvvvvysvyq_required)
{ {
updateFieldRequired('php_view',0); updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required'); jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true); jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required'); jQuery('#jform_php_view').addClass('required');
jform_vvvvvysvyr_required = false; jform_vvvvvysvyq_required = false;
} }
} }
else else
{ {
jQuery('#jform_php_view').closest('.control-group').hide(); jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvysvyr_required) if (!jform_vvvvvysvyq_required)
{ {
updateFieldRequired('php_view',1); updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required'); jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required'); jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required'); jQuery('#jform_php_view').removeClass('required');
jform_vvvvvysvyr_required = true; jform_vvvvvysvyq_required = true;
} }
} }
} }

View File

@ -112,7 +112,7 @@ class ComponentbuilderModelFtp extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.ftp'); $item->tags->getTagIds($item->id, 'com_componentbuilder.ftp');
} }
} }
$this->sales_server_ftpupdate_server_ftp_vvwa = $item->id; $this->sales_server_ftpupdate_server_ftp_vvvz = $item->id;
return $item; return $item;
} }
@ -122,7 +122,7 @@ class ComponentbuilderModelFtp extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getVzylinked_components() public function getVzxlinked_components()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -136,15 +136,15 @@ class ComponentbuilderModelFtp extends JModelAdmin
// From the componentbuilder_joomla_component table // From the componentbuilder_joomla_component table
$query->from($db->quoteName('#__componentbuilder_joomla_component', 'a')); $query->from($db->quoteName('#__componentbuilder_joomla_component', 'a'));
// Filter by sales_server_ftpupdate_server_ftp_vvwa global. // Filter by sales_server_ftpupdate_server_ftp_vvvz global.
$sales_server_ftpupdate_server_ftp_vvwa = $this->sales_server_ftpupdate_server_ftp_vvwa; $sales_server_ftpupdate_server_ftp_vvvz = $this->sales_server_ftpupdate_server_ftp_vvvz;
if (is_numeric($sales_server_ftpupdate_server_ftp_vvwa )) if (is_numeric($sales_server_ftpupdate_server_ftp_vvvz ))
{ {
$query->where('a.sales_server_ftp = ' . (int) $sales_server_ftpupdate_server_ftp_vvwa . ' OR a.update_server_ftp = ' . (int) $sales_server_ftpupdate_server_ftp_vvwa, ' OR'); $query->where('a.sales_server_ftp = ' . (int) $sales_server_ftpupdate_server_ftp_vvvz . ' OR a.update_server_ftp = ' . (int) $sales_server_ftpupdate_server_ftp_vvvz, ' OR');
} }
elseif (is_string($sales_server_ftpupdate_server_ftp_vvwa)) elseif (is_string($sales_server_ftpupdate_server_ftp_vvvz))
{ {
$query->where('a.sales_server_ftp = ' . $db->quote($sales_server_ftpupdate_server_ftp_vvwa) . ' OR a.update_server_ftp = ' . $db->quote($sales_server_ftpupdate_server_ftp_vvwa), ' OR'); $query->where('a.sales_server_ftp = ' . $db->quote($sales_server_ftpupdate_server_ftp_vvvz) . ' OR a.update_server_ftp = ' . $db->quote($sales_server_ftpupdate_server_ftp_vvvz), ' OR');
} }
else else
{ {

View File

@ -230,7 +230,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.site_view'); $item->tags->getTagIds($item->id, 'com_componentbuilder.site_view');
} }
} }
$this->addsite_viewsvvvy = $item->id; $this->addsite_viewsvvvx = $item->id;
return $item; return $item;
} }
@ -240,7 +240,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
* *
* @return mixed An array of data items on success, false on failure. * @return mixed An array of data items on success, false on failure.
*/ */
public function getVyqlinked_components() public function getVyplinked_components()
{ {
// Get the user object. // Get the user object.
$user = JFactory::getUser(); $user = JFactory::getUser();
@ -297,15 +297,15 @@ class ComponentbuilderModelSite_view extends JModelAdmin
} }
} }
// Filter by addsite_viewsvvvy in this Repetable Field // Filter by addsite_viewsvvvx in this Repetable Field
if (ComponentbuilderHelper::checkArray($items) && isset($this->addsite_viewsvvvy)) if (ComponentbuilderHelper::checkArray($items) && isset($this->addsite_viewsvvvx))
{ {
foreach ($items as $nr => &$item) foreach ($items as $nr => &$item)
{ {
if (isset($item->addsite_views) && ComponentbuilderHelper::checkJson($item->addsite_views)) if (isset($item->addsite_views) && ComponentbuilderHelper::checkJson($item->addsite_views))
{ {
$tmpArray = json_decode($item->addsite_views,true); $tmpArray = json_decode($item->addsite_views,true);
if (!isset($tmpArray['siteview']) || !ComponentbuilderHelper::checkArray($tmpArray['siteview']) || !in_array($this->addsite_viewsvvvy, $tmpArray['siteview'])) if (!isset($tmpArray['siteview']) || !ComponentbuilderHelper::checkArray($tmpArray['siteview']) || !in_array($this->addsite_viewsvvvx, $tmpArray['siteview']))
{ {
unset($items[$nr]); unset($items[$nr]);
continue; continue;

View File

@ -222,8 +222,8 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_name_single` (`name_single`), KEY `idx_name_single` (`name_single`),
KEY `idx_name_list` (`name_list`), KEY `idx_name_list` (`name_list`),
KEY `idx_type` (`type`), KEY `idx_type` (`type`),
KEY `idx_source` (`source`),
KEY `idx_add_fadein` (`add_fadein`), KEY `idx_add_fadein` (`add_fadein`),
KEY `idx_source` (`source`),
KEY `idx_add_css_view` (`add_css_view`), KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_php_getitems` (`add_php_getitems`), KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_css_views` (`add_css_views`), KEY `idx_add_css_views` (`add_css_views`),

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage admin_view.php @subpackage admin_view.php

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage edit.php @subpackage edit.php
@ -156,18 +156,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
</div> </div>
<?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.endTab'); ?>
<?php if ($this->canDo->get('joomla_component.access')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'linked_components', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_LINKED_COMPONENTS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('admin_view.linked_components_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'custom_import', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_IMPORT', true)); ?> <?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'custom_import', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_IMPORT', true)); ?>
<div class="row-fluid form-horizontal-desktop"> <div class="row-fluid form-horizontal-desktop">
</div> </div>

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage view.html.php @subpackage view.html.php
@ -61,10 +61,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
{ {
// return to the list view that refered to this item // return to the list view that refered to this item
$this->referral = '&ref='.(string)$this->ref; $this->referral = '&ref='.(string)$this->ref;
} }
// Get Linked view data
$this->vxvlinked_components = $this->get('Vxvlinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();
@ -196,17 +193,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
$document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT')); $document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT'));
$document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_view.css"); $document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_view.css");
// Add Ajax Token // Add Ajax Token
$document->addScriptDeclaration("var token = '".JSession::getFormToken()."';"); $document->addScriptDeclaration("var token = '".JSession::getFormToken()."';");
// Add the CSS for Footable
$document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
// Add the JavaScript for Footable (adding all funtions)
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.min.js');
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
$document->addScriptDeclaration($footable);
$document->addScript(JURI::root() . $this->script); $document->addScript(JURI::root() . $this->script);
$document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_view/submitbutton.js"); $document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_view/submitbutton.js");
// add JavaScripts // add JavaScripts

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default.php @subpackage default.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_body.php @subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_head.php @subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC @version @update number 247 of this MVC
@build 29th October, 2017 @build 30th October, 2017
@created 30th April, 2015 @created 30th April, 2015
@package Component Builder @package Component Builder
@subpackage view.html.php @subpackage view.html.php

View File

@ -64,7 +64,7 @@ class ComponentbuilderViewCustom_admin_view extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vyflinked_components = $this->get('Vyflinked_components'); $this->vyelinked_components = $this->get('Vyelinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -64,7 +64,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vzxfields = $this->get('Vzxfields'); $this->vzwfields = $this->get('Vzwfields');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -64,7 +64,7 @@ class ComponentbuilderViewFtp extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vzylinked_components = $this->get('Vzylinked_components'); $this->vzxlinked_components = $this->get('Vzxlinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -64,7 +64,7 @@ class ComponentbuilderViewSite_view extends JViewLegacy
} }
// Get Linked view data // Get Linked view data
$this->vyqlinked_components = $this->get('Vyqlinked_components'); $this->vyplinked_components = $this->get('Vyplinked_components');
// Set the toolbar // Set the toolbar
$this->addToolBar(); $this->addToolBar();

View File

@ -2874,9 +2874,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view'; $admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view'; $admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "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": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","php_getitems":"php_getitems","php_batchmove":"php_batchmove","icon_add":"icon_add","php_save":"php_save","icon_category":"icon_category","icon":"icon","php_after_delete":"php_after_delete","php_getlistquery":"php_getlistquery","php_allowedit":"php_allowedit","type":"type","php_after_publish":"php_after_publish","description":"description","source":"source","add_fadein":"add_fadein","php_import":"php_import","not_required":"not_required","php_getitems_after_all":"php_getitems_after_all","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_batchcopy":"php_batchcopy","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","php_document":"php_document","sql":"sql","php_import_display":"php_import_display","php_getitem":"php_getitem","php_import_save":"php_import_save","add_css_view":"add_css_view","css_view":"css_view","add_php_getitems":"add_php_getitems","add_css_views":"add_css_views","add_php_getitems_after_all":"add_php_getitems_after_all","css_views":"css_views","add_php_getlistquery":"add_php_getlistquery","add_javascript_view_file":"add_javascript_view_file","add_php_before_save":"add_php_before_save","javascript_view_file":"javascript_view_file","add_php_save":"add_php_save","add_javascript_view_footer":"add_javascript_view_footer","add_php_postsavehook":"add_php_postsavehook","javascript_view_footer":"javascript_view_footer","add_php_allowedit":"add_php_allowedit","add_javascript_views_file":"add_javascript_views_file","add_php_batchcopy":"add_php_batchcopy","javascript_views_file":"javascript_views_file","add_php_batchmove":"add_php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","add_php_before_publish":"add_php_before_publish","javascript_views_footer":"javascript_views_footer","add_php_after_publish":"add_php_after_publish","add_custom_button":"add_custom_button","add_php_before_delete":"add_php_before_delete","add_php_after_delete":"add_php_after_delete","php_controller":"php_controller","add_php_document":"add_php_document","php_model":"php_model","add_sql":"add_sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","add_custom_import":"add_custom_import","php_ajaxmethod":"php_ajaxmethod","html_import_view":"html_import_view","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext"}}'; $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "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": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","icon":"icon","php_after_delete":"php_after_delete","icon_category":"icon_category","icon_add":"icon_add","php_save":"php_save","type":"type","php_batchmove":"php_batchmove","php_getlistquery":"php_getlistquery","description":"description","php_allowedit":"php_allowedit","add_fadein":"add_fadein","php_after_publish":"php_after_publish","source":"source","php_getitems":"php_getitems","php_import":"php_import","not_required":"not_required","php_getitems_after_all":"php_getitems_after_all","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_batchcopy":"php_batchcopy","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","php_document":"php_document","sql":"sql","php_import_display":"php_import_display","php_getitem":"php_getitem","php_import_save":"php_import_save","add_css_view":"add_css_view","css_view":"css_view","add_php_getitems":"add_php_getitems","add_css_views":"add_css_views","add_php_getitems_after_all":"add_php_getitems_after_all","css_views":"css_views","add_php_getlistquery":"add_php_getlistquery","add_javascript_view_file":"add_javascript_view_file","add_php_before_save":"add_php_before_save","javascript_view_file":"javascript_view_file","add_php_save":"add_php_save","add_javascript_view_footer":"add_javascript_view_footer","add_php_postsavehook":"add_php_postsavehook","javascript_view_footer":"javascript_view_footer","add_php_allowedit":"add_php_allowedit","add_javascript_views_file":"add_javascript_views_file","add_php_batchcopy":"add_php_batchcopy","javascript_views_file":"javascript_views_file","add_php_batchmove":"add_php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","add_php_before_publish":"add_php_before_publish","javascript_views_footer":"javascript_views_footer","add_php_after_publish":"add_php_after_publish","add_custom_button":"add_custom_button","add_php_before_delete":"add_php_before_delete","add_php_after_delete":"add_php_after_delete","php_controller":"php_controller","add_php_document":"add_php_document","php_model":"php_model","add_sql":"add_sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","add_custom_import":"add_custom_import","php_ajaxmethod":"php_ajaxmethod","html_import_view":"html_import_view","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","source","add_fadein","not_required","add_css_view","add_php_getitems","add_css_views","add_php_getitems_after_all","add_php_getlistquery","add_javascript_view_file","add_php_before_save","add_php_save","add_javascript_view_footer","add_php_postsavehook","add_php_allowedit","add_javascript_views_file","add_php_batchcopy","add_php_batchmove","add_javascript_views_footer","add_php_before_publish","add_php_after_publish","add_custom_button","add_php_before_delete","add_php_after_delete","add_php_document","add_sql","add_php_ajax","add_custom_import","add_php_getitem"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_fadein","source","not_required","add_css_view","add_php_getitems","add_css_views","add_php_getitems_after_all","add_php_getlistquery","add_javascript_view_file","add_php_before_save","add_php_save","add_javascript_view_footer","add_php_postsavehook","add_php_allowedit","add_javascript_views_file","add_php_batchcopy","add_php_batchmove","add_javascript_views_footer","add_php_before_publish","add_php_after_publish","add_custom_button","add_php_before_delete","add_php_after_delete","add_php_document","add_sql","add_php_ajax","add_custom_import","add_php_getitem"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
// Set the object into the content types table. // Set the object into the content types table.
$admin_view_Inserted = $db->insertObject('#__content_types', $admin_view); $admin_view_Inserted = $db->insertObject('#__content_types', $admin_view);
@ -3253,9 +3253,9 @@ class com_componentbuilderInstallerScript
$admin_view->type_title = 'Componentbuilder Admin_view'; $admin_view->type_title = 'Componentbuilder Admin_view';
$admin_view->type_alias = 'com_componentbuilder.admin_view'; $admin_view->type_alias = 'com_componentbuilder.admin_view';
$admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}'; $admin_view->table = '{"special": {"dbtable": "#__componentbuilder_admin_view","key": "id","type": "Admin_view","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
$admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "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": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","php_getitems":"php_getitems","php_batchmove":"php_batchmove","icon_add":"icon_add","php_save":"php_save","icon_category":"icon_category","icon":"icon","php_after_delete":"php_after_delete","php_getlistquery":"php_getlistquery","php_allowedit":"php_allowedit","type":"type","php_after_publish":"php_after_publish","description":"description","source":"source","add_fadein":"add_fadein","php_import":"php_import","not_required":"not_required","php_getitems_after_all":"php_getitems_after_all","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_batchcopy":"php_batchcopy","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","php_document":"php_document","sql":"sql","php_import_display":"php_import_display","php_getitem":"php_getitem","php_import_save":"php_import_save","add_css_view":"add_css_view","css_view":"css_view","add_php_getitems":"add_php_getitems","add_css_views":"add_css_views","add_php_getitems_after_all":"add_php_getitems_after_all","css_views":"css_views","add_php_getlistquery":"add_php_getlistquery","add_javascript_view_file":"add_javascript_view_file","add_php_before_save":"add_php_before_save","javascript_view_file":"javascript_view_file","add_php_save":"add_php_save","add_javascript_view_footer":"add_javascript_view_footer","add_php_postsavehook":"add_php_postsavehook","javascript_view_footer":"javascript_view_footer","add_php_allowedit":"add_php_allowedit","add_javascript_views_file":"add_javascript_views_file","add_php_batchcopy":"add_php_batchcopy","javascript_views_file":"javascript_views_file","add_php_batchmove":"add_php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","add_php_before_publish":"add_php_before_publish","javascript_views_footer":"javascript_views_footer","add_php_after_publish":"add_php_after_publish","add_custom_button":"add_custom_button","add_php_before_delete":"add_php_before_delete","add_php_after_delete":"add_php_after_delete","php_controller":"php_controller","add_php_document":"add_php_document","php_model":"php_model","add_sql":"add_sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","add_custom_import":"add_custom_import","php_ajaxmethod":"php_ajaxmethod","html_import_view":"html_import_view","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext"}}'; $admin_view->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "null","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "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": {"system_name":"system_name","name_single":"name_single","name_list":"name_list","short_description":"short_description","icon":"icon","php_after_delete":"php_after_delete","icon_category":"icon_category","icon_add":"icon_add","php_save":"php_save","type":"type","php_batchmove":"php_batchmove","php_getlistquery":"php_getlistquery","description":"description","php_allowedit":"php_allowedit","add_fadein":"add_fadein","php_after_publish":"php_after_publish","source":"source","php_getitems":"php_getitems","php_import":"php_import","not_required":"not_required","php_getitems_after_all":"php_getitems_after_all","php_before_save":"php_before_save","php_postsavehook":"php_postsavehook","php_batchcopy":"php_batchcopy","php_before_publish":"php_before_publish","php_before_delete":"php_before_delete","php_document":"php_document","sql":"sql","php_import_display":"php_import_display","php_getitem":"php_getitem","php_import_save":"php_import_save","add_css_view":"add_css_view","css_view":"css_view","add_php_getitems":"add_php_getitems","add_css_views":"add_css_views","add_php_getitems_after_all":"add_php_getitems_after_all","css_views":"css_views","add_php_getlistquery":"add_php_getlistquery","add_javascript_view_file":"add_javascript_view_file","add_php_before_save":"add_php_before_save","javascript_view_file":"javascript_view_file","add_php_save":"add_php_save","add_javascript_view_footer":"add_javascript_view_footer","add_php_postsavehook":"add_php_postsavehook","javascript_view_footer":"javascript_view_footer","add_php_allowedit":"add_php_allowedit","add_javascript_views_file":"add_javascript_views_file","add_php_batchcopy":"add_php_batchcopy","javascript_views_file":"javascript_views_file","add_php_batchmove":"add_php_batchmove","add_javascript_views_footer":"add_javascript_views_footer","add_php_before_publish":"add_php_before_publish","javascript_views_footer":"javascript_views_footer","add_php_after_publish":"add_php_after_publish","add_custom_button":"add_custom_button","add_php_before_delete":"add_php_before_delete","add_php_after_delete":"add_php_after_delete","php_controller":"php_controller","add_php_document":"add_php_document","php_model":"php_model","add_sql":"add_sql","php_controller_list":"php_controller_list","php_model_list":"php_model_list","add_php_ajax":"add_php_ajax","add_custom_import":"add_custom_import","php_ajaxmethod":"php_ajaxmethod","html_import_view":"html_import_view","php_import_setdata":"php_import_setdata","add_php_getitem":"add_php_getitem","php_import_ext":"php_import_ext"}}';
$admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute'; $admin_view->router = 'ComponentbuilderHelperRoute::getAdmin_viewRoute';
$admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","source","add_fadein","not_required","add_css_view","add_php_getitems","add_css_views","add_php_getitems_after_all","add_php_getlistquery","add_javascript_view_file","add_php_before_save","add_php_save","add_javascript_view_footer","add_php_postsavehook","add_php_allowedit","add_javascript_views_file","add_php_batchcopy","add_php_batchmove","add_javascript_views_footer","add_php_before_publish","add_php_after_publish","add_custom_button","add_php_before_delete","add_php_after_delete","add_php_document","add_sql","add_php_ajax","add_custom_import","add_php_getitem"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}'; $admin_view->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/admin_view.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","type","add_fadein","source","not_required","add_css_view","add_php_getitems","add_css_views","add_php_getitems_after_all","add_php_getlistquery","add_javascript_view_file","add_php_before_save","add_php_save","add_javascript_view_footer","add_php_postsavehook","add_php_allowedit","add_javascript_views_file","add_php_batchcopy","add_php_batchmove","add_javascript_views_footer","add_php_before_publish","add_php_after_publish","add_custom_button","add_php_before_delete","add_php_after_delete","add_php_document","add_sql","add_php_ajax","add_custom_import","add_php_getitem"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
// Check if admin_view type is already in content_type DB. // Check if admin_view type is already in content_type DB.
$admin_view_id = null; $admin_view_id = null;