diff --git a/README.md b/README.md
index ce15e3cd0..9735cf1d9 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.8) with **ALL** its features and **ALL** concepts totally open-source and free!
+You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.10) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@@ -144,13 +144,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 19th December, 2018
-+ *Version*: 2.9.8
++ *Last Build*: 30th January, 2019
++ *Version*: 2.9.10
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **195562**
-+ *Field count*: **1087**
-+ *File count*: **1275**
++ *Line count*: **194699**
++ *Field count*: **1089**
++ *File count*: **1277**
+ *Folder count*: **201**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
diff --git a/admin/README.txt b/admin/README.txt
index ce15e3cd0..9735cf1d9 100644
--- a/admin/README.txt
+++ b/admin/README.txt
@@ -12,7 +12,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will safe you lots of time and money. A real must have!
-You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.8) with **ALL** its features and **ALL** concepts totally open-source and free!
+You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.9.10) with **ALL** its features and **ALL** concepts totally open-source and free!
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
@@ -144,13 +144,13 @@ TODO
+ *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com)
+ *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder)
+ *First Build*: 30th April, 2015
-+ *Last Build*: 19th December, 2018
-+ *Version*: 2.9.8
++ *Last Build*: 30th January, 2019
++ *Version*: 2.9.10
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
-+ *Line count*: **195562**
-+ *Field count*: **1087**
-+ *File count*: **1275**
++ *Line count*: **194699**
++ *Field count*: **1089**
++ *File count*: **1277**
+ *Folder count*: **201**
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](http://joomlacomponentbuilder.com).
diff --git a/admin/compiler/joomla_3/Helper_email.php b/admin/compiler/joomla_3/Helper_email.php
index ea9701a30..16b52e3b1 100644
--- a/admin/compiler/joomla_3/Helper_email.php
+++ b/admin/compiler/joomla_3/Helper_email.php
@@ -19,6 +19,13 @@ defined('_JEXEC') or die('Restricted access');
*/
abstract class ###Component###Email
{
+ /**
+ * The active recipient
+ *
+ * @var activeRecipient (array)
+ */
+ public static $active = array();
+
/**
* Configuraiton object
*
@@ -54,6 +61,44 @@ abstract class ###Component###Email
return self::$config;
}
+ /**
+ * Returns the global mailer object, only creating it if it doesn't already exist.
+ *
+ */
+ public static function getMailerInstance()
+ {
+ if (!self::$mailer)
+ {
+ self::$mailer = self::createMailer();
+ }
+
+ return self::$mailer;
+ }
+
+ /**
+ * Check that a string looks like an email address.
+ * @param string $address The email address to check
+ * @param string|callable $patternselect A selector for the validation pattern to use :
+ * * `auto` Pick best pattern automatically;
+ * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14;
+ * * `pcre` Use old PCRE implementation;
+ * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL;
+ * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements.
+ * * `noregex` Don't use a regex: super fast, really dumb.
+ * Alternatively you may pass in a callable to inject your own validator, for example:
+ * PHPMailer::validateAddress('user@example.com', function($address) {
+ * return (strpos($address, '@') !== false);
+ * });
+ * You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator.
+ * @return boolean
+ * @static
+ * @access public
+ */
+ public static function validateAddress($address, $patternselect = null)
+ {
+ return self::getMailerInstance()->validateAddress($address, $patternselect);
+ }
+
/**
* Get a mailer object.
*
@@ -282,13 +327,70 @@ abstract class ###Component###Email
if (method_exists('###Component###Helper','storeMessage'))
{
- // store the massage if the method is set
- ###Component###Helper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
+ // if we have active recipient details
+ if (isset(self::$active[$recipient]))
+ {
+ // store the massage if the method is set
+ ###Component###Helper::storeMessage($sendmail, self::$active[$recipient], $subject, $body, $textonly, $mode, 'email');
+ // clear memory
+ unset(self::$active[$recipient]);
+ }
+ else
+ {
+ // store the massage if the method is set
+ ###Component###Helper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
+ }
}
return $sendmail;
}
+ /**
+ * Set html text (in a row) and subject (as title) to a email table.
+ * do not use
array('default' => 'MyISAM'),
'charset' => array('default' => 'utf8'),
- 'collate' => array('default' => 'utf8_general_ci')
+ 'collate' => array('default' => 'utf8_general_ci'),
+ 'row_format' => array('default' => '')
);
/**
@@ -3007,16 +3008,26 @@ class Get
switch ($result->main_source)
{
case 1:
+ // check if auto sync is set
+ if ($result->select_all == 1)
+ {
+ $result->view_selection = '*';
+ }
// set the view data
- $result->main_get[0]['selection'] = $this->setDataSelection($result->key, $view_code, $result->view_selection, $result->view_table_main, 'a', '', 'view');
+ $result->main_get[0]['selection'] = $this->setDataSelection($result->key, $view_code, $result->view_selection, $result->view_table_main, 'a', null, 'view');
$result->main_get[0]['as'] = 'a';
$result->main_get[0]['key'] = $result->key;
$result->main_get[0]['context'] = $context;
unset($result->view_selection);
break;
case 2:
+ // check if auto sync is set
+ if ($result->select_all == 1)
+ {
+ $result->db_selection = '*';
+ }
// set the database data
- $result->main_get[0]['selection'] = $this->setDataSelection($result->key, $view_code, $result->db_selection, $result->db_table_main, 'a', '', 'db');
+ $result->main_get[0]['selection'] = $this->setDataSelection($result->key, $view_code, $result->db_selection, $result->db_table_main, 'a', null, 'db');
$result->main_get[0]['as'] = 'a';
$result->main_get[0]['key'] = $result->key;
$result->main_get[0]['context'] = $context;
@@ -4198,21 +4209,42 @@ class Get
{
if (ComponentbuilderHelper::checkString($string))
{
- $lines = explode(PHP_EOL, $string);
+ if ('db' === $type)
+ {
+ $table = '#__' . $asset;
+ $queryName = $asset;
+ $view = '';
+ }
+ elseif ('view' === $type)
+ {
+ $view = $this->getViewTableName($asset);
+ $table = '#__' . $this->componentCodeName . '_' . $view;
+ $queryName = $view;
+ }
+ // just get all values from table if * is found
+ if ($string === '*' || strpos($string, '*') !== false)
+ {
+ if ($type == 'view')
+ {
+ $_string = ComponentbuilderHelper::getViewTableColumns($asset, $as, $row_type);
+ }
+ else
+ {
+ $_string = ComponentbuilderHelper::getDbTableColumns($asset, $as, $row_type);
+ }
+ // get only selected values
+ $lines = explode(PHP_EOL, $_string);
+ // make sure to set the string to *
+ $string = '*';
+ }
+ else
+ {
+ // get only selected values
+ $lines = explode(PHP_EOL, $string);
+ }
+ // only continue if lines are available
if (ComponentbuilderHelper::checkArray($lines))
{
- if ('db' === $type)
- {
- $table = '#__' . $asset;
- $queryName = $asset;
- $view = '';
- }
- elseif ('view' === $type)
- {
- $view = $this->getViewTableName($asset);
- $table = '#__' . $this->componentCodeName . '_' . $view;
- $queryName = $view;
- }
$gets = array();
$keys = array();
// first load all options
@@ -4271,7 +4303,16 @@ class Get
}
if (ComponentbuilderHelper::checkArray($gets) && ComponentbuilderHelper::checkArray($keys))
{
- $querySelect = '$query->select($db->quoteName(' . PHP_EOL . $this->_t(3) . 'array(' . implode(',', $gets) . '),' . PHP_EOL . $this->_t(3) . 'array(' . implode(',', $keys) . ')));';
+ // single joined selection needs the prefix to the values to avoid conflict in the names
+ // so we most still add then AS
+ if ($string == '*' && 1 != $row_type)
+ {
+ $querySelect = "\$query->select('" . $as . ".*');";
+ }
+ else
+ {
+ $querySelect = '$query->select($db->quoteName(' . PHP_EOL . $this->_t(3) . 'array(' . implode(',', $gets) . '),' . PHP_EOL . $this->_t(3) . 'array(' . implode(',', $keys) . ')));';
+ }
$queryFrom = '$db->quoteName(' . $this->db->quote($table) . ', ' . $this->db->quote($as) . ')';
// return the select query
return array('select' => $querySelect, 'from' => $queryFrom, 'name' => $queryName, 'table' => $table, 'type' => $type, 'select_gets' => $gets, 'select_keys' => $keys);
@@ -4915,7 +4956,7 @@ class Get
// when the custom code is loaded
if ($loaded === true)
{
- $string = $this->insertCustomCode($string, $debug);
+ $string = $this->insertCustomCode($bucket, $string, $debug);
}
// if debug
if ($debug)
@@ -4936,19 +4977,13 @@ class Get
* @return string on success
*
*/
- protected function insertCustomCode($string, $debug = 0)
+ protected function insertCustomCode($ids, $string, $debug = 0)
{
$code = array();
- // if debug
- if ($debug)
- {
- echo '$this->customCode:';
- var_dump($this->customCode);
- }
// load the code
- foreach ($this->customCode as $item)
+ foreach ($ids as $id)
{
- $this->buildCustomCodePlaceholders($item, $code, $debug);
+ $this->buildCustomCodePlaceholders($this->customCodeMemory[$id], $code, $debug);
}
// if debug
if ($debug)
diff --git a/admin/helpers/compiler/c_Fields.php b/admin/helpers/compiler/c_Fields.php
index c45d28f8c..34f689c2d 100644
--- a/admin/helpers/compiler/c_Fields.php
+++ b/admin/helpers/compiler/c_Fields.php
@@ -1427,18 +1427,18 @@ class Fields extends Structure
elseif ($typeName === 'subform')
{
// now add to the field set
- $field .= PHP_EOL . $this->_t(2) . "";
- $field .= PHP_EOL . $this->_t(2) . "_t(2) . $taber . "";
+ $field .= PHP_EOL . $this->_t(2) . $taber . " $value)
{
if ($property != 'fields')
{
- $field .= PHP_EOL . $this->_t(3) . $property . '="' . $value . '"';
+ $field .= PHP_EOL . $this->_t(3) . $taber . $property . '="' . $value . '"';
}
}
$field .= ">";
- $field .= PHP_EOL . $this->_t(3) . '";
- $field .= PHP_EOL . $this->_t(2) . " ";
+ $field .= PHP_EOL . $this->_t(3) . $taber . "";
+ $field .= PHP_EOL . $this->_t(2) . $taber . " ";
}
}
elseif ($setType === 'custom')
@@ -1862,6 +1880,25 @@ class Fields extends Structure
// now add to the field set
ComponentbuilderHelper::xmlAppend($form, $this->setField('plain', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
}
+ elseif ($r_typeName === 'subform')
+ {
+ // set nested depth
+ if (isset($fieldAttributes['nested_depth']))
+ {
+ $r_fieldValues['nested_depth'] = ++$fieldAttributes['nested_depth'];
+ }
+ else
+ {
+ $r_fieldValues['nested_depth'] = 1;
+ }
+ // only continue if nest is bellow 20 (this should be a safe limit)
+ if ($r_fieldValues['nested_depth'] <= 20)
+ {
+ // now add to the field set
+ ComponentbuilderHelper::xmlAppend($form, $this->setField('special', $r_fieldValues, $r_name, $r_typeName, $langView, $view_name_single, $view_name_list, $placeholders, $r_optionArray));
+ }
+
+ }
elseif (ComponentbuilderHelper::checkArray($r_fieldValues['custom']))
{
// add to custom
diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php
index 53191cb53..9ec391f36 100644
--- a/admin/helpers/compiler/e_Interpretation.php
+++ b/admin/helpers/compiler/e_Interpretation.php
@@ -614,7 +614,7 @@ class Interpretation extends Fields
}
// give notice of this issue
$this->app->enqueueMessage(JText::_('WHMCS Error '), 'Error');
- $this->app->enqueueMessage(JText::sprintf('The WHMCS class could not be added to this component. You will need to enable the add-on in the Joomla Component area (Add WHMCS)->Yes.', $this->libraries[$id]->name), 'Error');
+ $this->app->enqueueMessage(JText::sprintf('The WHMCS class could not be added to this component. You will need to enable the add-on in the Joomla Component area (Add WHMCS)->Yes. If you have done this, then please check that you have your own Basic Encryption set in the global settings of JCB. Then open and save this component again, making sure that your WHMCS settings are still correct.', $this->libraries[$id]->name), 'Error');
return "//" . $this->setLine(__LINE__) . " The WHMCS class could not be added to this component." . PHP_EOL . "//" . $this->setLine(__LINE__) . " Please note that you will need to enable the add-on in the Joomla Component area (Add WHMCS)->Yes.";
}
@@ -5270,8 +5270,10 @@ class Interpretation extends Fields
$routeHelper[] = $this->_t(2) . "else";
$routeHelper[] = $this->_t(2) . "{";
$routeHelper[] = $this->_t(3) . "//" . $this->setLine(__LINE__) . " Initialize the needel array.";
- $routeHelper[] = $this->_t(3) . "\$needles = array();";
- $routeHelper[] = $this->_t(3) . "//" . $this->setLine(__LINE__) . "Create the link but don't add the id.";
+ $routeHelper[] = $this->_t(3) . "\$needles = array(";
+ $routeHelper[] = $this->_t(4) . "'" . $viewName_single . "' => array()";
+ $routeHelper[] = $this->_t(3) . ");";
+ $routeHelper[] = $this->_t(3) . "//" . $this->setLine(__LINE__) . " Create the link but don't add the id.";
$routeHelper[] = $this->_t(3) . "\$link = 'index.php?option=com_" . $this->fileContentStatic[$this->hhh . 'component' . $this->hhh] . "&view=" . $viewName_single . "';";
$routeHelper[] = $this->_t(2) . "}";
if ('category' != $viewName_single && 'categories' != $viewName_single)
@@ -6358,7 +6360,13 @@ class Interpretation extends Fields
$easy[$_mysqlTableKey] = $this->mysqlTableKeys[$_mysqlTableKey]['default'];
}
}
- $db_ .= PHP_EOL . ") ENGINE=" . $easy['engine'] . " AUTO_INCREMENT=0 DEFAULT CHARSET=" . $easy['charset'] . " DEFAULT COLLATE=" . $easy['collate'] . ";";
+ // add a little fix for the row_format
+ if (ComponentbuilderHelper::checkString($easy['row_format']))
+ {
+ $easy['row_format'] = ' ROW_FORMAT=' . $easy['row_format'];
+ }
+ // now build db string
+ $db_ .= PHP_EOL . ") ENGINE=" . $easy['engine'] . " AUTO_INCREMENT=0 DEFAULT CHARSET=" . $easy['charset'] . " DEFAULT COLLATE=" . $easy['collate'] . $easy['row_format'] . ";";
// check if this is a new table that should be added via update SQL
if (isset($this->addSQL['adminview']) && ComponentbuilderHelper::checkArray($this->addSQL['adminview']) && in_array($view, $this->addSQL['adminview']))
@@ -6366,6 +6374,12 @@ class Interpretation extends Fields
// build the update array
$this->updateSQLBuilder["CREATETABLEIFNOTEXISTS`#__" . $component . "_" . $view . "`"] = $db_;
}
+ // check if the table row_format has changed
+ if (ComponentbuilderHelper::checkString($easy['row_format']) && isset($this->updateSQL['table_row_format']) && isset($this->updateSQL['table_row_format'][$view]))
+ {
+ // build the update array
+ $this->updateSQLBuilder["ALTERTABLE`#__" . $component . "_" . $view . "`" . trim($easy['row_format'])] = "ALTER TABLE `#__" . $component . "_" . $view . "`" . $easy['row_format'] . ";";
+ }
// check if the table engine has changed
if (isset($this->updateSQL['table_engine']) && isset($this->updateSQL['table_engine'][$view]))
{
@@ -7110,7 +7124,7 @@ class Interpretation extends Fields
$referal = '';
if (!$ref)
{
- $ref = '&ref=' . $viewName_list;
+ $ref = '&return=return_here; ?>';
}
// in linked tab/view so must add ref to default
else
diff --git a/admin/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php
index 06ada1302..7421ad656 100644
--- a/admin/helpers/componentbuilder.php
+++ b/admin/helpers/componentbuilder.php
@@ -1011,6 +1011,174 @@ abstract class ComponentbuilderHelper
return ' '.JText::_('COM_COMPONENTBUILDER_NO_COMPONENT_DETAILS_FOUND_SO_IT_IS_NOT_SAFE_TO_CONTINUE').'
';
}
+ /**
+ * get the database table columns
+ **/
+ public static function getDbTableColumns($tableName, $as, $type)
+ {
+ // Get a db connection.
+ $db = JFactory::getDbo();
+ // get the columns
+ $columns = $db->getTableColumns("#__" . $tableName);
+ // set the type (multi or single)
+ $unique = '';
+ if (1 == $type)
+ {
+ $unique = self::safeString($tableName) . '_';
+ }
+ if (self::checkArray($columns))
+ {
+ // build the return string
+ $tableColumns = array();
+ foreach ($columns as $column => $typeCast)
+ {
+ $tableColumns[] = $as . "." . $column . ' AS ' . $unique . $column;
+ }
+ return implode("\n", $tableColumns);
+ }
+ return false;
+ }
+
+ /**
+ * get the view table columns
+ **/
+ public static function getViewTableColumns($admin_view, $as, $type)
+ {
+ // Get a db connection.
+ $db = JFactory::getDbo();
+
+ // Create a new query object.
+ $query = $db->getQuery(true);
+ $query->select($db->quoteName(array('a.addfields', 'b.name_single')));
+ $query->from($db->quoteName('#__componentbuilder_admin_fields', 'a'));
+ $query->join('LEFT', $db->quoteName('#__componentbuilder_admin_view', 'b') . ' ON (' . $db->quoteName('a.admin_view') . ' = ' . $db->quoteName('b.id') . ')');
+ $query->where($db->quoteName('b.published') . ' = 1');
+ $query->where($db->quoteName('a.admin_view') . ' = ' . (int) $admin_view);
+
+ // Reset the query using our newly populated query object.
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ $result = $db->loadObject();
+ $tableName = '';
+ if (1 == $type)
+ {
+ $tableName = self::safeString($result->name_single) . '_';
+ }
+ $addfields = json_decode($result->addfields, true);
+ if (self::checkArray($addfields))
+ {
+ // reset all buckets
+ $field = array();
+ $fields = array();
+ // get data
+ foreach ($addfields as $nr => $value)
+ {
+ $tmp = self::getFieldNameAndType((int) $value['field']);
+ if (self::checkArray($tmp))
+ {
+ $field[$nr] = $tmp;
+ }
+ // insure it is set to alias if needed
+ if (isset($value['alias']) && $value['alias'] == 1)
+ {
+ $field[$nr]['name'] = 'alias';
+ }
+ // remove a field that is not being stored in the database
+ if (!isset($value['list']) || $value['list'] == 2)
+ {
+ unset($field[$nr]);
+ }
+ }
+ // add the basic defaults
+ $fields[] = $as . ".id AS " . $tableName . "id";
+ $fields[] = $as . ".asset_id AS " . $tableName . "asset_id";
+ // load data
+ foreach ($field as $n => $f)
+ {
+ if (self::checkArray($f))
+ {
+ $fields[] = $as . "." . $f['name'] . " AS " . $tableName . $f['name'];
+ }
+ }
+ // add the basic defaults
+ $fields[] = $as . ".published AS " . $tableName . "published";
+ $fields[] = $as . ".created_by AS " . $tableName . "created_by";
+ $fields[] = $as . ".modified_by AS " . $tableName . "modified_by";
+ $fields[] = $as . ".created AS " . $tableName . "created";
+ $fields[] = $as . ".modified AS " . $tableName . "modified";
+ $fields[] = $as . ".version AS " . $tableName . "version";
+ $fields[] = $as . ".hits AS " . $tableName . "hits";
+ if (0) // TODO access is not set here but per/view in the form linking this admin view to which these field belong to the components (boooo I know but that is the case and so we can't ever really know at this point if this view has access set)
+ {
+ $fields[] = $as . ".access AS " . $tableName . "access";
+ }
+ $fields[] = $as . ".ordering AS " . $tableName . "ordering";
+ // return the field of this view
+ return implode("\n", $fields);
+ }
+ }
+ return false;
+ }
+
+ protected static function getFieldNameAndType($id)
+ {
+ // Get a db connection.
+ $db = JFactory::getDbo();
+
+ // Create a new query object.
+ $query = $db->getQuery(true);
+
+ // Order it by the ordering field.
+ $query->select($db->quoteName(array('a.name', 'a.xml')));
+ $query->select($db->quoteName(array('c.name'), array('type_name')));
+ $query->from('#__componentbuilder_field AS a');
+ $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'c') . ' ON (' . $db->quoteName('a.fieldtype') . ' = ' . $db->quoteName('c.id') . ')');
+ $query->where($db->quoteName('a.id') . ' = '. $db->quote($id));
+
+ // Reset the query using our newly populated query object.
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ // Load the results as a list of stdClass objects (see later for more options on retrieving data).
+ $field = $db->loadObject();
+ // load the values form params
+ $field->xml = json_decode($field->xml);
+ $field->type_name = self::safeString($field->type_name);
+ $load = true;
+ // if category then name must be catid (only one per view)
+ if ($field->type_name == 'category')
+ {
+ $name = 'catid';
+ }
+ // if tag is set then enable all tag options for this view (only one per view)
+ elseif ($field->type_name == 'tag')
+ {
+ $name = 'tags';
+ }
+ // don't add spacers or notes
+ elseif ($field->type_name == 'spacer' || $field->type_name == 'note')
+ {
+ // make sure the name is unique
+ return false;
+ }
+ else
+ {
+ $name = self::safeString(self::getBetween($field->xml,'name="','"'));
+ }
+
+ // use field core name only if not found in xml
+ if (!self::checkString($name))
+ {
+ $name = self::safeString($field->name);;
+ }
+ return array('name' => $name, 'type' => $field->type_name);
+ }
+ return false;
+ }
+
/**
* The array of dynamic content
*
@@ -1354,9 +1522,15 @@ abstract class ComponentbuilderHelper
{
$it = new RecursiveDirectoryIterator($dir);
$it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST);
+ // remove ending /
+ $dir = rtrim($dir, '/');
+ // now loop the files & folders
foreach ($it as $file)
{
if ('.' === $file->getBasename() || '..' === $file->getBasename()) continue;
+ // set file dir
+ $file_dir = $file->getPathname();
+ // check if this is a dir or a file
if ($file->isDir())
{
$keeper = false;
@@ -1364,7 +1538,7 @@ abstract class ComponentbuilderHelper
{
foreach ($ignore as $keep)
{
- if (strpos($file->getPathname(), $dir.'/'.$keep) !== false)
+ if (strpos($file_dir, $dir.'/'.$keep) !== false)
{
$keeper = true;
}
@@ -1374,7 +1548,7 @@ abstract class ComponentbuilderHelper
{
continue;
}
- JFolder::delete($file->getPathname());
+ JFolder::delete($file_dir);
}
else
{
@@ -1383,7 +1557,7 @@ abstract class ComponentbuilderHelper
{
foreach ($ignore as $keep)
{
- if (strpos($file->getPathname(), $dir.'/'.$keep) !== false)
+ if (strpos($file_dir, $dir.'/'.$keep) !== false)
{
$keeper = true;
}
@@ -1393,9 +1567,10 @@ abstract class ComponentbuilderHelper
{
continue;
}
- JFile::delete($file->getPathname());
+ JFile::delete($file_dir);
}
}
+ // delete the root folder if not ignore found
if (!self::checkArray($ignore))
{
return JFolder::delete($dir);
@@ -2356,11 +2531,12 @@ abstract class ComponentbuilderHelper
*
* @param string $data The base64 string
* @param string $key We store the string with that suffix :)
+ * @param string $default The default switch
*
* @return string The opened string
*
*/
- public static function openValidBase64($data, $key = '__.o0=base64=Oo.__')
+ public static function openValidBase64($data, $key = '__.o0=base64=Oo.__', $default = 'string')
{
// check that we have a string
if (self::checkString($data))
@@ -2379,7 +2555,12 @@ abstract class ComponentbuilderHelper
return base64_decode($data);
}
}
- return $data;
+ // check if we should just return the string
+ if ('string' === $default)
+ {
+ return $data;
+ }
+ return $default;
}
@@ -3882,8 +4063,13 @@ abstract class ComponentbuilderHelper
* @return string On success the edit url
*
*/
- public static function getEditURL(&$item, $view, $views, $ref = '', $component = 'com_componentbuilder', $jRoute = true)
+ public static function getEditURL(&$item, $view, $views, $ref = '', $component = 'com_componentbuilder', $jRoute = true)
{
+ // make sure the user has access to view
+ if (!JFactory::getUser()->authorise($view. '.access', $component))
+ {
+ return false;
+ }
// build record
$record = new stdClass();
// check that we have the ID
diff --git a/admin/helpers/componentbuilderemail.php b/admin/helpers/componentbuilderemail.php
index 5d0a3d525..84ff67380 100644
--- a/admin/helpers/componentbuilderemail.php
+++ b/admin/helpers/componentbuilderemail.php
@@ -14,6 +14,13 @@
*/
abstract class ComponentbuilderEmail
{
+ /**
+ * The active recipient
+ *
+ * @var activeRecipient (array)
+ */
+ public static $active = array();
+
/**
* Configuraiton object
*
@@ -49,6 +56,44 @@ abstract class ComponentbuilderEmail
return self::$config;
}
+ /**
+ * Returns the global mailer object, only creating it if it doesn't already exist.
+ *
+ */
+ public static function getMailerInstance()
+ {
+ if (!self::$mailer)
+ {
+ self::$mailer = self::createMailer();
+ }
+
+ return self::$mailer;
+ }
+
+ /**
+ * Check that a string looks like an email address.
+ * @param string $address The email address to check
+ * @param string|callable $patternselect A selector for the validation pattern to use :
+ * * `auto` Pick best pattern automatically;
+ * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0, PHP >= 5.3.2, 5.2.14;
+ * * `pcre` Use old PCRE implementation;
+ * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL;
+ * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements.
+ * * `noregex` Don't use a regex: super fast, really dumb.
+ * Alternatively you may pass in a callable to inject your own validator, for example:
+ * PHPMailer::validateAddress('user@example.com', function($address) {
+ * return (strpos($address, '@') !== false);
+ * });
+ * You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator.
+ * @return boolean
+ * @static
+ * @access public
+ */
+ public static function validateAddress($address, $patternselect = null)
+ {
+ return self::getMailerInstance()->validateAddress($address, $patternselect);
+ }
+
/**
* Get a mailer object.
*
@@ -277,13 +322,70 @@ abstract class ComponentbuilderEmail
if (method_exists('ComponentbuilderHelper','storeMessage'))
{
- // store the massage if the method is set
- ComponentbuilderHelper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
+ // if we have active recipient details
+ if (isset(self::$active[$recipient]))
+ {
+ // store the massage if the method is set
+ ComponentbuilderHelper::storeMessage($sendmail, self::$active[$recipient], $subject, $body, $textonly, $mode, 'email');
+ // clear memory
+ unset(self::$active[$recipient]);
+ }
+ else
+ {
+ // store the massage if the method is set
+ ComponentbuilderHelper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
+ }
}
return $sendmail;
}
+ /**
+ * Set html text (in a row) and subject (as title) to a email table.
+ * do not use instead use
+ * in your html that you pass to this method
+ * since it is a table row it does not
+ * work well with paragraphs
+ *
+ * @return string on success
+ *
+ */
+ public static function setBasicBody($html, $subject)
+ {
+ $body = array();
+ $body[] = "";
+ $body[] = "";
+ $body[] = "
";
+ $body[] = " ";
+ $body[] = " ";
+ $body[] = "" . $subject . " ";
+ $body[] = "";
+ $body[] = "";
+ $body[] = "";
+ $body[] = "";
+ $body[] = $html;
+ $body[] = "";
+ $body[] = "";
+
+ return implode("\n", $body);
+ }
+
/**
* Set html text (in a row) and subject (as title) to a email table.
* do not use instead use
diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini
index c469e0302..9dd6c7536 100644
--- a/admin/language/en-GB/en-GB.com_componentbuilder.ini
+++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini
@@ -543,7 +543,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE="Alias Builder Type"
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_DESCRIPTION="How should the alias be build for this view"
COM_COMPONENTBUILDER_ADMIN_VIEW_ALIAS_BUILDER_TYPE_LABEL="Alias Builder Type"
COM_COMPONENTBUILDER_ADMIN_VIEW_ALNUM="ALNUM"
-COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE="ARCHIVE"
+COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE="Archive"
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_ARMSCIIEIGHT_ARMENIAN_MOST_SUITABLE_COLLATION_ARMSCIIEIGHT_GENERAL_CI="armscii8 - ARMSCII-8 Armenian (most suitable collation = armscii8_general_ci)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_BIN_CHARSET_ARMSCIIEIGHT="armscii8_bin (charset = armscii8)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_GENERAL_CI_CHARSET_ARMSCIIEIGHT="armscii8_general_ci (charset = armscii8)"
@@ -610,7 +610,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_COG="Cog"
COM_COMPONENTBUILDER_ADMIN_VIEW_COGS="Cogs"
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENT="Comment"
COM_COMPONENTBUILDER_ADMIN_VIEW_COMMENTS_TWO="Comments 2"
+COM_COMPONENTBUILDER_ADMIN_VIEW_COMPACT="COMPACT"
COM_COMPONENTBUILDER_ADMIN_VIEW_COMPASS="Compass"
+COM_COMPONENTBUILDER_ADMIN_VIEW_COMPRESSED="COMPRESSED"
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT="Contract"
COM_COMPONENTBUILDER_ADMIN_VIEW_CONTRACT_TWO="Contract 2"
COM_COMPONENTBUILDER_ADMIN_VIEW_CORECREATE="core.create"
@@ -685,6 +687,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_DESCRIPTION_LABEL="Description"
COM_COMPONENTBUILDER_ADMIN_VIEW_DETAILS="Details"
COM_COMPONENTBUILDER_ADMIN_VIEW_DOWNLOAD="Download"
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP="Dump"
+COM_COMPONENTBUILDER_ADMIN_VIEW_DYNAMIC="DYNAMIC"
COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT="Editing the Admin View"
COM_COMPONENTBUILDER_ADMIN_VIEW_ENTER="Enter"
COM_COMPONENTBUILDER_ADMIN_VIEW_ENVELOPE="Envelope"
@@ -890,6 +893,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_COLLATE_LABEL="mySql Table Collation
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE="Mysql Table Engine"
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_DESCRIPTION="Select the mySql Table Engine you would like to use for this admin view's table."
COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ENGINE_LABEL="mySql Table Engines"
+COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT="Mysql Table Row Format"
+COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_DESCRIPTION="The row format of a table determines how its rows are physically stored, which in turn can affect the performance of queries and DML operations."
+COM_COMPONENTBUILDER_ADMIN_VIEW_MYSQL_TABLE_ROW_FORMAT_LABEL="mySql Table Row Format"
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_DESCRIPTION="Enter Name Here"
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_HINT="Name Here"
COM_COMPONENTBUILDER_ADMIN_VIEW_NAME_LABEL="Name"
@@ -1074,6 +1080,7 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_RADIO_UNCHECKED="Radio Unchecked"
COM_COMPONENTBUILDER_ADMIN_VIEW_RAW="RAW"
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY="readonly"
COM_COMPONENTBUILDER_ADMIN_VIEW_READWRITE="read/write"
+COM_COMPONENTBUILDER_ADMIN_VIEW_REDUNDANT="REDUNDANT"
COM_COMPONENTBUILDER_ADMIN_VIEW_REMOVE="Remove"
COM_COMPONENTBUILDER_ADMIN_VIEW_REPLY="Reply"
COM_COMPONENTBUILDER_ADMIN_VIEW_RUN_EXPANSION_BUTTON_ACCESS="Admin View Run Expansion Button Access"
@@ -3703,7 +3710,7 @@ COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION="
-
+
@@ -4066,6 +4073,9 @@ COM_COMPONENTBUILDER_DYNAMIC_GET_SAVE_WARNING="Alias already existed so a number
COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_DESCRIPTION="Fields to be selected from table."
COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_HINT="b.field AS field"
COM_COMPONENTBUILDER_DYNAMIC_GET_SELECTION_LABEL="Selection"
+COM_COMPONENTBUILDER_DYNAMIC_GET_SELECT_ALL="Select All"
+COM_COMPONENTBUILDER_DYNAMIC_GET_SELECT_ALL_DESCRIPTION="Should all the fields be selected, even those newly added at a later stage."
+COM_COMPONENTBUILDER_DYNAMIC_GET_SELECT_ALL_LABEL="Select All"
COM_COMPONENTBUILDER_DYNAMIC_GET_SINGLE="Single"
COM_COMPONENTBUILDER_DYNAMIC_GET_SS="ss"
COM_COMPONENTBUILDER_DYNAMIC_GET_STATE="State"
@@ -4324,6 +4334,7 @@ COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (vie
COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR="base64"
COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY="Basic Encryption (local-DB-key)"
COM_COMPONENTBUILDER_FIELD_BIGINT="BIGINT"
+COM_COMPONENTBUILDER_FIELD_BLOB="BLOB"
COM_COMPONENTBUILDER_FIELD_BSB_NOT_FOUND_IN_LOCAL_DATABASE_TABLE_S_SO_IMPORTED_OF_ITS_VALUES_FAILED_PLEASE_UPDATE_YOUR_JCB_INSTALL_AND_TRY_AGAIN="Field %s not found in local database table (%s) so imported of its values failed, please update your JCB install and try again."
COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION="select one of the following categories"
COM_COMPONENTBUILDER_FIELD_CATID_LABEL="Category"
@@ -4386,7 +4397,9 @@ COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add JavaScript fo
COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript (edit view footer)"
COM_COMPONENTBUILDER_FIELD_JSON="JSON"
COM_COMPONENTBUILDER_FIELD_KEY="KEY"
+COM_COMPONENTBUILDER_FIELD_LONGBLOB="LONGBLOB"
COM_COMPONENTBUILDER_FIELD_LONGTEXT="LONGTEXT"
+COM_COMPONENTBUILDER_FIELD_MEDIUMBLOB="MEDIUMBLOB"
COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT="MEDIUMTEXT"
COM_COMPONENTBUILDER_FIELD_MEDIUM_ENCRYPTION_LOCALFILEKEY="Medium Encryption (local-file-key)"
COM_COMPONENTBUILDER_FIELD_MODIFIED_BY_DESC="The last user that modified this Field."
@@ -4526,6 +4539,7 @@ COM_COMPONENTBUILDER_FIELD_STORE_LABEL="Store Method"
COM_COMPONENTBUILDER_FIELD_TEN="10"
COM_COMPONENTBUILDER_FIELD_TEXT="TEXT"
COM_COMPONENTBUILDER_FIELD_TIME="TIME"
+COM_COMPONENTBUILDER_FIELD_TINYBLOB="TINYBLOB"
COM_COMPONENTBUILDER_FIELD_TINYINT="TINYINT"
COM_COMPONENTBUILDER_FIELD_TWO_HUNDRED_AND_FIFTY_FIVE="255"
COM_COMPONENTBUILDER_FIELD_TWO_THOUSAND_AND_FORTY_EIGHT="2048"
diff --git a/admin/layouts/admin_custom_tabs/publishing.php b/admin/layouts/admin_custom_tabs/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/admin_custom_tabs/publishing.php
+++ b/admin/layouts/admin_custom_tabs/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_custom_tabs/publlshing.php b/admin/layouts/admin_custom_tabs/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/admin_custom_tabs/publlshing.php
+++ b/admin/layouts/admin_custom_tabs/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_custom_tabs/tabs_above.php b/admin/layouts/admin_custom_tabs/tabs_above.php
index fbbf44543..f4e6c0504 100644
--- a/admin/layouts/admin_custom_tabs/tabs_above.php
+++ b/admin/layouts/admin_custom_tabs/tabs_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'admin_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_custom_tabs/tabs_fullwidth.php b/admin/layouts/admin_custom_tabs/tabs_fullwidth.php
index 46a16983d..4f3464386 100644
--- a/admin/layouts/admin_custom_tabs/tabs_fullwidth.php
+++ b/admin/layouts/admin_custom_tabs/tabs_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'tabs'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields/fields_above.php b/admin/layouts/admin_fields/fields_above.php
index fbbf44543..f4e6c0504 100644
--- a/admin/layouts/admin_fields/fields_above.php
+++ b/admin/layouts/admin_fields/fields_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'admin_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields/fields_fullwidth.php b/admin/layouts/admin_fields/fields_fullwidth.php
index 64d278138..398fdcb99 100644
--- a/admin/layouts/admin_fields/fields_fullwidth.php
+++ b/admin/layouts/admin_fields/fields_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addfields'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields/publishing.php b/admin/layouts/admin_fields/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/admin_fields/publishing.php
+++ b/admin/layouts/admin_fields/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields/publlshing.php b/admin/layouts/admin_fields/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/admin_fields/publlshing.php
+++ b/admin/layouts/admin_fields/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields_conditions/conditions_above.php b/admin/layouts/admin_fields_conditions/conditions_above.php
index fbbf44543..f4e6c0504 100644
--- a/admin/layouts/admin_fields_conditions/conditions_above.php
+++ b/admin/layouts/admin_fields_conditions/conditions_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'admin_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields_conditions/conditions_fullwidth.php b/admin/layouts/admin_fields_conditions/conditions_fullwidth.php
index 03724354a..1fdde5ad1 100644
--- a/admin/layouts/admin_fields_conditions/conditions_fullwidth.php
+++ b/admin/layouts/admin_fields_conditions/conditions_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addconditions'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields_conditions/publishing.php b/admin/layouts/admin_fields_conditions/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/admin_fields_conditions/publishing.php
+++ b/admin/layouts/admin_fields_conditions/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields_conditions/publlshing.php b/admin/layouts/admin_fields_conditions/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/admin_fields_conditions/publlshing.php
+++ b/admin/layouts/admin_fields_conditions/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields_relations/publishing.php b/admin/layouts/admin_fields_relations/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/admin_fields_relations/publishing.php
+++ b/admin/layouts/admin_fields_relations/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields_relations/publlshing.php b/admin/layouts/admin_fields_relations/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/admin_fields_relations/publlshing.php
+++ b/admin/layouts/admin_fields_relations/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_fields_relations/relations_above.php b/admin/layouts/admin_fields_relations/relations_above.php
index fbbf44543..f4e6c0504 100644
--- a/admin/layouts/admin_fields_relations/relations_above.php
+++ b/admin/layouts/admin_fields_relations/relations_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'admin_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_fields_relations/relations_fullwidth.php b/admin/layouts/admin_fields_relations/relations_fullwidth.php
index 9f094fcf9..5a288a738 100644
--- a/admin/layouts/admin_fields_relations/relations_fullwidth.php
+++ b/admin/layouts/admin_fields_relations/relations_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addrelations'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/css_fullwidth.php b/admin/layouts/admin_view/css_fullwidth.php
index aef643a25..ddea836f1 100644
--- a/admin/layouts/admin_view/css_fullwidth.php
+++ b/admin/layouts/admin_view/css_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'css_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/custom_buttons_fullwidth.php b/admin/layouts/admin_view/custom_buttons_fullwidth.php
index 48d680c7c..19e0e1848 100644
--- a/admin/layouts/admin_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/admin_view/custom_buttons_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'php_model_list'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/custom_buttons_left.php b/admin/layouts/admin_view/custom_buttons_left.php
index 9a5328805..a14229d57 100644
--- a/admin/layouts/admin_view/custom_buttons_left.php
+++ b/admin/layouts/admin_view/custom_buttons_left.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/custom_import_fullwidth.php b/admin/layouts/admin_view/custom_import_fullwidth.php
index d8b9b6901..51084a105 100644
--- a/admin/layouts/admin_view/custom_import_fullwidth.php
+++ b/admin/layouts/admin_view/custom_import_fullwidth.php
@@ -27,16 +27,14 @@ $fields = $displayData->get('fields') ?: array(
'php_import_ext'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/details_above.php b/admin/layouts/admin_view/details_above.php
index 674a8e6b1..eb96431d9 100644
--- a/admin/layouts/admin_view/details_above.php
+++ b/admin/layouts/admin_view/details_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'system_name'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/details_fullwidth.php b/admin/layouts/admin_view/details_fullwidth.php
index ee8b7fe33..7cb5eea6e 100644
--- a/admin/layouts/admin_view/details_fullwidth.php
+++ b/admin/layouts/admin_view/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_linked_to_notice'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/details_left.php b/admin/layouts/admin_view/details_left.php
index 2abf54dec..60410677c 100644
--- a/admin/layouts/admin_view/details_left.php
+++ b/admin/layouts/admin_view/details_left.php
@@ -25,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/details_right.php b/admin/layouts/admin_view/details_right.php
index 39b65203e..60d320236 100644
--- a/admin/layouts/admin_view/details_right.php
+++ b/admin/layouts/admin_view/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/details_under.php b/admin/layouts/admin_view/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/admin_view/details_under.php
+++ b/admin/layouts/admin_view/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php
index 8893a80cc..a98603dae 100644
--- a/admin/layouts/admin_view/fields_fullwidth.php
+++ b/admin/layouts/admin_view/fields_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_create_edit_display'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/fields_left.php b/admin/layouts/admin_view/fields_left.php
index 757364bc1..2750eebab 100644
--- a/admin/layouts/admin_view/fields_left.php
+++ b/admin/layouts/admin_view/fields_left.php
@@ -24,20 +24,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/fields_right.php b/admin/layouts/admin_view/fields_right.php
index 401ead4c5..719857277 100644
--- a/admin/layouts/admin_view/fields_right.php
+++ b/admin/layouts/admin_view/fields_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/javascript_fullwidth.php b/admin/layouts/admin_view/javascript_fullwidth.php
index e0d523c02..2a9156ae6 100644
--- a/admin/layouts/admin_view/javascript_fullwidth.php
+++ b/admin/layouts/admin_view/javascript_fullwidth.php
@@ -25,16 +25,14 @@ $fields = $displayData->get('fields') ?: array(
'javascript_views_footer'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/mysql_fullwidth.php b/admin/layouts/admin_view/mysql_fullwidth.php
index 58abb1b85..d7279881e 100644
--- a/admin/layouts/admin_view/mysql_fullwidth.php
+++ b/admin/layouts/admin_view/mysql_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'sql'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/mysql_left.php b/admin/layouts/admin_view/mysql_left.php
index b722cef9a..1605a8cf4 100644
--- a/admin/layouts/admin_view/mysql_left.php
+++ b/admin/layouts/admin_view/mysql_left.php
@@ -18,6 +18,7 @@ $fields = $displayData->get('fields') ?: array(
'mysql_table_engine',
'mysql_table_charset',
'mysql_table_collate',
+ 'mysql_table_row_format',
'add_sql',
'source',
'addtables'
@@ -25,20 +26,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php
index 8e7e3809c..76b9368ed 100644
--- a/admin/layouts/admin_view/php_fullwidth.php
+++ b/admin/layouts/admin_view/php_fullwidth.php
@@ -54,16 +54,14 @@ $fields = $displayData->get('fields') ?: array(
'php_document'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/admin_view/publishing.php b/admin/layouts/admin_view/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/admin_view/publishing.php
+++ b/admin/layouts/admin_view/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/publlshing.php b/admin/layouts/admin_view/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/admin_view/publlshing.php
+++ b/admin/layouts/admin_view/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/admin_view/settings_fullwidth.php b/admin/layouts/admin_view/settings_fullwidth.php
index 72bafba04..4c648f119 100644
--- a/admin/layouts/admin_view/settings_fullwidth.php
+++ b/admin/layouts/admin_view/settings_fullwidth.php
@@ -24,16 +24,14 @@ $fields = $displayData->get('fields') ?: array(
'addlinked_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_admin_views/publishing.php b/admin/layouts/component_admin_views/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_admin_views/publishing.php
+++ b/admin/layouts/component_admin_views/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_admin_views/publlshing.php b/admin/layouts/component_admin_views/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_admin_views/publlshing.php
+++ b/admin/layouts/component_admin_views/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_admin_views/views_above.php b/admin/layouts/component_admin_views/views_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_admin_views/views_above.php
+++ b/admin/layouts/component_admin_views/views_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_admin_views/views_fullwidth.php b/admin/layouts/component_admin_views/views_fullwidth.php
index 2c06f8581..646539b0a 100644
--- a/admin/layouts/component_admin_views/views_fullwidth.php
+++ b/admin/layouts/component_admin_views/views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addadmin_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_config/publishing.php b/admin/layouts/component_config/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_config/publishing.php
+++ b/admin/layouts/component_config/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_config/publlshing.php b/admin/layouts/component_config/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_config/publlshing.php
+++ b/admin/layouts/component_config/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_config/tweaks_above.php b/admin/layouts/component_config/tweaks_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_config/tweaks_above.php
+++ b/admin/layouts/component_config/tweaks_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_config/tweaks_fullwidth.php b/admin/layouts/component_config/tweaks_fullwidth.php
index b96b69b35..c720f0f06 100644
--- a/admin/layouts/component_config/tweaks_fullwidth.php
+++ b/admin/layouts/component_config/tweaks_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'addconfig'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_custom_admin_menus/publishing.php b/admin/layouts/component_custom_admin_menus/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_custom_admin_menus/publishing.php
+++ b/admin/layouts/component_custom_admin_menus/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_custom_admin_menus/publlshing.php b/admin/layouts/component_custom_admin_menus/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_custom_admin_menus/publlshing.php
+++ b/admin/layouts/component_custom_admin_menus/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_custom_admin_menus/tweaks_above.php b/admin/layouts/component_custom_admin_menus/tweaks_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_custom_admin_menus/tweaks_above.php
+++ b/admin/layouts/component_custom_admin_menus/tweaks_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_custom_admin_menus/tweaks_fullwidth.php b/admin/layouts/component_custom_admin_menus/tweaks_fullwidth.php
index 1d53e2f5a..8bf1f4890 100644
--- a/admin/layouts/component_custom_admin_menus/tweaks_fullwidth.php
+++ b/admin/layouts/component_custom_admin_menus/tweaks_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'addcustommenus'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_custom_admin_views/publishing.php b/admin/layouts/component_custom_admin_views/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_custom_admin_views/publishing.php
+++ b/admin/layouts/component_custom_admin_views/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_custom_admin_views/publlshing.php b/admin/layouts/component_custom_admin_views/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_custom_admin_views/publlshing.php
+++ b/admin/layouts/component_custom_admin_views/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_custom_admin_views/views_above.php b/admin/layouts/component_custom_admin_views/views_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_custom_admin_views/views_above.php
+++ b/admin/layouts/component_custom_admin_views/views_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_custom_admin_views/views_fullwidth.php b/admin/layouts/component_custom_admin_views/views_fullwidth.php
index 7b910ce6e..dbd05bfc1 100644
--- a/admin/layouts/component_custom_admin_views/views_fullwidth.php
+++ b/admin/layouts/component_custom_admin_views/views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addcustom_admin_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_dashboard/dashboard_above.php b/admin/layouts/component_dashboard/dashboard_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_dashboard/dashboard_above.php
+++ b/admin/layouts/component_dashboard/dashboard_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_dashboard/dashboard_fullwidth.php b/admin/layouts/component_dashboard/dashboard_fullwidth.php
index 1d7224665..873b0a3fb 100644
--- a/admin/layouts/component_dashboard/dashboard_fullwidth.php
+++ b/admin/layouts/component_dashboard/dashboard_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'dashboard_tab'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_dashboard/publishing.php b/admin/layouts/component_dashboard/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_dashboard/publishing.php
+++ b/admin/layouts/component_dashboard/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_dashboard/publlshing.php b/admin/layouts/component_dashboard/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_dashboard/publlshing.php
+++ b/admin/layouts/component_dashboard/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_files_folders/advance_fullwidth.php b/admin/layouts/component_files_folders/advance_fullwidth.php
index 508d9d18e..b733a13ed 100644
--- a/admin/layouts/component_files_folders/advance_fullwidth.php
+++ b/admin/layouts/component_files_folders/advance_fullwidth.php
@@ -22,16 +22,14 @@ $fields = $displayData->get('fields') ?: array(
'note_constant_paths'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_files_folders/basic_above.php b/admin/layouts/component_files_folders/basic_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_files_folders/basic_above.php
+++ b/admin/layouts/component_files_folders/basic_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_files_folders/basic_fullwidth.php b/admin/layouts/component_files_folders/basic_fullwidth.php
index d524507b0..5731546b2 100644
--- a/admin/layouts/component_files_folders/basic_fullwidth.php
+++ b/admin/layouts/component_files_folders/basic_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'addfolders'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_files_folders/publishing.php b/admin/layouts/component_files_folders/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_files_folders/publishing.php
+++ b/admin/layouts/component_files_folders/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_files_folders/publlshing.php b/admin/layouts/component_files_folders/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_files_folders/publlshing.php
+++ b/admin/layouts/component_files_folders/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_mysql_tweaks/publishing.php b/admin/layouts/component_mysql_tweaks/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_mysql_tweaks/publishing.php
+++ b/admin/layouts/component_mysql_tweaks/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_mysql_tweaks/publlshing.php b/admin/layouts/component_mysql_tweaks/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_mysql_tweaks/publlshing.php
+++ b/admin/layouts/component_mysql_tweaks/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_mysql_tweaks/tweaks_above.php b/admin/layouts/component_mysql_tweaks/tweaks_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_mysql_tweaks/tweaks_above.php
+++ b/admin/layouts/component_mysql_tweaks/tweaks_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_mysql_tweaks/tweaks_fullwidth.php b/admin/layouts/component_mysql_tweaks/tweaks_fullwidth.php
index 9a0050b0f..3415c2a85 100644
--- a/admin/layouts/component_mysql_tweaks/tweaks_fullwidth.php
+++ b/admin/layouts/component_mysql_tweaks/tweaks_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'sql_tweak'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_site_views/publishing.php b/admin/layouts/component_site_views/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_site_views/publishing.php
+++ b/admin/layouts/component_site_views/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_site_views/publlshing.php b/admin/layouts/component_site_views/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_site_views/publlshing.php
+++ b/admin/layouts/component_site_views/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_site_views/views_above.php b/admin/layouts/component_site_views/views_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_site_views/views_above.php
+++ b/admin/layouts/component_site_views/views_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_site_views/views_fullwidth.php b/admin/layouts/component_site_views/views_fullwidth.php
index 247778c61..101920332 100644
--- a/admin/layouts/component_site_views/views_fullwidth.php
+++ b/admin/layouts/component_site_views/views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'addsite_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_updates/publishing.php b/admin/layouts/component_updates/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/component_updates/publishing.php
+++ b/admin/layouts/component_updates/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_updates/publlshing.php b/admin/layouts/component_updates/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/component_updates/publlshing.php
+++ b/admin/layouts/component_updates/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/component_updates/updates_above.php b/admin/layouts/component_updates/updates_above.php
index 26f5796f7..da98e936b 100644
--- a/admin/layouts/component_updates/updates_above.php
+++ b/admin/layouts/component_updates/updates_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'joomla_component'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/component_updates/updates_fullwidth.php b/admin/layouts/component_updates/updates_fullwidth.php
index 15019846a..b43fed4e7 100644
--- a/admin/layouts/component_updates/updates_fullwidth.php
+++ b/admin/layouts/component_updates/updates_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'version_update'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
index e3a7e886c..d6692df65 100644
--- a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'php_model'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/custom_buttons_left.php b/admin/layouts/custom_admin_view/custom_buttons_left.php
index 9a5328805..a14229d57 100644
--- a/admin/layouts/custom_admin_view/custom_buttons_left.php
+++ b/admin/layouts/custom_admin_view/custom_buttons_left.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_admin_view/details_above.php b/admin/layouts/custom_admin_view/details_above.php
index 88bd987fd..b64cb67fa 100644
--- a/admin/layouts/custom_admin_view/details_above.php
+++ b/admin/layouts/custom_admin_view/details_above.php
@@ -14,14 +14,19 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'system_name',
'context'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/details_fullwidth.php b/admin/layouts/custom_admin_view/details_fullwidth.php
index 55f1ff1c4..0fbb88446 100644
--- a/admin/layouts/custom_admin_view/details_fullwidth.php
+++ b/admin/layouts/custom_admin_view/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'default'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/details_left.php b/admin/layouts/custom_admin_view/details_left.php
index 75286200a..7a15392cc 100644
--- a/admin/layouts/custom_admin_view/details_left.php
+++ b/admin/layouts/custom_admin_view/details_left.php
@@ -25,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_admin_view/details_right.php b/admin/layouts/custom_admin_view/details_right.php
index e29f4d14c..d66913fd4 100644
--- a/admin/layouts/custom_admin_view/details_right.php
+++ b/admin/layouts/custom_admin_view/details_right.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_admin_view/details_rightside.php b/admin/layouts/custom_admin_view/details_rightside.php
index cc9dc978c..667153d7d 100644
--- a/admin/layouts/custom_admin_view/details_rightside.php
+++ b/admin/layouts/custom_admin_view/details_rightside.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_admin_view/details_under.php b/admin/layouts/custom_admin_view/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/custom_admin_view/details_under.php
+++ b/admin/layouts/custom_admin_view/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/javascript_css_fullwidth.php b/admin/layouts/custom_admin_view/javascript_css_fullwidth.php
index 233501624..ce72b5015 100644
--- a/admin/layouts/custom_admin_view/javascript_css_fullwidth.php
+++ b/admin/layouts/custom_admin_view/javascript_css_fullwidth.php
@@ -25,16 +25,14 @@ $fields = $displayData->get('fields') ?: array(
'css'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/linked_components_fullwidth.php b/admin/layouts/custom_admin_view/linked_components_fullwidth.php
index ee8b7fe33..7cb5eea6e 100644
--- a/admin/layouts/custom_admin_view/linked_components_fullwidth.php
+++ b/admin/layouts/custom_admin_view/linked_components_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_linked_to_notice'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/php_fullwidth.php b/admin/layouts/custom_admin_view/php_fullwidth.php
index db7cb458f..a062c3b58 100644
--- a/admin/layouts/custom_admin_view/php_fullwidth.php
+++ b/admin/layouts/custom_admin_view/php_fullwidth.php
@@ -28,16 +28,14 @@ $fields = $displayData->get('fields') ?: array(
'php_jview'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_admin_view/publishing.php b/admin/layouts/custom_admin_view/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/custom_admin_view/publishing.php
+++ b/admin/layouts/custom_admin_view/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_admin_view/publlshing.php b/admin/layouts/custom_admin_view/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/custom_admin_view/publlshing.php
+++ b/admin/layouts/custom_admin_view/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_code/details_above.php b/admin/layouts/custom_code/details_above.php
index cb7fb804b..ec8faf761 100644
--- a/admin/layouts/custom_code/details_above.php
+++ b/admin/layouts/custom_code/details_above.php
@@ -14,15 +14,20 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'target',
'system_name',
'function_name'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_code/details_fullwidth.php b/admin/layouts/custom_code/details_fullwidth.php
index d9410fa2f..11ec40027 100644
--- a/admin/layouts/custom_code/details_fullwidth.php
+++ b/admin/layouts/custom_code/details_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'note_placeholders_explained'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_code/details_left.php b/admin/layouts/custom_code/details_left.php
index 940d16c3c..309a70068 100644
--- a/admin/layouts/custom_code/details_left.php
+++ b/admin/layouts/custom_code/details_left.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_code/details_right.php b/admin/layouts/custom_code/details_right.php
index cd2ef804a..8569adfe5 100644
--- a/admin/layouts/custom_code/details_right.php
+++ b/admin/layouts/custom_code/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_code/details_under.php b/admin/layouts/custom_code/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/custom_code/details_under.php
+++ b/admin/layouts/custom_code/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/custom_code/publishing.php b/admin/layouts/custom_code/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/custom_code/publishing.php
+++ b/admin/layouts/custom_code/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/custom_code/publlshing.php b/admin/layouts/custom_code/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/custom_code/publlshing.php
+++ b/admin/layouts/custom_code/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/abacus_fullwidth.php b/admin/layouts/dynamic_get/abacus_fullwidth.php
index 68e3a7628..22f79a5d2 100644
--- a/admin/layouts/dynamic_get/abacus_fullwidth.php
+++ b/admin/layouts/dynamic_get/abacus_fullwidth.php
@@ -20,16 +20,14 @@ $fields = $displayData->get('fields') ?: array(
'php_calculation'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/abacus_left.php b/admin/layouts/dynamic_get/abacus_left.php
index cdcb433f1..4fac83779 100644
--- a/admin/layouts/dynamic_get/abacus_left.php
+++ b/admin/layouts/dynamic_get/abacus_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/custom_script_fullwidth.php b/admin/layouts/dynamic_get/custom_script_fullwidth.php
index 57838a88f..a0469d57a 100644
--- a/admin/layouts/dynamic_get/custom_script_fullwidth.php
+++ b/admin/layouts/dynamic_get/custom_script_fullwidth.php
@@ -29,16 +29,14 @@ $fields = $displayData->get('fields') ?: array(
'php_router_parse'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/joint_fullwidth.php b/admin/layouts/dynamic_get/joint_fullwidth.php
index cc4ebb4e3..b781d3256 100644
--- a/admin/layouts/dynamic_get/joint_fullwidth.php
+++ b/admin/layouts/dynamic_get/joint_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'join_db_table'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/main_above.php b/admin/layouts/dynamic_get/main_above.php
index 35b1d7edd..b7c852bd6 100644
--- a/admin/layouts/dynamic_get/main_above.php
+++ b/admin/layouts/dynamic_get/main_above.php
@@ -14,16 +14,21 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'name',
'gettype',
'getcustom',
'pagination'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/main_fullwidth.php b/admin/layouts/dynamic_get/main_fullwidth.php
index fa8ab8b6e..3d438ec7c 100644
--- a/admin/layouts/dynamic_get/main_fullwidth.php
+++ b/admin/layouts/dynamic_get/main_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_linked_to_notice'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/main_left.php b/admin/layouts/dynamic_get/main_left.php
index 026b9783d..202899d72 100644
--- a/admin/layouts/dynamic_get/main_left.php
+++ b/admin/layouts/dynamic_get/main_left.php
@@ -17,27 +17,18 @@ $form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
'main_source',
'view_table_main',
- 'view_selection',
'db_table_main',
+ 'select_all',
+ 'view_selection',
'db_selection'
);
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/main_right.php b/admin/layouts/dynamic_get/main_right.php
index 8097ca878..1d699661a 100644
--- a/admin/layouts/dynamic_get/main_right.php
+++ b/admin/layouts/dynamic_get/main_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/main_under.php b/admin/layouts/dynamic_get/main_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/dynamic_get/main_under.php
+++ b/admin/layouts/dynamic_get/main_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/dynamic_get/publishing.php b/admin/layouts/dynamic_get/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/dynamic_get/publishing.php
+++ b/admin/layouts/dynamic_get/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/publlshing.php b/admin/layouts/dynamic_get/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/dynamic_get/publlshing.php
+++ b/admin/layouts/dynamic_get/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/dynamic_get/tweak_fullwidth.php b/admin/layouts/dynamic_get/tweak_fullwidth.php
index 80d0f83e3..944766b7f 100644
--- a/admin/layouts/dynamic_get/tweak_fullwidth.php
+++ b/admin/layouts/dynamic_get/tweak_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'global'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/field/data_base_fullwidth.php b/admin/layouts/field/data_base_fullwidth.php
index fabb39688..0c24cf707 100644
--- a/admin/layouts/field/data_base_fullwidth.php
+++ b/admin/layouts/field/data_base_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_database_settings_needed'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/field/data_base_left.php b/admin/layouts/field/data_base_left.php
index d821e271b..f1ccdee4f 100644
--- a/admin/layouts/field/data_base_left.php
+++ b/admin/layouts/field/data_base_left.php
@@ -24,20 +24,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/data_base_right.php b/admin/layouts/field/data_base_right.php
index b29f88135..d1ca97f96 100644
--- a/admin/layouts/field/data_base_right.php
+++ b/admin/layouts/field/data_base_right.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/publishing.php b/admin/layouts/field/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/field/publishing.php
+++ b/admin/layouts/field/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/publlshing.php b/admin/layouts/field/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/field/publlshing.php
+++ b/admin/layouts/field/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/scripts_left.php b/admin/layouts/field/scripts_left.php
index 67b2df4ca..b5e14a2d4 100644
--- a/admin/layouts/field/scripts_left.php
+++ b/admin/layouts/field/scripts_left.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/scripts_right.php b/admin/layouts/field/scripts_right.php
index 3cac69d34..24109e987 100644
--- a/admin/layouts/field/scripts_right.php
+++ b/admin/layouts/field/scripts_right.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/field/set_properties_above.php b/admin/layouts/field/set_properties_above.php
index d47e6ef1a..734321a78 100644
--- a/admin/layouts/field/set_properties_above.php
+++ b/admin/layouts/field/set_properties_above.php
@@ -14,15 +14,20 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'fieldtype',
'name',
'catid'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/field/set_properties_fullwidth.php b/admin/layouts/field/set_properties_fullwidth.php
index 20d53ee3b..4ebbe9f82 100644
--- a/admin/layouts/field/set_properties_fullwidth.php
+++ b/admin/layouts/field/set_properties_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_filter_information'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/field/set_properties_under.php b/admin/layouts/field/set_properties_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/field/set_properties_under.php
+++ b/admin/layouts/field/set_properties_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/field/type_info_fullwidth.php b/admin/layouts/field/type_info_fullwidth.php
index 42b12952d..bf3fd84f3 100644
--- a/admin/layouts/field/type_info_fullwidth.php
+++ b/admin/layouts/field/type_info_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'xml'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/fieldtype/details_fullwidth.php b/admin/layouts/fieldtype/details_fullwidth.php
index ab4fd24d8..c1f685b26 100644
--- a/admin/layouts/fieldtype/details_fullwidth.php
+++ b/admin/layouts/fieldtype/details_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'properties'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/fieldtype/details_left.php b/admin/layouts/fieldtype/details_left.php
index 386913f1e..5c03c6482 100644
--- a/admin/layouts/fieldtype/details_left.php
+++ b/admin/layouts/fieldtype/details_left.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/fieldtype/details_right.php b/admin/layouts/fieldtype/details_right.php
index bd11565e9..1e6fb9b42 100644
--- a/admin/layouts/fieldtype/details_right.php
+++ b/admin/layouts/fieldtype/details_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/fieldtype/publishing.php b/admin/layouts/fieldtype/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/fieldtype/publishing.php
+++ b/admin/layouts/fieldtype/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/fieldtype/publlshing.php b/admin/layouts/fieldtype/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/fieldtype/publlshing.php
+++ b/admin/layouts/fieldtype/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php
index c44b44228..397945bbb 100644
--- a/admin/layouts/help_document/details_above.php
+++ b/admin/layouts/help_document/details_above.php
@@ -14,14 +14,19 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'title',
'alias'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php
index e5b983f28..197943db4 100644
--- a/admin/layouts/help_document/details_fullwidth.php
+++ b/admin/layouts/help_document/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'content'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php
index 284564afd..2d067d828 100644
--- a/admin/layouts/help_document/details_left.php
+++ b/admin/layouts/help_document/details_left.php
@@ -24,20 +24,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php
index 8b7e8c982..16527245b 100644
--- a/admin/layouts/help_document/details_right.php
+++ b/admin/layouts/help_document/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/help_document/details_under.php
+++ b/admin/layouts/help_document/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/help_document/publishing.php
+++ b/admin/layouts/help_document/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php
index bc955789b..7ace2adea 100644
--- a/admin/layouts/help_document/publlshing.php
+++ b/admin/layouts/help_document/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -25,20 +24,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/admin_views_fullwidth.php b/admin/layouts/joomla_component/admin_views_fullwidth.php
index e6216c2d6..4aa1f7de4 100644
--- a/admin/layouts/joomla_component/admin_views_fullwidth.php
+++ b/admin/layouts/joomla_component/admin_views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_display_component_admin_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/custom_admin_views_fullwidth.php b/admin/layouts/joomla_component/custom_admin_views_fullwidth.php
index a5a777d76..b6d1a4892 100644
--- a/admin/layouts/joomla_component/custom_admin_views_fullwidth.php
+++ b/admin/layouts/joomla_component/custom_admin_views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_display_component_custom_admin_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/dash_install_fullwidth.php b/admin/layouts/joomla_component/dash_install_fullwidth.php
index 7e514a2ed..ef32af153 100644
--- a/admin/layouts/joomla_component/dash_install_fullwidth.php
+++ b/admin/layouts/joomla_component/dash_install_fullwidth.php
@@ -27,16 +27,14 @@ $fields = $displayData->get('fields') ?: array(
'php_method_uninstall'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/dash_install_left.php b/admin/layouts/joomla_component/dash_install_left.php
index f0f2f3148..4c66077bf 100644
--- a/admin/layouts/joomla_component/dash_install_left.php
+++ b/admin/layouts/joomla_component/dash_install_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/dash_install_right.php b/admin/layouts/joomla_component/dash_install_right.php
index 4e48f6b4f..d636f1563 100644
--- a/admin/layouts/joomla_component/dash_install_right.php
+++ b/admin/layouts/joomla_component/dash_install_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/details_above.php b/admin/layouts/joomla_component/details_above.php
index 674a8e6b1..eb96431d9 100644
--- a/admin/layouts/joomla_component/details_above.php
+++ b/admin/layouts/joomla_component/details_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'system_name'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/details_left.php b/admin/layouts/joomla_component/details_left.php
index 2ee9e3a41..56e1ce11d 100644
--- a/admin/layouts/joomla_component/details_left.php
+++ b/admin/layouts/joomla_component/details_left.php
@@ -31,20 +31,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/details_right.php b/admin/layouts/joomla_component/details_right.php
index e4e43b97a..5ad3752c3 100644
--- a/admin/layouts/joomla_component/details_right.php
+++ b/admin/layouts/joomla_component/details_right.php
@@ -32,20 +32,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/details_under.php b/admin/layouts/joomla_component/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/joomla_component/details_under.php
+++ b/admin/layouts/joomla_component/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/dynamic_build_beta_fullwidth.php b/admin/layouts/joomla_component/dynamic_build_beta_fullwidth.php
index 6f9975d02..be6383280 100644
--- a/admin/layouts/joomla_component/dynamic_build_beta_fullwidth.php
+++ b/admin/layouts/joomla_component/dynamic_build_beta_fullwidth.php
@@ -20,16 +20,14 @@ $fields = $displayData->get('fields') ?: array(
'buildcompsql'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/dynamic_integration_fullwidth.php b/admin/layouts/joomla_component/dynamic_integration_fullwidth.php
index ed3387a62..d50b32c5a 100644
--- a/admin/layouts/joomla_component/dynamic_integration_fullwidth.php
+++ b/admin/layouts/joomla_component/dynamic_integration_fullwidth.php
@@ -26,16 +26,14 @@ $fields = $displayData->get('fields') ?: array(
'sales_server'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/libs_helpers_fullwidth.php b/admin/layouts/joomla_component/libs_helpers_fullwidth.php
index 97b021e4d..0d876918f 100644
--- a/admin/layouts/joomla_component/libs_helpers_fullwidth.php
+++ b/admin/layouts/joomla_component/libs_helpers_fullwidth.php
@@ -37,16 +37,14 @@ $fields = $displayData->get('fields') ?: array(
'css_site'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/mysql_fullwidth.php b/admin/layouts/joomla_component/mysql_fullwidth.php
index a8a1c14cc..791a25bad 100644
--- a/admin/layouts/joomla_component/mysql_fullwidth.php
+++ b/admin/layouts/joomla_component/mysql_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'sql_uninstall'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/publishing.php b/admin/layouts/joomla_component/publishing.php
index b8c696d4f..f07fa6b86 100644
--- a/admin/layouts/joomla_component/publishing.php
+++ b/admin/layouts/joomla_component/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -30,20 +29,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/readme_left.php b/admin/layouts/joomla_component/readme_left.php
index 8f4d41cc2..efbaab416 100644
--- a/admin/layouts/joomla_component/readme_left.php
+++ b/admin/layouts/joomla_component/readme_left.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/readme_right.php b/admin/layouts/joomla_component/readme_right.php
index 79f2e0380..40f598d14 100644
--- a/admin/layouts/joomla_component/readme_right.php
+++ b/admin/layouts/joomla_component/readme_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/settings_fullwidth.php b/admin/layouts/joomla_component/settings_fullwidth.php
index d59d370b2..5bc2363c4 100644
--- a/admin/layouts/joomla_component/settings_fullwidth.php
+++ b/admin/layouts/joomla_component/settings_fullwidth.php
@@ -22,16 +22,14 @@ $fields = $displayData->get('fields') ?: array(
'number'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/joomla_component/settings_left.php b/admin/layouts/joomla_component/settings_left.php
index bb64d3daf..c3da81156 100644
--- a/admin/layouts/joomla_component/settings_left.php
+++ b/admin/layouts/joomla_component/settings_left.php
@@ -26,20 +26,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/settings_right.php b/admin/layouts/joomla_component/settings_right.php
index 4d8a26427..5be8ad699 100644
--- a/admin/layouts/joomla_component/settings_right.php
+++ b/admin/layouts/joomla_component/settings_right.php
@@ -31,20 +31,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/joomla_component/site_views_fullwidth.php b/admin/layouts/joomla_component/site_views_fullwidth.php
index d569e5a02..1bfcac013 100644
--- a/admin/layouts/joomla_component/site_views_fullwidth.php
+++ b/admin/layouts/joomla_component/site_views_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'note_display_component_site_views'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/language/details_left.php b/admin/layouts/language/details_left.php
index f90d6b9da..c3075b6a1 100644
--- a/admin/layouts/language/details_left.php
+++ b/admin/layouts/language/details_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/language/details_right.php b/admin/layouts/language/details_right.php
index fa4f5c8fe..ebc53d70a 100644
--- a/admin/layouts/language/details_right.php
+++ b/admin/layouts/language/details_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/language/publishing.php b/admin/layouts/language/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/language/publishing.php
+++ b/admin/layouts/language/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/language/publlshing.php b/admin/layouts/language/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/language/publlshing.php
+++ b/admin/layouts/language/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/language_translation/details_fullwidth.php b/admin/layouts/language_translation/details_fullwidth.php
index 993163fbe..e324a8df9 100644
--- a/admin/layouts/language_translation/details_fullwidth.php
+++ b/admin/layouts/language_translation/details_fullwidth.php
@@ -20,16 +20,14 @@ $fields = $displayData->get('fields') ?: array(
'components'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/language_translation/publishing.php b/admin/layouts/language_translation/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/language_translation/publishing.php
+++ b/admin/layouts/language_translation/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/language_translation/publlshing.php b/admin/layouts/language_translation/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/language_translation/publlshing.php
+++ b/admin/layouts/language_translation/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/layout/custom_script_fullwidth.php b/admin/layouts/layout/custom_script_fullwidth.php
index 7bb271168..abedc3f47 100644
--- a/admin/layouts/layout/custom_script_fullwidth.php
+++ b/admin/layouts/layout/custom_script_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'php_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/layout/details_fullwidth.php b/admin/layouts/layout/details_fullwidth.php
index b5989a2c4..eb9784f06 100644
--- a/admin/layouts/layout/details_fullwidth.php
+++ b/admin/layouts/layout/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'layout'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/layout/details_left.php b/admin/layouts/layout/details_left.php
index dd143b604..fe0bc542a 100644
--- a/admin/layouts/layout/details_left.php
+++ b/admin/layouts/layout/details_left.php
@@ -25,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/layout/details_right.php b/admin/layouts/layout/details_right.php
index 301a0209b..e6bc68299 100644
--- a/admin/layouts/layout/details_right.php
+++ b/admin/layouts/layout/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/layout/details_rightside.php b/admin/layouts/layout/details_rightside.php
index 64ff0e623..a0d9ff85f 100644
--- a/admin/layouts/layout/details_rightside.php
+++ b/admin/layouts/layout/details_rightside.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/layout/details_under.php b/admin/layouts/layout/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/layout/details_under.php
+++ b/admin/layouts/layout/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/layout/publishing.php b/admin/layouts/layout/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/layout/publishing.php
+++ b/admin/layouts/layout/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/layout/publlshing.php b/admin/layouts/layout/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/layout/publlshing.php
+++ b/admin/layouts/layout/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library/behaviour_above.php b/admin/layouts/library/behaviour_above.php
index 1f39a9321..671176d1c 100644
--- a/admin/layouts/library/behaviour_above.php
+++ b/admin/layouts/library/behaviour_above.php
@@ -14,15 +14,20 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'name',
'how',
'type'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/behaviour_fullwidth.php b/admin/layouts/library/behaviour_fullwidth.php
index 96d884a59..63793ddb6 100644
--- a/admin/layouts/library/behaviour_fullwidth.php
+++ b/admin/layouts/library/behaviour_fullwidth.php
@@ -22,16 +22,14 @@ $fields = $displayData->get('fields') ?: array(
'php_setdocument'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/behaviour_left.php b/admin/layouts/library/behaviour_left.php
index b0b86b8ea..b7c0ef362 100644
--- a/admin/layouts/library/behaviour_left.php
+++ b/admin/layouts/library/behaviour_left.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library/behaviour_right.php b/admin/layouts/library/behaviour_right.php
index bd11565e9..1e6fb9b42 100644
--- a/admin/layouts/library/behaviour_right.php
+++ b/admin/layouts/library/behaviour_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library/behaviour_under.php b/admin/layouts/library/behaviour_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/library/behaviour_under.php
+++ b/admin/layouts/library/behaviour_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/config_fullwidth.php b/admin/layouts/library/config_fullwidth.php
index 8c1d19e54..33603c07c 100644
--- a/admin/layouts/library/config_fullwidth.php
+++ b/admin/layouts/library/config_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'note_display_library_config'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/files_folders_urls_fullwidth.php b/admin/layouts/library/files_folders_urls_fullwidth.php
index d099019e5..bd05bea89 100644
--- a/admin/layouts/library/files_folders_urls_fullwidth.php
+++ b/admin/layouts/library/files_folders_urls_fullwidth.php
@@ -20,16 +20,14 @@ $fields = $displayData->get('fields') ?: array(
'note_display_library_files_folders_urls'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/linked_fullwidth.php b/admin/layouts/library/linked_fullwidth.php
index ee8b7fe33..7cb5eea6e 100644
--- a/admin/layouts/library/linked_fullwidth.php
+++ b/admin/layouts/library/linked_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_linked_to_notice'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library/publishing.php b/admin/layouts/library/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/library/publishing.php
+++ b/admin/layouts/library/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library/publlshing.php b/admin/layouts/library/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/library/publlshing.php
+++ b/admin/layouts/library/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library_config/publishing.php b/admin/layouts/library_config/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/library_config/publishing.php
+++ b/admin/layouts/library_config/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library_config/publlshing.php b/admin/layouts/library_config/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/library_config/publlshing.php
+++ b/admin/layouts/library_config/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library_config/tweaks_above.php b/admin/layouts/library_config/tweaks_above.php
index 97769dcda..30268b84c 100644
--- a/admin/layouts/library_config/tweaks_above.php
+++ b/admin/layouts/library_config/tweaks_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'library'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library_config/tweaks_fullwidth.php b/admin/layouts/library_config/tweaks_fullwidth.php
index b96b69b35..c720f0f06 100644
--- a/admin/layouts/library_config/tweaks_fullwidth.php
+++ b/admin/layouts/library_config/tweaks_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'addconfig'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library_files_folders_urls/advance_fullwidth.php b/admin/layouts/library_files_folders_urls/advance_fullwidth.php
index 508d9d18e..b733a13ed 100644
--- a/admin/layouts/library_files_folders_urls/advance_fullwidth.php
+++ b/admin/layouts/library_files_folders_urls/advance_fullwidth.php
@@ -22,16 +22,14 @@ $fields = $displayData->get('fields') ?: array(
'note_constant_paths'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library_files_folders_urls/basic_above.php b/admin/layouts/library_files_folders_urls/basic_above.php
index 97769dcda..30268b84c 100644
--- a/admin/layouts/library_files_folders_urls/basic_above.php
+++ b/admin/layouts/library_files_folders_urls/basic_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'library'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library_files_folders_urls/basic_fullwidth.php b/admin/layouts/library_files_folders_urls/basic_fullwidth.php
index a7c7b4d22..091403bb0 100644
--- a/admin/layouts/library_files_folders_urls/basic_fullwidth.php
+++ b/admin/layouts/library_files_folders_urls/basic_fullwidth.php
@@ -23,16 +23,14 @@ $fields = $displayData->get('fields') ?: array(
'addfolders'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/library_files_folders_urls/publishing.php b/admin/layouts/library_files_folders_urls/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/library_files_folders_urls/publishing.php
+++ b/admin/layouts/library_files_folders_urls/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/library_files_folders_urls/publlshing.php b/admin/layouts/library_files_folders_urls/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/library_files_folders_urls/publlshing.php
+++ b/admin/layouts/library_files_folders_urls/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/server/details_above.php b/admin/layouts/server/details_above.php
index f927a57d3..6f1d4a330 100644
--- a/admin/layouts/server/details_above.php
+++ b/admin/layouts/server/details_above.php
@@ -14,14 +14,19 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'name',
'protocol'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/server/details_fullwidth.php b/admin/layouts/server/details_fullwidth.php
index 74d9fa836..ff9a60a6f 100644
--- a/admin/layouts/server/details_fullwidth.php
+++ b/admin/layouts/server/details_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/server/details_left.php b/admin/layouts/server/details_left.php
index bb1471132..eb4658fb1 100644
--- a/admin/layouts/server/details_left.php
+++ b/admin/layouts/server/details_left.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/server/details_right.php b/admin/layouts/server/details_right.php
index 4cb738fa0..274359cdf 100644
--- a/admin/layouts/server/details_right.php
+++ b/admin/layouts/server/details_right.php
@@ -24,20 +24,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/server/publishing.php b/admin/layouts/server/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/server/publishing.php
+++ b/admin/layouts/server/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/server/publlshing.php b/admin/layouts/server/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/server/publlshing.php
+++ b/admin/layouts/server/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/custom_buttons_fullwidth.php b/admin/layouts/site_view/custom_buttons_fullwidth.php
index 0ef4a67c5..804056d55 100644
--- a/admin/layouts/site_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/site_view/custom_buttons_fullwidth.php
@@ -21,16 +21,14 @@ $fields = $displayData->get('fields') ?: array(
'php_model'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/custom_buttons_left.php b/admin/layouts/site_view/custom_buttons_left.php
index 0cfdbe506..6ea4e74d3 100644
--- a/admin/layouts/site_view/custom_buttons_left.php
+++ b/admin/layouts/site_view/custom_buttons_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/custom_buttons_right.php b/admin/layouts/site_view/custom_buttons_right.php
index df0beb10d..2979606e8 100644
--- a/admin/layouts/site_view/custom_buttons_right.php
+++ b/admin/layouts/site_view/custom_buttons_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/details_above.php b/admin/layouts/site_view/details_above.php
index 88bd987fd..b64cb67fa 100644
--- a/admin/layouts/site_view/details_above.php
+++ b/admin/layouts/site_view/details_above.php
@@ -14,14 +14,19 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'system_name',
'context'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/details_fullwidth.php b/admin/layouts/site_view/details_fullwidth.php
index 55f1ff1c4..0fbb88446 100644
--- a/admin/layouts/site_view/details_fullwidth.php
+++ b/admin/layouts/site_view/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'default'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/details_left.php b/admin/layouts/site_view/details_left.php
index 75286200a..7a15392cc 100644
--- a/admin/layouts/site_view/details_left.php
+++ b/admin/layouts/site_view/details_left.php
@@ -25,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/details_right.php b/admin/layouts/site_view/details_right.php
index 301a0209b..e6bc68299 100644
--- a/admin/layouts/site_view/details_right.php
+++ b/admin/layouts/site_view/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/details_rightside.php b/admin/layouts/site_view/details_rightside.php
index cc9dc978c..667153d7d 100644
--- a/admin/layouts/site_view/details_rightside.php
+++ b/admin/layouts/site_view/details_rightside.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/details_under.php b/admin/layouts/site_view/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/site_view/details_under.php
+++ b/admin/layouts/site_view/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/layouts/site_view/javascript_css_fullwidth.php
index fc241753c..037b2c6e1 100644
--- a/admin/layouts/site_view/javascript_css_fullwidth.php
+++ b/admin/layouts/site_view/javascript_css_fullwidth.php
@@ -25,16 +25,14 @@ $fields = $displayData->get('fields') ?: array(
'css'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/linked_components_fullwidth.php b/admin/layouts/site_view/linked_components_fullwidth.php
index ee8b7fe33..7cb5eea6e 100644
--- a/admin/layouts/site_view/linked_components_fullwidth.php
+++ b/admin/layouts/site_view/linked_components_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_linked_to_notice'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/php_fullwidth.php b/admin/layouts/site_view/php_fullwidth.php
index db7cb458f..a062c3b58 100644
--- a/admin/layouts/site_view/php_fullwidth.php
+++ b/admin/layouts/site_view/php_fullwidth.php
@@ -28,16 +28,14 @@ $fields = $displayData->get('fields') ?: array(
'php_jview'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/site_view/publishing.php b/admin/layouts/site_view/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/site_view/publishing.php
+++ b/admin/layouts/site_view/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/site_view/publlshing.php b/admin/layouts/site_view/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/site_view/publlshing.php
+++ b/admin/layouts/site_view/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/contributor_fullwidth.php b/admin/layouts/snippet/contributor_fullwidth.php
index 330caa947..190ffd8dc 100644
--- a/admin/layouts/snippet/contributor_fullwidth.php
+++ b/admin/layouts/snippet/contributor_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'note_contributor_details'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/snippet/contributor_left.php b/admin/layouts/snippet/contributor_left.php
index e41f909a2..44dd48c4f 100644
--- a/admin/layouts/snippet/contributor_left.php
+++ b/admin/layouts/snippet/contributor_left.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/contributor_right.php b/admin/layouts/snippet/contributor_right.php
index 938f8543d..85580f251 100644
--- a/admin/layouts/snippet/contributor_right.php
+++ b/admin/layouts/snippet/contributor_right.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/details_above.php b/admin/layouts/snippet/details_above.php
index 0d684da90..dc5515637 100644
--- a/admin/layouts/snippet/details_above.php
+++ b/admin/layouts/snippet/details_above.php
@@ -14,15 +14,20 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'name',
'url',
'library'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/snippet/details_left.php b/admin/layouts/snippet/details_left.php
index 2c23d70a5..80e8ef04c 100644
--- a/admin/layouts/snippet/details_left.php
+++ b/admin/layouts/snippet/details_left.php
@@ -23,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/details_right.php b/admin/layouts/snippet/details_right.php
index 7cecba8b4..fe2fc40d5 100644
--- a/admin/layouts/snippet/details_right.php
+++ b/admin/layouts/snippet/details_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/publishing.php b/admin/layouts/snippet/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/snippet/publishing.php
+++ b/admin/layouts/snippet/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet/publlshing.php b/admin/layouts/snippet/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/snippet/publlshing.php
+++ b/admin/layouts/snippet/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet_type/details_left.php b/admin/layouts/snippet_type/details_left.php
index f90d6b9da..c3075b6a1 100644
--- a/admin/layouts/snippet_type/details_left.php
+++ b/admin/layouts/snippet_type/details_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet_type/details_right.php b/admin/layouts/snippet_type/details_right.php
index bd11565e9..1e6fb9b42 100644
--- a/admin/layouts/snippet_type/details_right.php
+++ b/admin/layouts/snippet_type/details_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet_type/publishing.php b/admin/layouts/snippet_type/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/snippet_type/publishing.php
+++ b/admin/layouts/snippet_type/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/snippet_type/publlshing.php b/admin/layouts/snippet_type/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/snippet_type/publlshing.php
+++ b/admin/layouts/snippet_type/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/template/custom_script_fullwidth.php b/admin/layouts/template/custom_script_fullwidth.php
index 7bb271168..abedc3f47 100644
--- a/admin/layouts/template/custom_script_fullwidth.php
+++ b/admin/layouts/template/custom_script_fullwidth.php
@@ -19,16 +19,14 @@ $fields = $displayData->get('fields') ?: array(
'php_view'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/template/details_fullwidth.php b/admin/layouts/template/details_fullwidth.php
index f052853aa..24f1b1364 100644
--- a/admin/layouts/template/details_fullwidth.php
+++ b/admin/layouts/template/details_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'template'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/template/details_left.php b/admin/layouts/template/details_left.php
index dd143b604..fe0bc542a 100644
--- a/admin/layouts/template/details_left.php
+++ b/admin/layouts/template/details_left.php
@@ -25,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/template/details_right.php b/admin/layouts/template/details_right.php
index 5361d08aa..7084ac1ec 100644
--- a/admin/layouts/template/details_right.php
+++ b/admin/layouts/template/details_right.php
@@ -22,20 +22,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/template/details_rightside.php b/admin/layouts/template/details_rightside.php
index 64ff0e623..a0d9ff85f 100644
--- a/admin/layouts/template/details_rightside.php
+++ b/admin/layouts/template/details_rightside.php
@@ -21,20 +21,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/template/details_under.php b/admin/layouts/template/details_under.php
index 676b68504..b48f37386 100644
--- a/admin/layouts/template/details_under.php
+++ b/admin/layouts/template/details_under.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'not_required'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/template/publishing.php b/admin/layouts/template/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/template/publishing.php
+++ b/admin/layouts/template/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/template/publlshing.php b/admin/layouts/template/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/template/publlshing.php
+++ b/admin/layouts/template/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/validation_rule/extends_formrule_above.php b/admin/layouts/validation_rule/extends_formrule_above.php
index 8f1aab922..8cdde7da3 100644
--- a/admin/layouts/validation_rule/extends_formrule_above.php
+++ b/admin/layouts/validation_rule/extends_formrule_above.php
@@ -14,13 +14,18 @@ defined('_JEXEC') or die('Restricted access');
$form = $displayData->getForm();
-$fields = array(
+$fields = $displayData->get('fields') ?: array(
'inherit'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/validation_rule/extends_formrule_fullwidth.php b/admin/layouts/validation_rule/extends_formrule_fullwidth.php
index db432ae1c..333fd73a7 100644
--- a/admin/layouts/validation_rule/extends_formrule_fullwidth.php
+++ b/admin/layouts/validation_rule/extends_formrule_fullwidth.php
@@ -18,16 +18,14 @@ $fields = $displayData->get('fields') ?: array(
'php'
);
+$hiddenFields = $displayData->get('hidden_fields') ?: array();
+
?>
diff --git a/admin/layouts/validation_rule/extends_formrule_left.php b/admin/layouts/validation_rule/extends_formrule_left.php
index f90d6b9da..c3075b6a1 100644
--- a/admin/layouts/validation_rule/extends_formrule_left.php
+++ b/admin/layouts/validation_rule/extends_formrule_left.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/validation_rule/extends_formrule_right.php b/admin/layouts/validation_rule/extends_formrule_right.php
index 081de8882..226a7f8c8 100644
--- a/admin/layouts/validation_rule/extends_formrule_right.php
+++ b/admin/layouts/validation_rule/extends_formrule_right.php
@@ -20,20 +20,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/validation_rule/publishing.php b/admin/layouts/validation_rule/publishing.php
index ea58156d1..3ff2d0f98 100644
--- a/admin/layouts/validation_rule/publishing.php
+++ b/admin/layouts/validation_rule/publishing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -24,20 +23,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/layouts/validation_rule/publlshing.php b/admin/layouts/validation_rule/publlshing.php
index 7dfa73168..db19414f3 100644
--- a/admin/layouts/validation_rule/publlshing.php
+++ b/admin/layouts/validation_rule/publlshing.php
@@ -12,7 +12,6 @@
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
-$app = JFactory::getApplication();
$form = $displayData->getForm();
$fields = $displayData->get('fields') ?: array(
@@ -26,20 +25,10 @@ $fields = $displayData->get('fields') ?: array(
$hiddenFields = $displayData->get('hidden_fields') ?: array();
-foreach ($fields as $field)
-{
- $field = is_array($field) ? $field : array($field);
- foreach ($field as $f)
- {
- if ($form->getField($f))
- {
- if (in_array($f, $hiddenFields))
- {
- $form->setFieldAttribute($f, 'type', 'hidden');
- }
-
- echo $form->renderField($f);
- break;
- }
- }
-}
+?>
+
+
+ setFieldAttribute($field, 'type', 'hidden'); ?>
+
+ renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
+
diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php
index ec753ce76..23d4f3099 100644
--- a/admin/models/admin_view.php
+++ b/admin/models/admin_view.php
@@ -86,58 +86,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->metadata = $registry->toArray();
}
- if (!empty($item->php_batchcopy))
+ if (!empty($item->php_import_headers))
{
- // base64 Decode php_batchcopy.
- $item->php_batchcopy = base64_decode($item->php_batchcopy);
- }
-
- if (!empty($item->php_allowadd))
- {
- // base64 Decode php_allowadd.
- $item->php_allowadd = base64_decode($item->php_allowadd);
- }
-
- if (!empty($item->php_save))
- {
- // base64 Decode php_save.
- $item->php_save = base64_decode($item->php_save);
- }
-
- if (!empty($item->php_getform))
- {
- // base64 Decode php_getform.
- $item->php_getform = base64_decode($item->php_getform);
- }
-
- if (!empty($item->php_getitems_after_all))
- {
- // base64 Decode php_getitems_after_all.
- $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
- }
-
- if (!empty($item->php_import_save))
- {
- // base64 Decode php_import_save.
- $item->php_import_save = base64_decode($item->php_import_save);
- }
-
- if (!empty($item->php_document))
- {
- // base64 Decode php_document.
- $item->php_document = base64_decode($item->php_document);
- }
-
- if (!empty($item->php_before_publish))
- {
- // base64 Decode php_before_publish.
- $item->php_before_publish = base64_decode($item->php_before_publish);
- }
-
- if (!empty($item->php_before_delete))
- {
- // base64 Decode php_before_delete.
- $item->php_before_delete = base64_decode($item->php_before_delete);
+ // base64 Decode php_import_headers.
+ $item->php_import_headers = base64_decode($item->php_import_headers);
}
if (!empty($item->html_import_view))
@@ -146,96 +98,144 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->html_import_view = base64_decode($item->html_import_view);
}
+ if (!empty($item->php_import_save))
+ {
+ // base64 Decode php_import_save.
+ $item->php_import_save = base64_decode($item->php_import_save);
+ }
+
if (!empty($item->php_getitems))
{
// base64 Decode php_getitems.
$item->php_getitems = base64_decode($item->php_getitems);
}
+ if (!empty($item->php_getitems_after_all))
+ {
+ // base64 Decode php_getitems_after_all.
+ $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
+ }
+
if (!empty($item->php_getlistquery))
{
// base64 Decode php_getlistquery.
$item->php_getlistquery = base64_decode($item->php_getlistquery);
}
- if (!empty($item->php_before_save))
- {
- // base64 Decode php_before_save.
- $item->php_before_save = base64_decode($item->php_before_save);
- }
-
- if (!empty($item->php_postsavehook))
- {
- // base64 Decode php_postsavehook.
- $item->php_postsavehook = base64_decode($item->php_postsavehook);
- }
-
- if (!empty($item->php_allowedit))
- {
- // base64 Decode php_allowedit.
- $item->php_allowedit = base64_decode($item->php_allowedit);
- }
-
- if (!empty($item->php_batchmove))
- {
- // base64 Decode php_batchmove.
- $item->php_batchmove = base64_decode($item->php_batchmove);
- }
-
- if (!empty($item->php_after_publish))
- {
- // base64 Decode php_after_publish.
- $item->php_after_publish = base64_decode($item->php_after_publish);
- }
-
- if (!empty($item->php_after_delete))
- {
- // base64 Decode php_after_delete.
- $item->php_after_delete = base64_decode($item->php_after_delete);
- }
-
- if (!empty($item->php_import_headers))
- {
- // base64 Decode php_import_headers.
- $item->php_import_headers = base64_decode($item->php_import_headers);
- }
-
if (!empty($item->css_view))
{
// base64 Decode css_view.
$item->css_view = base64_decode($item->css_view);
}
+ if (!empty($item->php_getform))
+ {
+ // base64 Decode php_getform.
+ $item->php_getform = base64_decode($item->php_getform);
+ }
+
+ if (!empty($item->php_before_save))
+ {
+ // base64 Decode php_before_save.
+ $item->php_before_save = base64_decode($item->php_before_save);
+ }
+
if (!empty($item->css_views))
{
// base64 Decode css_views.
$item->css_views = base64_decode($item->css_views);
}
+ if (!empty($item->php_save))
+ {
+ // base64 Decode php_save.
+ $item->php_save = base64_decode($item->php_save);
+ }
+
+ if (!empty($item->php_postsavehook))
+ {
+ // base64 Decode php_postsavehook.
+ $item->php_postsavehook = base64_decode($item->php_postsavehook);
+ }
+
if (!empty($item->javascript_view_file))
{
// base64 Decode javascript_view_file.
$item->javascript_view_file = base64_decode($item->javascript_view_file);
}
+ if (!empty($item->php_allowadd))
+ {
+ // base64 Decode php_allowadd.
+ $item->php_allowadd = base64_decode($item->php_allowadd);
+ }
+
+ if (!empty($item->php_allowedit))
+ {
+ // base64 Decode php_allowedit.
+ $item->php_allowedit = base64_decode($item->php_allowedit);
+ }
+
if (!empty($item->javascript_view_footer))
{
// base64 Decode javascript_view_footer.
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
}
+ if (!empty($item->php_batchcopy))
+ {
+ // base64 Decode php_batchcopy.
+ $item->php_batchcopy = base64_decode($item->php_batchcopy);
+ }
+
+ if (!empty($item->php_batchmove))
+ {
+ // base64 Decode php_batchmove.
+ $item->php_batchmove = base64_decode($item->php_batchmove);
+ }
+
if (!empty($item->javascript_views_file))
{
// base64 Decode javascript_views_file.
$item->javascript_views_file = base64_decode($item->javascript_views_file);
}
+ if (!empty($item->php_before_publish))
+ {
+ // base64 Decode php_before_publish.
+ $item->php_before_publish = base64_decode($item->php_before_publish);
+ }
+
+ if (!empty($item->php_after_publish))
+ {
+ // base64 Decode php_after_publish.
+ $item->php_after_publish = base64_decode($item->php_after_publish);
+ }
+
if (!empty($item->javascript_views_footer))
{
// base64 Decode javascript_views_footer.
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
}
+ if (!empty($item->php_before_delete))
+ {
+ // base64 Decode php_before_delete.
+ $item->php_before_delete = base64_decode($item->php_before_delete);
+ }
+
+ if (!empty($item->php_after_delete))
+ {
+ // base64 Decode php_after_delete.
+ $item->php_after_delete = base64_decode($item->php_after_delete);
+ }
+
+ if (!empty($item->php_document))
+ {
+ // base64 Decode php_document.
+ $item->php_document = base64_decode($item->php_document);
+ }
+
if (!empty($item->php_controller))
{
// base64 Decode php_controller.
@@ -302,6 +302,14 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import_ext = base64_decode($item->php_import_ext);
}
+ if (!empty($item->addtables))
+ {
+ // Convert the addtables field to an array.
+ $addtables = new Registry;
+ $addtables->loadString($item->addtables);
+ $item->addtables = $addtables->toArray();
+ }
+
if (!empty($item->addpermissions))
{
// Convert the addpermissions field to an array.
@@ -326,14 +334,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->addlinked_views = $addlinked_views->toArray();
}
- if (!empty($item->addtables))
- {
- // Convert the addtables field to an array.
- $addtables = new Registry;
- $addtables->loadString($item->addtables);
- $item->addtables = $addtables->toArray();
- }
-
if (!empty($item->alias_builder))
{
// Convert the alias_builder field to an array.
@@ -1222,6 +1222,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['system_name'] = $data['name_single'];
}
+ // Set the addtables items to data.
+ if (isset($data['addtables']) && is_array($data['addtables']))
+ {
+ $addtables = new JRegistry;
+ $addtables->loadArray($data['addtables']);
+ $data['addtables'] = (string) $addtables;
+ }
+ elseif (!isset($data['addtables']))
+ {
+ // Set the empty addtables to data
+ $data['addtables'] = '';
+ }
+
// Set the addpermissions items to data.
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
{
@@ -1261,19 +1274,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['addlinked_views'] = '';
}
- // Set the addtables items to data.
- if (isset($data['addtables']) && is_array($data['addtables']))
- {
- $addtables = new JRegistry;
- $addtables->loadArray($data['addtables']);
- $data['addtables'] = (string) $addtables;
- }
- elseif (!isset($data['addtables']))
- {
- // Set the empty addtables to data
- $data['addtables'] = '';
- }
-
// Set the alias_builder items to data.
if (isset($data['alias_builder']) && is_array($data['alias_builder']))
{
@@ -1313,58 +1313,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['ajax_input'] = '';
}
- // Set the php_batchcopy string to base64 string.
- if (isset($data['php_batchcopy']))
+ // Set the php_import_headers string to base64 string.
+ if (isset($data['php_import_headers']))
{
- $data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
- }
-
- // Set the php_allowadd string to base64 string.
- if (isset($data['php_allowadd']))
- {
- $data['php_allowadd'] = base64_encode($data['php_allowadd']);
- }
-
- // Set the php_save string to base64 string.
- if (isset($data['php_save']))
- {
- $data['php_save'] = base64_encode($data['php_save']);
- }
-
- // Set the php_getform string to base64 string.
- if (isset($data['php_getform']))
- {
- $data['php_getform'] = base64_encode($data['php_getform']);
- }
-
- // Set the php_getitems_after_all string to base64 string.
- if (isset($data['php_getitems_after_all']))
- {
- $data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']);
- }
-
- // Set the php_import_save string to base64 string.
- if (isset($data['php_import_save']))
- {
- $data['php_import_save'] = base64_encode($data['php_import_save']);
- }
-
- // Set the php_document string to base64 string.
- if (isset($data['php_document']))
- {
- $data['php_document'] = base64_encode($data['php_document']);
- }
-
- // Set the php_before_publish string to base64 string.
- if (isset($data['php_before_publish']))
- {
- $data['php_before_publish'] = base64_encode($data['php_before_publish']);
- }
-
- // Set the php_before_delete string to base64 string.
- if (isset($data['php_before_delete']))
- {
- $data['php_before_delete'] = base64_encode($data['php_before_delete']);
+ $data['php_import_headers'] = base64_encode($data['php_import_headers']);
}
// Set the html_import_view string to base64 string.
@@ -1373,96 +1325,144 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['html_import_view'] = base64_encode($data['html_import_view']);
}
+ // Set the php_import_save string to base64 string.
+ if (isset($data['php_import_save']))
+ {
+ $data['php_import_save'] = base64_encode($data['php_import_save']);
+ }
+
// Set the php_getitems string to base64 string.
if (isset($data['php_getitems']))
{
$data['php_getitems'] = base64_encode($data['php_getitems']);
}
+ // Set the php_getitems_after_all string to base64 string.
+ if (isset($data['php_getitems_after_all']))
+ {
+ $data['php_getitems_after_all'] = base64_encode($data['php_getitems_after_all']);
+ }
+
// Set the php_getlistquery string to base64 string.
if (isset($data['php_getlistquery']))
{
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
}
- // Set the php_before_save string to base64 string.
- if (isset($data['php_before_save']))
- {
- $data['php_before_save'] = base64_encode($data['php_before_save']);
- }
-
- // Set the php_postsavehook string to base64 string.
- if (isset($data['php_postsavehook']))
- {
- $data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
- }
-
- // Set the php_allowedit string to base64 string.
- if (isset($data['php_allowedit']))
- {
- $data['php_allowedit'] = base64_encode($data['php_allowedit']);
- }
-
- // Set the php_batchmove string to base64 string.
- if (isset($data['php_batchmove']))
- {
- $data['php_batchmove'] = base64_encode($data['php_batchmove']);
- }
-
- // Set the php_after_publish string to base64 string.
- if (isset($data['php_after_publish']))
- {
- $data['php_after_publish'] = base64_encode($data['php_after_publish']);
- }
-
- // Set the php_after_delete string to base64 string.
- if (isset($data['php_after_delete']))
- {
- $data['php_after_delete'] = base64_encode($data['php_after_delete']);
- }
-
- // Set the php_import_headers string to base64 string.
- if (isset($data['php_import_headers']))
- {
- $data['php_import_headers'] = base64_encode($data['php_import_headers']);
- }
-
// Set the css_view string to base64 string.
if (isset($data['css_view']))
{
$data['css_view'] = base64_encode($data['css_view']);
}
+ // Set the php_getform string to base64 string.
+ if (isset($data['php_getform']))
+ {
+ $data['php_getform'] = base64_encode($data['php_getform']);
+ }
+
+ // Set the php_before_save string to base64 string.
+ if (isset($data['php_before_save']))
+ {
+ $data['php_before_save'] = base64_encode($data['php_before_save']);
+ }
+
// Set the css_views string to base64 string.
if (isset($data['css_views']))
{
$data['css_views'] = base64_encode($data['css_views']);
}
+ // Set the php_save string to base64 string.
+ if (isset($data['php_save']))
+ {
+ $data['php_save'] = base64_encode($data['php_save']);
+ }
+
+ // Set the php_postsavehook string to base64 string.
+ if (isset($data['php_postsavehook']))
+ {
+ $data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
+ }
+
// Set the javascript_view_file string to base64 string.
if (isset($data['javascript_view_file']))
{
$data['javascript_view_file'] = base64_encode($data['javascript_view_file']);
}
+ // Set the php_allowadd string to base64 string.
+ if (isset($data['php_allowadd']))
+ {
+ $data['php_allowadd'] = base64_encode($data['php_allowadd']);
+ }
+
+ // Set the php_allowedit string to base64 string.
+ if (isset($data['php_allowedit']))
+ {
+ $data['php_allowedit'] = base64_encode($data['php_allowedit']);
+ }
+
// Set the javascript_view_footer string to base64 string.
if (isset($data['javascript_view_footer']))
{
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
}
+ // Set the php_batchcopy string to base64 string.
+ if (isset($data['php_batchcopy']))
+ {
+ $data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
+ }
+
+ // Set the php_batchmove string to base64 string.
+ if (isset($data['php_batchmove']))
+ {
+ $data['php_batchmove'] = base64_encode($data['php_batchmove']);
+ }
+
// Set the javascript_views_file string to base64 string.
if (isset($data['javascript_views_file']))
{
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
}
+ // Set the php_before_publish string to base64 string.
+ if (isset($data['php_before_publish']))
+ {
+ $data['php_before_publish'] = base64_encode($data['php_before_publish']);
+ }
+
+ // Set the php_after_publish string to base64 string.
+ if (isset($data['php_after_publish']))
+ {
+ $data['php_after_publish'] = base64_encode($data['php_after_publish']);
+ }
+
// Set the javascript_views_footer string to base64 string.
if (isset($data['javascript_views_footer']))
{
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
}
+ // Set the php_before_delete string to base64 string.
+ if (isset($data['php_before_delete']))
+ {
+ $data['php_before_delete'] = base64_encode($data['php_before_delete']);
+ }
+
+ // Set the php_after_delete string to base64 string.
+ if (isset($data['php_after_delete']))
+ {
+ $data['php_after_delete'] = base64_encode($data['php_after_delete']);
+ }
+
+ // Set the php_document string to base64 string.
+ if (isset($data['php_document']))
+ {
+ $data['php_document'] = base64_encode($data['php_document']);
+ }
+
// Set the php_controller string to base64 string.
if (isset($data['php_controller']))
{
diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php
index b4863f8d2..7866d122f 100644
--- a/admin/models/admin_views.php
+++ b/admin/models/admin_views.php
@@ -376,56 +376,56 @@ class ComponentbuilderModelAdmin_views extends JModelList
continue;
}
- // decode php_batchcopy
- $item->php_batchcopy = base64_decode($item->php_batchcopy);
- // decode php_allowadd
- $item->php_allowadd = base64_decode($item->php_allowadd);
- // decode php_save
- $item->php_save = base64_decode($item->php_save);
- // decode php_getform
- $item->php_getform = base64_decode($item->php_getform);
- // decode php_getitems_after_all
- $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
- // decode php_import_save
- $item->php_import_save = base64_decode($item->php_import_save);
- // decode php_document
- $item->php_document = base64_decode($item->php_document);
- // decode php_before_publish
- $item->php_before_publish = base64_decode($item->php_before_publish);
- // decode php_before_delete
- $item->php_before_delete = base64_decode($item->php_before_delete);
- // decode html_import_view
- $item->html_import_view = base64_decode($item->html_import_view);
- // decode php_getitems
- $item->php_getitems = base64_decode($item->php_getitems);
- // decode php_getlistquery
- $item->php_getlistquery = base64_decode($item->php_getlistquery);
- // decode php_before_save
- $item->php_before_save = base64_decode($item->php_before_save);
- // decode php_postsavehook
- $item->php_postsavehook = base64_decode($item->php_postsavehook);
- // decode php_allowedit
- $item->php_allowedit = base64_decode($item->php_allowedit);
- // decode php_batchmove
- $item->php_batchmove = base64_decode($item->php_batchmove);
- // decode php_after_publish
- $item->php_after_publish = base64_decode($item->php_after_publish);
- // decode php_after_delete
- $item->php_after_delete = base64_decode($item->php_after_delete);
// decode php_import_headers
$item->php_import_headers = base64_decode($item->php_import_headers);
+ // decode html_import_view
+ $item->html_import_view = base64_decode($item->html_import_view);
+ // decode php_import_save
+ $item->php_import_save = base64_decode($item->php_import_save);
+ // decode php_getitems
+ $item->php_getitems = base64_decode($item->php_getitems);
+ // decode php_getitems_after_all
+ $item->php_getitems_after_all = base64_decode($item->php_getitems_after_all);
+ // decode php_getlistquery
+ $item->php_getlistquery = base64_decode($item->php_getlistquery);
// decode css_view
$item->css_view = base64_decode($item->css_view);
+ // decode php_getform
+ $item->php_getform = base64_decode($item->php_getform);
+ // decode php_before_save
+ $item->php_before_save = base64_decode($item->php_before_save);
// decode css_views
$item->css_views = base64_decode($item->css_views);
+ // decode php_save
+ $item->php_save = base64_decode($item->php_save);
+ // decode php_postsavehook
+ $item->php_postsavehook = base64_decode($item->php_postsavehook);
// decode javascript_view_file
$item->javascript_view_file = base64_decode($item->javascript_view_file);
+ // decode php_allowadd
+ $item->php_allowadd = base64_decode($item->php_allowadd);
+ // decode php_allowedit
+ $item->php_allowedit = base64_decode($item->php_allowedit);
// decode javascript_view_footer
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
+ // decode php_batchcopy
+ $item->php_batchcopy = base64_decode($item->php_batchcopy);
+ // decode php_batchmove
+ $item->php_batchmove = base64_decode($item->php_batchmove);
// decode javascript_views_file
$item->javascript_views_file = base64_decode($item->javascript_views_file);
+ // decode php_before_publish
+ $item->php_before_publish = base64_decode($item->php_before_publish);
+ // decode php_after_publish
+ $item->php_after_publish = base64_decode($item->php_after_publish);
// decode javascript_views_footer
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
+ // decode php_before_delete
+ $item->php_before_delete = base64_decode($item->php_before_delete);
+ // decode php_after_delete
+ $item->php_after_delete = base64_decode($item->php_after_delete);
+ // decode php_document
+ $item->php_document = base64_decode($item->php_document);
// decode php_controller
$item->php_controller = base64_decode($item->php_controller);
// decode php_model
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index 030b35111..c43f0cfa1 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -1593,173 +1593,26 @@ class ComponentbuilderModelAjax extends JModelList
// Used in dynamic_get
public function getViewTableColumns($admin_view, $as, $type)
{
- // Get a db connection.
- $db = JFactory::getDbo();
-
- // Create a new query object.
- $query = $db->getQuery(true);
- $query->select($db->quoteName(array('a.addfields', 'b.name_single')));
- $query->from($db->quoteName('#__componentbuilder_admin_fields', 'a'));
- $query->join('LEFT', $db->quoteName('#__componentbuilder_admin_view', 'b') . ' ON (' . $db->quoteName('a.admin_view') . ' = ' . $db->quoteName('b.id') . ')');
- $query->where($db->quoteName('b.published') . ' = 1');
- $query->where($db->quoteName('a.admin_view') . ' = '. (int) $admin_view);
-
- // Reset the query using our newly populated query object.
- $db->setQuery($query);
- $db->execute();
- if ($db->getNumRows())
- {
- $result = $db->loadObject();
- $description = '';
- $tableName = '';
- if (1 == $type)
- {
- $tableName = ComponentbuilderHelper::safeString($result->name_single).'_';
- }
- $addfields = json_decode($result->addfields,true);
- if (ComponentbuilderHelper::checkArray($addfields))
- {
- $fields = array();
- // get data
- foreach ($addfields as $nr => $value)
- {
- $tmp = $this->getFieldData((int) $value['field']);
- if (ComponentbuilderHelper::checkArray($tmp))
- {
- $field[$nr] = $tmp;
- }
- // insure it is set to alias if needed
- if (isset($value['alias']) && $value['alias'] == 1)
- {
- $field[$nr]['name'] = 'alias';
- }
- }
- // add the basic defaults
- $fields[] = $as.".id AS ".$tableName."id";
- $fields[] = $as.".asset_id AS ".$tableName."asset_id";
- // load data
- foreach ($field as $n => $f)
- {
- if (ComponentbuilderHelper::checkArray($f))
- {
- $fields[] = $as.".".$f['name']." AS ".$tableName.$f['name'];
- }
- }
- // add the basic defaults
- $fields[] = $as.".published AS ".$tableName."published";
- $fields[] = $as.".created_by AS ".$tableName."created_by";
- $fields[] = $as.".modified_by AS ".$tableName."modified_by";
- $fields[] = $as.".created AS ".$tableName."created";
- $fields[] = $as.".modified AS ".$tableName."modified";
- $fields[] = $as.".version AS ".$tableName."version";
- $fields[] = $as.".hits AS ".$tableName."hits";
- if (0)
- {
- $fields[] = $as.".access AS ".$tableName."access";
- }
- $fields[] = $as.".ordering AS ".$tableName."ordering";
- $viewFields = $description.implode("\n",$fields);
- }
- return $viewFields;
- }
- return false;
+ return ComponentbuilderHelper::getViewTableColumns($admin_view, $as, $type);
}
- protected function getFieldData($id)
- {
- // Get a db connection.
- $db = JFactory::getDbo();
-
- // Create a new query object.
- $query = $db->getQuery(true);
-
- // Order it by the ordering field.
- $query->select($db->quoteName(array('a.name','a.xml')));
- $query->select($db->quoteName(array('c.name'),array('type_name')));
- $query->from('#__componentbuilder_field AS a');
- $query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'c') . ' ON (' . $db->quoteName('a.fieldtype') . ' = ' . $db->quoteName('c.id') . ')');
- $query->where($db->quoteName('a.id') . ' = '. $db->quote($id));
-
- // Reset the query using our newly populated query object.
- $db->setQuery($query);
- $db->execute();
- if ($db->getNumRows())
- {
- // Load the results as a list of stdClass objects (see later for more options on retrieving data).
- $field = $db->loadObject();
- // load the values form params
- $field->xml = json_decode($field->xml);
- $field->type_name = ComponentbuilderHelper::safeString($field->type_name);
- $load = true;
- // if category then name must be catid (only one per view)
- if ($field->type_name == 'category')
- {
- $name = 'catid';
-
- }
- // if tag is set then enable all tag options for this view (only one per view)
- elseif ($field->type_name == 'tag')
- {
- $name = 'tags';
- }
- // don't add spacers or notes
- elseif ($field->type_name == 'spacer' || $field->type_name == 'note')
- {
- // make sure the name is unique
- return false;
- }
- else
- {
- $name = ComponentbuilderHelper::safeString(ComponentbuilderHelper::getBetween($field->xml,'name="','"'));
- }
-
- // use field core name only if not found in xml
- if (!ComponentbuilderHelper::checkString($name))
- {
- $name = ComponentbuilderHelper::safeString($field->name);;
- }
- return array('name' => $name, 'type' => $field->type_name);
- }
- return false;
- }
-
public function getDbTableColumns($tableName, $as, $type)
{
- // Get a db connection.
- $db = JFactory::getDbo();
- // get the columns
- $columns = $db->getTableColumns("#__".$tableName);
- // set the type (multi or single)
- $unique = '';
- if (1 == $type)
- {
- $unique = ComponentbuilderHelper::safeString($tableName).'_';
- }
- if (ComponentbuilderHelper::checkArray($columns))
- {
- // build the return string
- $tableColumns = array();
- foreach ($columns as $column => $typeCast)
- {
- $tableColumns[] = $as.".".$column . ' AS ' . $unique . $column;
- }
- return implode("\n",$tableColumns);
- }
- return false;
+ return ComponentbuilderHelper::getDbTableColumns($tableName, $as, $type);
}
public function getDynamicValues($id, $view)
{
// Get a db connection.
$db = JFactory::getDbo();
-
+
// Create a new query object.
$query = $db->getQuery(true);
- $query->select($db->quoteName(array('getcustom', 'gettype', 'main_source', 'view_selection', 'db_selection', 'join_view_table', 'join_db_table', 'addcalculation', 'php_calculation')));
+ $query->select($db->quoteName(array('getcustom', 'gettype', 'select_all', 'db_table_main', 'view_table_main', 'main_source', 'view_selection', 'db_selection', 'join_view_table', 'join_db_table', 'addcalculation', 'php_calculation')));
$query->from($db->quoteName('#__componentbuilder_dynamic_get'));
$query->where($db->quoteName('published') . ' = 1');
- $query->where($db->quoteName('id') . ' = '. (int) $id);
-
+ $query->where($db->quoteName('id') . ' = ' . (int) $id);
+
// Reset the query using our newly populated query object.
$db->setQuery($query);
$db->execute();
@@ -1772,11 +1625,19 @@ class ComponentbuilderModelAjax extends JModelList
// get the main values (name)
if ($result->main_source == 1)
{
- $selections[] = explode("\n",$result->view_selection);
+ if ($result->select_all == 1)
+ {
+ $result->view_selection = ComponentbuilderHelper::getViewTableColumns($result->view_table_main, 'a', $result->gettype);
+ }
+ $selections[] = explode("\n", $result->view_selection);
}
elseif ($result->main_source == 2)
{
- $selections[] = explode("\n",$result->db_selection);
+ if ($result->select_all == 1)
+ {
+ $result->db_selection = ComponentbuilderHelper::getDbTableColumns($result->db_table_main, 'a', $result->gettype);
+ }
+ $selections[] = explode("\n", $result->db_selection);
}
elseif ($result->main_source == 3)
{
@@ -1798,14 +1659,20 @@ class ComponentbuilderModelAjax extends JModelList
{
foreach ($result->join_view_table as $join_view_table)
{
+ // check if all is selected
+ if (strpos($join_view_table['selection'], '*') !== false)
+ {
+ $join_view_table['selection'] = ComponentbuilderHelper::getViewTableColumns($join_view_table['view_table'], $join_view_table['as'], $join_view_table['row_type']);
+ }
+ // build selection
if ($join_view_table['row_type'] == '1')
{
- $selections[] = explode("\n",$join_view_table['selection']);
+ $selections[] = explode("\n", $join_view_table['selection']);
}
elseif ($join_view_table['row_type'] == '2')
{
$names = $this->setListMethodName(array($join_view_table['on_field'],$join_view_table['join_field']),$join_view_table['view_table'],$join_view_table['as'],1);
- $selectionsList[implode('',$names)] = explode("\n",$join_view_table['selection']);
+ $selectionsList[implode('',$names)] = explode("\n", $join_view_table['selection']);
}
}
unset($result->join_view_table);
@@ -1814,14 +1681,20 @@ class ComponentbuilderModelAjax extends JModelList
{
foreach ($result->join_db_table as $join_db_table)
{
+ // check if all is selected
+ if (strpos($join_db_table['selection'], '*') !== false)
+ {
+ $join_db_table['selection'] = ComponentbuilderHelper::getViewTableColumns($join_db_table['view_table'], $join_db_table['as'], $join_db_table['row_type']);
+ }
+ // build selections
if ($join_db_table['row_type'] == '1')
{
- $selections[] = explode("\n",$join_db_table['selection']);
+ $selections[] = explode("\n", $join_db_table['selection']);
}
elseif ($join_db_table['row_type'] == '2')
{
$names = $this->setListMethodName(array($join_db_table['on_field'],$join_db_table['join_field']),$join_db_table['db_table'],$join_db_table['as'],2);
- $selectionsList[implode('',$names)] = explode("\n",$join_db_table['selection']);
+ $selectionsList[implode('',$names)] = explode("\n", $join_db_table['selection']);
}
}
unset($result->join_db_table);
@@ -1946,7 +1819,7 @@ class ComponentbuilderModelAjax extends JModelList
}
return false;
}
-
+
protected function setListMethodName($names, $table, $as, $type)
{
$methodNames = array();
@@ -1991,7 +1864,7 @@ class ComponentbuilderModelAjax extends JModelList
$methodNames[] = ComponentbuilderHelper::safeString($as,'U');
return $methodNames;
}
-
+
protected function getViewName($id)
{
// Get the view name
diff --git a/admin/models/custom_code.php b/admin/models/custom_code.php
index a4611a277..3dab5e615 100644
--- a/admin/models/custom_code.php
+++ b/admin/models/custom_code.php
@@ -826,29 +826,31 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
// few checks with the new option of using custom code in custom code
- if (isset($data['code']) && ($placholders = ComponentbuilderHelper::getAllBetween($data['code'], '[CUSTOM' . 'CODE=', ']'))
- && ComponentbuilderHelper::checkArray($placholders))
+ if (isset($data['code']) && ($placeholders = ComponentbuilderHelper::getAllBetween($data['code'], '[CUSTOM' . 'CODE=', ']'))
+ && ComponentbuilderHelper::checkArray($placeholders))
{
// make sure custom code as Hash (automation) target does not have other custom code placeholders
if (isset($data['target']) && 1 == $data['target'])
{
- foreach ($placholders as $placholder)
+ foreach ($placeholders as $placeholder)
{
- $data['code'] = str_replace('[CUSTOM' . 'CODE=' . $placholder . ']', '', $data['code']);
+ $data['code'] = str_replace('[CUSTOM' . 'CODE=' . $placeholder . ']', '', $data['code']);
}
// set title
- $title = (count($placholders) == 1) ? JText::_('COM_COMPONENTBUILDER_PLACEHOLDER_REMOVED') : JText::_('COM_COMPONENTBUILDER_PLACEHOLDERS_REMOVED');
+ $title = (count($placeholders) == 1) ? JText::_('COM_COMPONENTBUILDER_PLACEHOLDER_REMOVED') : JText::_('COM_COMPONENTBUILDER_PLACEHOLDERS_REMOVED');
// show message that we have had to remove the custom placeholders
JFactory::getApplication()->enqueueMessage(JText::sprintf('COM_COMPONENTBUILDER_HTHREESHTHREEPCUSTOM_CODE_CAN_ONLY_BE_USED_IN_OTHER_CUSTOM_CODE_IF_SET_AS_BJCB_MANUALB_YOU_CAN_NOT_ADD_THEM_TO_EMHASH_AUTOMATIONEM_CODE_AT_THIS_POINTP', $title), 'Warning');
}
// make sure that the same custom code is not added to itself
else
{
- foreach ($placholders as $placholder)
+ foreach ($placeholders as $placeholder)
{
- if (strpos($placholder, $data['function_name']) !== false)
+ // strip the placeholder down to just the function name
+ $_placeholder = (array) explode('+', $placeholder);
+ if ($_placeholder[0] === $data['function_name'])
{
- $data['code'] = str_replace('[CUSTOM' . 'CODE=' . $placholder . ']', '', $data['code']);
+ $data['code'] = str_replace('[CUSTOM' . 'CODE=' . $placeholder . ']', '', $data['code']);
// show message that we have had to remove the custom placeholders
JFactory::getApplication()->enqueueMessage(JText::_('COM_COMPONENTBUILDER_HTHREEPLACEHOLDER_REMOVEDHTHREEPBTHISB_CUSTOM_CODE_CAN_ONLY_BE_USED_IN_BOTHERB_CUSTOM_CODE_NOT_IN_IT_SELF_SINCE_THAT_WILL_CAUSE_A_INFINITE_LOOP_IN_THE_COMPILERP'), 'Warning');
// stop the loop :)
diff --git a/admin/models/fields.php b/admin/models/fields.php
index 8f1b91b7b..1a56973ec 100644
--- a/admin/models/fields.php
+++ b/admin/models/fields.php
@@ -171,6 +171,10 @@ class ComponentbuilderModelFields extends JModelList
'TEXT' => 'COM_COMPONENTBUILDER_FIELD_TEXT',
'MEDIUMTEXT' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT',
'LONGTEXT' => 'COM_COMPONENTBUILDER_FIELD_LONGTEXT',
+ 'BLOB' => 'COM_COMPONENTBUILDER_FIELD_BLOB',
+ 'TINYBLOB' => 'COM_COMPONENTBUILDER_FIELD_TINYBLOB',
+ 'MEDIUMBLOB' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMBLOB',
+ 'LONGBLOB' => 'COM_COMPONENTBUILDER_FIELD_LONGBLOB',
'DATETIME' => 'COM_COMPONENTBUILDER_FIELD_DATETIME',
'DATE' => 'COM_COMPONENTBUILDER_FIELD_DATE',
'TIME' => 'COM_COMPONENTBUILDER_FIELD_TIME',
diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php
index 4ebaaab40..eb099db26 100644
--- a/admin/models/fieldtype.php
+++ b/admin/models/fieldtype.php
@@ -239,6 +239,10 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
'TEXT' => 'COM_COMPONENTBUILDER_FIELD_TEXT',
'MEDIUMTEXT' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT',
'LONGTEXT' => 'COM_COMPONENTBUILDER_FIELD_LONGTEXT',
+ 'BLOB' => 'COM_COMPONENTBUILDER_FIELD_BLOB',
+ 'TINYBLOB' => 'COM_COMPONENTBUILDER_FIELD_TINYBLOB',
+ 'MEDIUMBLOB' => 'COM_COMPONENTBUILDER_FIELD_MEDIUMBLOB',
+ 'LONGBLOB' => 'COM_COMPONENTBUILDER_FIELD_LONGBLOB',
'DATETIME' => 'COM_COMPONENTBUILDER_FIELD_DATETIME',
'DATE' => 'COM_COMPONENTBUILDER_FIELD_DATE',
'TIME' => 'COM_COMPONENTBUILDER_FIELD_TIME',
diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js
index b453fd44f..28ec70746 100644
--- a/admin/models/forms/admin_view.js
+++ b/admin/models/forms/admin_view.js
@@ -1330,16 +1330,16 @@ function checkAliasField() {
}
function checkAliasField_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.checkAliasField&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.checkAliasField&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type > 0){
var request = 'token='+token+'&type=' + type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1354,16 +1354,16 @@ function getAjaxDisplay(type){
}
function getAjaxDisplay_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type=' + type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1372,16 +1372,16 @@ function addData(result,where){
}
function addButtonID_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0 && size > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButtonID(type, where, size){
@@ -1397,16 +1397,16 @@ function addButtonID(type, where, size){
}
function addButton_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButton(type, where, size){
@@ -1424,16 +1424,16 @@ function addButton(type, where, size){
}
function getLinked_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1446,16 +1446,16 @@ function getLinked(){
}
function getTableColumns_server(tableName){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.tableColumns&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.tableColumns&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && tableName.length > 0){
var request = 'token='+token+'&table='+tableName;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1477,16 +1477,16 @@ function getTableColumns(fieldKey, table_, nr_){
}
function getDynamicScripts_server(typpe){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && typpe.length > 0){
var request = 'token='+token+'&type='+typpe;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml
index a6ca0cccf..0088e9d61 100644
--- a/admin/models/forms/admin_view.xml
+++ b/admin/models/forms/admin_view.xml
@@ -129,104 +129,76 @@
message="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
-
+
-
+ type="radio"
+ name="add_php_batchcopy"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHCOPY_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
-
+ type="radio"
+ name="add_php_allowadd"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWADD_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
-
+ type="radio"
+ name="add_php_save"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_SAVE_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
-
+ type="radio"
+ name="add_php_getform"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
-
-
+ type="radio"
+ name="add_php_getitems_after_all"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_document"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
@@ -296,42 +265,542 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
-
+
-
-
-
+ type="radio"
+ name="add_php_before_publish"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_PUBLISH_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
+
+
+
+
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
+
+
+
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_UTFEIGHT_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_CHINESE_CI_CHARSET_BIGFIVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_BIN_CHARSET_BIGFIVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_SWEDISH_CI_CHARSET_DECEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_BIN_CHARSET_DECEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_BIN_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_ENGLISH_CI_CHARSET_HPEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_BIN_CHARSET_HPEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_GENERAL_CI_CHARSET_KOIEIGHTR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_BIN_CHARSET_KOIEIGHTR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GERMANONE_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_SWEDISH_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_DANISH_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GERMANTWO_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_BIN_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GENERAL_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GENERAL_CS_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_SPANISH_CI_CHARSET_LATINONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_CZECH_CS_CHARSET_LATINTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_GENERAL_CI_CHARSET_LATINTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_HUNGARIAN_CI_CHARSET_LATINTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_CROATIAN_CI_CHARSET_LATINTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_BIN_CHARSET_LATINTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_SWEDISH_CI_CHARSET_SWESEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_BIN_CHARSET_SWESEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_GENERAL_CI_CHARSET_ASCII
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_BIN_CHARSET_ASCII
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_JAPANESE_CI_CHARSET_UJIS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_BIN_CHARSET_UJIS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_JAPANESE_CI_CHARSET_SJIS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_BIN_CHARSET_SJIS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_GENERAL_CI_CHARSET_HEBREW
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_BIN_CHARSET_HEBREW
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_THAI_CI_CHARSET_TISSIX_HUNDRED_AND_TWENTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_BIN_CHARSET_TISSIX_HUNDRED_AND_TWENTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_KOREAN_CI_CHARSET_EUCKR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_BIN_CHARSET_EUCKR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_GENERAL_CI_CHARSET_KOIEIGHTU
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_BIN_CHARSET_KOIEIGHTU
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_CHINESE_CI_CHARSET_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_BIN_CHARSET_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_GENERAL_CI_CHARSET_GREEK
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_BIN_CHARSET_GREEK
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_CZECH_CS_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_CROATIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_POLISH_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_CHINESE_CI_CHARSET_GBK
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_BIN_CHARSET_GBK
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_TURKISH_CI_CHARSET_LATINFIVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_BIN_CHARSET_LATINFIVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_GENERAL_CI_CHARSET_ARMSCIIEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_BIN_CHARSET_ARMSCIIEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GENERAL_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_BIN_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UNICODE_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ICELANDIC_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_LATVIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ROMANIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SLOVENIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_POLISH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ESTONIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SPANISH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SWEDISH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_TURKISH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_CZECH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_DANISH_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_LITHUANIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SLOVAK_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SPANISHTWO_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ROMAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_PERSIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ESPERANTO_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_HUNGARIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SINHALA_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GERMANTWO_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_CROATIAN_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_VIETNAMESE_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GENERAL_MYSQLFIVE_HUNDRED_CI_CHARSET_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GENERAL_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_BIN_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UNICODE_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ICELANDIC_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_LATVIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ROMANIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SLOVENIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_POLISH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ESTONIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SPANISH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SWEDISH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_TURKISH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_CZECH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_DANISH_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_LITHUANIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SLOVAK_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SPANISHTWO_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ROMAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_PERSIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ESPERANTO_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_HUNGARIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SINHALA_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GERMANTWO_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_CROATIAN_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UNICODE_FIVETWOZERO_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_VIETNAMESE_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GENERAL_MYSQLFIVE_HUNDRED_CI_CHARSET_UCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_SIXTY_SIX
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_BIN_CHARSET_CPEIGHT_HUNDRED_AND_SIXTY_SIX
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_GENERAL_CI_CHARSET_KEYBCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_BIN_CHARSET_KEYBCSTWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_GENERAL_CI_CHARSET_MACCE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_BIN_CHARSET_MACCE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_GENERAL_CI_CHARSET_MACROMAN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_BIN_CHARSET_MACROMAN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_BIN_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_ESTONIAN_CS_CHARSET_LATINSEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_GENERAL_CI_CHARSET_LATINSEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_GENERAL_CS_CHARSET_LATINSEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_BIN_CHARSET_LATINSEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_GENERAL_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_BIN_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UNICODE_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ICELANDIC_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_LATVIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ROMANIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SLOVENIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_POLISH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ESTONIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SPANISH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SWEDISH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_TURKISH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_CZECH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_DANISH_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_LITHUANIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SLOVAK_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SPANISHTWO_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ROMAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_PERSIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ESPERANTO_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_HUNGARIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SINHALA_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_GERMANTWO_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_CROATIAN_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_VIETNAMESE_CI_CHARSET_UTFEIGHTMBFOUR
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_BULGARIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_UKRAINIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CS_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_GENERAL_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_BIN_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UNICODE_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ICELANDIC_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_LATVIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ROMANIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SLOVENIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_POLISH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ESTONIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SPANISH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SWEDISH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_TURKISH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_CZECH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_DANISH_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_LITHUANIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SLOVAK_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SPANISHTWO_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ROMAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_PERSIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ESPERANTO_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_HUNGARIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SINHALA_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_GERMANTWO_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_CROATIAN_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_VIETNAMESE_CI_CHARSET_UTFSIXTEEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_GENERAL_CI_CHARSET_UTFSIXTEENLE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_BIN_CHARSET_UTFSIXTEENLE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_LITHUANIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_GENERAL_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_BIN_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UNICODE_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ICELANDIC_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_LATVIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ROMANIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SLOVENIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_POLISH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ESTONIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SPANISH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SWEDISH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_TURKISH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_CZECH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_DANISH_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_LITHUANIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SLOVAK_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SPANISHTWO_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ROMAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_PERSIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ESPERANTO_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_HUNGARIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SINHALA_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_GERMANTWO_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_CROATIAN_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_VIETNAMESE_CI_CHARSET_UTFTHIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_BINARY_CHARSET_BINARY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_GENERAL_CI_CHARSET_GEOSTDEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_BIN_CHARSET_GEOSTDEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_JAPANESE_CI_CHARSET_CPNINE_HUNDRED_AND_THIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_BIN_CHARSET_CPNINE_HUNDRED_AND_THIRTY_TWO
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_JAPANESE_CI_CHARSET_EUCJPMS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_BIN_CHARSET_EUCJPMS
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINESE_CI_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_BIN_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
+
COM_COMPONENTBUILDER_ADMIN_VIEW_READONLY
-
+
@@ -367,38 +837,38 @@
name="not_required"
default="[]"
/>
-
+
-
+
+ type="radio"
+ name="add_php_getlistquery"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETLISTQUERY_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_before_save"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_postsavehook"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_POSTSAVEHOOK_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_allowedit"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_ALLOWEDIT_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_batchmove"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BATCHMOVE_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_after_publish"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_PUBLISH_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ type="radio"
+ name="add_php_after_delete"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_AFTER_DELETE_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_YES
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
-
+
+ default="1">
+
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_MYISAM
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MYISAM
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_INNODB
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MEMORY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_PERFORMANCE_SCHEMA
+
COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM
-
-
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_BIGFIVE_TRADITIONAL_CHINESE_MOST_SUITABLE_COLLATION_BIGFIVE_CHINESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_DEC_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_DECEIGHT_SWEDISH_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_DOS_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_FIFTY_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_HP_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_HPEIGHT_ENGLISH_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_KOIEIGHTR_RELCOM_RUSSIAN_MOST_SUITABLE_COLLATION_KOIEIGHTR_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_CPONETWO_HUNDRED_AND_FIFTY_TWO_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_LATINONE_SWEDISH_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINETWO_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_LATINTWO_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_SEVENBIT_SWEDISH_MOST_SUITABLE_COLLATION_SWESEVEN_SWEDISH_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_US_ASCII_MOST_SUITABLE_COLLATION_ASCII_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_EUCJP_JAPANESE_MOST_SUITABLE_COLLATION_UJIS_JAPANESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_SHIFTJIS_JAPANESE_MOST_SUITABLE_COLLATION_SJIS_JAPANESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINEEIGHT_HEBREW_MOST_SUITABLE_COLLATION_HEBREW_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_TISSIX_HUNDRED_AND_TWENTY_THAI_MOST_SUITABLE_COLLATION_TISSIX_HUNDRED_AND_TWENTY_THAI_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_EUCKR_KOREAN_MOST_SUITABLE_COLLATION_EUCKR_KOREAN_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_KOIEIGHTU_UKRAINIAN_MOST_SUITABLE_COLLATION_KOIEIGHTU_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_SIMPLIFIED_CHINESE_MOST_SUITABLE_COLLATION_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_CHINESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINESEVEN_GREEK_MOST_SUITABLE_COLLATION_GREEK_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_WINDOWS_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_GBK_SIMPLIFIED_CHINESE_MOST_SUITABLE_COLLATION_GBK_CHINESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_ISO_EIGHTY_EIGHTFIVENINENINE_TURKISH_MOST_SUITABLE_COLLATION_LATINFIVE_TURKISH_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_ARMSCIIEIGHT_ARMENIAN_MOST_SUITABLE_COLLATION_ARMSCIIEIGHT_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UTFEIGHT_UNICODE_MOST_SUITABLE_COLLATION_UTFEIGHT_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UCSTWO_UNICODE_MOST_SUITABLE_COLLATION_UCSTWO_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_DOS_RUSSIAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_SIXTY_SIX_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_DOS_KAMENICKY_CZECHSLOVAK_MOST_SUITABLE_COLLATION_KEYBCSTWO_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_MAC_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_MACCE_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_MAC_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_MACROMAN_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_DOS_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_FIFTY_TWO_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINETHIRTEEN_BALTIC_MOST_SUITABLE_COLLATION_LATINSEVEN_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UTFEIGHT_UNICODE_MOST_SUITABLE_COLLATION_UTFEIGHTMBFOUR_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_WINDOWS_CYRILLIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UTFSIXTEEN_UNICODE_MOST_SUITABLE_COLLATION_UTFSIXTEEN_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_UTFSIXTEENLE_UNICODE_MOST_SUITABLE_COLLATION_UTFSIXTEENLE_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_WINDOWS_ARABIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_WINDOWS_BALTIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UTFTHIRTY_TWO_UNICODE_MOST_SUITABLE_COLLATION_UTFTHIRTY_TWO_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_BINARY_BINARY_PSEUDO_CHARSET_MOST_SUITABLE_COLLATION_BINARY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_GEOSTDEIGHT_GEORGIAN_MOST_SUITABLE_COLLATION_GEOSTDEIGHT_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_SJIS_FOR_WINDOWS_JAPANESE_MOST_SUITABLE_COLLATION_CPNINE_HUNDRED_AND_THIRTY_TWO_JAPANESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_UJIS_FOR_WINDOWS_JAPANESE_MOST_SUITABLE_COLLATION_EUCJPMS_JAPANESE_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINA_NATIONAL_STANDARD_GBEIGHTEEN_THOUSAND_AND_THIRTY_MOST_SUITABLE_COLLATION_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINESE_CI
-
-
-
-
-
-
-
-
-
-
+
@@ -889,6 +1211,25 @@
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_getitems_after_all"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_getlistquery"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_getform"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_before_save"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_save"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_postsavehook"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_allowadd"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWADD_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_allowedit"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_batchcopy"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_batchmove"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_before_publish"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_after_publish"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_before_delete"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_after_delete"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="30"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
-
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_YES
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+ type="editor"
+ name="php_document"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION"
+ width="100%"
+ height="450px"
+ cols="15"
+ rows="50"
+ buttons="no"
+ syntax="php"
+ editor="codemirror|none"
+ filter="raw"
+ required="true"
+ validate="code"
+ />
-
+
- COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_MYISAM
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MYISAM
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_INNODB
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MEMORY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ARCHIVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_PERFORMANCE_SCHEMA
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_UTFEIGHT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_BIGFIVE_TRADITIONAL_CHINESE_MOST_SUITABLE_COLLATION_BIGFIVE_CHINESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_DEC_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_DECEIGHT_SWEDISH_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_DOS_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_FIFTY_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_HP_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_HPEIGHT_ENGLISH_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_KOIEIGHTR_RELCOM_RUSSIAN_MOST_SUITABLE_COLLATION_KOIEIGHTR_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_CPONETWO_HUNDRED_AND_FIFTY_TWO_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_LATINONE_SWEDISH_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINETWO_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_LATINTWO_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_SEVENBIT_SWEDISH_MOST_SUITABLE_COLLATION_SWESEVEN_SWEDISH_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_US_ASCII_MOST_SUITABLE_COLLATION_ASCII_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_EUCJP_JAPANESE_MOST_SUITABLE_COLLATION_UJIS_JAPANESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_SHIFTJIS_JAPANESE_MOST_SUITABLE_COLLATION_SJIS_JAPANESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINEEIGHT_HEBREW_MOST_SUITABLE_COLLATION_HEBREW_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_TISSIX_HUNDRED_AND_TWENTY_THAI_MOST_SUITABLE_COLLATION_TISSIX_HUNDRED_AND_TWENTY_THAI_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_EUCKR_KOREAN_MOST_SUITABLE_COLLATION_EUCKR_KOREAN_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_KOIEIGHTU_UKRAINIAN_MOST_SUITABLE_COLLATION_KOIEIGHTU_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_SIMPLIFIED_CHINESE_MOST_SUITABLE_COLLATION_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_CHINESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINESEVEN_GREEK_MOST_SUITABLE_COLLATION_GREEK_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_WINDOWS_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_GBK_SIMPLIFIED_CHINESE_MOST_SUITABLE_COLLATION_GBK_CHINESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_ISO_EIGHTY_EIGHTFIVENINENINE_TURKISH_MOST_SUITABLE_COLLATION_LATINFIVE_TURKISH_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_ARMSCIIEIGHT_ARMENIAN_MOST_SUITABLE_COLLATION_ARMSCIIEIGHT_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UTFEIGHT_UNICODE_MOST_SUITABLE_COLLATION_UTFEIGHT_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UCSTWO_UNICODE_MOST_SUITABLE_COLLATION_UCSTWO_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_DOS_RUSSIAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_SIXTY_SIX_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_DOS_KAMENICKY_CZECHSLOVAK_MOST_SUITABLE_COLLATION_KEYBCSTWO_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_MAC_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_MACCE_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_MAC_WEST_EUROPEAN_MOST_SUITABLE_COLLATION_MACROMAN_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_DOS_CENTRAL_EUROPEAN_MOST_SUITABLE_COLLATION_CPEIGHT_HUNDRED_AND_FIFTY_TWO_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_ISO_EIGHT_THOUSAND_EIGHT_HUNDRED_AND_FIFTY_NINETHIRTEEN_BALTIC_MOST_SUITABLE_COLLATION_LATINSEVEN_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UTFEIGHT_UNICODE_MOST_SUITABLE_COLLATION_UTFEIGHTMBFOUR_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_WINDOWS_CYRILLIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UTFSIXTEEN_UNICODE_MOST_SUITABLE_COLLATION_UTFSIXTEEN_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_UTFSIXTEENLE_UNICODE_MOST_SUITABLE_COLLATION_UTFSIXTEENLE_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_WINDOWS_ARABIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_WINDOWS_BALTIC_MOST_SUITABLE_COLLATION_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UTFTHIRTY_TWO_UNICODE_MOST_SUITABLE_COLLATION_UTFTHIRTY_TWO_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_BINARY_BINARY_PSEUDO_CHARSET_MOST_SUITABLE_COLLATION_BINARY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_GEOSTDEIGHT_GEORGIAN_MOST_SUITABLE_COLLATION_GEOSTDEIGHT_GENERAL_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_SJIS_FOR_WINDOWS_JAPANESE_MOST_SUITABLE_COLLATION_CPNINE_HUNDRED_AND_THIRTY_TWO_JAPANESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_UJIS_FOR_WINDOWS_JAPANESE_MOST_SUITABLE_COLLATION_EUCJPMS_JAPANESE_CI
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINA_NATIONAL_STANDARD_GBEIGHTEEN_THOUSAND_AND_THIRTY_MOST_SUITABLE_COLLATION_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINESE_CI
-
+
+ default="0">
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GLOBAL_DEFAULT_UTFEIGHT_GENERAL_CI
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_CHINESE_CI_CHARSET_BIGFIVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_BIGFIVE_BIN_CHARSET_BIGFIVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_SWEDISH_CI_CHARSET_DECEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_DECEIGHT_BIN_CHARSET_DECEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_BIN_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_ENGLISH_CI_CHARSET_HPEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HPEIGHT_BIN_CHARSET_HPEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_GENERAL_CI_CHARSET_KOIEIGHTR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTR_BIN_CHARSET_KOIEIGHTR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GERMANONE_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_SWEDISH_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_DANISH_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GERMANTWO_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_BIN_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GENERAL_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_GENERAL_CS_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINONE_SPANISH_CI_CHARSET_LATINONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_CZECH_CS_CHARSET_LATINTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_GENERAL_CI_CHARSET_LATINTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_HUNGARIAN_CI_CHARSET_LATINTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_CROATIAN_CI_CHARSET_LATINTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINTWO_BIN_CHARSET_LATINTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_SWEDISH_CI_CHARSET_SWESEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SWESEVEN_BIN_CHARSET_SWESEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_GENERAL_CI_CHARSET_ASCII
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ASCII_BIN_CHARSET_ASCII
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_JAPANESE_CI_CHARSET_UJIS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UJIS_BIN_CHARSET_UJIS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_JAPANESE_CI_CHARSET_SJIS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_SJIS_BIN_CHARSET_SJIS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_GENERAL_CI_CHARSET_HEBREW
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_HEBREW_BIN_CHARSET_HEBREW
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_THAI_CI_CHARSET_TISSIX_HUNDRED_AND_TWENTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_TISSIX_HUNDRED_AND_TWENTY_BIN_CHARSET_TISSIX_HUNDRED_AND_TWENTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_KOREAN_CI_CHARSET_EUCKR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCKR_BIN_CHARSET_EUCKR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_GENERAL_CI_CHARSET_KOIEIGHTU
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KOIEIGHTU_BIN_CHARSET_KOIEIGHTU
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_CHINESE_CI_CHARSET_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE_BIN_CHARSET_GBTWO_THOUSAND_THREE_HUNDRED_AND_TWELVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_GENERAL_CI_CHARSET_GREEK
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GREEK_BIN_CHARSET_GREEK
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_CZECH_CS_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_CROATIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_POLISH_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_CHINESE_CI_CHARSET_GBK
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBK_BIN_CHARSET_GBK
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_TURKISH_CI_CHARSET_LATINFIVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINFIVE_BIN_CHARSET_LATINFIVE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_GENERAL_CI_CHARSET_ARMSCIIEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_ARMSCIIEIGHT_BIN_CHARSET_ARMSCIIEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GENERAL_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_BIN_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UNICODE_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ICELANDIC_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_LATVIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ROMANIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SLOVENIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_POLISH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ESTONIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SPANISH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SWEDISH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_TURKISH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_CZECH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_DANISH_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_LITHUANIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SLOVAK_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SPANISHTWO_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ROMAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_PERSIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_ESPERANTO_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_HUNGARIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_SINHALA_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GERMANTWO_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_CROATIAN_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_VIETNAMESE_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHT_GENERAL_MYSQLFIVE_HUNDRED_CI_CHARSET_UTFEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GENERAL_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_BIN_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UNICODE_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ICELANDIC_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_LATVIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ROMANIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SLOVENIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_POLISH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ESTONIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SPANISH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SWEDISH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_TURKISH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_CZECH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_DANISH_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_LITHUANIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SLOVAK_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SPANISHTWO_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ROMAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_PERSIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_ESPERANTO_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_HUNGARIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_SINHALA_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GERMANTWO_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_CROATIAN_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_UNICODE_FIVETWOZERO_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_VIETNAMESE_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UCSTWO_GENERAL_MYSQLFIVE_HUNDRED_CI_CHARSET_UCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_SIXTY_SIX
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_SIXTY_SIX_BIN_CHARSET_CPEIGHT_HUNDRED_AND_SIXTY_SIX
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_GENERAL_CI_CHARSET_KEYBCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_KEYBCSTWO_BIN_CHARSET_KEYBCSTWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_GENERAL_CI_CHARSET_MACCE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACCE_BIN_CHARSET_MACCE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_GENERAL_CI_CHARSET_MACROMAN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_MACROMAN_BIN_CHARSET_MACROMAN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_GENERAL_CI_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPEIGHT_HUNDRED_AND_FIFTY_TWO_BIN_CHARSET_CPEIGHT_HUNDRED_AND_FIFTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_ESTONIAN_CS_CHARSET_LATINSEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_GENERAL_CI_CHARSET_LATINSEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_GENERAL_CS_CHARSET_LATINSEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_LATINSEVEN_BIN_CHARSET_LATINSEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_GENERAL_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_BIN_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UNICODE_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ICELANDIC_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_LATVIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ROMANIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SLOVENIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_POLISH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ESTONIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SPANISH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SWEDISH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_TURKISH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_CZECH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_DANISH_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_LITHUANIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SLOVAK_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SPANISHTWO_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ROMAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_PERSIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_ESPERANTO_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_HUNGARIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_SINHALA_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_GERMANTWO_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_CROATIAN_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFEIGHTMBFOUR_VIETNAMESE_CI_CHARSET_UTFEIGHTMBFOUR
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_BULGARIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_UKRAINIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE_GENERAL_CS_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_ONE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_GENERAL_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_BIN_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UNICODE_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ICELANDIC_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_LATVIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ROMANIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SLOVENIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_POLISH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ESTONIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SPANISH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SWEDISH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_TURKISH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_CZECH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_DANISH_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_LITHUANIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SLOVAK_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SPANISHTWO_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ROMAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_PERSIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_ESPERANTO_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_HUNGARIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_SINHALA_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_GERMANTWO_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_CROATIAN_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEEN_VIETNAMESE_CI_CHARSET_UTFSIXTEEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_GENERAL_CI_CHARSET_UTFSIXTEENLE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFSIXTEENLE_BIN_CHARSET_UTFSIXTEENLE
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SIX
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_LITHUANIAN_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_BIN_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN_GENERAL_CI_CHARSET_CPONE_THOUSAND_TWO_HUNDRED_AND_FIFTY_SEVEN
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_GENERAL_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_BIN_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UNICODE_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ICELANDIC_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_LATVIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ROMANIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SLOVENIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_POLISH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ESTONIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SPANISH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SWEDISH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_TURKISH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_CZECH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_DANISH_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_LITHUANIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SLOVAK_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SPANISHTWO_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ROMAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_PERSIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_ESPERANTO_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_HUNGARIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_SINHALA_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_GERMANTWO_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_CROATIAN_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_UTFTHIRTY_TWO_VIETNAMESE_CI_CHARSET_UTFTHIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_BINARY_CHARSET_BINARY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_GENERAL_CI_CHARSET_GEOSTDEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GEOSTDEIGHT_BIN_CHARSET_GEOSTDEIGHT
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_JAPANESE_CI_CHARSET_CPNINE_HUNDRED_AND_THIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_CPNINE_HUNDRED_AND_THIRTY_TWO_BIN_CHARSET_CPNINE_HUNDRED_AND_THIRTY_TWO
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_JAPANESE_CI_CHARSET_EUCJPMS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_EUCJPMS_BIN_CHARSET_EUCJPMS
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_CHINESE_CI_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_BIN_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
-
- COM_COMPONENTBUILDER_ADMIN_VIEW_GBEIGHTEEN_THOUSAND_AND_THIRTY_UNICODE_FIVE_HUNDRED_AND_TWENTY_CI_CHARSET_GBEIGHTEEN_THOUSAND_AND_THIRTY
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_DEFAULT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_REDUNDANT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_COMPACT
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_DYNAMIC
+
+ COM_COMPONENTBUILDER_ADMIN_VIEW_COMPRESSED
0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -610,16 +610,16 @@ jQuery(document).ready(function($)
});
function getSnippets_server(libraries){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&raw=true&format=json";
if(token.length > 0 && libraries.length > 0){
var request = 'token='+token+'&libraries='+JSON.stringify(libraries);
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getSnippets(){
diff --git a/admin/models/forms/custom_code.js b/admin/models/forms/custom_code.js
index 9fa679cea..d2332e6b7 100644
--- a/admin/models/forms/custom_code.js
+++ b/admin/models/forms/custom_code.js
@@ -9,44 +9,44 @@
*/
// Some Global Values
-jform_vvvvwadvzr_required = false;
-jform_vvvvwaevzs_required = false;
-jform_vvvvwaevzt_required = false;
-jform_vvvvwaevzu_required = false;
+jform_vvvvwaevzr_required = false;
+jform_vvvvwafvzs_required = false;
+jform_vvvvwafvzt_required = false;
+jform_vvvvwafvzu_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwad(target_vvvvwad);
-
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwae(target_vvvvwae);
var target_vvvvwaf = jQuery("#jform_target input[type='radio']:checked").val();
- var type_vvvvwaf = jQuery("#jform_type input[type='radio']:checked").val();
- vvvvwaf(target_vvvvwaf,type_vvvvwaf);
+ vvvvwaf(target_vvvvwaf);
- var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwag = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwag(type_vvvvwag,target_vvvvwag);
+ var type_vvvvwag = jQuery("#jform_type input[type='radio']:checked").val();
+ vvvvwag(target_vvvvwag,type_vvvvwag);
+
+ var type_vvvvwah = jQuery("#jform_type input[type='radio']:checked").val();
+ var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
+ vvvvwah(type_vvvvwah,target_vvvvwah);
});
-// the vvvvwad function
-function vvvvwad(target_vvvvwad)
+// the vvvvwae function
+function vvvvwae(target_vvvvwae)
{
// set the function logic
- if (target_vvvvwad == 2)
+ if (target_vvvvwae == 2)
{
jQuery('#jform_function_name').closest('.control-group').show();
// add required attribute to function_name field
- if (jform_vvvvwadvzr_required)
+ if (jform_vvvvwaevzr_required)
{
updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required');
- jform_vvvvwadvzr_required = false;
+ jform_vvvvwaevzr_required = false;
}
jQuery('.note_jcb_placeholder').closest('.control-group').show();
jQuery('#jform_system_name').closest('.control-group').show();
@@ -55,102 +55,102 @@ function vvvvwad(target_vvvvwad)
{
jQuery('#jform_function_name').closest('.control-group').hide();
// remove required attribute from function_name field
- if (!jform_vvvvwadvzr_required)
+ if (!jform_vvvvwaevzr_required)
{
updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required');
- jform_vvvvwadvzr_required = true;
+ jform_vvvvwaevzr_required = true;
}
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide();
}
}
-// the vvvvwae function
-function vvvvwae(target_vvvvwae)
+// the vvvvwaf function
+function vvvvwaf(target_vvvvwaf)
{
// set the function logic
- if (target_vvvvwae == 1)
+ if (target_vvvvwaf == 1)
{
jQuery('#jform_component').closest('.control-group').show();
// add required attribute to component field
- if (jform_vvvvwaevzs_required)
+ if (jform_vvvvwafvzs_required)
{
updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required');
- jform_vvvvwaevzs_required = false;
+ jform_vvvvwafvzs_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
// add required attribute to path field
- if (jform_vvvvwaevzt_required)
+ if (jform_vvvvwafvzt_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
- jform_vvvvwaevzt_required = false;
+ jform_vvvvwafvzt_required = false;
}
jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show();
// add required attribute to type field
- if (jform_vvvvwaevzu_required)
+ if (jform_vvvvwafvzu_required)
{
updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required');
- jform_vvvvwaevzu_required = false;
+ jform_vvvvwafvzu_required = false;
}
}
else
{
jQuery('#jform_component').closest('.control-group').hide();
// remove required attribute from component field
- if (!jform_vvvvwaevzs_required)
+ if (!jform_vvvvwafvzs_required)
{
updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required');
- jform_vvvvwaevzs_required = true;
+ jform_vvvvwafvzs_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
// remove required attribute from path field
- if (!jform_vvvvwaevzt_required)
+ if (!jform_vvvvwafvzt_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
- jform_vvvvwaevzt_required = true;
+ jform_vvvvwafvzt_required = true;
}
jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide();
// remove required attribute from type field
- if (!jform_vvvvwaevzu_required)
+ if (!jform_vvvvwafvzu_required)
{
updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required');
- jform_vvvvwaevzu_required = true;
+ jform_vvvvwafvzu_required = true;
}
}
}
-// the vvvvwaf function
-function vvvvwaf(target_vvvvwaf,type_vvvvwaf)
+// the vvvvwag function
+function vvvvwag(target_vvvvwag,type_vvvvwag)
{
// set the function logic
- if (target_vvvvwaf == 1 && type_vvvvwaf == 1)
+ if (target_vvvvwag == 1 && type_vvvvwag == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
@@ -162,11 +162,11 @@ function vvvvwaf(target_vvvvwaf,type_vvvvwaf)
}
}
-// the vvvvwag function
-function vvvvwag(type_vvvvwag,target_vvvvwag)
+// the vvvvwah function
+function vvvvwah(type_vvvvwah,target_vvvvwah)
{
// set the function logic
- if (type_vvvvwag == 1 && target_vvvvwag == 1)
+ if (type_vvvvwah == 1 && target_vvvvwah == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js
index ec837ff82..e7a704b6d 100644
--- a/admin/models/forms/dynamic_get.js
+++ b/admin/models/forms/dynamic_get.js
@@ -10,25 +10,25 @@
// Some Global Values
jform_vvvvvzdvyx_required = false;
-jform_vvvvvzevyy_required = false;
-jform_vvvvvzfvyz_required = false;
-jform_vvvvvzgvza_required = false;
-jform_vvvvvzhvzb_required = false;
-jform_vvvvvzivzc_required = false;
-jform_vvvvvznvzd_required = false;
-jform_vvvvvzpvze_required = false;
-jform_vvvvvzqvzf_required = false;
-jform_vvvvvzsvzg_required = false;
-jform_vvvvvzsvzh_required = false;
-jform_vvvvvztvzi_required = false;
-jform_vvvvvzuvzj_required = false;
-jform_vvvvvzvvzk_required = false;
-jform_vvvvvzxvzl_required = false;
-jform_vvvvvzxvzm_required = false;
-jform_vvvvvzxvzn_required = false;
-jform_vvvvvzyvzo_required = false;
-jform_vvvvvzzvzp_required = false;
-jform_vvvvwaavzq_required = false;
+jform_vvvvvzfvyy_required = false;
+jform_vvvvvzgvyz_required = false;
+jform_vvvvvzhvza_required = false;
+jform_vvvvvzivzb_required = false;
+jform_vvvvvzjvzc_required = false;
+jform_vvvvvzovzd_required = false;
+jform_vvvvvzqvze_required = false;
+jform_vvvvvzrvzf_required = false;
+jform_vvvvvztvzg_required = false;
+jform_vvvvvztvzh_required = false;
+jform_vvvvvzuvzi_required = false;
+jform_vvvvvzvvzj_required = false;
+jform_vvvvvzwvzk_required = false;
+jform_vvvvvzyvzl_required = false;
+jform_vvvvvzyvzm_required = false;
+jform_vvvvvzyvzn_required = false;
+jform_vvvvvzzvzo_required = false;
+jform_vvvvwaavzp_required = false;
+jform_vvvvwabvzq_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -48,48 +48,48 @@ jQuery(document).ready(function()
var main_source_vvvvvzh = jQuery("#jform_main_source").val();
vvvvvzh(main_source_vvvvvzh);
- var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
- vvvvvzi(addcalculation_vvvvvzi);
+ var main_source_vvvvvzi = jQuery("#jform_main_source").val();
+ vvvvvzi(main_source_vvvvvzi);
var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
- var gettype_vvvvvzj = jQuery("#jform_gettype").val();
- vvvvvzj(addcalculation_vvvvvzj,gettype_vvvvvzj);
+ vvvvvzj(addcalculation_vvvvvzj);
var addcalculation_vvvvvzk = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzk = jQuery("#jform_gettype").val();
vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk);
- var main_source_vvvvvzn = jQuery("#jform_main_source").val();
- vvvvvzn(main_source_vvvvvzn);
+ var addcalculation_vvvvvzl = jQuery("#jform_addcalculation input[type='radio']:checked").val();
+ var gettype_vvvvvzl = jQuery("#jform_gettype").val();
+ vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl);
var main_source_vvvvvzo = jQuery("#jform_main_source").val();
vvvvvzo(main_source_vvvvvzo);
- var add_php_before_getitem_vvvvvzp = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
- var gettype_vvvvvzp = jQuery("#jform_gettype").val();
- vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp);
+ var main_source_vvvvvzp = jQuery("#jform_main_source").val();
+ vvvvvzp(main_source_vvvvvzp);
- var add_php_after_getitem_vvvvvzq = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
+ var add_php_before_getitem_vvvvvzq = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzq = jQuery("#jform_gettype").val();
- vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq);
+ vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq);
- var gettype_vvvvvzs = jQuery("#jform_gettype").val();
- vvvvvzs(gettype_vvvvvzs);
+ var add_php_after_getitem_vvvvvzr = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
+ var gettype_vvvvvzr = jQuery("#jform_gettype").val();
+ vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr);
- var add_php_getlistquery_vvvvvzt = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
- vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt);
+ vvvvvzt(gettype_vvvvvzt);
- var add_php_before_getitems_vvvvvzu = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
+ var add_php_getlistquery_vvvvvzu = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzu = jQuery("#jform_gettype").val();
- vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu);
+ vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu);
- var add_php_after_getitems_vvvvvzv = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
+ var add_php_before_getitems_vvvvvzv = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzv = jQuery("#jform_gettype").val();
- vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv);
+ vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv);
- var gettype_vvvvvzx = jQuery("#jform_gettype").val();
- vvvvvzx(gettype_vvvvvzx);
+ var add_php_after_getitems_vvvvvzw = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
+ var gettype_vvvvvzw = jQuery("#jform_gettype").val();
+ vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw);
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
vvvvvzy(gettype_vvvvvzy);
@@ -98,11 +98,14 @@ jQuery(document).ready(function()
vvvvvzz(gettype_vvvvvzz);
var gettype_vvvvwaa = jQuery("#jform_gettype").val();
- var add_php_router_parse_vvvvwaa = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
- vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa);
+ vvvvwaa(gettype_vvvvwaa);
- var gettype_vvvvwac = jQuery("#jform_gettype").val();
- vvvvwac(gettype_vvvvwac);
+ var gettype_vvvvwab = jQuery("#jform_gettype").val();
+ var add_php_router_parse_vvvvwab = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
+ vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab);
+
+ var gettype_vvvvwad = jQuery("#jform_gettype").val();
+ vvvvwad(gettype_vvvvwad);
});
// the vvvvvzd function
@@ -180,29 +183,11 @@ function vvvvvze(main_source_vvvvvze)
// set this function logic
if (main_source)
{
- jQuery('#jform_view_table_main').closest('.control-group').show();
- // add required attribute to view_table_main field
- if (jform_vvvvvzevyy_required)
- {
- updateFieldRequired('view_table_main',0);
- jQuery('#jform_view_table_main').prop('required','required');
- jQuery('#jform_view_table_main').attr('aria-required',true);
- jQuery('#jform_view_table_main').addClass('required');
- jform_vvvvvzevyy_required = false;
- }
+ jQuery('#jform_select_all').closest('.control-group').show();
}
else
{
- jQuery('#jform_view_table_main').closest('.control-group').hide();
- // remove required attribute from view_table_main field
- if (!jform_vvvvvzevyy_required)
- {
- updateFieldRequired('view_table_main',1);
- jQuery('#jform_view_table_main').removeAttr('required');
- jQuery('#jform_view_table_main').removeAttr('aria-required');
- jQuery('#jform_view_table_main').removeClass('required');
- jform_vvvvvzevyy_required = true;
- }
+ jQuery('#jform_select_all').closest('.control-group').hide();
}
}
@@ -210,7 +195,7 @@ function vvvvvze(main_source_vvvvvze)
function main_source_vvvvvze_SomeFunc(main_source_vvvvvze)
{
// set the function logic
- if (main_source_vvvvvze == 1)
+ if (main_source_vvvvvze == 1 || main_source_vvvvvze == 2)
{
return true;
}
@@ -236,28 +221,28 @@ function vvvvvzf(main_source_vvvvvzf)
// set this function logic
if (main_source)
{
- jQuery('#jform_view_selection').closest('.control-group').show();
- // add required attribute to view_selection field
- if (jform_vvvvvzfvyz_required)
+ jQuery('#jform_view_table_main').closest('.control-group').show();
+ // add required attribute to view_table_main field
+ if (jform_vvvvvzfvyy_required)
{
- updateFieldRequired('view_selection',0);
- jQuery('#jform_view_selection').prop('required','required');
- jQuery('#jform_view_selection').attr('aria-required',true);
- jQuery('#jform_view_selection').addClass('required');
- jform_vvvvvzfvyz_required = false;
+ updateFieldRequired('view_table_main',0);
+ jQuery('#jform_view_table_main').prop('required','required');
+ jQuery('#jform_view_table_main').attr('aria-required',true);
+ jQuery('#jform_view_table_main').addClass('required');
+ jform_vvvvvzfvyy_required = false;
}
}
else
{
- jQuery('#jform_view_selection').closest('.control-group').hide();
- // remove required attribute from view_selection field
- if (!jform_vvvvvzfvyz_required)
+ jQuery('#jform_view_table_main').closest('.control-group').hide();
+ // remove required attribute from view_table_main field
+ if (!jform_vvvvvzfvyy_required)
{
- updateFieldRequired('view_selection',1);
- jQuery('#jform_view_selection').removeAttr('required');
- jQuery('#jform_view_selection').removeAttr('aria-required');
- jQuery('#jform_view_selection').removeClass('required');
- jform_vvvvvzfvyz_required = true;
+ updateFieldRequired('view_table_main',1);
+ jQuery('#jform_view_table_main').removeAttr('required');
+ jQuery('#jform_view_table_main').removeAttr('aria-required');
+ jQuery('#jform_view_table_main').removeClass('required');
+ jform_vvvvvzfvyy_required = true;
}
}
}
@@ -292,28 +277,28 @@ function vvvvvzg(main_source_vvvvvzg)
// set this function logic
if (main_source)
{
- jQuery('#jform_db_table_main').closest('.control-group').show();
- // add required attribute to db_table_main field
- if (jform_vvvvvzgvza_required)
+ jQuery('#jform_view_selection').closest('.control-group').show();
+ // add required attribute to view_selection field
+ if (jform_vvvvvzgvyz_required)
{
- updateFieldRequired('db_table_main',0);
- jQuery('#jform_db_table_main').prop('required','required');
- jQuery('#jform_db_table_main').attr('aria-required',true);
- jQuery('#jform_db_table_main').addClass('required');
- jform_vvvvvzgvza_required = false;
+ updateFieldRequired('view_selection',0);
+ jQuery('#jform_view_selection').prop('required','required');
+ jQuery('#jform_view_selection').attr('aria-required',true);
+ jQuery('#jform_view_selection').addClass('required');
+ jform_vvvvvzgvyz_required = false;
}
}
else
{
- jQuery('#jform_db_table_main').closest('.control-group').hide();
- // remove required attribute from db_table_main field
- if (!jform_vvvvvzgvza_required)
+ jQuery('#jform_view_selection').closest('.control-group').hide();
+ // remove required attribute from view_selection field
+ if (!jform_vvvvvzgvyz_required)
{
- updateFieldRequired('db_table_main',1);
- jQuery('#jform_db_table_main').removeAttr('required');
- jQuery('#jform_db_table_main').removeAttr('aria-required');
- jQuery('#jform_db_table_main').removeClass('required');
- jform_vvvvvzgvza_required = true;
+ updateFieldRequired('view_selection',1);
+ jQuery('#jform_view_selection').removeAttr('required');
+ jQuery('#jform_view_selection').removeAttr('aria-required');
+ jQuery('#jform_view_selection').removeClass('required');
+ jform_vvvvvzgvyz_required = true;
}
}
}
@@ -322,7 +307,7 @@ function vvvvvzg(main_source_vvvvvzg)
function main_source_vvvvvzg_SomeFunc(main_source_vvvvvzg)
{
// set the function logic
- if (main_source_vvvvvzg == 2)
+ if (main_source_vvvvvzg == 1)
{
return true;
}
@@ -348,28 +333,28 @@ function vvvvvzh(main_source_vvvvvzh)
// set this function logic
if (main_source)
{
- jQuery('#jform_db_selection').closest('.control-group').show();
- // add required attribute to db_selection field
- if (jform_vvvvvzhvzb_required)
+ jQuery('#jform_db_table_main').closest('.control-group').show();
+ // add required attribute to db_table_main field
+ if (jform_vvvvvzhvza_required)
{
- updateFieldRequired('db_selection',0);
- jQuery('#jform_db_selection').prop('required','required');
- jQuery('#jform_db_selection').attr('aria-required',true);
- jQuery('#jform_db_selection').addClass('required');
- jform_vvvvvzhvzb_required = false;
+ updateFieldRequired('db_table_main',0);
+ jQuery('#jform_db_table_main').prop('required','required');
+ jQuery('#jform_db_table_main').attr('aria-required',true);
+ jQuery('#jform_db_table_main').addClass('required');
+ jform_vvvvvzhvza_required = false;
}
}
else
{
- jQuery('#jform_db_selection').closest('.control-group').hide();
- // remove required attribute from db_selection field
- if (!jform_vvvvvzhvzb_required)
+ jQuery('#jform_db_table_main').closest('.control-group').hide();
+ // remove required attribute from db_table_main field
+ if (!jform_vvvvvzhvza_required)
{
- updateFieldRequired('db_selection',1);
- jQuery('#jform_db_selection').removeAttr('required');
- jQuery('#jform_db_selection').removeAttr('aria-required');
- jQuery('#jform_db_selection').removeClass('required');
- jform_vvvvvzhvzb_required = true;
+ updateFieldRequired('db_table_main',1);
+ jQuery('#jform_db_table_main').removeAttr('required');
+ jQuery('#jform_db_table_main').removeAttr('aria-required');
+ jQuery('#jform_db_table_main').removeClass('required');
+ jform_vvvvvzhvza_required = true;
}
}
}
@@ -386,98 +371,93 @@ function main_source_vvvvvzh_SomeFunc(main_source_vvvvvzh)
}
// the vvvvvzi function
-function vvvvvzi(addcalculation_vvvvvzi)
+function vvvvvzi(main_source_vvvvvzi)
+{
+ if (isSet(main_source_vvvvvzi) && main_source_vvvvvzi.constructor !== Array)
+ {
+ var temp_vvvvvzi = main_source_vvvvvzi;
+ var main_source_vvvvvzi = [];
+ main_source_vvvvvzi.push(temp_vvvvvzi);
+ }
+ else if (!isSet(main_source_vvvvvzi))
+ {
+ var main_source_vvvvvzi = [];
+ }
+ var main_source = main_source_vvvvvzi.some(main_source_vvvvvzi_SomeFunc);
+
+
+ // set this function logic
+ if (main_source)
+ {
+ jQuery('#jform_db_selection').closest('.control-group').show();
+ // add required attribute to db_selection field
+ if (jform_vvvvvzivzb_required)
+ {
+ updateFieldRequired('db_selection',0);
+ jQuery('#jform_db_selection').prop('required','required');
+ jQuery('#jform_db_selection').attr('aria-required',true);
+ jQuery('#jform_db_selection').addClass('required');
+ jform_vvvvvzivzb_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_db_selection').closest('.control-group').hide();
+ // remove required attribute from db_selection field
+ if (!jform_vvvvvzivzb_required)
+ {
+ updateFieldRequired('db_selection',1);
+ jQuery('#jform_db_selection').removeAttr('required');
+ jQuery('#jform_db_selection').removeAttr('aria-required');
+ jQuery('#jform_db_selection').removeClass('required');
+ jform_vvvvvzivzb_required = true;
+ }
+ }
+}
+
+// the vvvvvzi Some function
+function main_source_vvvvvzi_SomeFunc(main_source_vvvvvzi)
{
// set the function logic
- if (addcalculation_vvvvvzi == 1)
+ if (main_source_vvvvvzi == 2)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzj function
+function vvvvvzj(addcalculation_vvvvvzj)
+{
+ // set the function logic
+ if (addcalculation_vvvvvzj == 1)
{
jQuery('#jform_php_calculation-lbl').closest('.control-group').show();
// add required attribute to php_calculation field
- if (jform_vvvvvzivzc_required)
+ if (jform_vvvvvzjvzc_required)
{
updateFieldRequired('php_calculation',0);
jQuery('#jform_php_calculation').prop('required','required');
jQuery('#jform_php_calculation').attr('aria-required',true);
jQuery('#jform_php_calculation').addClass('required');
- jform_vvvvvzivzc_required = false;
+ jform_vvvvvzjvzc_required = false;
}
}
else
{
jQuery('#jform_php_calculation-lbl').closest('.control-group').hide();
// remove required attribute from php_calculation field
- if (!jform_vvvvvzivzc_required)
+ if (!jform_vvvvvzjvzc_required)
{
updateFieldRequired('php_calculation',1);
jQuery('#jform_php_calculation').removeAttr('required');
jQuery('#jform_php_calculation').removeAttr('aria-required');
jQuery('#jform_php_calculation').removeClass('required');
- jform_vvvvvzivzc_required = true;
+ jform_vvvvvzjvzc_required = true;
}
}
}
-// the vvvvvzj function
-function vvvvvzj(addcalculation_vvvvvzj,gettype_vvvvvzj)
-{
- if (isSet(addcalculation_vvvvvzj) && addcalculation_vvvvvzj.constructor !== Array)
- {
- var temp_vvvvvzj = addcalculation_vvvvvzj;
- var addcalculation_vvvvvzj = [];
- addcalculation_vvvvvzj.push(temp_vvvvvzj);
- }
- else if (!isSet(addcalculation_vvvvvzj))
- {
- var addcalculation_vvvvvzj = [];
- }
- var addcalculation = addcalculation_vvvvvzj.some(addcalculation_vvvvvzj_SomeFunc);
-
- if (isSet(gettype_vvvvvzj) && gettype_vvvvvzj.constructor !== Array)
- {
- var temp_vvvvvzj = gettype_vvvvvzj;
- var gettype_vvvvvzj = [];
- gettype_vvvvvzj.push(temp_vvvvvzj);
- }
- else if (!isSet(gettype_vvvvvzj))
- {
- var gettype_vvvvvzj = [];
- }
- var gettype = gettype_vvvvvzj.some(gettype_vvvvvzj_SomeFunc);
-
-
- // set this function logic
- if (addcalculation && gettype)
- {
- jQuery('.note_calculation_item').closest('.control-group').show();
- }
- else
- {
- jQuery('.note_calculation_item').closest('.control-group').hide();
- }
-}
-
-// the vvvvvzj Some function
-function addcalculation_vvvvvzj_SomeFunc(addcalculation_vvvvvzj)
-{
- // set the function logic
- if (addcalculation_vvvvvzj == 1)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzj Some function
-function gettype_vvvvvzj_SomeFunc(gettype_vvvvvzj)
-{
- // set the function logic
- if (gettype_vvvvvzj == 1 || gettype_vvvvvzj == 3)
- {
- return true;
- }
- return false;
-}
-
// the vvvvvzk function
function vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk)
{
@@ -509,11 +489,11 @@ function vvvvvzk(addcalculation_vvvvvzk,gettype_vvvvvzk)
// set this function logic
if (addcalculation && gettype)
{
- jQuery('.note_calculation_items').closest('.control-group').show();
+ jQuery('.note_calculation_item').closest('.control-group').show();
}
else
{
- jQuery('.note_calculation_items').closest('.control-group').hide();
+ jQuery('.note_calculation_item').closest('.control-group').hide();
}
}
@@ -532,63 +512,68 @@ function addcalculation_vvvvvzk_SomeFunc(addcalculation_vvvvvzk)
function gettype_vvvvvzk_SomeFunc(gettype_vvvvvzk)
{
// set the function logic
- if (gettype_vvvvvzk == 2 || gettype_vvvvvzk == 4)
+ if (gettype_vvvvvzk == 1 || gettype_vvvvvzk == 3)
{
return true;
}
return false;
}
-// the vvvvvzn function
-function vvvvvzn(main_source_vvvvvzn)
+// the vvvvvzl function
+function vvvvvzl(addcalculation_vvvvvzl,gettype_vvvvvzl)
{
- if (isSet(main_source_vvvvvzn) && main_source_vvvvvzn.constructor !== Array)
+ if (isSet(addcalculation_vvvvvzl) && addcalculation_vvvvvzl.constructor !== Array)
{
- var temp_vvvvvzn = main_source_vvvvvzn;
- var main_source_vvvvvzn = [];
- main_source_vvvvvzn.push(temp_vvvvvzn);
+ var temp_vvvvvzl = addcalculation_vvvvvzl;
+ var addcalculation_vvvvvzl = [];
+ addcalculation_vvvvvzl.push(temp_vvvvvzl);
}
- else if (!isSet(main_source_vvvvvzn))
+ else if (!isSet(addcalculation_vvvvvzl))
{
- var main_source_vvvvvzn = [];
+ var addcalculation_vvvvvzl = [];
}
- var main_source = main_source_vvvvvzn.some(main_source_vvvvvzn_SomeFunc);
+ var addcalculation = addcalculation_vvvvvzl.some(addcalculation_vvvvvzl_SomeFunc);
+
+ if (isSet(gettype_vvvvvzl) && gettype_vvvvvzl.constructor !== Array)
+ {
+ var temp_vvvvvzl = gettype_vvvvvzl;
+ var gettype_vvvvvzl = [];
+ gettype_vvvvvzl.push(temp_vvvvvzl);
+ }
+ else if (!isSet(gettype_vvvvvzl))
+ {
+ var gettype_vvvvvzl = [];
+ }
+ var gettype = gettype_vvvvvzl.some(gettype_vvvvvzl_SomeFunc);
// set this function logic
- if (main_source)
+ if (addcalculation && gettype)
{
- jQuery('#jform_php_custom_get-lbl').closest('.control-group').show();
- // add required attribute to php_custom_get field
- if (jform_vvvvvznvzd_required)
- {
- updateFieldRequired('php_custom_get',0);
- jQuery('#jform_php_custom_get').prop('required','required');
- jQuery('#jform_php_custom_get').attr('aria-required',true);
- jQuery('#jform_php_custom_get').addClass('required');
- jform_vvvvvznvzd_required = false;
- }
+ jQuery('.note_calculation_items').closest('.control-group').show();
}
else
{
- jQuery('#jform_php_custom_get-lbl').closest('.control-group').hide();
- // remove required attribute from php_custom_get field
- if (!jform_vvvvvznvzd_required)
- {
- updateFieldRequired('php_custom_get',1);
- jQuery('#jform_php_custom_get').removeAttr('required');
- jQuery('#jform_php_custom_get').removeAttr('aria-required');
- jQuery('#jform_php_custom_get').removeClass('required');
- jform_vvvvvznvzd_required = true;
- }
+ jQuery('.note_calculation_items').closest('.control-group').hide();
}
}
-// the vvvvvzn Some function
-function main_source_vvvvvzn_SomeFunc(main_source_vvvvvzn)
+// the vvvvvzl Some function
+function addcalculation_vvvvvzl_SomeFunc(addcalculation_vvvvvzl)
{
// set the function logic
- if (main_source_vvvvvzn == 3)
+ if (addcalculation_vvvvvzl == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzl Some function
+function gettype_vvvvvzl_SomeFunc(gettype_vvvvvzl)
+{
+ // set the function logic
+ if (gettype_vvvvvzl == 2 || gettype_vvvvvzl == 4)
{
return true;
}
@@ -611,6 +596,62 @@ function vvvvvzo(main_source_vvvvvzo)
var main_source = main_source_vvvvvzo.some(main_source_vvvvvzo_SomeFunc);
+ // set this function logic
+ if (main_source)
+ {
+ jQuery('#jform_php_custom_get-lbl').closest('.control-group').show();
+ // add required attribute to php_custom_get field
+ if (jform_vvvvvzovzd_required)
+ {
+ updateFieldRequired('php_custom_get',0);
+ jQuery('#jform_php_custom_get').prop('required','required');
+ jQuery('#jform_php_custom_get').attr('aria-required',true);
+ jQuery('#jform_php_custom_get').addClass('required');
+ jform_vvvvvzovzd_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_php_custom_get-lbl').closest('.control-group').hide();
+ // remove required attribute from php_custom_get field
+ if (!jform_vvvvvzovzd_required)
+ {
+ updateFieldRequired('php_custom_get',1);
+ jQuery('#jform_php_custom_get').removeAttr('required');
+ jQuery('#jform_php_custom_get').removeAttr('aria-required');
+ jQuery('#jform_php_custom_get').removeClass('required');
+ jform_vvvvvzovzd_required = true;
+ }
+ }
+}
+
+// the vvvvvzo Some function
+function main_source_vvvvvzo_SomeFunc(main_source_vvvvvzo)
+{
+ // set the function logic
+ if (main_source_vvvvvzo == 3)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzp function
+function vvvvvzp(main_source_vvvvvzp)
+{
+ if (isSet(main_source_vvvvvzp) && main_source_vvvvvzp.constructor !== Array)
+ {
+ var temp_vvvvvzp = main_source_vvvvvzp;
+ var main_source_vvvvvzp = [];
+ main_source_vvvvvzp.push(temp_vvvvvzp);
+ }
+ else if (!isSet(main_source_vvvvvzp))
+ {
+ var main_source_vvvvvzp = [];
+ }
+ var main_source = main_source_vvvvvzp.some(main_source_vvvvvzp_SomeFunc);
+
+
// set this function logic
if (main_source)
{
@@ -632,90 +673,11 @@ function vvvvvzo(main_source_vvvvvzo)
}
}
-// the vvvvvzo Some function
-function main_source_vvvvvzo_SomeFunc(main_source_vvvvvzo)
-{
- // set the function logic
- if (main_source_vvvvvzo == 1 || main_source_vvvvvzo == 2)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzp function
-function vvvvvzp(add_php_before_getitem_vvvvvzp,gettype_vvvvvzp)
-{
- if (isSet(add_php_before_getitem_vvvvvzp) && add_php_before_getitem_vvvvvzp.constructor !== Array)
- {
- var temp_vvvvvzp = add_php_before_getitem_vvvvvzp;
- var add_php_before_getitem_vvvvvzp = [];
- add_php_before_getitem_vvvvvzp.push(temp_vvvvvzp);
- }
- else if (!isSet(add_php_before_getitem_vvvvvzp))
- {
- var add_php_before_getitem_vvvvvzp = [];
- }
- var add_php_before_getitem = add_php_before_getitem_vvvvvzp.some(add_php_before_getitem_vvvvvzp_SomeFunc);
-
- if (isSet(gettype_vvvvvzp) && gettype_vvvvvzp.constructor !== Array)
- {
- var temp_vvvvvzp = gettype_vvvvvzp;
- var gettype_vvvvvzp = [];
- gettype_vvvvvzp.push(temp_vvvvvzp);
- }
- else if (!isSet(gettype_vvvvvzp))
- {
- var gettype_vvvvvzp = [];
- }
- var gettype = gettype_vvvvvzp.some(gettype_vvvvvzp_SomeFunc);
-
-
- // set this function logic
- if (add_php_before_getitem && gettype)
- {
- jQuery('#jform_php_before_getitem-lbl').closest('.control-group').show();
- // add required attribute to php_before_getitem field
- if (jform_vvvvvzpvze_required)
- {
- updateFieldRequired('php_before_getitem',0);
- jQuery('#jform_php_before_getitem').prop('required','required');
- jQuery('#jform_php_before_getitem').attr('aria-required',true);
- jQuery('#jform_php_before_getitem').addClass('required');
- jform_vvvvvzpvze_required = false;
- }
- }
- else
- {
- jQuery('#jform_php_before_getitem-lbl').closest('.control-group').hide();
- // remove required attribute from php_before_getitem field
- if (!jform_vvvvvzpvze_required)
- {
- updateFieldRequired('php_before_getitem',1);
- jQuery('#jform_php_before_getitem').removeAttr('required');
- jQuery('#jform_php_before_getitem').removeAttr('aria-required');
- jQuery('#jform_php_before_getitem').removeClass('required');
- jform_vvvvvzpvze_required = true;
- }
- }
-}
-
// the vvvvvzp Some function
-function add_php_before_getitem_vvvvvzp_SomeFunc(add_php_before_getitem_vvvvvzp)
+function main_source_vvvvvzp_SomeFunc(main_source_vvvvvzp)
{
// set the function logic
- if (add_php_before_getitem_vvvvvzp == 1)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzp Some function
-function gettype_vvvvvzp_SomeFunc(gettype_vvvvvzp)
-{
- // set the function logic
- if (gettype_vvvvvzp == 1 || gettype_vvvvvzp == 3)
+ if (main_source_vvvvvzp == 1 || main_source_vvvvvzp == 2)
{
return true;
}
@@ -723,19 +685,19 @@ function gettype_vvvvvzp_SomeFunc(gettype_vvvvvzp)
}
// the vvvvvzq function
-function vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq)
+function vvvvvzq(add_php_before_getitem_vvvvvzq,gettype_vvvvvzq)
{
- if (isSet(add_php_after_getitem_vvvvvzq) && add_php_after_getitem_vvvvvzq.constructor !== Array)
+ if (isSet(add_php_before_getitem_vvvvvzq) && add_php_before_getitem_vvvvvzq.constructor !== Array)
{
- var temp_vvvvvzq = add_php_after_getitem_vvvvvzq;
- var add_php_after_getitem_vvvvvzq = [];
- add_php_after_getitem_vvvvvzq.push(temp_vvvvvzq);
+ var temp_vvvvvzq = add_php_before_getitem_vvvvvzq;
+ var add_php_before_getitem_vvvvvzq = [];
+ add_php_before_getitem_vvvvvzq.push(temp_vvvvvzq);
}
- else if (!isSet(add_php_after_getitem_vvvvvzq))
+ else if (!isSet(add_php_before_getitem_vvvvvzq))
{
- var add_php_after_getitem_vvvvvzq = [];
+ var add_php_before_getitem_vvvvvzq = [];
}
- var add_php_after_getitem = add_php_after_getitem_vvvvvzq.some(add_php_after_getitem_vvvvvzq_SomeFunc);
+ var add_php_before_getitem = add_php_before_getitem_vvvvvzq.some(add_php_before_getitem_vvvvvzq_SomeFunc);
if (isSet(gettype_vvvvvzq) && gettype_vvvvvzq.constructor !== Array)
{
@@ -751,39 +713,39 @@ function vvvvvzq(add_php_after_getitem_vvvvvzq,gettype_vvvvvzq)
// set this function logic
- if (add_php_after_getitem && gettype)
+ if (add_php_before_getitem && gettype)
{
- jQuery('#jform_php_after_getitem-lbl').closest('.control-group').show();
- // add required attribute to php_after_getitem field
- if (jform_vvvvvzqvzf_required)
+ jQuery('#jform_php_before_getitem-lbl').closest('.control-group').show();
+ // add required attribute to php_before_getitem field
+ if (jform_vvvvvzqvze_required)
{
- updateFieldRequired('php_after_getitem',0);
- jQuery('#jform_php_after_getitem').prop('required','required');
- jQuery('#jform_php_after_getitem').attr('aria-required',true);
- jQuery('#jform_php_after_getitem').addClass('required');
- jform_vvvvvzqvzf_required = false;
+ updateFieldRequired('php_before_getitem',0);
+ jQuery('#jform_php_before_getitem').prop('required','required');
+ jQuery('#jform_php_before_getitem').attr('aria-required',true);
+ jQuery('#jform_php_before_getitem').addClass('required');
+ jform_vvvvvzqvze_required = false;
}
}
else
{
- jQuery('#jform_php_after_getitem-lbl').closest('.control-group').hide();
- // remove required attribute from php_after_getitem field
- if (!jform_vvvvvzqvzf_required)
+ jQuery('#jform_php_before_getitem-lbl').closest('.control-group').hide();
+ // remove required attribute from php_before_getitem field
+ if (!jform_vvvvvzqvze_required)
{
- updateFieldRequired('php_after_getitem',1);
- jQuery('#jform_php_after_getitem').removeAttr('required');
- jQuery('#jform_php_after_getitem').removeAttr('aria-required');
- jQuery('#jform_php_after_getitem').removeClass('required');
- jform_vvvvvzqvzf_required = true;
+ updateFieldRequired('php_before_getitem',1);
+ jQuery('#jform_php_before_getitem').removeAttr('required');
+ jQuery('#jform_php_before_getitem').removeAttr('aria-required');
+ jQuery('#jform_php_before_getitem').removeClass('required');
+ jform_vvvvvzqvze_required = true;
}
}
}
// the vvvvvzq Some function
-function add_php_after_getitem_vvvvvzq_SomeFunc(add_php_after_getitem_vvvvvzq)
+function add_php_before_getitem_vvvvvzq_SomeFunc(add_php_before_getitem_vvvvvzq)
{
// set the function logic
- if (add_php_after_getitem_vvvvvzq == 1)
+ if (add_php_before_getitem_vvvvvzq == 1)
{
return true;
}
@@ -801,76 +763,79 @@ function gettype_vvvvvzq_SomeFunc(gettype_vvvvvzq)
return false;
}
-// the vvvvvzs function
-function vvvvvzs(gettype_vvvvvzs)
+// the vvvvvzr function
+function vvvvvzr(add_php_after_getitem_vvvvvzr,gettype_vvvvvzr)
{
- if (isSet(gettype_vvvvvzs) && gettype_vvvvvzs.constructor !== Array)
+ if (isSet(add_php_after_getitem_vvvvvzr) && add_php_after_getitem_vvvvvzr.constructor !== Array)
{
- var temp_vvvvvzs = gettype_vvvvvzs;
- var gettype_vvvvvzs = [];
- gettype_vvvvvzs.push(temp_vvvvvzs);
+ var temp_vvvvvzr = add_php_after_getitem_vvvvvzr;
+ var add_php_after_getitem_vvvvvzr = [];
+ add_php_after_getitem_vvvvvzr.push(temp_vvvvvzr);
}
- else if (!isSet(gettype_vvvvvzs))
+ else if (!isSet(add_php_after_getitem_vvvvvzr))
{
- var gettype_vvvvvzs = [];
+ var add_php_after_getitem_vvvvvzr = [];
}
- var gettype = gettype_vvvvvzs.some(gettype_vvvvvzs_SomeFunc);
+ var add_php_after_getitem = add_php_after_getitem_vvvvvzr.some(add_php_after_getitem_vvvvvzr_SomeFunc);
+
+ if (isSet(gettype_vvvvvzr) && gettype_vvvvvzr.constructor !== Array)
+ {
+ var temp_vvvvvzr = gettype_vvvvvzr;
+ var gettype_vvvvvzr = [];
+ gettype_vvvvvzr.push(temp_vvvvvzr);
+ }
+ else if (!isSet(gettype_vvvvvzr))
+ {
+ var gettype_vvvvvzr = [];
+ }
+ var gettype = gettype_vvvvvzr.some(gettype_vvvvvzr_SomeFunc);
// set this function logic
- if (gettype)
+ if (add_php_after_getitem && gettype)
{
- jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
- // add required attribute to add_php_after_getitem field
- if (jform_vvvvvzsvzg_required)
+ jQuery('#jform_php_after_getitem-lbl').closest('.control-group').show();
+ // add required attribute to php_after_getitem field
+ if (jform_vvvvvzrvzf_required)
{
- updateFieldRequired('add_php_after_getitem',0);
- 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').addClass('required');
- jform_vvvvvzsvzg_required = false;
- }
- jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
- // add required attribute to add_php_before_getitem field
- if (jform_vvvvvzsvzh_required)
- {
- updateFieldRequired('add_php_before_getitem',0);
- 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').addClass('required');
- jform_vvvvvzsvzh_required = false;
+ updateFieldRequired('php_after_getitem',0);
+ jQuery('#jform_php_after_getitem').prop('required','required');
+ jQuery('#jform_php_after_getitem').attr('aria-required',true);
+ jQuery('#jform_php_after_getitem').addClass('required');
+ jform_vvvvvzrvzf_required = false;
}
}
else
{
- jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
- // remove required attribute from add_php_after_getitem field
- if (!jform_vvvvvzsvzg_required)
+ jQuery('#jform_php_after_getitem-lbl').closest('.control-group').hide();
+ // remove required attribute from php_after_getitem field
+ if (!jform_vvvvvzrvzf_required)
{
- updateFieldRequired('add_php_after_getitem',1);
- jQuery('#jform_add_php_after_getitem').removeAttr('required');
- jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
- jQuery('#jform_add_php_after_getitem').removeClass('required');
- jform_vvvvvzsvzg_required = true;
- }
- jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
- // remove required attribute from add_php_before_getitem field
- if (!jform_vvvvvzsvzh_required)
- {
- updateFieldRequired('add_php_before_getitem',1);
- jQuery('#jform_add_php_before_getitem').removeAttr('required');
- jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
- jQuery('#jform_add_php_before_getitem').removeClass('required');
- jform_vvvvvzsvzh_required = true;
+ updateFieldRequired('php_after_getitem',1);
+ jQuery('#jform_php_after_getitem').removeAttr('required');
+ jQuery('#jform_php_after_getitem').removeAttr('aria-required');
+ jQuery('#jform_php_after_getitem').removeClass('required');
+ jform_vvvvvzrvzf_required = true;
}
}
}
-// the vvvvvzs Some function
-function gettype_vvvvvzs_SomeFunc(gettype_vvvvvzs)
+// the vvvvvzr Some function
+function add_php_after_getitem_vvvvvzr_SomeFunc(add_php_after_getitem_vvvvvzr)
{
// set the function logic
- if (gettype_vvvvvzs == 1 || gettype_vvvvvzs == 3)
+ if (add_php_after_getitem_vvvvvzr == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzr Some function
+function gettype_vvvvvzr_SomeFunc(gettype_vvvvvzr)
+{
+ // set the function logic
+ if (gettype_vvvvvzr == 1 || gettype_vvvvvzr == 3)
{
return true;
}
@@ -878,20 +843,8 @@ function gettype_vvvvvzs_SomeFunc(gettype_vvvvvzs)
}
// the vvvvvzt function
-function vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt)
+function vvvvvzt(gettype_vvvvvzt)
{
- if (isSet(add_php_getlistquery_vvvvvzt) && add_php_getlistquery_vvvvvzt.constructor !== Array)
- {
- var temp_vvvvvzt = add_php_getlistquery_vvvvvzt;
- var add_php_getlistquery_vvvvvzt = [];
- add_php_getlistquery_vvvvvzt.push(temp_vvvvvzt);
- }
- else if (!isSet(add_php_getlistquery_vvvvvzt))
- {
- var add_php_getlistquery_vvvvvzt = [];
- }
- var add_php_getlistquery = add_php_getlistquery_vvvvvzt.some(add_php_getlistquery_vvvvvzt_SomeFunc);
-
if (isSet(gettype_vvvvvzt) && gettype_vvvvvzt.constructor !== Array)
{
var temp_vvvvvzt = gettype_vvvvvzt;
@@ -906,50 +859,59 @@ function vvvvvzt(add_php_getlistquery_vvvvvzt,gettype_vvvvvzt)
// set this function logic
- if (add_php_getlistquery && gettype)
+ if (gettype)
{
- jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
- // add required attribute to php_getlistquery field
- if (jform_vvvvvztvzi_required)
+ jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
+ // add required attribute to add_php_after_getitem field
+ if (jform_vvvvvztvzg_required)
{
- updateFieldRequired('php_getlistquery',0);
- jQuery('#jform_php_getlistquery').prop('required','required');
- jQuery('#jform_php_getlistquery').attr('aria-required',true);
- jQuery('#jform_php_getlistquery').addClass('required');
- jform_vvvvvztvzi_required = false;
+ updateFieldRequired('add_php_after_getitem',0);
+ 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').addClass('required');
+ jform_vvvvvztvzg_required = false;
+ }
+ jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
+ // add required attribute to add_php_before_getitem field
+ if (jform_vvvvvztvzh_required)
+ {
+ updateFieldRequired('add_php_before_getitem',0);
+ 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').addClass('required');
+ jform_vvvvvztvzh_required = false;
}
}
else
{
- jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide();
- // remove required attribute from php_getlistquery field
- if (!jform_vvvvvztvzi_required)
+ jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
+ // remove required attribute from add_php_after_getitem field
+ if (!jform_vvvvvztvzg_required)
{
- updateFieldRequired('php_getlistquery',1);
- jQuery('#jform_php_getlistquery').removeAttr('required');
- jQuery('#jform_php_getlistquery').removeAttr('aria-required');
- jQuery('#jform_php_getlistquery').removeClass('required');
- jform_vvvvvztvzi_required = true;
+ updateFieldRequired('add_php_after_getitem',1);
+ jQuery('#jform_add_php_after_getitem').removeAttr('required');
+ jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
+ jQuery('#jform_add_php_after_getitem').removeClass('required');
+ jform_vvvvvztvzg_required = true;
+ }
+ jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
+ // remove required attribute from add_php_before_getitem field
+ if (!jform_vvvvvztvzh_required)
+ {
+ updateFieldRequired('add_php_before_getitem',1);
+ jQuery('#jform_add_php_before_getitem').removeAttr('required');
+ jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
+ jQuery('#jform_add_php_before_getitem').removeClass('required');
+ jform_vvvvvztvzh_required = true;
}
}
}
-// the vvvvvzt Some function
-function add_php_getlistquery_vvvvvzt_SomeFunc(add_php_getlistquery_vvvvvzt)
-{
- // set the function logic
- if (add_php_getlistquery_vvvvvzt == 1)
- {
- return true;
- }
- return false;
-}
-
// the vvvvvzt Some function
function gettype_vvvvvzt_SomeFunc(gettype_vvvvvzt)
{
// set the function logic
- if (gettype_vvvvvzt == 2 || gettype_vvvvvzt == 4)
+ if (gettype_vvvvvzt == 1 || gettype_vvvvvzt == 3)
{
return true;
}
@@ -957,19 +919,19 @@ function gettype_vvvvvzt_SomeFunc(gettype_vvvvvzt)
}
// the vvvvvzu function
-function vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu)
+function vvvvvzu(add_php_getlistquery_vvvvvzu,gettype_vvvvvzu)
{
- if (isSet(add_php_before_getitems_vvvvvzu) && add_php_before_getitems_vvvvvzu.constructor !== Array)
+ if (isSet(add_php_getlistquery_vvvvvzu) && add_php_getlistquery_vvvvvzu.constructor !== Array)
{
- var temp_vvvvvzu = add_php_before_getitems_vvvvvzu;
- var add_php_before_getitems_vvvvvzu = [];
- add_php_before_getitems_vvvvvzu.push(temp_vvvvvzu);
+ var temp_vvvvvzu = add_php_getlistquery_vvvvvzu;
+ var add_php_getlistquery_vvvvvzu = [];
+ add_php_getlistquery_vvvvvzu.push(temp_vvvvvzu);
}
- else if (!isSet(add_php_before_getitems_vvvvvzu))
+ else if (!isSet(add_php_getlistquery_vvvvvzu))
{
- var add_php_before_getitems_vvvvvzu = [];
+ var add_php_getlistquery_vvvvvzu = [];
}
- var add_php_before_getitems = add_php_before_getitems_vvvvvzu.some(add_php_before_getitems_vvvvvzu_SomeFunc);
+ var add_php_getlistquery = add_php_getlistquery_vvvvvzu.some(add_php_getlistquery_vvvvvzu_SomeFunc);
if (isSet(gettype_vvvvvzu) && gettype_vvvvvzu.constructor !== Array)
{
@@ -985,39 +947,39 @@ function vvvvvzu(add_php_before_getitems_vvvvvzu,gettype_vvvvvzu)
// set this function logic
- if (add_php_before_getitems && gettype)
+ if (add_php_getlistquery && gettype)
{
- jQuery('#jform_php_before_getitems-lbl').closest('.control-group').show();
- // add required attribute to php_before_getitems field
- if (jform_vvvvvzuvzj_required)
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
+ // add required attribute to php_getlistquery field
+ if (jform_vvvvvzuvzi_required)
{
- updateFieldRequired('php_before_getitems',0);
- jQuery('#jform_php_before_getitems').prop('required','required');
- jQuery('#jform_php_before_getitems').attr('aria-required',true);
- jQuery('#jform_php_before_getitems').addClass('required');
- jform_vvvvvzuvzj_required = false;
+ updateFieldRequired('php_getlistquery',0);
+ jQuery('#jform_php_getlistquery').prop('required','required');
+ jQuery('#jform_php_getlistquery').attr('aria-required',true);
+ jQuery('#jform_php_getlistquery').addClass('required');
+ jform_vvvvvzuvzi_required = false;
}
}
else
{
- jQuery('#jform_php_before_getitems-lbl').closest('.control-group').hide();
- // remove required attribute from php_before_getitems field
- if (!jform_vvvvvzuvzj_required)
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide();
+ // remove required attribute from php_getlistquery field
+ if (!jform_vvvvvzuvzi_required)
{
- updateFieldRequired('php_before_getitems',1);
- jQuery('#jform_php_before_getitems').removeAttr('required');
- jQuery('#jform_php_before_getitems').removeAttr('aria-required');
- jQuery('#jform_php_before_getitems').removeClass('required');
- jform_vvvvvzuvzj_required = true;
+ updateFieldRequired('php_getlistquery',1);
+ jQuery('#jform_php_getlistquery').removeAttr('required');
+ jQuery('#jform_php_getlistquery').removeAttr('aria-required');
+ jQuery('#jform_php_getlistquery').removeClass('required');
+ jform_vvvvvzuvzi_required = true;
}
}
}
// the vvvvvzu Some function
-function add_php_before_getitems_vvvvvzu_SomeFunc(add_php_before_getitems_vvvvvzu)
+function add_php_getlistquery_vvvvvzu_SomeFunc(add_php_getlistquery_vvvvvzu)
{
// set the function logic
- if (add_php_before_getitems_vvvvvzu == 1)
+ if (add_php_getlistquery_vvvvvzu == 1)
{
return true;
}
@@ -1036,19 +998,19 @@ function gettype_vvvvvzu_SomeFunc(gettype_vvvvvzu)
}
// the vvvvvzv function
-function vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv)
+function vvvvvzv(add_php_before_getitems_vvvvvzv,gettype_vvvvvzv)
{
- if (isSet(add_php_after_getitems_vvvvvzv) && add_php_after_getitems_vvvvvzv.constructor !== Array)
+ if (isSet(add_php_before_getitems_vvvvvzv) && add_php_before_getitems_vvvvvzv.constructor !== Array)
{
- var temp_vvvvvzv = add_php_after_getitems_vvvvvzv;
- var add_php_after_getitems_vvvvvzv = [];
- add_php_after_getitems_vvvvvzv.push(temp_vvvvvzv);
+ var temp_vvvvvzv = add_php_before_getitems_vvvvvzv;
+ var add_php_before_getitems_vvvvvzv = [];
+ add_php_before_getitems_vvvvvzv.push(temp_vvvvvzv);
}
- else if (!isSet(add_php_after_getitems_vvvvvzv))
+ else if (!isSet(add_php_before_getitems_vvvvvzv))
{
- var add_php_after_getitems_vvvvvzv = [];
+ var add_php_before_getitems_vvvvvzv = [];
}
- var add_php_after_getitems = add_php_after_getitems_vvvvvzv.some(add_php_after_getitems_vvvvvzv_SomeFunc);
+ var add_php_before_getitems = add_php_before_getitems_vvvvvzv.some(add_php_before_getitems_vvvvvzv_SomeFunc);
if (isSet(gettype_vvvvvzv) && gettype_vvvvvzv.constructor !== Array)
{
@@ -1064,39 +1026,39 @@ function vvvvvzv(add_php_after_getitems_vvvvvzv,gettype_vvvvvzv)
// set this function logic
- if (add_php_after_getitems && gettype)
+ if (add_php_before_getitems && gettype)
{
- jQuery('#jform_php_after_getitems-lbl').closest('.control-group').show();
- // add required attribute to php_after_getitems field
- if (jform_vvvvvzvvzk_required)
+ jQuery('#jform_php_before_getitems-lbl').closest('.control-group').show();
+ // add required attribute to php_before_getitems field
+ if (jform_vvvvvzvvzj_required)
{
- updateFieldRequired('php_after_getitems',0);
- jQuery('#jform_php_after_getitems').prop('required','required');
- jQuery('#jform_php_after_getitems').attr('aria-required',true);
- jQuery('#jform_php_after_getitems').addClass('required');
- jform_vvvvvzvvzk_required = false;
+ updateFieldRequired('php_before_getitems',0);
+ jQuery('#jform_php_before_getitems').prop('required','required');
+ jQuery('#jform_php_before_getitems').attr('aria-required',true);
+ jQuery('#jform_php_before_getitems').addClass('required');
+ jform_vvvvvzvvzj_required = false;
}
}
else
{
- jQuery('#jform_php_after_getitems-lbl').closest('.control-group').hide();
- // remove required attribute from php_after_getitems field
- if (!jform_vvvvvzvvzk_required)
+ jQuery('#jform_php_before_getitems-lbl').closest('.control-group').hide();
+ // remove required attribute from php_before_getitems field
+ if (!jform_vvvvvzvvzj_required)
{
- updateFieldRequired('php_after_getitems',1);
- jQuery('#jform_php_after_getitems').removeAttr('required');
- jQuery('#jform_php_after_getitems').removeAttr('aria-required');
- jQuery('#jform_php_after_getitems').removeClass('required');
- jform_vvvvvzvvzk_required = true;
+ updateFieldRequired('php_before_getitems',1);
+ jQuery('#jform_php_before_getitems').removeAttr('required');
+ jQuery('#jform_php_before_getitems').removeAttr('aria-required');
+ jQuery('#jform_php_before_getitems').removeClass('required');
+ jform_vvvvvzvvzj_required = true;
}
}
}
// the vvvvvzv Some function
-function add_php_after_getitems_vvvvvzv_SomeFunc(add_php_after_getitems_vvvvvzv)
+function add_php_before_getitems_vvvvvzv_SomeFunc(add_php_before_getitems_vvvvvzv)
{
// set the function logic
- if (add_php_after_getitems_vvvvvzv == 1)
+ if (add_php_before_getitems_vvvvvzv == 1)
{
return true;
}
@@ -1114,96 +1076,79 @@ function gettype_vvvvvzv_SomeFunc(gettype_vvvvvzv)
return false;
}
-// the vvvvvzx function
-function vvvvvzx(gettype_vvvvvzx)
+// the vvvvvzw function
+function vvvvvzw(add_php_after_getitems_vvvvvzw,gettype_vvvvvzw)
{
- if (isSet(gettype_vvvvvzx) && gettype_vvvvvzx.constructor !== Array)
+ if (isSet(add_php_after_getitems_vvvvvzw) && add_php_after_getitems_vvvvvzw.constructor !== Array)
{
- var temp_vvvvvzx = gettype_vvvvvzx;
- var gettype_vvvvvzx = [];
- gettype_vvvvvzx.push(temp_vvvvvzx);
+ var temp_vvvvvzw = add_php_after_getitems_vvvvvzw;
+ var add_php_after_getitems_vvvvvzw = [];
+ add_php_after_getitems_vvvvvzw.push(temp_vvvvvzw);
}
- else if (!isSet(gettype_vvvvvzx))
+ else if (!isSet(add_php_after_getitems_vvvvvzw))
{
- var gettype_vvvvvzx = [];
+ var add_php_after_getitems_vvvvvzw = [];
}
- var gettype = gettype_vvvvvzx.some(gettype_vvvvvzx_SomeFunc);
+ var add_php_after_getitems = add_php_after_getitems_vvvvvzw.some(add_php_after_getitems_vvvvvzw_SomeFunc);
+
+ if (isSet(gettype_vvvvvzw) && gettype_vvvvvzw.constructor !== Array)
+ {
+ var temp_vvvvvzw = gettype_vvvvvzw;
+ var gettype_vvvvvzw = [];
+ gettype_vvvvvzw.push(temp_vvvvvzw);
+ }
+ else if (!isSet(gettype_vvvvvzw))
+ {
+ var gettype_vvvvvzw = [];
+ }
+ var gettype = gettype_vvvvvzw.some(gettype_vvvvvzw_SomeFunc);
// set this function logic
- if (gettype)
+ if (add_php_after_getitems && gettype)
{
- jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
- // add required attribute to add_php_after_getitems field
- if (jform_vvvvvzxvzl_required)
+ jQuery('#jform_php_after_getitems-lbl').closest('.control-group').show();
+ // add required attribute to php_after_getitems field
+ if (jform_vvvvvzwvzk_required)
{
- updateFieldRequired('add_php_after_getitems',0);
- 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').addClass('required');
- jform_vvvvvzxvzl_required = false;
- }
- jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
- // add required attribute to add_php_before_getitems field
- if (jform_vvvvvzxvzm_required)
- {
- updateFieldRequired('add_php_before_getitems',0);
- 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').addClass('required');
- jform_vvvvvzxvzm_required = false;
- }
- jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
- // add required attribute to add_php_getlistquery field
- if (jform_vvvvvzxvzn_required)
- {
- updateFieldRequired('add_php_getlistquery',0);
- jQuery('#jform_add_php_getlistquery').prop('required','required');
- jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
- jQuery('#jform_add_php_getlistquery').addClass('required');
- jform_vvvvvzxvzn_required = false;
+ updateFieldRequired('php_after_getitems',0);
+ jQuery('#jform_php_after_getitems').prop('required','required');
+ jQuery('#jform_php_after_getitems').attr('aria-required',true);
+ jQuery('#jform_php_after_getitems').addClass('required');
+ jform_vvvvvzwvzk_required = false;
}
}
else
{
- jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
- // remove required attribute from add_php_after_getitems field
- if (!jform_vvvvvzxvzl_required)
+ jQuery('#jform_php_after_getitems-lbl').closest('.control-group').hide();
+ // remove required attribute from php_after_getitems field
+ if (!jform_vvvvvzwvzk_required)
{
- updateFieldRequired('add_php_after_getitems',1);
- jQuery('#jform_add_php_after_getitems').removeAttr('required');
- jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
- jQuery('#jform_add_php_after_getitems').removeClass('required');
- jform_vvvvvzxvzl_required = true;
- }
- jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
- // remove required attribute from add_php_before_getitems field
- if (!jform_vvvvvzxvzm_required)
- {
- updateFieldRequired('add_php_before_getitems',1);
- jQuery('#jform_add_php_before_getitems').removeAttr('required');
- jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
- jQuery('#jform_add_php_before_getitems').removeClass('required');
- jform_vvvvvzxvzm_required = true;
- }
- jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
- // remove required attribute from add_php_getlistquery field
- if (!jform_vvvvvzxvzn_required)
- {
- updateFieldRequired('add_php_getlistquery',1);
- jQuery('#jform_add_php_getlistquery').removeAttr('required');
- jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
- jQuery('#jform_add_php_getlistquery').removeClass('required');
- jform_vvvvvzxvzn_required = true;
+ updateFieldRequired('php_after_getitems',1);
+ jQuery('#jform_php_after_getitems').removeAttr('required');
+ jQuery('#jform_php_after_getitems').removeAttr('aria-required');
+ jQuery('#jform_php_after_getitems').removeClass('required');
+ jform_vvvvvzwvzk_required = true;
}
}
}
-// the vvvvvzx Some function
-function gettype_vvvvvzx_SomeFunc(gettype_vvvvvzx)
+// the vvvvvzw Some function
+function add_php_after_getitems_vvvvvzw_SomeFunc(add_php_after_getitems_vvvvvzw)
{
// set the function logic
- if (gettype_vvvvvzx == 2 || gettype_vvvvvzx == 4)
+ if (add_php_after_getitems_vvvvvzw == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzw Some function
+function gettype_vvvvvzw_SomeFunc(gettype_vvvvvzw)
+{
+ // set the function logic
+ if (gettype_vvvvvzw == 2 || gettype_vvvvvzw == 4)
{
return true;
}
@@ -1229,28 +1174,68 @@ function vvvvvzy(gettype_vvvvvzy)
// set this function logic
if (gettype)
{
- jQuery('#jform_pagination').closest('.control-group').show();
- // add required attribute to pagination field
- if (jform_vvvvvzyvzo_required)
+ jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
+ // add required attribute to add_php_after_getitems field
+ if (jform_vvvvvzyvzl_required)
{
- updateFieldRequired('pagination',0);
- jQuery('#jform_pagination').prop('required','required');
- jQuery('#jform_pagination').attr('aria-required',true);
- jQuery('#jform_pagination').addClass('required');
- jform_vvvvvzyvzo_required = false;
+ updateFieldRequired('add_php_after_getitems',0);
+ 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').addClass('required');
+ jform_vvvvvzyvzl_required = false;
+ }
+ jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
+ // add required attribute to add_php_before_getitems field
+ if (jform_vvvvvzyvzm_required)
+ {
+ updateFieldRequired('add_php_before_getitems',0);
+ 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').addClass('required');
+ jform_vvvvvzyvzm_required = false;
+ }
+ jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
+ // add required attribute to add_php_getlistquery field
+ if (jform_vvvvvzyvzn_required)
+ {
+ updateFieldRequired('add_php_getlistquery',0);
+ jQuery('#jform_add_php_getlistquery').prop('required','required');
+ jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
+ jQuery('#jform_add_php_getlistquery').addClass('required');
+ jform_vvvvvzyvzn_required = false;
}
}
else
{
- jQuery('#jform_pagination').closest('.control-group').hide();
- // remove required attribute from pagination field
- if (!jform_vvvvvzyvzo_required)
+ jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
+ // remove required attribute from add_php_after_getitems field
+ if (!jform_vvvvvzyvzl_required)
{
- updateFieldRequired('pagination',1);
- jQuery('#jform_pagination').removeAttr('required');
- jQuery('#jform_pagination').removeAttr('aria-required');
- jQuery('#jform_pagination').removeClass('required');
- jform_vvvvvzyvzo_required = true;
+ updateFieldRequired('add_php_after_getitems',1);
+ jQuery('#jform_add_php_after_getitems').removeAttr('required');
+ jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
+ jQuery('#jform_add_php_after_getitems').removeClass('required');
+ jform_vvvvvzyvzl_required = true;
+ }
+ jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
+ // remove required attribute from add_php_before_getitems field
+ if (!jform_vvvvvzyvzm_required)
+ {
+ updateFieldRequired('add_php_before_getitems',1);
+ jQuery('#jform_add_php_before_getitems').removeAttr('required');
+ jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
+ jQuery('#jform_add_php_before_getitems').removeClass('required');
+ jform_vvvvvzyvzm_required = true;
+ }
+ jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
+ // remove required attribute from add_php_getlistquery field
+ if (!jform_vvvvvzyvzn_required)
+ {
+ updateFieldRequired('add_php_getlistquery',1);
+ jQuery('#jform_add_php_getlistquery').removeAttr('required');
+ jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
+ jQuery('#jform_add_php_getlistquery').removeClass('required');
+ jform_vvvvvzyvzn_required = true;
}
}
}
@@ -1259,7 +1244,7 @@ function vvvvvzy(gettype_vvvvvzy)
function gettype_vvvvvzy_SomeFunc(gettype_vvvvvzy)
{
// set the function logic
- if (gettype_vvvvvzy == 2)
+ if (gettype_vvvvvzy == 2 || gettype_vvvvvzy == 4)
{
return true;
}
@@ -1285,28 +1270,28 @@ function vvvvvzz(gettype_vvvvvzz)
// set this function logic
if (gettype)
{
- jQuery('#jform_add_php_router_parse').closest('.control-group').show();
- // add required attribute to add_php_router_parse field
- if (jform_vvvvvzzvzp_required)
+ jQuery('#jform_pagination').closest('.control-group').show();
+ // add required attribute to pagination field
+ if (jform_vvvvvzzvzo_required)
{
- updateFieldRequired('add_php_router_parse',0);
- jQuery('#jform_add_php_router_parse').prop('required','required');
- jQuery('#jform_add_php_router_parse').attr('aria-required',true);
- jQuery('#jform_add_php_router_parse').addClass('required');
- jform_vvvvvzzvzp_required = false;
+ updateFieldRequired('pagination',0);
+ jQuery('#jform_pagination').prop('required','required');
+ jQuery('#jform_pagination').attr('aria-required',true);
+ jQuery('#jform_pagination').addClass('required');
+ jform_vvvvvzzvzo_required = false;
}
}
else
{
- jQuery('#jform_add_php_router_parse').closest('.control-group').hide();
- // remove required attribute from add_php_router_parse field
- if (!jform_vvvvvzzvzp_required)
+ jQuery('#jform_pagination').closest('.control-group').hide();
+ // remove required attribute from pagination field
+ if (!jform_vvvvvzzvzo_required)
{
- updateFieldRequired('add_php_router_parse',1);
- jQuery('#jform_add_php_router_parse').removeAttr('required');
- jQuery('#jform_add_php_router_parse').removeAttr('aria-required');
- jQuery('#jform_add_php_router_parse').removeClass('required');
- jform_vvvvvzzvzp_required = true;
+ updateFieldRequired('pagination',1);
+ jQuery('#jform_pagination').removeAttr('required');
+ jQuery('#jform_pagination').removeAttr('aria-required');
+ jQuery('#jform_pagination').removeClass('required');
+ jform_vvvvvzzvzo_required = true;
}
}
}
@@ -1315,7 +1300,7 @@ function vvvvvzz(gettype_vvvvvzz)
function gettype_vvvvvzz_SomeFunc(gettype_vvvvvzz)
{
// set the function logic
- if (gettype_vvvvvzz == 1 || gettype_vvvvvzz == 2)
+ if (gettype_vvvvvzz == 2)
{
return true;
}
@@ -1323,7 +1308,7 @@ function gettype_vvvvvzz_SomeFunc(gettype_vvvvvzz)
}
// the vvvvwaa function
-function vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa)
+function vvvvwaa(gettype_vvvvwaa)
{
if (isSet(gettype_vvvvwaa) && gettype_vvvvwaa.constructor !== Array)
{
@@ -1337,44 +1322,32 @@ function vvvvwaa(gettype_vvvvwaa,add_php_router_parse_vvvvwaa)
}
var gettype = gettype_vvvvwaa.some(gettype_vvvvwaa_SomeFunc);
- if (isSet(add_php_router_parse_vvvvwaa) && add_php_router_parse_vvvvwaa.constructor !== Array)
- {
- var temp_vvvvwaa = add_php_router_parse_vvvvwaa;
- var add_php_router_parse_vvvvwaa = [];
- add_php_router_parse_vvvvwaa.push(temp_vvvvwaa);
- }
- else if (!isSet(add_php_router_parse_vvvvwaa))
- {
- var add_php_router_parse_vvvvwaa = [];
- }
- var add_php_router_parse = add_php_router_parse_vvvvwaa.some(add_php_router_parse_vvvvwaa_SomeFunc);
-
// set this function logic
- if (gettype && add_php_router_parse)
+ if (gettype)
{
- jQuery('#jform_php_router_parse').closest('.control-group').show();
- // add required attribute to php_router_parse field
- if (jform_vvvvwaavzq_required)
+ jQuery('#jform_add_php_router_parse').closest('.control-group').show();
+ // add required attribute to add_php_router_parse field
+ if (jform_vvvvwaavzp_required)
{
- updateFieldRequired('php_router_parse',0);
- jQuery('#jform_php_router_parse').prop('required','required');
- jQuery('#jform_php_router_parse').attr('aria-required',true);
- jQuery('#jform_php_router_parse').addClass('required');
- jform_vvvvwaavzq_required = false;
+ updateFieldRequired('add_php_router_parse',0);
+ jQuery('#jform_add_php_router_parse').prop('required','required');
+ jQuery('#jform_add_php_router_parse').attr('aria-required',true);
+ jQuery('#jform_add_php_router_parse').addClass('required');
+ jform_vvvvwaavzp_required = false;
}
}
else
{
- jQuery('#jform_php_router_parse').closest('.control-group').hide();
- // remove required attribute from php_router_parse field
- if (!jform_vvvvwaavzq_required)
+ jQuery('#jform_add_php_router_parse').closest('.control-group').hide();
+ // remove required attribute from add_php_router_parse field
+ if (!jform_vvvvwaavzp_required)
{
- updateFieldRequired('php_router_parse',1);
- jQuery('#jform_php_router_parse').removeAttr('required');
- jQuery('#jform_php_router_parse').removeAttr('aria-required');
- jQuery('#jform_php_router_parse').removeClass('required');
- jform_vvvvwaavzq_required = true;
+ updateFieldRequired('add_php_router_parse',1);
+ jQuery('#jform_add_php_router_parse').removeAttr('required');
+ jQuery('#jform_add_php_router_parse').removeAttr('aria-required');
+ jQuery('#jform_add_php_router_parse').removeClass('required');
+ jform_vvvvwaavzp_required = true;
}
}
}
@@ -1390,31 +1363,99 @@ function gettype_vvvvwaa_SomeFunc(gettype_vvvvwaa)
return false;
}
-// the vvvvwaa Some function
-function add_php_router_parse_vvvvwaa_SomeFunc(add_php_router_parse_vvvvwaa)
+// the vvvvwab function
+function vvvvwab(gettype_vvvvwab,add_php_router_parse_vvvvwab)
+{
+ if (isSet(gettype_vvvvwab) && gettype_vvvvwab.constructor !== Array)
+ {
+ var temp_vvvvwab = gettype_vvvvwab;
+ var gettype_vvvvwab = [];
+ gettype_vvvvwab.push(temp_vvvvwab);
+ }
+ else if (!isSet(gettype_vvvvwab))
+ {
+ var gettype_vvvvwab = [];
+ }
+ var gettype = gettype_vvvvwab.some(gettype_vvvvwab_SomeFunc);
+
+ if (isSet(add_php_router_parse_vvvvwab) && add_php_router_parse_vvvvwab.constructor !== Array)
+ {
+ var temp_vvvvwab = add_php_router_parse_vvvvwab;
+ var add_php_router_parse_vvvvwab = [];
+ add_php_router_parse_vvvvwab.push(temp_vvvvwab);
+ }
+ else if (!isSet(add_php_router_parse_vvvvwab))
+ {
+ var add_php_router_parse_vvvvwab = [];
+ }
+ var add_php_router_parse = add_php_router_parse_vvvvwab.some(add_php_router_parse_vvvvwab_SomeFunc);
+
+
+ // set this function logic
+ if (gettype && add_php_router_parse)
+ {
+ jQuery('#jform_php_router_parse').closest('.control-group').show();
+ // add required attribute to php_router_parse field
+ if (jform_vvvvwabvzq_required)
+ {
+ updateFieldRequired('php_router_parse',0);
+ jQuery('#jform_php_router_parse').prop('required','required');
+ jQuery('#jform_php_router_parse').attr('aria-required',true);
+ jQuery('#jform_php_router_parse').addClass('required');
+ jform_vvvvwabvzq_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_php_router_parse').closest('.control-group').hide();
+ // remove required attribute from php_router_parse field
+ if (!jform_vvvvwabvzq_required)
+ {
+ updateFieldRequired('php_router_parse',1);
+ jQuery('#jform_php_router_parse').removeAttr('required');
+ jQuery('#jform_php_router_parse').removeAttr('aria-required');
+ jQuery('#jform_php_router_parse').removeClass('required');
+ jform_vvvvwabvzq_required = true;
+ }
+ }
+}
+
+// the vvvvwab Some function
+function gettype_vvvvwab_SomeFunc(gettype_vvvvwab)
{
// set the function logic
- if (add_php_router_parse_vvvvwaa == 1)
+ if (gettype_vvvvwab == 1 || gettype_vvvvwab == 2)
{
return true;
}
return false;
}
-// the vvvvwac function
-function vvvvwac(gettype_vvvvwac)
+// the vvvvwab Some function
+function add_php_router_parse_vvvvwab_SomeFunc(add_php_router_parse_vvvvwab)
{
- if (isSet(gettype_vvvvwac) && gettype_vvvvwac.constructor !== Array)
+ // set the function logic
+ if (add_php_router_parse_vvvvwab == 1)
{
- var temp_vvvvwac = gettype_vvvvwac;
- var gettype_vvvvwac = [];
- gettype_vvvvwac.push(temp_vvvvwac);
+ return true;
}
- else if (!isSet(gettype_vvvvwac))
+ return false;
+}
+
+// the vvvvwad function
+function vvvvwad(gettype_vvvvwad)
+{
+ if (isSet(gettype_vvvvwad) && gettype_vvvvwad.constructor !== Array)
{
- var gettype_vvvvwac = [];
+ var temp_vvvvwad = gettype_vvvvwad;
+ var gettype_vvvvwad = [];
+ gettype_vvvvwad.push(temp_vvvvwad);
}
- var gettype = gettype_vvvvwac.some(gettype_vvvvwac_SomeFunc);
+ else if (!isSet(gettype_vvvvwad))
+ {
+ var gettype_vvvvwad = [];
+ }
+ var gettype = gettype_vvvvwad.some(gettype_vvvvwad_SomeFunc);
// set this function logic
@@ -1428,11 +1469,11 @@ function vvvvwac(gettype_vvvvwac)
}
}
-// the vvvvwac Some function
-function gettype_vvvvwac_SomeFunc(gettype_vvvvwac)
+// the vvvvwad Some function
+function gettype_vvvvwad_SomeFunc(gettype_vvvvwad)
{
// set the function logic
- if (gettype_vvvvwac == 1)
+ if (gettype_vvvvwad == 1)
{
return true;
}
@@ -1482,19 +1523,23 @@ jQuery(document).ready(function()
getLinked();
var valueSwitch = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
getDynamicScripts(valueSwitch);
+ // get the selected value of the select_all
+ var select_all = jQuery("#jform_select_all input[type='radio']:checked").val();
+ // make sure the selection is correct
+ setSelectAll(select_all);
});
function getLinked_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1506,9 +1551,38 @@ function getLinked(){
});
}
-function getViewTableColumns_server(viewId,asKey,rowType)
-{
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.viewTableColumns&format=json";
+function setSelectAll(select_all){
+ // get source type
+ var main_source = jQuery("#jform_main_source").val();
+ if (1 == main_source) {
+ var key = 'view';
+ } else if (2 == main_source) {
+ var key = 'db';
+ } else {
+ return true;
+ }
+ // only continue if set
+ if (select_all == 1) {
+ // set default notice
+ jQuery("#jform_"+key+"_selection").val('a.*');
+ // set the selection text area to read only
+ jQuery("#jform_"+key+"_selection").prop("readonly", true);
+ } else {
+ // remove the read only from selection text area
+ jQuery("#jform_"+key+"_selection").prop("readonly", false);
+ // get selected options
+ var value_main = jQuery("#jform_"+key+"_table_main option:selected").val();
+ // make sure that all fields are set as selected
+ if (key === 'view') {
+ getViewTableColumns(value_main, 'a', key, 3, true, '', '');
+ } else {
+ getDbTableColumns(value_main, 'a', key, 3, true, '', '');
+ }
+ }
+}
+
+function getViewTableColumns_server(viewId,asKey,rowType){
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.viewTableColumns&format=json&raw=true";
if (token.length > 0 && viewId > 0 && asKey.length > 0)
{
var request = 'token='+token+'&as='+asKey+'&type='+rowType+'&id='+viewId;
@@ -1516,14 +1590,22 @@ function getViewTableColumns_server(viewId,asKey,rowType)
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
-function getViewTableColumns(id,asKey,key,rowType,main, table_, nr_)
-{
+function getViewTableColumns(id, asKey, key, rowType, main, table_, nr_){
+ // check if this is the main view
+ if (main){
+ var select_all = jQuery("#jform_select_all input[type='radio']:checked").val();
+ // do not continue if set
+ if (select_all == 1){
+ setSelectAll(select_all);
+ return true;
+ }
+ }
getViewTableColumns_server(id,asKey,rowType).done(function(result) {
if (result)
{
@@ -1538,7 +1620,7 @@ function getViewTableColumns(id,asKey,key,rowType,main, table_, nr_)
function getDbTableColumns_server(name,asKey,rowType)
{
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.dbTableColumns&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.dbTableColumns&format=json&raw=true";
if (token.length > 0 && name.length > 0 && asKey.length > 0)
{
var request = 'token='+token+'&as='+asKey+'&type='+rowType+'&name='+name;
@@ -1546,14 +1628,22 @@ function getDbTableColumns_server(name,asKey,rowType)
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
-function getDbTableColumns(name, asKey, key, rowType, main, table_, nr_)
-{
+function getDbTableColumns(name, asKey, key, rowType, main, table_, nr_){
+ // check if this is the main view
+ if (main){
+ var select_all = jQuery("#jform_select_all input[type='radio']:checked").val();
+ // do not continue if set
+ if (select_all == 1){
+ setSelectAll(select_all);
+ return true;
+ }
+ }
getDbTableColumns_server(name,asKey,rowType).done(function(result) {
if (result)
{
@@ -1586,7 +1676,7 @@ function loadSelectionData(result, type, key, main, table_, nr_)
jQuery(textArea).val('');
}
}
-function updateSubItems(fieldName, fieldNr, table_, nr_){
+function updateSubItems(fieldName, fieldNr, table_, nr_) {
if(jQuery('#jform_join_'+fieldName+'_table'+table_+'_join_'+fieldName+'_table'+fieldNr+nr_+'_'+fieldName+'_table').length) {
jQuery('#adminForm').on('change', '#jform_join_'+fieldName+'_table'+table_+'_join_'+fieldName+'_table'+fieldNr+nr_+'_'+fieldName+'_table',function (e) {
e.preventDefault();
@@ -1628,16 +1718,16 @@ function updateSubItems(fieldName, fieldNr, table_, nr_){
}
function getDynamicScripts_server(typpe){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getDynamicScripts&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && typpe.length > 0){
var request = 'token='+token+'&type='+typpe;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
diff --git a/admin/models/forms/dynamic_get.xml b/admin/models/forms/dynamic_get.xml
index 4895dc4b6..d019d039d 100644
--- a/admin/models/forms/dynamic_get.xml
+++ b/admin/models/forms/dynamic_get.xml
@@ -143,6 +143,190 @@
COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
+
+
+
+
+
+
+
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERTITLE
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTBEFOREDISPLAY
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERDISPLAY
+
+
+
+
+
+
+
+
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_YES
+
+ COM_COMPONENTBUILDER_DYNAMIC_GET_NO
+
-
-
-
-
-
+
+ default="0">
COM_COMPONENTBUILDER_DYNAMIC_GET_YES
COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_YES
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
-
-
-
-
-
-
-
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERTITLE
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTBEFOREDISPLAY
-
- COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERDISPLAY
-
-
-
-
-
0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -544,16 +544,16 @@ function getLinked(){
}
function addButton_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButton(type, where, size){
@@ -574,16 +574,16 @@ function addButton(type, where, size){
var rowIdKey = 'properties';
function getFieldOptions_server(fieldtype){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldOptions&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldOptions&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && fieldtype > 0){
var request = 'token='+token+'&id='+fieldtype;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -734,31 +734,31 @@ function propertyIsSet(prop, id, targetForm) {
}
function getFieldPropertyDesc_server(fieldtype, property){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getFieldPropertyDesc&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getFieldPropertyDesc&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && (fieldtype > 0 || fieldtype.length > 0)&& property.length > 0){
var request = 'token='+token+'&fieldtype='+fieldtype+'&property='+property;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getValidationRulesTable_server(){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getValidationRulesTable&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getValidationRulesTable&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0){
var request = 'token='+token+'&id=1';
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
diff --git a/admin/models/forms/field.xml b/admin/models/forms/field.xml
index f76ee676d..24b41e53b 100644
--- a/admin/models/forms/field.xml
+++ b/admin/models/forms/field.xml
@@ -136,6 +136,14 @@
COM_COMPONENTBUILDER_FIELD_MEDIUMTEXT
COM_COMPONENTBUILDER_FIELD_LONGTEXT
+
+ COM_COMPONENTBUILDER_FIELD_BLOB
+
+ COM_COMPONENTBUILDER_FIELD_TINYBLOB
+
+ COM_COMPONENTBUILDER_FIELD_MEDIUMBLOB
+
+ COM_COMPONENTBUILDER_FIELD_LONGBLOB
COM_COMPONENTBUILDER_FIELD_DATETIME
diff --git a/admin/models/forms/help_document.js b/admin/models/forms/help_document.js
index 6310ceeb0..775a726a7 100644
--- a/admin/models/forms/help_document.js
+++ b/admin/models/forms/help_document.js
@@ -9,24 +9,21 @@
*/
// Some Global Values
-jform_vvvvwbjwaq_required = false;
-jform_vvvvwbkwar_required = false;
-jform_vvvvwblwas_required = false;
-jform_vvvvwbmwat_required = false;
-jform_vvvvwbnwau_required = false;
-jform_vvvvwbowav_required = false;
+jform_vvvvwbkwaq_required = false;
+jform_vvvvwblwar_required = false;
+jform_vvvvwbmwas_required = false;
+jform_vvvvwbnwat_required = false;
+jform_vvvvwbowau_required = false;
+jform_vvvvwbpwav_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var location_vvvvwbj = jQuery("#jform_location input[type='radio']:checked").val();
- vvvvwbj(location_vvvvwbj);
-
var location_vvvvwbk = jQuery("#jform_location input[type='radio']:checked").val();
vvvvwbk(location_vvvvwbk);
- var type_vvvvwbl = jQuery("#jform_type").val();
- vvvvwbl(type_vvvvwbl);
+ var location_vvvvwbl = jQuery("#jform_location input[type='radio']:checked").val();
+ vvvvwbl(location_vvvvwbl);
var type_vvvvwbm = jQuery("#jform_type").val();
vvvvwbm(type_vvvvwbm);
@@ -34,130 +31,77 @@ jQuery(document).ready(function()
var type_vvvvwbn = jQuery("#jform_type").val();
vvvvwbn(type_vvvvwbn);
- var target_vvvvwbo = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwbo(target_vvvvwbo);
+ var type_vvvvwbo = jQuery("#jform_type").val();
+ vvvvwbo(type_vvvvwbo);
+
+ var target_vvvvwbp = jQuery("#jform_target input[type='radio']:checked").val();
+ vvvvwbp(target_vvvvwbp);
});
-// the vvvvwbj function
-function vvvvwbj(location_vvvvwbj)
+// the vvvvwbk function
+function vvvvwbk(location_vvvvwbk)
{
// set the function logic
- if (location_vvvvwbj == 1)
+ if (location_vvvvwbk == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
// add required attribute to admin_view field
- if (jform_vvvvwbjwaq_required)
+ if (jform_vvvvwbkwaq_required)
{
updateFieldRequired('admin_view',0);
jQuery('#jform_admin_view').prop('required','required');
jQuery('#jform_admin_view').attr('aria-required',true);
jQuery('#jform_admin_view').addClass('required');
- jform_vvvvwbjwaq_required = false;
+ jform_vvvvwbkwaq_required = false;
}
}
else
{
jQuery('#jform_admin_view').closest('.control-group').hide();
// remove required attribute from admin_view field
- if (!jform_vvvvwbjwaq_required)
+ if (!jform_vvvvwbkwaq_required)
{
updateFieldRequired('admin_view',1);
jQuery('#jform_admin_view').removeAttr('required');
jQuery('#jform_admin_view').removeAttr('aria-required');
jQuery('#jform_admin_view').removeClass('required');
- jform_vvvvwbjwaq_required = true;
+ jform_vvvvwbkwaq_required = true;
}
}
}
-// the vvvvwbk function
-function vvvvwbk(location_vvvvwbk)
+// the vvvvwbl function
+function vvvvwbl(location_vvvvwbl)
{
// set the function logic
- if (location_vvvvwbk == 2)
+ if (location_vvvvwbl == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
// add required attribute to site_view field
- if (jform_vvvvwbkwar_required)
+ if (jform_vvvvwblwar_required)
{
updateFieldRequired('site_view',0);
jQuery('#jform_site_view').prop('required','required');
jQuery('#jform_site_view').attr('aria-required',true);
jQuery('#jform_site_view').addClass('required');
- jform_vvvvwbkwar_required = false;
+ jform_vvvvwblwar_required = false;
}
}
else
{
jQuery('#jform_site_view').closest('.control-group').hide();
// remove required attribute from site_view field
- if (!jform_vvvvwbkwar_required)
+ if (!jform_vvvvwblwar_required)
{
updateFieldRequired('site_view',1);
jQuery('#jform_site_view').removeAttr('required');
jQuery('#jform_site_view').removeAttr('aria-required');
jQuery('#jform_site_view').removeClass('required');
- jform_vvvvwbkwar_required = true;
+ jform_vvvvwblwar_required = true;
}
}
}
-// the vvvvwbl function
-function vvvvwbl(type_vvvvwbl)
-{
- if (isSet(type_vvvvwbl) && type_vvvvwbl.constructor !== Array)
- {
- var temp_vvvvwbl = type_vvvvwbl;
- var type_vvvvwbl = [];
- type_vvvvwbl.push(temp_vvvvwbl);
- }
- else if (!isSet(type_vvvvwbl))
- {
- var type_vvvvwbl = [];
- }
- var type = type_vvvvwbl.some(type_vvvvwbl_SomeFunc);
-
-
- // set this function logic
- if (type)
- {
- jQuery('#jform_url').closest('.control-group').show();
- // add required attribute to url field
- if (jform_vvvvwblwas_required)
- {
- updateFieldRequired('url',0);
- jQuery('#jform_url').prop('required','required');
- jQuery('#jform_url').attr('aria-required',true);
- jQuery('#jform_url').addClass('required');
- jform_vvvvwblwas_required = false;
- }
- }
- else
- {
- jQuery('#jform_url').closest('.control-group').hide();
- // remove required attribute from url field
- if (!jform_vvvvwblwas_required)
- {
- updateFieldRequired('url',1);
- jQuery('#jform_url').removeAttr('required');
- jQuery('#jform_url').removeAttr('aria-required');
- jQuery('#jform_url').removeClass('required');
- jform_vvvvwblwas_required = true;
- }
- }
-}
-
-// the vvvvwbl Some function
-function type_vvvvwbl_SomeFunc(type_vvvvwbl)
-{
- // set the function logic
- if (type_vvvvwbl == 3)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwbm function
function vvvvwbm(type_vvvvwbm)
{
@@ -177,28 +121,28 @@ function vvvvwbm(type_vvvvwbm)
// set this function logic
if (type)
{
- jQuery('#jform_article').closest('.control-group').show();
- // add required attribute to article field
- if (jform_vvvvwbmwat_required)
+ jQuery('#jform_url').closest('.control-group').show();
+ // add required attribute to url field
+ if (jform_vvvvwbmwas_required)
{
- updateFieldRequired('article',0);
- jQuery('#jform_article').prop('required','required');
- jQuery('#jform_article').attr('aria-required',true);
- jQuery('#jform_article').addClass('required');
- jform_vvvvwbmwat_required = false;
+ updateFieldRequired('url',0);
+ jQuery('#jform_url').prop('required','required');
+ jQuery('#jform_url').attr('aria-required',true);
+ jQuery('#jform_url').addClass('required');
+ jform_vvvvwbmwas_required = false;
}
}
else
{
- jQuery('#jform_article').closest('.control-group').hide();
- // remove required attribute from article field
- if (!jform_vvvvwbmwat_required)
+ jQuery('#jform_url').closest('.control-group').hide();
+ // remove required attribute from url field
+ if (!jform_vvvvwbmwas_required)
{
- updateFieldRequired('article',1);
- jQuery('#jform_article').removeAttr('required');
- jQuery('#jform_article').removeAttr('aria-required');
- jQuery('#jform_article').removeClass('required');
- jform_vvvvwbmwat_required = true;
+ updateFieldRequired('url',1);
+ jQuery('#jform_url').removeAttr('required');
+ jQuery('#jform_url').removeAttr('aria-required');
+ jQuery('#jform_url').removeClass('required');
+ jform_vvvvwbmwas_required = true;
}
}
}
@@ -207,7 +151,7 @@ function vvvvwbm(type_vvvvwbm)
function type_vvvvwbm_SomeFunc(type_vvvvwbm)
{
// set the function logic
- if (type_vvvvwbm == 1)
+ if (type_vvvvwbm == 3)
{
return true;
}
@@ -233,28 +177,28 @@ function vvvvwbn(type_vvvvwbn)
// set this function logic
if (type)
{
- jQuery('#jform_content-lbl').closest('.control-group').show();
- // add required attribute to content field
- if (jform_vvvvwbnwau_required)
+ jQuery('#jform_article').closest('.control-group').show();
+ // add required attribute to article field
+ if (jform_vvvvwbnwat_required)
{
- updateFieldRequired('content',0);
- jQuery('#jform_content').prop('required','required');
- jQuery('#jform_content').attr('aria-required',true);
- jQuery('#jform_content').addClass('required');
- jform_vvvvwbnwau_required = false;
+ updateFieldRequired('article',0);
+ jQuery('#jform_article').prop('required','required');
+ jQuery('#jform_article').attr('aria-required',true);
+ jQuery('#jform_article').addClass('required');
+ jform_vvvvwbnwat_required = false;
}
}
else
{
- jQuery('#jform_content-lbl').closest('.control-group').hide();
- // remove required attribute from content field
- if (!jform_vvvvwbnwau_required)
+ jQuery('#jform_article').closest('.control-group').hide();
+ // remove required attribute from article field
+ if (!jform_vvvvwbnwat_required)
{
- updateFieldRequired('content',1);
- jQuery('#jform_content').removeAttr('required');
- jQuery('#jform_content').removeAttr('aria-required');
- jQuery('#jform_content').removeClass('required');
- jform_vvvvwbnwau_required = true;
+ updateFieldRequired('article',1);
+ jQuery('#jform_article').removeAttr('required');
+ jQuery('#jform_article').removeAttr('aria-required');
+ jQuery('#jform_article').removeClass('required');
+ jform_vvvvwbnwat_required = true;
}
}
}
@@ -263,7 +207,7 @@ function vvvvwbn(type_vvvvwbn)
function type_vvvvwbn_SomeFunc(type_vvvvwbn)
{
// set the function logic
- if (type_vvvvwbn == 2)
+ if (type_vvvvwbn == 1)
{
return true;
}
@@ -271,33 +215,89 @@ function type_vvvvwbn_SomeFunc(type_vvvvwbn)
}
// the vvvvwbo function
-function vvvvwbo(target_vvvvwbo)
+function vvvvwbo(type_vvvvwbo)
+{
+ if (isSet(type_vvvvwbo) && type_vvvvwbo.constructor !== Array)
+ {
+ var temp_vvvvwbo = type_vvvvwbo;
+ var type_vvvvwbo = [];
+ type_vvvvwbo.push(temp_vvvvwbo);
+ }
+ else if (!isSet(type_vvvvwbo))
+ {
+ var type_vvvvwbo = [];
+ }
+ var type = type_vvvvwbo.some(type_vvvvwbo_SomeFunc);
+
+
+ // set this function logic
+ if (type)
+ {
+ jQuery('#jform_content-lbl').closest('.control-group').show();
+ // add required attribute to content field
+ if (jform_vvvvwbowau_required)
+ {
+ updateFieldRequired('content',0);
+ jQuery('#jform_content').prop('required','required');
+ jQuery('#jform_content').attr('aria-required',true);
+ jQuery('#jform_content').addClass('required');
+ jform_vvvvwbowau_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_content-lbl').closest('.control-group').hide();
+ // remove required attribute from content field
+ if (!jform_vvvvwbowau_required)
+ {
+ updateFieldRequired('content',1);
+ jQuery('#jform_content').removeAttr('required');
+ jQuery('#jform_content').removeAttr('aria-required');
+ jQuery('#jform_content').removeClass('required');
+ jform_vvvvwbowau_required = true;
+ }
+ }
+}
+
+// the vvvvwbo Some function
+function type_vvvvwbo_SomeFunc(type_vvvvwbo)
{
// set the function logic
- if (target_vvvvwbo == 1)
+ if (type_vvvvwbo == 2)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwbp function
+function vvvvwbp(target_vvvvwbp)
+{
+ // set the function logic
+ if (target_vvvvwbp == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
// add required attribute to groups field
- if (jform_vvvvwbowav_required)
+ if (jform_vvvvwbpwav_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
- jform_vvvvwbowav_required = false;
+ jform_vvvvwbpwav_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
// remove required attribute from groups field
- if (!jform_vvvvwbowav_required)
+ if (!jform_vvvvwbpwav_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
- jform_vvvvwbowav_required = true;
+ jform_vvvvwbpwav_required = true;
}
}
}
diff --git a/admin/models/forms/joomla_component.js b/admin/models/forms/joomla_component.js
index 0533e104c..b3891eebd 100644
--- a/admin/models/forms/joomla_component.js
+++ b/admin/models/forms/joomla_component.js
@@ -979,16 +979,16 @@ function getAjaxDisplay(type){
}
function getAjaxDisplay_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type=' + type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -1012,16 +1012,16 @@ function dasboardSwitch(value){
function addButtonID_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0 && size > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButtonID(type, where, size){
@@ -1037,16 +1037,16 @@ function addButtonID(type, where, size){
}
function addButton_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButton(type, where, size){
@@ -1061,5 +1061,4 @@ function addButton(type, where, size){
}
}
})
-}
-
+}
diff --git a/admin/models/forms/language_translation.js b/admin/models/forms/language_translation.js
index d3a185301..d4af173bb 100644
--- a/admin/models/forms/language_translation.js
+++ b/admin/models/forms/language_translation.js
@@ -21,16 +21,16 @@ function addData(result,where){
}
function addButton_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButton(type, where, size){
diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js
index f9960a44b..2eaa9007f 100644
--- a/admin/models/forms/layout.js
+++ b/admin/models/forms/layout.js
@@ -208,16 +208,16 @@ jQuery(document).ready(function($)
});
function getSnippets_server(libraries){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&raw=true&format=json";
if(token.length > 0 && libraries.length > 0){
var request = 'token='+token+'&libraries='+JSON.stringify(libraries);
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getSnippets(){
diff --git a/admin/models/forms/library.js b/admin/models/forms/library.js
index d4c51b0d8..88939bc8b 100644
--- a/admin/models/forms/library.js
+++ b/admin/models/forms/library.js
@@ -9,15 +9,12 @@
*/
// Some Global Values
-jform_vvvvwaivzv_required = false;
-jform_vvvvwaovzw_required = false;
+jform_vvvvwajvzv_required = false;
+jform_vvvvwapvzw_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var how_vvvvwah = jQuery("#jform_how").val();
- vvvvwah(how_vvvvwah);
-
var how_vvvvwai = jQuery("#jform_how").val();
vvvvwai(how_vvvvwai);
@@ -36,48 +33,13 @@ jQuery(document).ready(function()
var how_vvvvwan = jQuery("#jform_how").val();
vvvvwan(how_vvvvwan);
- var type_vvvvwao = jQuery("#jform_type input[type='radio']:checked").val();
- vvvvwao(type_vvvvwao);
+ var how_vvvvwao = jQuery("#jform_how").val();
+ vvvvwao(how_vvvvwao);
+
+ var type_vvvvwap = jQuery("#jform_type input[type='radio']:checked").val();
+ vvvvwap(type_vvvvwap);
});
-// the vvvvwah function
-function vvvvwah(how_vvvvwah)
-{
- if (isSet(how_vvvvwah) && how_vvvvwah.constructor !== Array)
- {
- var temp_vvvvwah = how_vvvvwah;
- var how_vvvvwah = [];
- how_vvvvwah.push(temp_vvvvwah);
- }
- else if (!isSet(how_vvvvwah))
- {
- var how_vvvvwah = [];
- }
- var how = how_vvvvwah.some(how_vvvvwah_SomeFunc);
-
-
- // set this function logic
- if (how)
- {
- jQuery('#jform_addconditions-lbl').closest('.control-group').show();
- }
- else
- {
- jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
- }
-}
-
-// the vvvvwah Some function
-function how_vvvvwah_SomeFunc(how_vvvvwah)
-{
- // set the function logic
- if (how_vvvvwah == 2)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwai function
function vvvvwai(how_vvvvwai)
{
@@ -97,29 +59,11 @@ function vvvvwai(how_vvvvwai)
// set this function logic
if (how)
{
- jQuery('#jform_php_setdocument').closest('.control-group').show();
- // add required attribute to php_setdocument field
- if (jform_vvvvwaivzv_required)
- {
- updateFieldRequired('php_setdocument',0);
- jQuery('#jform_php_setdocument').prop('required','required');
- jQuery('#jform_php_setdocument').attr('aria-required',true);
- jQuery('#jform_php_setdocument').addClass('required');
- jform_vvvvwaivzv_required = false;
- }
+ jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
- jQuery('#jform_php_setdocument').closest('.control-group').hide();
- // remove required attribute from php_setdocument field
- if (!jform_vvvvwaivzv_required)
- {
- updateFieldRequired('php_setdocument',1);
- jQuery('#jform_php_setdocument').removeAttr('required');
- jQuery('#jform_php_setdocument').removeAttr('aria-required');
- jQuery('#jform_php_setdocument').removeClass('required');
- jform_vvvvwaivzv_required = true;
- }
+ jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
@@ -127,7 +71,7 @@ function vvvvwai(how_vvvvwai)
function how_vvvvwai_SomeFunc(how_vvvvwai)
{
// set the function logic
- if (how_vvvvwai == 3)
+ if (how_vvvvwai == 2)
{
return true;
}
@@ -153,11 +97,29 @@ function vvvvwaj(how_vvvvwaj)
// set this function logic
if (how)
{
- jQuery('.note_display_library_config').closest('.control-group').show();
+ jQuery('#jform_php_setdocument').closest('.control-group').show();
+ // add required attribute to php_setdocument field
+ if (jform_vvvvwajvzv_required)
+ {
+ updateFieldRequired('php_setdocument',0);
+ jQuery('#jform_php_setdocument').prop('required','required');
+ jQuery('#jform_php_setdocument').attr('aria-required',true);
+ jQuery('#jform_php_setdocument').addClass('required');
+ jform_vvvvwajvzv_required = false;
+ }
}
else
{
- jQuery('.note_display_library_config').closest('.control-group').hide();
+ jQuery('#jform_php_setdocument').closest('.control-group').hide();
+ // remove required attribute from php_setdocument field
+ if (!jform_vvvvwajvzv_required)
+ {
+ updateFieldRequired('php_setdocument',1);
+ jQuery('#jform_php_setdocument').removeAttr('required');
+ jQuery('#jform_php_setdocument').removeAttr('aria-required');
+ jQuery('#jform_php_setdocument').removeClass('required');
+ jform_vvvvwajvzv_required = true;
+ }
}
}
@@ -165,7 +127,7 @@ function vvvvwaj(how_vvvvwaj)
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
{
// set the function logic
- if (how_vvvvwaj == 2 || how_vvvvwaj == 3)
+ if (how_vvvvwaj == 3)
{
return true;
}
@@ -191,11 +153,11 @@ function vvvvwak(how_vvvvwak)
// set this function logic
if (how)
{
- jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
+ jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
- jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
+ jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
@@ -203,7 +165,7 @@ function vvvvwak(how_vvvvwak)
function how_vvvvwak_SomeFunc(how_vvvvwak)
{
// set the function logic
- if (how_vvvvwak == 1 || how_vvvvwak == 2 || how_vvvvwak == 3)
+ if (how_vvvvwak == 2 || how_vvvvwak == 3)
{
return true;
}
@@ -229,15 +191,11 @@ function vvvvwal(how_vvvvwal)
// set this function logic
if (how)
{
- jQuery('.note_no_behaviour_one').closest('.control-group').show();
- jQuery('.note_no_behaviour_three').closest('.control-group').show();
- jQuery('.note_no_behaviour_two').closest('.control-group').show();
+ jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
- jQuery('.note_no_behaviour_one').closest('.control-group').hide();
- jQuery('.note_no_behaviour_three').closest('.control-group').hide();
- jQuery('.note_no_behaviour_two').closest('.control-group').hide();
+ jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
@@ -245,7 +203,7 @@ function vvvvwal(how_vvvvwal)
function how_vvvvwal_SomeFunc(how_vvvvwal)
{
// set the function logic
- if (how_vvvvwal == 0)
+ if (how_vvvvwal == 1 || how_vvvvwal == 2 || how_vvvvwal == 3)
{
return true;
}
@@ -271,13 +229,15 @@ function vvvvwam(how_vvvvwam)
// set this function logic
if (how)
{
- jQuery('.note_yes_behaviour_one').closest('.control-group').show();
- jQuery('.note_yes_behaviour_two').closest('.control-group').show();
+ jQuery('.note_no_behaviour_one').closest('.control-group').show();
+ jQuery('.note_no_behaviour_three').closest('.control-group').show();
+ jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
- jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
- jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_one').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_three').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
@@ -285,7 +245,7 @@ function vvvvwam(how_vvvvwam)
function how_vvvvwam_SomeFunc(how_vvvvwam)
{
// set the function logic
- if (how_vvvvwam == 1)
+ if (how_vvvvwam == 0)
{
return true;
}
@@ -308,6 +268,46 @@ function vvvvwan(how_vvvvwan)
var how = how_vvvvwan.some(how_vvvvwan_SomeFunc);
+ // set this function logic
+ if (how)
+ {
+ jQuery('.note_yes_behaviour_one').closest('.control-group').show();
+ jQuery('.note_yes_behaviour_two').closest('.control-group').show();
+ }
+ else
+ {
+ jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
+ jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
+ }
+}
+
+// the vvvvwan Some function
+function how_vvvvwan_SomeFunc(how_vvvvwan)
+{
+ // set the function logic
+ if (how_vvvvwan == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwao function
+function vvvvwao(how_vvvvwao)
+{
+ if (isSet(how_vvvvwao) && how_vvvvwao.constructor !== Array)
+ {
+ var temp_vvvvwao = how_vvvvwao;
+ var how_vvvvwao = [];
+ how_vvvvwao.push(temp_vvvvwao);
+ }
+ else if (!isSet(how_vvvvwao))
+ {
+ var how_vvvvwao = [];
+ }
+ var how = how_vvvvwao.some(how_vvvvwao_SomeFunc);
+
+
// set this function logic
if (how)
{
@@ -323,45 +323,45 @@ function vvvvwan(how_vvvvwan)
}
}
-// the vvvvwan Some function
-function how_vvvvwan_SomeFunc(how_vvvvwan)
+// the vvvvwao Some function
+function how_vvvvwao_SomeFunc(how_vvvvwao)
{
// set the function logic
- if (how_vvvvwan == 4)
+ if (how_vvvvwao == 4)
{
return true;
}
return false;
}
-// the vvvvwao function
-function vvvvwao(type_vvvvwao)
+// the vvvvwap function
+function vvvvwap(type_vvvvwap)
{
// set the function logic
- if (type_vvvvwao == 2)
+ if (type_vvvvwap == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
// add required attribute to libraries field
- if (jform_vvvvwaovzw_required)
+ if (jform_vvvvwapvzw_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
- jform_vvvvwaovzw_required = false;
+ jform_vvvvwapvzw_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
// remove required attribute from libraries field
- if (!jform_vvvvwaovzw_required)
+ if (!jform_vvvvwapvzw_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
- jform_vvvvwaovzw_required = true;
+ jform_vvvvwapvzw_required = true;
}
}
}
@@ -417,16 +417,16 @@ function addData(result,where){
}
function addButtonID_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButtonID&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0 && size > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButtonID(type, where, size){
@@ -442,16 +442,16 @@ function addButtonID(type, where, size){
}
function addButton_server(type, size){
- var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&vdm="+vastDevMod);
+ var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getButton&format=json&raw=true&vdm="+vastDevMod);
if(token.length > 0 && type.length > 0){
var request = 'token='+token+'&type='+type+'&size='+size;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function addButton(type, where, size){
@@ -469,16 +469,16 @@ function addButton(type, where, size){
}
function getLinked_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -501,30 +501,30 @@ function getAjaxDisplay(type){
}
function getAjaxDisplay_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getAjaxDisplay&format=json&raw=true&vdm="+vastDevMod;
if (token.length > 0 && type.length > 0) {
var request = 'token='+token+'&type=' + type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getFieldSelectOptions_server(fieldId){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldSelectOptions&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.fieldSelectOptions&format=json&raw=true";
if (token.length > 0 && fieldId > 0) {
var request = 'token='+token+'&id='+fieldId;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
diff --git a/admin/models/forms/server.js b/admin/models/forms/server.js
index ccccfc14f..3b17e72c7 100644
--- a/admin/models/forms/server.js
+++ b/admin/models/forms/server.js
@@ -9,180 +9,42 @@
*/
// Some Global Values
-jform_vvvvwazwag_required = false;
-jform_vvvvwazwah_required = false;
-jform_vvvvwazwai_required = false;
-jform_vvvvwazwaj_required = false;
-jform_vvvvwazwak_required = false;
-jform_vvvvwbawal_required = false;
-jform_vvvvwbbwam_required = false;
-jform_vvvvwbdwan_required = false;
-jform_vvvvwbfwao_required = false;
+jform_vvvvwbawag_required = false;
+jform_vvvvwbawah_required = false;
+jform_vvvvwbawai_required = false;
+jform_vvvvwbawaj_required = false;
+jform_vvvvwbawak_required = false;
+jform_vvvvwbbwal_required = false;
+jform_vvvvwbcwam_required = false;
+jform_vvvvwbewan_required = false;
+jform_vvvvwbgwao_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var protocol_vvvvwaz = jQuery("#jform_protocol").val();
- vvvvwaz(protocol_vvvvwaz);
-
var protocol_vvvvwba = jQuery("#jform_protocol").val();
vvvvwba(protocol_vvvvwba);
var protocol_vvvvwbb = jQuery("#jform_protocol").val();
- var authentication_vvvvwbb = jQuery("#jform_authentication").val();
- vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
+ vvvvwbb(protocol_vvvvwbb);
- var protocol_vvvvwbd = jQuery("#jform_protocol").val();
- var authentication_vvvvwbd = jQuery("#jform_authentication").val();
- vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
+ var protocol_vvvvwbc = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbc = jQuery("#jform_authentication").val();
+ vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
- var protocol_vvvvwbf = jQuery("#jform_protocol").val();
- var authentication_vvvvwbf = jQuery("#jform_authentication").val();
- vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
+ var protocol_vvvvwbe = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbe = jQuery("#jform_authentication").val();
+ vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
- var protocol_vvvvwbh = jQuery("#jform_protocol").val();
- var authentication_vvvvwbh = jQuery("#jform_authentication").val();
- vvvvwbh(protocol_vvvvwbh,authentication_vvvvwbh);
+ var protocol_vvvvwbg = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbg = jQuery("#jform_authentication").val();
+ vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg);
+
+ var protocol_vvvvwbi = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbi = jQuery("#jform_authentication").val();
+ vvvvwbi(protocol_vvvvwbi,authentication_vvvvwbi);
});
-// the vvvvwaz function
-function vvvvwaz(protocol_vvvvwaz)
-{
- if (isSet(protocol_vvvvwaz) && protocol_vvvvwaz.constructor !== Array)
- {
- var temp_vvvvwaz = protocol_vvvvwaz;
- var protocol_vvvvwaz = [];
- protocol_vvvvwaz.push(temp_vvvvwaz);
- }
- else if (!isSet(protocol_vvvvwaz))
- {
- var protocol_vvvvwaz = [];
- }
- var protocol = protocol_vvvvwaz.some(protocol_vvvvwaz_SomeFunc);
-
-
- // set this function logic
- if (protocol)
- {
- jQuery('#jform_authentication').closest('.control-group').show();
- // add required attribute to authentication field
- if (jform_vvvvwazwag_required)
- {
- updateFieldRequired('authentication',0);
- jQuery('#jform_authentication').prop('required','required');
- jQuery('#jform_authentication').attr('aria-required',true);
- jQuery('#jform_authentication').addClass('required');
- jform_vvvvwazwag_required = false;
- }
- jQuery('#jform_host').closest('.control-group').show();
- // add required attribute to host field
- if (jform_vvvvwazwah_required)
- {
- updateFieldRequired('host',0);
- jQuery('#jform_host').prop('required','required');
- jQuery('#jform_host').attr('aria-required',true);
- jQuery('#jform_host').addClass('required');
- jform_vvvvwazwah_required = false;
- }
- jQuery('#jform_port').closest('.control-group').show();
- // add required attribute to port field
- if (jform_vvvvwazwai_required)
- {
- updateFieldRequired('port',0);
- jQuery('#jform_port').prop('required','required');
- jQuery('#jform_port').attr('aria-required',true);
- jQuery('#jform_port').addClass('required');
- jform_vvvvwazwai_required = false;
- }
- jQuery('#jform_path').closest('.control-group').show();
- // add required attribute to path field
- if (jform_vvvvwazwaj_required)
- {
- updateFieldRequired('path',0);
- jQuery('#jform_path').prop('required','required');
- jQuery('#jform_path').attr('aria-required',true);
- jQuery('#jform_path').addClass('required');
- jform_vvvvwazwaj_required = false;
- }
- jQuery('.note_ssh_security').closest('.control-group').show();
- jQuery('#jform_username').closest('.control-group').show();
- // add required attribute to username field
- if (jform_vvvvwazwak_required)
- {
- updateFieldRequired('username',0);
- jQuery('#jform_username').prop('required','required');
- jQuery('#jform_username').attr('aria-required',true);
- jQuery('#jform_username').addClass('required');
- jform_vvvvwazwak_required = false;
- }
- }
- else
- {
- jQuery('#jform_authentication').closest('.control-group').hide();
- // remove required attribute from authentication field
- if (!jform_vvvvwazwag_required)
- {
- updateFieldRequired('authentication',1);
- jQuery('#jform_authentication').removeAttr('required');
- jQuery('#jform_authentication').removeAttr('aria-required');
- jQuery('#jform_authentication').removeClass('required');
- jform_vvvvwazwag_required = true;
- }
- jQuery('#jform_host').closest('.control-group').hide();
- // remove required attribute from host field
- if (!jform_vvvvwazwah_required)
- {
- updateFieldRequired('host',1);
- jQuery('#jform_host').removeAttr('required');
- jQuery('#jform_host').removeAttr('aria-required');
- jQuery('#jform_host').removeClass('required');
- jform_vvvvwazwah_required = true;
- }
- jQuery('#jform_port').closest('.control-group').hide();
- // remove required attribute from port field
- if (!jform_vvvvwazwai_required)
- {
- updateFieldRequired('port',1);
- jQuery('#jform_port').removeAttr('required');
- jQuery('#jform_port').removeAttr('aria-required');
- jQuery('#jform_port').removeClass('required');
- jform_vvvvwazwai_required = true;
- }
- jQuery('#jform_path').closest('.control-group').hide();
- // remove required attribute from path field
- if (!jform_vvvvwazwaj_required)
- {
- updateFieldRequired('path',1);
- jQuery('#jform_path').removeAttr('required');
- jQuery('#jform_path').removeAttr('aria-required');
- jQuery('#jform_path').removeClass('required');
- jform_vvvvwazwaj_required = true;
- }
- jQuery('.note_ssh_security').closest('.control-group').hide();
- jQuery('#jform_username').closest('.control-group').hide();
- // remove required attribute from username field
- if (!jform_vvvvwazwak_required)
- {
- updateFieldRequired('username',1);
- jQuery('#jform_username').removeAttr('required');
- jQuery('#jform_username').removeAttr('aria-required');
- jQuery('#jform_username').removeClass('required');
- jform_vvvvwazwak_required = true;
- }
- }
-}
-
-// the vvvvwaz Some function
-function protocol_vvvvwaz_SomeFunc(protocol_vvvvwaz)
-{
- // set the function logic
- if (protocol_vvvvwaz == 2)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwba function
function vvvvwba(protocol_vvvvwba)
{
@@ -202,30 +64,110 @@ function vvvvwba(protocol_vvvvwba)
// set this function logic
if (protocol)
{
- jQuery('.note_ftp_signature').closest('.control-group').show();
- jQuery('#jform_signature').closest('.control-group').show();
- // add required attribute to signature field
- if (jform_vvvvwbawal_required)
+ jQuery('#jform_authentication').closest('.control-group').show();
+ // add required attribute to authentication field
+ if (jform_vvvvwbawag_required)
{
- updateFieldRequired('signature',0);
- jQuery('#jform_signature').prop('required','required');
- jQuery('#jform_signature').attr('aria-required',true);
- jQuery('#jform_signature').addClass('required');
- jform_vvvvwbawal_required = false;
+ updateFieldRequired('authentication',0);
+ jQuery('#jform_authentication').prop('required','required');
+ jQuery('#jform_authentication').attr('aria-required',true);
+ jQuery('#jform_authentication').addClass('required');
+ jform_vvvvwbawag_required = false;
+ }
+ jQuery('#jform_host').closest('.control-group').show();
+ // add required attribute to host field
+ if (jform_vvvvwbawah_required)
+ {
+ updateFieldRequired('host',0);
+ jQuery('#jform_host').prop('required','required');
+ jQuery('#jform_host').attr('aria-required',true);
+ jQuery('#jform_host').addClass('required');
+ jform_vvvvwbawah_required = false;
+ }
+ jQuery('#jform_port').closest('.control-group').show();
+ // add required attribute to port field
+ if (jform_vvvvwbawai_required)
+ {
+ updateFieldRequired('port',0);
+ jQuery('#jform_port').prop('required','required');
+ jQuery('#jform_port').attr('aria-required',true);
+ jQuery('#jform_port').addClass('required');
+ jform_vvvvwbawai_required = false;
+ }
+ jQuery('#jform_path').closest('.control-group').show();
+ // add required attribute to path field
+ if (jform_vvvvwbawaj_required)
+ {
+ updateFieldRequired('path',0);
+ jQuery('#jform_path').prop('required','required');
+ jQuery('#jform_path').attr('aria-required',true);
+ jQuery('#jform_path').addClass('required');
+ jform_vvvvwbawaj_required = false;
+ }
+ jQuery('.note_ssh_security').closest('.control-group').show();
+ jQuery('#jform_username').closest('.control-group').show();
+ // add required attribute to username field
+ if (jform_vvvvwbawak_required)
+ {
+ updateFieldRequired('username',0);
+ jQuery('#jform_username').prop('required','required');
+ jQuery('#jform_username').attr('aria-required',true);
+ jQuery('#jform_username').addClass('required');
+ jform_vvvvwbawak_required = false;
}
}
else
{
- jQuery('.note_ftp_signature').closest('.control-group').hide();
- jQuery('#jform_signature').closest('.control-group').hide();
- // remove required attribute from signature field
- if (!jform_vvvvwbawal_required)
+ jQuery('#jform_authentication').closest('.control-group').hide();
+ // remove required attribute from authentication field
+ if (!jform_vvvvwbawag_required)
{
- updateFieldRequired('signature',1);
- jQuery('#jform_signature').removeAttr('required');
- jQuery('#jform_signature').removeAttr('aria-required');
- jQuery('#jform_signature').removeClass('required');
- jform_vvvvwbawal_required = true;
+ updateFieldRequired('authentication',1);
+ jQuery('#jform_authentication').removeAttr('required');
+ jQuery('#jform_authentication').removeAttr('aria-required');
+ jQuery('#jform_authentication').removeClass('required');
+ jform_vvvvwbawag_required = true;
+ }
+ jQuery('#jform_host').closest('.control-group').hide();
+ // remove required attribute from host field
+ if (!jform_vvvvwbawah_required)
+ {
+ updateFieldRequired('host',1);
+ jQuery('#jform_host').removeAttr('required');
+ jQuery('#jform_host').removeAttr('aria-required');
+ jQuery('#jform_host').removeClass('required');
+ jform_vvvvwbawah_required = true;
+ }
+ jQuery('#jform_port').closest('.control-group').hide();
+ // remove required attribute from port field
+ if (!jform_vvvvwbawai_required)
+ {
+ updateFieldRequired('port',1);
+ jQuery('#jform_port').removeAttr('required');
+ jQuery('#jform_port').removeAttr('aria-required');
+ jQuery('#jform_port').removeClass('required');
+ jform_vvvvwbawai_required = true;
+ }
+ jQuery('#jform_path').closest('.control-group').hide();
+ // remove required attribute from path field
+ if (!jform_vvvvwbawaj_required)
+ {
+ updateFieldRequired('path',1);
+ jQuery('#jform_path').removeAttr('required');
+ jQuery('#jform_path').removeAttr('aria-required');
+ jQuery('#jform_path').removeClass('required');
+ jform_vvvvwbawaj_required = true;
+ }
+ jQuery('.note_ssh_security').closest('.control-group').hide();
+ jQuery('#jform_username').closest('.control-group').hide();
+ // remove required attribute from username field
+ if (!jform_vvvvwbawak_required)
+ {
+ updateFieldRequired('username',1);
+ jQuery('#jform_username').removeAttr('required');
+ jQuery('#jform_username').removeAttr('aria-required');
+ jQuery('#jform_username').removeClass('required');
+ jform_vvvvwbawak_required = true;
}
}
}
@@ -234,7 +176,7 @@ function vvvvwba(protocol_vvvvwba)
function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
{
// set the function logic
- if (protocol_vvvvwba == 1)
+ if (protocol_vvvvwba == 2)
{
return true;
}
@@ -242,7 +184,7 @@ function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
}
// the vvvvwbb function
-function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
+function vvvvwbb(protocol_vvvvwbb)
{
if (isSet(protocol_vvvvwbb) && protocol_vvvvwbb.constructor !== Array)
{
@@ -256,44 +198,34 @@ function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
}
var protocol = protocol_vvvvwbb.some(protocol_vvvvwbb_SomeFunc);
- if (isSet(authentication_vvvvwbb) && authentication_vvvvwbb.constructor !== Array)
- {
- var temp_vvvvwbb = authentication_vvvvwbb;
- var authentication_vvvvwbb = [];
- authentication_vvvvwbb.push(temp_vvvvwbb);
- }
- else if (!isSet(authentication_vvvvwbb))
- {
- var authentication_vvvvwbb = [];
- }
- var authentication = authentication_vvvvwbb.some(authentication_vvvvwbb_SomeFunc);
-
// set this function logic
- if (protocol && authentication)
+ if (protocol)
{
- jQuery('#jform_password').closest('.control-group').show();
- // add required attribute to password field
- if (jform_vvvvwbbwam_required)
+ jQuery('.note_ftp_signature').closest('.control-group').show();
+ jQuery('#jform_signature').closest('.control-group').show();
+ // add required attribute to signature field
+ if (jform_vvvvwbbwal_required)
{
- updateFieldRequired('password',0);
- jQuery('#jform_password').prop('required','required');
- jQuery('#jform_password').attr('aria-required',true);
- jQuery('#jform_password').addClass('required');
- jform_vvvvwbbwam_required = false;
+ updateFieldRequired('signature',0);
+ jQuery('#jform_signature').prop('required','required');
+ jQuery('#jform_signature').attr('aria-required',true);
+ jQuery('#jform_signature').addClass('required');
+ jform_vvvvwbbwal_required = false;
}
}
else
{
- jQuery('#jform_password').closest('.control-group').hide();
- // remove required attribute from password field
- if (!jform_vvvvwbbwam_required)
+ jQuery('.note_ftp_signature').closest('.control-group').hide();
+ jQuery('#jform_signature').closest('.control-group').hide();
+ // remove required attribute from signature field
+ if (!jform_vvvvwbbwal_required)
{
- updateFieldRequired('password',1);
- jQuery('#jform_password').removeAttr('required');
- jQuery('#jform_password').removeAttr('aria-required');
- jQuery('#jform_password').removeClass('required');
- jform_vvvvwbbwam_required = true;
+ updateFieldRequired('signature',1);
+ jQuery('#jform_signature').removeAttr('required');
+ jQuery('#jform_signature').removeAttr('aria-required');
+ jQuery('#jform_signature').removeClass('required');
+ jform_vvvvwbbwal_required = true;
}
}
}
@@ -302,50 +234,118 @@ function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
function protocol_vvvvwbb_SomeFunc(protocol_vvvvwbb)
{
// set the function logic
- if (protocol_vvvvwbb == 2)
+ if (protocol_vvvvwbb == 1)
{
return true;
}
return false;
}
-// the vvvvwbb Some function
-function authentication_vvvvwbb_SomeFunc(authentication_vvvvwbb)
+// the vvvvwbc function
+function vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc)
+{
+ if (isSet(protocol_vvvvwbc) && protocol_vvvvwbc.constructor !== Array)
+ {
+ var temp_vvvvwbc = protocol_vvvvwbc;
+ var protocol_vvvvwbc = [];
+ protocol_vvvvwbc.push(temp_vvvvwbc);
+ }
+ else if (!isSet(protocol_vvvvwbc))
+ {
+ var protocol_vvvvwbc = [];
+ }
+ var protocol = protocol_vvvvwbc.some(protocol_vvvvwbc_SomeFunc);
+
+ if (isSet(authentication_vvvvwbc) && authentication_vvvvwbc.constructor !== Array)
+ {
+ var temp_vvvvwbc = authentication_vvvvwbc;
+ var authentication_vvvvwbc = [];
+ authentication_vvvvwbc.push(temp_vvvvwbc);
+ }
+ else if (!isSet(authentication_vvvvwbc))
+ {
+ var authentication_vvvvwbc = [];
+ }
+ var authentication = authentication_vvvvwbc.some(authentication_vvvvwbc_SomeFunc);
+
+
+ // set this function logic
+ if (protocol && authentication)
+ {
+ jQuery('#jform_password').closest('.control-group').show();
+ // add required attribute to password field
+ if (jform_vvvvwbcwam_required)
+ {
+ updateFieldRequired('password',0);
+ jQuery('#jform_password').prop('required','required');
+ jQuery('#jform_password').attr('aria-required',true);
+ jQuery('#jform_password').addClass('required');
+ jform_vvvvwbcwam_required = false;
+ }
+ }
+ else
+ {
+ jQuery('#jform_password').closest('.control-group').hide();
+ // remove required attribute from password field
+ if (!jform_vvvvwbcwam_required)
+ {
+ updateFieldRequired('password',1);
+ jQuery('#jform_password').removeAttr('required');
+ jQuery('#jform_password').removeAttr('aria-required');
+ jQuery('#jform_password').removeClass('required');
+ jform_vvvvwbcwam_required = true;
+ }
+ }
+}
+
+// the vvvvwbc Some function
+function protocol_vvvvwbc_SomeFunc(protocol_vvvvwbc)
{
// set the function logic
- if (authentication_vvvvwbb == 1 || authentication_vvvvwbb == 3 || authentication_vvvvwbb == 5)
+ if (protocol_vvvvwbc == 2)
{
return true;
}
return false;
}
-// the vvvvwbd function
-function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
+// the vvvvwbc Some function
+function authentication_vvvvwbc_SomeFunc(authentication_vvvvwbc)
{
- if (isSet(protocol_vvvvwbd) && protocol_vvvvwbd.constructor !== Array)
+ // set the function logic
+ if (authentication_vvvvwbc == 1 || authentication_vvvvwbc == 3 || authentication_vvvvwbc == 5)
{
- var temp_vvvvwbd = protocol_vvvvwbd;
- var protocol_vvvvwbd = [];
- protocol_vvvvwbd.push(temp_vvvvwbd);
+ return true;
}
- else if (!isSet(protocol_vvvvwbd))
- {
- var protocol_vvvvwbd = [];
- }
- var protocol = protocol_vvvvwbd.some(protocol_vvvvwbd_SomeFunc);
+ return false;
+}
- if (isSet(authentication_vvvvwbd) && authentication_vvvvwbd.constructor !== Array)
+// the vvvvwbe function
+function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
+{
+ if (isSet(protocol_vvvvwbe) && protocol_vvvvwbe.constructor !== Array)
{
- var temp_vvvvwbd = authentication_vvvvwbd;
- var authentication_vvvvwbd = [];
- authentication_vvvvwbd.push(temp_vvvvwbd);
+ var temp_vvvvwbe = protocol_vvvvwbe;
+ var protocol_vvvvwbe = [];
+ protocol_vvvvwbe.push(temp_vvvvwbe);
}
- else if (!isSet(authentication_vvvvwbd))
+ else if (!isSet(protocol_vvvvwbe))
{
- var authentication_vvvvwbd = [];
+ var protocol_vvvvwbe = [];
}
- var authentication = authentication_vvvvwbd.some(authentication_vvvvwbd_SomeFunc);
+ var protocol = protocol_vvvvwbe.some(protocol_vvvvwbe_SomeFunc);
+
+ if (isSet(authentication_vvvvwbe) && authentication_vvvvwbe.constructor !== Array)
+ {
+ var temp_vvvvwbe = authentication_vvvvwbe;
+ var authentication_vvvvwbe = [];
+ authentication_vvvvwbe.push(temp_vvvvwbe);
+ }
+ else if (!isSet(authentication_vvvvwbe))
+ {
+ var authentication_vvvvwbe = [];
+ }
+ var authentication = authentication_vvvvwbe.some(authentication_vvvvwbe_SomeFunc);
// set this function logic
@@ -353,78 +353,78 @@ function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
{
jQuery('#jform_private').closest('.control-group').show();
// add required attribute to private field
- if (jform_vvvvwbdwan_required)
+ if (jform_vvvvwbewan_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
- jform_vvvvwbdwan_required = false;
+ jform_vvvvwbewan_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
// remove required attribute from private field
- if (!jform_vvvvwbdwan_required)
+ if (!jform_vvvvwbewan_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
- jform_vvvvwbdwan_required = true;
+ jform_vvvvwbewan_required = true;
}
}
}
-// the vvvvwbd Some function
-function protocol_vvvvwbd_SomeFunc(protocol_vvvvwbd)
+// the vvvvwbe Some function
+function protocol_vvvvwbe_SomeFunc(protocol_vvvvwbe)
{
// set the function logic
- if (protocol_vvvvwbd == 2)
+ if (protocol_vvvvwbe == 2)
{
return true;
}
return false;
}
-// the vvvvwbd Some function
-function authentication_vvvvwbd_SomeFunc(authentication_vvvvwbd)
+// the vvvvwbe Some function
+function authentication_vvvvwbe_SomeFunc(authentication_vvvvwbe)
{
// set the function logic
- if (authentication_vvvvwbd == 2 || authentication_vvvvwbd == 3)
+ if (authentication_vvvvwbe == 2 || authentication_vvvvwbe == 3)
{
return true;
}
return false;
}
-// the vvvvwbf function
-function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
+// the vvvvwbg function
+function vvvvwbg(protocol_vvvvwbg,authentication_vvvvwbg)
{
- if (isSet(protocol_vvvvwbf) && protocol_vvvvwbf.constructor !== Array)
+ if (isSet(protocol_vvvvwbg) && protocol_vvvvwbg.constructor !== Array)
{
- var temp_vvvvwbf = protocol_vvvvwbf;
- var protocol_vvvvwbf = [];
- protocol_vvvvwbf.push(temp_vvvvwbf);
+ var temp_vvvvwbg = protocol_vvvvwbg;
+ var protocol_vvvvwbg = [];
+ protocol_vvvvwbg.push(temp_vvvvwbg);
}
- else if (!isSet(protocol_vvvvwbf))
+ else if (!isSet(protocol_vvvvwbg))
{
- var protocol_vvvvwbf = [];
+ var protocol_vvvvwbg = [];
}
- var protocol = protocol_vvvvwbf.some(protocol_vvvvwbf_SomeFunc);
+ var protocol = protocol_vvvvwbg.some(protocol_vvvvwbg_SomeFunc);
- if (isSet(authentication_vvvvwbf) && authentication_vvvvwbf.constructor !== Array)
+ if (isSet(authentication_vvvvwbg) && authentication_vvvvwbg.constructor !== Array)
{
- var temp_vvvvwbf = authentication_vvvvwbf;
- var authentication_vvvvwbf = [];
- authentication_vvvvwbf.push(temp_vvvvwbf);
+ var temp_vvvvwbg = authentication_vvvvwbg;
+ var authentication_vvvvwbg = [];
+ authentication_vvvvwbg.push(temp_vvvvwbg);
}
- else if (!isSet(authentication_vvvvwbf))
+ else if (!isSet(authentication_vvvvwbg))
{
- var authentication_vvvvwbf = [];
+ var authentication_vvvvwbg = [];
}
- var authentication = authentication_vvvvwbf.some(authentication_vvvvwbf_SomeFunc);
+ var authentication = authentication_vvvvwbg.some(authentication_vvvvwbg_SomeFunc);
// set this function logic
@@ -432,78 +432,78 @@ function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
{
jQuery('#jform_private_key').closest('.control-group').show();
// add required attribute to private_key field
- if (jform_vvvvwbfwao_required)
+ if (jform_vvvvwbgwao_required)
{
updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required');
- jform_vvvvwbfwao_required = false;
+ jform_vvvvwbgwao_required = false;
}
}
else
{
jQuery('#jform_private_key').closest('.control-group').hide();
// remove required attribute from private_key field
- if (!jform_vvvvwbfwao_required)
+ if (!jform_vvvvwbgwao_required)
{
updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required');
- jform_vvvvwbfwao_required = true;
+ jform_vvvvwbgwao_required = true;
}
}
}
-// the vvvvwbf Some function
-function protocol_vvvvwbf_SomeFunc(protocol_vvvvwbf)
+// the vvvvwbg Some function
+function protocol_vvvvwbg_SomeFunc(protocol_vvvvwbg)
{
// set the function logic
- if (protocol_vvvvwbf == 2)
+ if (protocol_vvvvwbg == 2)
{
return true;
}
return false;
}
-// the vvvvwbf Some function
-function authentication_vvvvwbf_SomeFunc(authentication_vvvvwbf)
+// the vvvvwbg Some function
+function authentication_vvvvwbg_SomeFunc(authentication_vvvvwbg)
{
// set the function logic
- if (authentication_vvvvwbf == 4 || authentication_vvvvwbf == 5)
+ if (authentication_vvvvwbg == 4 || authentication_vvvvwbg == 5)
{
return true;
}
return false;
}
-// the vvvvwbh function
-function vvvvwbh(protocol_vvvvwbh,authentication_vvvvwbh)
+// the vvvvwbi function
+function vvvvwbi(protocol_vvvvwbi,authentication_vvvvwbi)
{
- if (isSet(protocol_vvvvwbh) && protocol_vvvvwbh.constructor !== Array)
+ if (isSet(protocol_vvvvwbi) && protocol_vvvvwbi.constructor !== Array)
{
- var temp_vvvvwbh = protocol_vvvvwbh;
- var protocol_vvvvwbh = [];
- protocol_vvvvwbh.push(temp_vvvvwbh);
+ var temp_vvvvwbi = protocol_vvvvwbi;
+ var protocol_vvvvwbi = [];
+ protocol_vvvvwbi.push(temp_vvvvwbi);
}
- else if (!isSet(protocol_vvvvwbh))
+ else if (!isSet(protocol_vvvvwbi))
{
- var protocol_vvvvwbh = [];
+ var protocol_vvvvwbi = [];
}
- var protocol = protocol_vvvvwbh.some(protocol_vvvvwbh_SomeFunc);
+ var protocol = protocol_vvvvwbi.some(protocol_vvvvwbi_SomeFunc);
- if (isSet(authentication_vvvvwbh) && authentication_vvvvwbh.constructor !== Array)
+ if (isSet(authentication_vvvvwbi) && authentication_vvvvwbi.constructor !== Array)
{
- var temp_vvvvwbh = authentication_vvvvwbh;
- var authentication_vvvvwbh = [];
- authentication_vvvvwbh.push(temp_vvvvwbh);
+ var temp_vvvvwbi = authentication_vvvvwbi;
+ var authentication_vvvvwbi = [];
+ authentication_vvvvwbi.push(temp_vvvvwbi);
}
- else if (!isSet(authentication_vvvvwbh))
+ else if (!isSet(authentication_vvvvwbi))
{
- var authentication_vvvvwbh = [];
+ var authentication_vvvvwbi = [];
}
- var authentication = authentication_vvvvwbh.some(authentication_vvvvwbh_SomeFunc);
+ var authentication = authentication_vvvvwbi.some(authentication_vvvvwbi_SomeFunc);
// set this function logic
@@ -517,22 +517,22 @@ function vvvvwbh(protocol_vvvvwbh,authentication_vvvvwbh)
}
}
-// the vvvvwbh Some function
-function protocol_vvvvwbh_SomeFunc(protocol_vvvvwbh)
+// the vvvvwbi Some function
+function protocol_vvvvwbi_SomeFunc(protocol_vvvvwbi)
{
// set the function logic
- if (protocol_vvvvwbh == 2)
+ if (protocol_vvvvwbi == 2)
{
return true;
}
return false;
}
-// the vvvvwbh Some function
-function authentication_vvvvwbh_SomeFunc(authentication_vvvvwbh)
+// the vvvvwbi Some function
+function authentication_vvvvwbi_SomeFunc(authentication_vvvvwbi)
{
// set the function logic
- if (authentication_vvvvwbh == 2 || authentication_vvvvwbh == 3 || authentication_vvvvwbh == 4 || authentication_vvvvwbh == 5)
+ if (authentication_vvvvwbi == 2 || authentication_vvvvwbi == 3 || authentication_vvvvwbi == 4 || authentication_vvvvwbi == 5)
{
return true;
}
diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js
index 5e1be20e4..19e1c804b 100644
--- a/admin/models/forms/site_view.js
+++ b/admin/models/forms/site_view.js
@@ -484,16 +484,16 @@ jQuery(document).ready(function()
});
function getLinked_server(type){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&vdm="+vastDevMod;
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getLinked&format=json&raw=true&vdm="+vastDevMod;
if(token.length > 0 && type > 0){
var request = 'token='+token+'&type='+type;
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
@@ -651,16 +651,16 @@ jQuery(document).ready(function($)
});
function getSnippets_server(libraries){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&raw=true&format=json";
if(token.length > 0 && libraries.length > 0){
var request = 'token='+token+'&libraries='+JSON.stringify(libraries);
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getSnippets(){
diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js
index f37cc830d..0960a91b2 100644
--- a/admin/models/forms/template.js
+++ b/admin/models/forms/template.js
@@ -234,16 +234,16 @@ jQuery(document).ready(function($)
});
function getSnippets_server(libraries){
- var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&format=json";
+ var getUrl = "index.php?option=com_componentbuilder&task=ajax.getSnippets&raw=true&format=json";
if(token.length > 0 && libraries.length > 0){
var request = 'token='+token+'&libraries='+JSON.stringify(libraries);
}
return jQuery.ajax({
type: 'GET',
url: getUrl,
- dataType: 'jsonp',
+ dataType: 'json',
data: request,
- jsonp: 'callback'
+ jsonp: false
});
}
function getSnippets(){
diff --git a/admin/models/joomla_components.php b/admin/models/joomla_components.php
index 545020345..25ad6b568 100644
--- a/admin/models/joomla_components.php
+++ b/admin/models/joomla_components.php
@@ -350,6 +350,15 @@ class ComponentbuilderModelJoomla_components extends JModelList
{
$this->setData('custom_code', array_values($this->smartIDs['custom_code']), 'id');
}
+ // set limiter
+ $limit = 0;
+ // and add those custom codes found in custom codes
+ while (isset($this->smartIDs['custom_code']) && ComponentbuilderHelper::checkArray($this->smartIDs['custom_code']) && $limit < 100)
+ {
+ $this->setData('custom_code', array_values($this->smartIDs['custom_code']), 'id');
+ // make sure we break
+ $limit++; // just in case (should not be needed)
+ }
}
}
@@ -604,6 +613,10 @@ class ComponentbuilderModelJoomla_components extends JModelList
{
$this->smartIDs['layout'] = array();
}
+ elseif ('custom_code' === $table && 'id' === $key)
+ {
+ $this->smartIDs['custom_code'] = array();
+ }
// start loading the data
if (!isset($this->smartBox[$table]))
{
diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql
index 1e1d59123..9f5aafefa 100644
--- a/admin/sql/install.mysql.utf8.sql
+++ b/admin/sql/install.mysql.utf8.sql
@@ -133,7 +133,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_joomla_component` (
KEY `idx_addreadme` (`addreadme`),
KEY `idx_emptycontributors` (`emptycontributors`),
KEY `idx_add_sales_server` (`add_sales_server`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -188,6 +188,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`mysql_table_charset` VARCHAR(64) NOT NULL DEFAULT 1,
`mysql_table_collate` VARCHAR(64) NOT NULL DEFAULT 1,
`mysql_table_engine` VARCHAR(64) NOT NULL DEFAULT 1,
+ `mysql_table_row_format` VARCHAR(64) NOT NULL DEFAULT 0,
`name_list` CHAR(64) NOT NULL DEFAULT '',
`name_single` CHAR(64) NOT NULL DEFAULT '',
`php_after_delete` MEDIUMTEXT NOT NULL,
@@ -242,41 +243,42 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_name_single` (`name_single`),
+ KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
+ KEY `idx_add_php_allowadd` (`add_php_allowadd`),
+ KEY `idx_add_php_save` (`add_php_save`),
+ KEY `idx_add_php_getform` (`add_php_getform`),
+ KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
+ KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_add_fadein` (`add_fadein`),
+ KEY `idx_add_php_before_publish` (`add_php_before_publish`),
+ KEY `idx_add_php_before_delete` (`add_php_before_delete`),
+ KEY `idx_mysql_table_collate` (`mysql_table_collate`),
KEY `idx_type` (`type`),
- KEY `idx_add_sql` (`add_sql`),
- KEY `idx_mysql_table_charset` (`mysql_table_charset`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_name_list` (`name_list`),
- KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
- KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
- KEY `idx_add_php_getform` (`add_php_getform`),
- KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_php_before_save` (`add_php_before_save`),
- KEY `idx_add_php_save` (`add_php_save`),
- KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
- KEY `idx_add_php_allowadd` (`add_php_allowadd`),
- KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
- KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
- KEY `idx_add_javascript_views_file` (`add_javascript_views_file`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
- KEY `idx_add_php_before_publish` (`add_php_before_publish`),
- KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
- KEY `idx_add_php_before_delete` (`add_php_before_delete`),
- KEY `idx_add_custom_button` (`add_custom_button`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
- KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
- KEY `idx_mysql_table_collate` (`mysql_table_collate`),
+ KEY `idx_add_sql` (`add_sql`),
+ KEY `idx_add_css_view` (`add_css_view`),
+ KEY `idx_add_css_views` (`add_css_views`),
+ KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
+ KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`),
+ KEY `idx_add_javascript_views_file` (`add_javascript_views_file`),
+ KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
+ KEY `idx_add_custom_button` (`add_custom_button`),
+ KEY `idx_mysql_table_charset` (`mysql_table_charset`),
+ KEY `idx_mysql_table_row_format` (`mysql_table_row_format`),
KEY `idx_source` (`source`),
KEY `idx_add_php_ajax` (`add_php_ajax`),
KEY `idx_add_php_getitem` (`add_php_getitem`),
KEY `idx_add_php_getitems` (`add_php_getitems`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -350,7 +352,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
KEY `idx_add_custom_button` (`add_custom_button`),
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
KEY `idx_add_php_jview` (`add_php_jview`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -425,7 +427,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_site_view` (
KEY `idx_button_position` (`button_position`),
KEY `idx_add_php_jview_display` (`add_php_jview_display`),
KEY `idx_add_php_jview` (`add_php_jview`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -461,7 +463,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_template` (
KEY `idx_dynamic_get` (`dynamic_get`),
KEY `idx_add_php_view` (`add_php_view`),
KEY `idx_alias` (`alias`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -497,7 +499,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_layout` (
KEY `idx_dynamic_get` (`dynamic_get`),
KEY `idx_add_php_view` (`add_php_view`),
KEY `idx_alias` (`alias`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -531,6 +533,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
`php_getlistquery` MEDIUMTEXT NOT NULL,
`php_router_parse` MEDIUMTEXT NOT NULL,
`plugin_events` VARCHAR(255) NOT NULL DEFAULT '',
+ `select_all` TINYINT(1) NOT NULL DEFAULT 0,
`view_selection` TEXT NOT NULL,
`view_table_main` INT(11) NOT NULL DEFAULT 0,
`where` TEXT NOT NULL,
@@ -555,15 +558,16 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_dynamic_get` (
KEY `idx_name` (`name`),
KEY `idx_main_source` (`main_source`),
KEY `idx_gettype` (`gettype`),
- KEY `idx_add_php_router_parse` (`add_php_router_parse`),
- KEY `idx_add_php_before_getitems` (`add_php_before_getitems`),
KEY `idx_add_php_after_getitems` (`add_php_after_getitems`),
- KEY `idx_add_php_after_getitem` (`add_php_after_getitem`),
+ KEY `idx_add_php_router_parse` (`add_php_router_parse`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
+ KEY `idx_add_php_before_getitems` (`add_php_before_getitems`),
KEY `idx_add_php_before_getitem` (`add_php_before_getitem`),
+ KEY `idx_add_php_after_getitem` (`add_php_after_getitem`),
+ KEY `idx_select_all` (`select_all`),
KEY `idx_getcustom` (`getcustom`),
KEY `idx_pagination` (`pagination`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -605,7 +609,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_code` (
KEY `idx_function_name` (`function_name`),
KEY `idx_to_line` (`to_line`),
KEY `idx_from_line` (`from_line`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -638,7 +642,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library` (
KEY `idx_state` (`published`),
KEY `idx_name` (`name`),
KEY `idx_how` (`how`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -676,7 +680,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet` (
KEY `idx_name` (`name`),
KEY `idx_type` (`type`),
KEY `idx_library` (`library`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -704,7 +708,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_validation_rule` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -761,7 +765,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
KEY `idx_datadefault` (`datadefault`),
KEY `idx_datalenght_other` (`datalenght_other`),
KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -791,13 +795,13 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_fieldtype` (
KEY `idx_state` (`published`),
KEY `idx_name` (`name`),
KEY `idx_catid` (`catid`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
`components` TEXT NOT NULL,
- `source` TEXT NOT NULL,
+ `source` MEDIUMTEXT NOT NULL,
`translation` TEXT NOT NULL,
`params` text NOT NULL DEFAULT '',
`published` TINYINT(3) NOT NULL DEFAULT 1,
@@ -817,7 +821,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language_translation` (
KEY `idx_createdby` (`created_by`),
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -843,7 +847,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_language` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -881,7 +885,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_server` (
KEY `idx_state` (`published`),
KEY `idx_name` (`name`),
KEY `idx_protocol` (`protocol`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -920,7 +924,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_help_document` (
KEY `idx_article` (`article`),
KEY `idx_target` (`target`),
KEY `idx_alias` (`alias`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -946,7 +950,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_admin_view` (`admin_view`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -972,7 +976,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_conditions` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_admin_view` (`admin_view`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -998,7 +1002,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_admin_view` (`admin_view`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1024,7 +1028,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_custom_tabs` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_admin_view` (`admin_view`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1050,7 +1054,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_admin_views` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1076,7 +1080,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_site_views` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1102,7 +1106,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_views` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1128,7 +1132,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_updates` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1154,7 +1158,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_mysql_tweaks` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1180,7 +1184,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_custom_admin_menus` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1206,7 +1210,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_config` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1233,7 +1237,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_dashboard` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1262,7 +1266,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_component_files_folders` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_joomla_component` (`joomla_component`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1288,7 +1292,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_snippet_type` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_name` (`name`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1314,7 +1318,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_config` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_library` (`library`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
@@ -1344,7 +1348,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_library_files_folders_urls` (
KEY `idx_modifiedby` (`modified_by`),
KEY `idx_state` (`published`),
KEY `idx_library` (`library`)
-) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;
+) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
--
-- Dumping data for table `#__componentbuilder_joomla_component`
@@ -1379,7 +1383,7 @@ INSERT INTO `#__componentbuilder_site_view` (`id`, `add_css_document`, `add_css`
--
INSERT INTO `#__componentbuilder_dynamic_get` (`id`, `add_php_after_getitem`, `add_php_before_getitem`, `add_php_after_getitems`, `add_php_before_getitems`, `add_php_getlistquery`, `php_after_getitem`, `php_before_getitem`, `php_before_getitems`, `php_getlistquery`, `php_after_getitems`, `pagination`, `addcalculation`, `db_selection`, `db_table_main`, `filter`, `getcustom`, `gettype`, `global`, `join_db_table`, `join_view_table`, `main_source`, `name`, `not_required`, `order`, `php_calculation`, `php_custom_get`, `view_selection`, `view_table_main`, `where`, `params`, `published`, `version`, `hits`, `ordering`) VALUES
-(36, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCBlZGl0IGxpbmtzIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGNhbkRvID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRBY3Rpb25zKCdsb29rJywkaXRlbSwnbG9va3MnKTsNCgkJCQlpZiAoJGNhbkRvLT5nZXQoJ2xvb2suZWRpdCcpKQ0KCQkJCXsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rID0gJzxiciAvPjxiciAvPjxhIGNsYXNzPSJ1ay1idXR0b24gdWstYnV0dG9uLXByaW1hcnkgdWstd2lkdGgtMS0xIiBocmVmPSInOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdmlldz1sb29rJnRhc2s9bG9vay5lZGl0JmlkPScgLiAkaXRlbS0+aWQpOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gJyI+PGkgY2xhc3M9InVrLWljb24tcGVuY2lsIj48L2k+PHNwYW4gY2xhc3M9InVrLWhpZGRlbi1zbWFsbCI+JzsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49IEpUZXh0OjpfKCdFZGl0IExvb2snKTsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49ICc8L3NwYW4+PC9hPic7DQoJCQkJfQ0KCQkJCWVsc2UNCgkJCQl7DQoJCQkJCSRpdGVtLT5lZGl0TGluayA9ICcnOw0KCQkJCX0NCgkJCX0NCgkJfQ==', 1, '', '', '', '', '', 2, '', '', '', 1, 'Looks', '', '{\"order0\":{\"table_key\":\"a.name\",\"direction\":\"ASC\"}}', '', '', 'a.id AS id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.add AS add\r\na.email AS email\r\na.mobile_phone AS mobile_phone\r\na.dateofbirth AS dateofbirth\r\na.image AS image\r\na.website AS website\r\na.not_required AS not_required\r\na.published AS published\r\na.hits AS hits\r\na.ordering AS ordering\r\na.created_by AS created_by', 109, '{\"where0\":{\"table_key\":\"a.published\",\"operator\":\"1\",\"value_key\":\"1\"}}', '', 1, 6, '', 13),
+(36, '', '', 1, '', '', '', '', '', '', 'CQkvLyBkbyBhIHF1aWNrIGJ1aWxkIG9mIGFsbCBlZGl0IGxpbmtzIGxpbmtzDQoJCWlmIChpc3NldCgkaXRlbXMpICYmICRpdGVtcykNCgkJew0KCQkJZm9yZWFjaCAoJGl0ZW1zIGFzICRuciA9PiAmJGl0ZW0pDQoJCQl7DQoJCQkJJGNhbkRvID0gW1tbQ29tcG9uZW50XV1dSGVscGVyOjpnZXRBY3Rpb25zKCdsb29rJywkaXRlbSwnbG9va3MnKTsNCgkJCQlpZiAoJGNhbkRvLT5nZXQoJ2xvb2suZWRpdCcpKQ0KCQkJCXsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rID0gJzxiciAvPjxiciAvPjxhIGNsYXNzPSJ1ay1idXR0b24gdWstYnV0dG9uLXByaW1hcnkgdWstd2lkdGgtMS0xIiBocmVmPSInOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gSlJvdXRlOjpfKCdpbmRleC5waHA/b3B0aW9uPWNvbV9bW1tjb21wb25lbnRdXV0mdmlldz1sb29rJnRhc2s9bG9vay5lZGl0JmlkPScgLiAkaXRlbS0+aWQpOw0KCQkJCQkkaXRlbS0+ZWRpdExpbmsgLj0gJyI+PGkgY2xhc3M9InVrLWljb24tcGVuY2lsIj48L2k+PHNwYW4gY2xhc3M9InVrLWhpZGRlbi1zbWFsbCI+JzsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49IEpUZXh0OjpfKCdFZGl0IExvb2snKTsNCgkJCQkJJGl0ZW0tPmVkaXRMaW5rIC49ICc8L3NwYW4+PC9hPic7DQoJCQkJfQ0KCQkJCWVsc2UNCgkJCQl7DQoJCQkJCSRpdGVtLT5lZGl0TGluayA9ICcnOw0KCQkJCX0NCgkJCX0NCgkJfQ==', 1, '', '', '', '', '', 2, '', '', '', 1, 'Looks', '', '{\"order0\":{\"table_key\":\"a.name\",\"direction\":\"ASC\"}}', '', '', 'a.*', 109, '{\"where0\":{\"table_key\":\"a.published\",\"operator\":\"1\",\"value_key\":\"1\"}}', '', 1, 12, '', 13),
(39, '', '', '', '', '', '', '', '', '', '', 1, '', '', '', '{\"filter0\":{\"filter_type\":\"1\",\"state_key\":\"id\",\"operator\":\"1\",\"table_key\":\"a.id\"}}', '', 1, '', '', '', 1, 'Looking', '', '', '', '', 'a.id AS id\r\na.name AS name\r\na.alias AS alias\r\na.description AS description\r\na.add AS add\r\na.email AS email\r\na.mobile_phone AS mobile_phone\r\na.dateofbirth AS dateofbirth\r\na.image AS image\r\na.website AS website\r\na.published AS published\r\na.hits AS hits\r\na.created_by AS created_by', 109, '', '', 1, 8, '', '');
@@ -1707,7 +1711,7 @@ INSERT INTO `#__componentbuilder_help_document` (`id`, `admin_view`, `alias`, `a
--
INSERT INTO `#__componentbuilder_admin_fields` (`id`, `addfields`, `admin_view`, `published`, `created`, `modified`, `version`, `hits`, `ordering`) VALUES
-(111, '{\"0\":{\"field\":\"84\",\"list\":\"1\",\"order_list\":\"2\",\"sort\":\"1\",\"search\":\"1\",\"tab\":\"1\",\"alignment\":\"3\",\"order_edit\":\"1\"},\"1\":{\"field\":\"199\",\"list\":\"1\",\"order_list\":\"1\",\"title\":\"1\",\"sort\":\"1\",\"search\":\"1\",\"link\":\"1\",\"tab\":\"1\",\"alignment\":\"4\",\"order_edit\":\"1\"},\"2\":{\"field\":\"23\",\"list\":\"\",\"order_list\":\"0\",\"alias\":\"1\",\"search\":\"1\",\"tab\":\"1\",\"alignment\":\"4\",\"order_edit\":\"2\"},\"3\":{\"field\":\"203\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"1\",\"alignment\":\"5\",\"order_edit\":\"1\"},\"4\":{\"field\":\"682\",\"list\":\"\",\"order_list\":\"0\",\"sort\":\"1\",\"search\":\"1\",\"filter\":\"1\",\"tab\":\"2\",\"alignment\":\"1\",\"order_edit\":\"1\"},\"5\":{\"field\":\"100\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"1\"},\"6\":{\"field\":\"196\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"2\"},\"7\":{\"field\":\"1011\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"3\"},\"8\":{\"field\":\"158\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"4\"},\"9\":{\"field\":\"280\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"5\"}}', 109, 1, '2017-10-12 19:52:03', '2018-09-03 17:02:46', 6, '', '');
+(111, '{\"0\":{\"field\":\"84\",\"list\":\"1\",\"order_list\":\"2\",\"sort\":\"1\",\"search\":\"1\",\"tab\":\"1\",\"alignment\":\"3\",\"order_edit\":\"1\"},\"1\":{\"field\":\"199\",\"list\":\"1\",\"order_list\":\"1\",\"title\":\"1\",\"sort\":\"1\",\"search\":\"1\",\"link\":\"1\",\"tab\":\"1\",\"alignment\":\"4\",\"order_edit\":\"1\"},\"2\":{\"field\":\"23\",\"list\":\"\",\"order_list\":\"0\",\"alias\":\"1\",\"search\":\"1\",\"tab\":\"1\",\"alignment\":\"4\",\"order_edit\":\"2\"},\"3\":{\"field\":\"203\",\"list\":\"2\",\"order_list\":\"0\",\"tab\":\"1\",\"alignment\":\"5\",\"order_edit\":\"1\"},\"4\":{\"field\":\"682\",\"list\":\"\",\"order_list\":\"0\",\"sort\":\"1\",\"search\":\"1\",\"filter\":\"1\",\"tab\":\"2\",\"alignment\":\"1\",\"order_edit\":\"1\"},\"5\":{\"field\":\"100\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"1\"},\"6\":{\"field\":\"196\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"2\"},\"7\":{\"field\":\"1011\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"3\"},\"8\":{\"field\":\"158\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"4\"},\"9\":{\"field\":\"280\",\"list\":\"\",\"order_list\":\"0\",\"tab\":\"2\",\"alignment\":\"2\",\"order_edit\":\"5\"}}', 109, 1, '2017-10-12 19:52:03', '2019-01-28 16:27:19', 7, '', '');
--
-- Dumping data for table `#__componentbuilder_admin_fields_conditions`
@@ -1844,7 +1848,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_external_code` (
`target` VARCHAR(255) NOT NULL DEFAULT '',
`hash` VARCHAR(64) NOT NULL DEFAULT '',
PRIMARY KEY (`target`)
-) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/admin/sql/updates/mysql/2.9.8.sql b/admin/sql/updates/mysql/2.9.8.sql
new file mode 100644
index 000000000..cdb183b84
--- /dev/null
+++ b/admin/sql/updates/mysql/2.9.8.sql
@@ -0,0 +1,37 @@
+ALTER TABLE `#__componentbuilder_language_translation` CHANGE `source` `source` MEDIUMTEXT NOT NULL;
+
+ALTER TABLE `#__componentbuilder_admin_view` ADD `mysql_table_row_format` VARCHAR(64) NOT NULL DEFAULT 0 AFTER `mysql_table_engine`;
+
+ALTER TABLE `#__componentbuilder_joomla_component` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_admin_view` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_custom_admin_view` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_site_view` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_template` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_layout` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_dynamic_get` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_custom_code` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_library` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_snippet` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_validation_rule` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_field` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_fieldtype` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_language_translation` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_language` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_server` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_help_document` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_admin_fields` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_admin_fields_conditions` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_admin_fields_relations` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_admin_custom_tabs` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_admin_views` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_site_views` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_custom_admin_views` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_updates` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_mysql_tweaks` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_custom_admin_menus` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_config` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_dashboard` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_component_files_folders` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_snippet_type` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_library_config` ROW_FORMAT=DYNAMIC;
+ALTER TABLE `#__componentbuilder_library_files_folders_urls` ROW_FORMAT=DYNAMIC;
diff --git a/admin/sql/updates/mysql/2.9.9.sql b/admin/sql/updates/mysql/2.9.9.sql
new file mode 100644
index 000000000..5cc457bf2
--- /dev/null
+++ b/admin/sql/updates/mysql/2.9.9.sql
@@ -0,0 +1 @@
+ALTER TABLE `#__componentbuilder_dynamic_get` ADD `select_all` TINYINT(1) NOT NULL DEFAULT 0 AFTER `addcalculation`;
diff --git a/admin/views/admin_custom_tabs/submitbutton.js b/admin/views/admin_custom_tabs/submitbutton.js
index 713b59df6..de80af29b 100644
--- a/admin/views/admin_custom_tabs/submitbutton.js
+++ b/admin/views/admin_custom_tabs/submitbutton.js
@@ -13,19 +13,9 @@ Joomla.submitbutton = function(task)
if (task == ''){
return false;
} else {
- var isValid=true;
var action = task.split('.');
- if (action[1] != 'cancel' && action[1] != 'close'){
- var forms = $$('form.form-validate');
- for (var i=0;ilistOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_view');
$this->canEdit = $this->canDo->get('admin_view.edit');
diff --git a/admin/views/admins_custom_tabs/view.html.php b/admin/views/admins_custom_tabs/view.html.php
index 6a22de723..a07b50237 100644
--- a/admin/views/admins_custom_tabs/view.html.php
+++ b/admin/views/admins_custom_tabs/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_custom_tabs');
$this->canEdit = $this->canDo->get('admin_custom_tabs.edit');
diff --git a/admin/views/admins_fields/view.html.php b/admin/views/admins_fields/view.html.php
index 46a24546a..f9fd5cc73 100644
--- a/admin/views/admins_fields/view.html.php
+++ b/admin/views/admins_fields/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_fields');
$this->canEdit = $this->canDo->get('admin_fields.edit');
diff --git a/admin/views/admins_fields_conditions/view.html.php b/admin/views/admins_fields_conditions/view.html.php
index 3ba6c77cd..b2b4f632b 100644
--- a/admin/views/admins_fields_conditions/view.html.php
+++ b/admin/views/admins_fields_conditions/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_fields_conditions');
$this->canEdit = $this->canDo->get('admin_fields_conditions.edit');
diff --git a/admin/views/admins_fields_relations/view.html.php b/admin/views/admins_fields_relations/view.html.php
index 3a4e5da48..b54d57e7a 100644
--- a/admin/views/admins_fields_relations/view.html.php
+++ b/admin/views/admins_fields_relations/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_fields_relations');
$this->canEdit = $this->canDo->get('admin_fields_relations.edit');
diff --git a/admin/views/component_admin_views/submitbutton.js b/admin/views/component_admin_views/submitbutton.js
index a2ffbf29f..abb047dfc 100644
--- a/admin/views/component_admin_views/submitbutton.js
+++ b/admin/views/component_admin_views/submitbutton.js
@@ -13,19 +13,9 @@ Joomla.submitbutton = function(task)
if (task == ''){
return false;
} else {
- var isValid=true;
var action = task.split('.');
- if (action[1] != 'cancel' && action[1] != 'close'){
- var forms = $$('form.form-validate');
- for (var i=0;ilistOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_admin_views');
$this->canEdit = $this->canDo->get('component_admin_views.edit');
diff --git a/admin/views/components_config/view.html.php b/admin/views/components_config/view.html.php
index 3846d7e06..6e519e923 100644
--- a/admin/views/components_config/view.html.php
+++ b/admin/views/components_config/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_config extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_config');
$this->canEdit = $this->canDo->get('component_config.edit');
diff --git a/admin/views/components_custom_admin_menus/view.html.php b/admin/views/components_custom_admin_menus/view.html.php
index e7cb80d38..cfdd2a8ea 100644
--- a/admin/views/components_custom_admin_menus/view.html.php
+++ b/admin/views/components_custom_admin_menus/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_custom_admin_menus');
$this->canEdit = $this->canDo->get('component_custom_admin_menus.edit');
diff --git a/admin/views/components_custom_admin_views/view.html.php b/admin/views/components_custom_admin_views/view.html.php
index 5f79b2937..0186d31cf 100644
--- a/admin/views/components_custom_admin_views/view.html.php
+++ b/admin/views/components_custom_admin_views/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_custom_admin_views');
$this->canEdit = $this->canDo->get('component_custom_admin_views.edit');
diff --git a/admin/views/components_dashboard/view.html.php b/admin/views/components_dashboard/view.html.php
index 63a51144f..8ed19d296 100644
--- a/admin/views/components_dashboard/view.html.php
+++ b/admin/views/components_dashboard/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_dashboard');
$this->canEdit = $this->canDo->get('component_dashboard.edit');
diff --git a/admin/views/components_files_folders/view.html.php b/admin/views/components_files_folders/view.html.php
index e7dde81a0..970d8c04f 100644
--- a/admin/views/components_files_folders/view.html.php
+++ b/admin/views/components_files_folders/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_files_folders');
$this->canEdit = $this->canDo->get('component_files_folders.edit');
diff --git a/admin/views/components_mysql_tweaks/view.html.php b/admin/views/components_mysql_tweaks/view.html.php
index 431679930..727a483ed 100644
--- a/admin/views/components_mysql_tweaks/view.html.php
+++ b/admin/views/components_mysql_tweaks/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_mysql_tweaks');
$this->canEdit = $this->canDo->get('component_mysql_tweaks.edit');
diff --git a/admin/views/components_site_views/view.html.php b/admin/views/components_site_views/view.html.php
index 60aedb446..af6e20779 100644
--- a/admin/views/components_site_views/view.html.php
+++ b/admin/views/components_site_views/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_site_views');
$this->canEdit = $this->canDo->get('component_site_views.edit');
diff --git a/admin/views/components_updates/view.html.php b/admin/views/components_updates/view.html.php
index 8b27644d0..6935273cf 100644
--- a/admin/views/components_updates/view.html.php
+++ b/admin/views/components_updates/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('component_updates');
$this->canEdit = $this->canDo->get('component_updates.edit');
diff --git a/admin/views/custom_admin_view/submitbutton.js b/admin/views/custom_admin_view/submitbutton.js
index 3b6c9d45e..f12ced73e 100644
--- a/admin/views/custom_admin_view/submitbutton.js
+++ b/admin/views/custom_admin_view/submitbutton.js
@@ -13,19 +13,9 @@ Joomla.submitbutton = function(task)
if (task == ''){
return false;
} else {
- var isValid=true;
var action = task.split('.');
- if (action[1] != 'cancel' && action[1] != 'close'){
- var forms = $$('form.form-validate');
- for (var i=0;i
user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int)$item->main_get)): ?>
-
escape($item->main_get_name); ?>
+
escape($item->main_get_name); ?>
escape($item->main_get_name); ?>
diff --git a/admin/views/custom_admin_views/view.html.php b/admin/views/custom_admin_views/view.html.php
index 59a4b2528..2d52e65ff 100644
--- a/admin/views/custom_admin_views/view.html.php
+++ b/admin/views/custom_admin_views/view.html.php
@@ -37,6 +37,8 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
$this->listOrder = $this->escape($this->state->get('list.ordering'));
$this->listDirn = $this->escape($this->state->get('list.direction'));
$this->saveOrder = $this->listOrder == 'ordering';
+ // set the return here value
+ $this->return_here = urlencode(base64_encode((string) JUri::getInstance()));
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('custom_admin_view');
$this->canEdit = $this->canDo->get('core.edit');
diff --git a/admin/views/custom_code/submitbutton.js b/admin/views/custom_code/submitbutton.js
index f29f031b8..dba8ab60b 100644
--- a/admin/views/custom_code/submitbutton.js
+++ b/admin/views/custom_code/submitbutton.js
@@ -13,19 +13,9 @@ Joomla.submitbutton = function(task)
if (task == ''){
return false;
} else {
- var isValid=true;
var action = task.split('.');
- if (action[1] != 'cancel' && action[1] != 'close'){
- var forms = $$('form.form-validate');
- for (var i=0;i
params; // will be removed just use $this->params inst