'', 'short_description' => $result->short_description, 'description' => $result->description);
+ foreach ($properties['name'] as $line)
+ {
+ $field['values_description'] .= '- '.$properties['name'][$pointer].' '.$properties['description'][$pointer].'
';
+ if(isset($settings[$properties['name'][$pointer]]))
+ {
+ $field['values'] .= "\n\t".$properties['name'][$pointer].'="'.$settings[$properties['name'][$pointer]].'" ';
+ }
+ else
+ {
+ $field['values'] .= "\n\t".$properties['name'][$pointer].'="'.$properties['example'][$pointer].'" ';
+ }
+ $pointer++;
+ }
+ $field['values'] .= "\n/>";
+ $field['values_description'] .= '
';
+ // return found field options
+ return $field;
+ }
+ return false;
+ }
/**
* get the localkey
diff --git a/admin/helpers/extrusion/a_mapping.php b/admin/helpers/extrusion/a_mapping.php
new file mode 100644
index 000000000..16e029394
--- /dev/null
+++ b/admin/helpers/extrusion/a_mapping.php
@@ -0,0 +1,389 @@
+
+ @my wife Roline van der Merwe
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+/-----------------------------------------------------------------------------------------------------------------------------*/
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+/**
+ * Mapping class
+ */
+class Mapping
+{
+ /**
+ * Some default fields
+ */
+ protected $buildcompsql;
+ public $id;
+ public $name_code;
+ public $addadmin_views;
+ public $addSql = array();
+ public $source = array();
+ public $sql = array();
+
+ /**
+ * The map of the needed fields and views
+ */
+ public $map;
+
+ /**
+ * The app to load messages mostly
+ */
+ public $app;
+
+ /**
+ * The needed set of keys needed to set
+ */
+ protected $setting = array('id' => 'default', 'buildcompsql' => 'base64', 'addadmin_views' => 'json', 'name_code' => 'safeString');
+
+ /**
+ * The needed set of keys needed to set
+ */
+ protected $notRequiered = array('id', 'asset_id', 'published',
+ 'created_by', 'modified_by', 'created', 'modified', 'checked_out','checked_out_time',
+ 'version', 'hits', 'access', 'ordering',
+ 'metakey', 'metadesc', 'metadata', 'params');
+
+ /**
+ * The datatypes and it linked field types (basic)
+ * (TODO) We may need to set this dynamicly
+ */
+ protected $dataTypes = array( 'CHAR' => 'Text', 'VARCHAR' => 'Text',
+ 'TEXT' => 'Textarea', 'MEDIUMTEXT' => 'Textarea',
+ 'LONGTEXT' => 'Textarea', 'DATE' => 'Text', 'TIME' => 'Text',
+ 'DATETIME' => 'Calendar', 'INT' => 'Text', 'TINYINT' => 'Text',
+ 'BIGINT' => 'Text', 'FLOAT' => 'Text', 'DECIMAL' => 'Text',
+ 'DOUBLE' => 'Text');
+
+ /**
+ * The datasize identifiers
+ */
+ protected $dataSize = array( 'CHAR', 'VARCHAR', 'INT', 'TINYINT',
+ 'BIGINT', 'FLOAT', 'DECIMAL', 'DOUBLE');
+
+ /**
+ * The default identifiers
+ */
+ protected $defaults = array(0, 1, "CURRENT_TIMESTAMP", "DATETIME"); // Other
+
+ /**
+ * The sizes identifiers
+ */
+ protected $sizes = array("1", "7", "10", "11", "50", "64", "100", "255", "1024", "2048"); // Other
+
+
+ /**
+ * Constructor
+ */
+ public function __construct($data = false)
+ {
+ // set the app to insure messages can be set
+ $this->app = JFactory::getApplication();
+
+ if ($data)
+ {
+ if (isset($data['buildcomp']) && 1 == $data['buildcomp'] && isset($data['buildcompsql']))
+ {
+ foreach ($data as $key => $value)
+ {
+ if (isset($this->setting[$key]))
+ {
+ switch($this->setting[$key])
+ {
+ case 'base64':
+ // set needed value
+ $this->$key = base64_decode($value);
+ break;
+ case 'json':
+ // set needed value
+ $this->$key = json_decode($value, true);
+ break;
+ case 'safeString':
+ // set needed value
+ $this->$key = ComponentbuilderHelper::safeString($value);
+ break;
+ default :
+ $this->$key = $value;
+ break;
+ }
+ }
+ }
+ // set the map of the views needed
+ if ($this->setMap())
+ {
+ return true;
+ }
+ $this->app->enqueueMessage(
+ JText::_('No "CREATE TABLE.." were found, please check your sql.'),
+ 'Error'
+ );
+ return false;
+ }
+ return false; // not set so just return without any error
+ }
+ $this->app->enqueueMessage(
+ JText::_('Could not find the data needed to continue.'),
+ 'Error'
+ );
+ return false;
+ }
+
+ /**
+ * The mapping function
+ * To Map the views and fields that are needed
+ */
+ protected function setMap()
+ {
+ // start parsing the sql dump data
+ $queries = JDatabaseDriver::splitSql($this->buildcompsql);
+ if (ComponentbuilderHelper::checkArray($queries))
+ {
+ foreach ($queries as $query)
+ {
+ // only use create table queries
+ if (strpos($query, 'CREATE TABLE IF NOT EXISTS `') !== false)
+ {
+ if ($tableName = $this->getTableName($query))
+ {
+ // now get the fields/columns of this view/table
+ if ($fields = $this->getFields($query))
+ {
+ // make sure it is all lower case from here on
+ $tableName = strtolower($tableName);
+ $this->map[$tableName] = $fields;
+ }
+ }
+ else
+ {
+ continue;
+ }
+ }
+ // get the insert data if set
+ if (strpos($query, 'INSERT INTO `') !== false)
+ {
+ if ($tableName = $this->getTableName($query))
+ {
+ $this->addSql[$tableName] = 1;
+ $this->source[$tableName] = 2;
+ $this->sql[$tableName] = $query;
+ }
+ }
+ }
+ // check if the mapping was done
+ if (ComponentbuilderHelper::checkArray($this->map))
+ {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Get the table name
+ */
+ protected function getTableName(&$query)
+ {
+ $tableName = ComponentbuilderHelper::getBetween($query, '`#__', "`");
+ // if it still was not found
+ if (!ComponentbuilderHelper::checkString($tableName))
+ {
+ // skip this query
+ return false;
+ }
+ // clean the table name (so only view name remain)
+ if (strpos($tableName, $this->name_code) !== false)
+ {
+ $tableName = trim(str_replace($this->name_code, '', $tableName), '_');
+ }
+ // if found
+ if (ComponentbuilderHelper::checkString($tableName))
+ {
+ return $tableName;
+ }
+ // skip this query
+ return false;
+ }
+
+ /**
+ * Get the field details
+ */
+ protected function getFields(&$query)
+ {
+ $rows = array_map('trim', explode("\n", $query));
+ $fields = array();
+ foreach ($rows as $row)
+ {
+ // make sure we have a lower case string
+ $row = strtoupper($row);
+ $field = array();
+ $name = '';
+ if (0 === strpos($row, '`'))
+ {
+ // get field name
+ $name = ComponentbuilderHelper::getBetween($row, '`', '`');
+ }
+ if (0 === strpos($row, "'"))
+ {
+ // get field name
+ $name = ComponentbuilderHelper::getBetween($row, "'", "'");
+ }
+ // check if the name was found
+ if (ComponentbuilderHelper::checkString($name))
+ {
+ // insure we have the name in lower case from here on
+ $name = strtolower($name);
+ // only continue if field is requered
+ if (in_array($name, $this->notRequiered))
+ {
+ continue;
+ }
+ // check if the field type is found
+ if ($fieldType = $this->getType($row, $field, $name))
+ {
+ $field['row'] = $row;
+ $field['name'] = $name;
+ $field['label'] = ComponentbuilderHelper::safeString($name, 'W');
+ $field['fieldType'] = $fieldType;
+ $field['size'] = $this->getSize($row, $field);
+ $field['sizeOther'] = '';
+ if (!in_array($field['size'], $this->sizes))
+ {
+ if (ComponentbuilderHelper::checkString($field['size']))
+ {
+ $field['sizeOther'] = $field['size'];
+ $field['size'] = 'Other';
+ }
+ }
+ $field['default'] = $this->getDefault($row);
+ $field['defaultOther'] = '';
+ if (!in_array($field['default'], $this->defaults))
+ {
+ if (ComponentbuilderHelper::checkString($field['default']))
+ {
+ $field['defaultOther'] = $field['default'];
+ $field['default'] = 'Other';
+ }
+ }
+ $field['null'] = $this->getNullValue($row, $field);
+ // check if field is a key
+ $field['key'] = $this->getKeyStatus($rows, $name);
+ // load to fields
+ $fields[] = $field;
+ }
+ }
+ }
+ if (ComponentbuilderHelper::checkArray($fields))
+ {
+ return $fields;
+ }
+ return false;
+ }
+
+ /**
+ * Get the field types
+ */
+ protected function getType($row, &$field, &$name)
+ {
+ // first remove field name
+ $row = str_replace($name, '', $row);
+ // get the data type first
+ foreach ($this->dataTypes as $type => $fieldType)
+ {
+ if (strpos($row, $type) !== false)
+ {
+ $field['dataType'] = $type;
+ return $fieldType;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * Get the field size
+ */
+ protected function getSize(&$row, $field)
+ {
+ if (in_array($field['dataType'], $this->dataSize))
+ {
+ return ComponentbuilderHelper::getBetween($row, $field['dataType'].'(', ')');
+ }
+ return '';
+ }
+
+ /**
+ * Get the field default
+ */
+ protected function getDefault(&$row)
+ {
+ // get default value
+ if (strpos($row, 'DEFAULT "') !== false) // to sure it this is correct...
+ {
+ return ComponentbuilderHelper::getBetween($row, 'DEFAULT "', '"');
+ }
+ // get default value
+ if (strpos($row, "DEFAULT '") !== false)
+ {
+ return ComponentbuilderHelper::getBetween($row, "DEFAULT '", "'");
+ }
+ return '';
+ }
+
+ /**
+ * Get the field Null Value
+ */
+ protected function getNullValue(&$row, &$field)
+ {
+ // get the result of null
+ if (strpos($row, 'NOT NULL') !== false)
+ {
+ return 'NOT NULL';
+ }
+ if (strpos($row, 'DEFAULT NULL') !== false)
+ {
+ $field['default'] = 'NULL';
+ return '';
+ }
+ return 'NULL';
+ }
+
+ /**
+ * Get the field key status
+ */
+ protected function getKeyStatus(&$rows, &$name)
+ {
+ // get the data type first
+ foreach ($rows as $row)
+ {
+ if (strpos($row, 'UNIQUE KEY ') !== false && stripos($row, $name) !== false)
+ {
+ return 1;
+ }
+ if ((strpos($row, 'PRIMARY KEY ') !== false && stripos($row, $name) !== false) || (strpos($row, 'KEY ') !== false && stripos($row, $name) !== false))
+ {
+ return 2;
+ }
+ }
+ return 0;
+ }
+}
diff --git a/admin/helpers/extrusion/b_builder.php b/admin/helpers/extrusion/b_builder.php
new file mode 100644
index 000000000..bee200643
--- /dev/null
+++ b/admin/helpers/extrusion/b_builder.php
@@ -0,0 +1,294 @@
+
+ @my wife Roline van der Merwe
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+/-----------------------------------------------------------------------------------------------------------------------------*/
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+/**
+ * Builder class
+ */
+class Builder extends Mapping
+{
+ /**
+ * Some default fields
+ */
+ public $user;
+ public $today;
+ public $db;
+ public $views = array();
+ protected $fields = array();
+ protected $title = array();
+ protected $description = array();
+ protected $alias = array();
+ protected $list = array();
+
+ /**
+ * Field that should not be used in name, alias, disc, and list view
+ * (TODO) We may need to set this dynamicly
+ */
+ protected $avoidList = array('not_required');
+
+ /***
+ * Constructor
+ */
+ public function __construct(&$data)
+ {
+ // first we run the perent constructor
+ if (parent::__construct($data))
+ {
+ // always reset the building values if found
+ $data['buildcomp'] = 0;
+ $data['buildcompsql'] = '';
+ // set some globals
+ $this->db = JFactory::getDbo();
+ $this->user = JFactory::getUser();
+ $this->today = JFactory::getDate()->toSql();
+
+ // no start the building of the views and fields
+ if ($this->setBuild())
+ {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * The building function
+ * To build the views and fields that are needed
+ */
+ protected function setBuild()
+ {
+ foreach ($this->map as $view => $fields)
+ {
+ // set this field with all its needed data
+ foreach ($fields as $field)
+ {
+ $this->setField($view, $field);
+ }
+ // set this view with all its needed data
+ $this->setView($view);
+ }
+ return true;
+ }
+
+ /**
+ * The building function for views
+ */
+ protected function setView(&$name)
+ {
+ // set the view object
+ $object = new stdClass();
+ $object->system_name = ComponentbuilderHelper::safeString($name, 'W') . ' (dynamic build)';
+ $object->name_single = $name;
+ $object->name_list = $name. 's';
+ $object->short_description = $name. ' view (dynamic build)';
+ $object->type = 1;
+ $object->description = $name. ' view (dynamic build)';
+ $object->add_fadein = 1;
+ $object->add_sql = (isset($this->addSql[$name])) ? $this->addSql[$name]: 0;
+ $object->source = (isset($this->source[$name])) ? $this->source[$name]: 0;
+ $object->sql = (isset($this->sql[$name])) ? base64_encode($this->sql[$name]): '';
+ $object->addpermissions = '{"action":["view.edit","view.edit.own","view.edit.state","view.create","view.delete","view.access"],"implementation":["3","3","3","3","3","3"]}';
+ $object->addfields = $this->addFields($name);
+ $object->created = $this->today;
+ $object->created_by = $this->user->id;
+ $object->published = 1;
+ // add to data base
+ if ($this->db->insertObject('#__componentbuilder_admin_view', $object))
+ {
+ // make sure the access of asset is set
+ $id = $this->db->insertid();
+ ComponentbuilderHelper::setAsset($id, 'admin_view');
+ // load the views
+ $this->views[] = $id;
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Add the fields to the view
+ */
+ protected function addFields(&$view)
+ {
+ if (isset($this->fields[$view]))
+ {
+ // set some defaults
+ $addField = array (
+ 'field' => array(),
+ 'list' => array(),
+ 'order_list' => array(),
+ 'title' => array(),
+ 'alias' => array(),
+ 'sort' => array(),
+ 'search' => array(),
+ 'filter' => array(),
+ 'link' => array(),
+ 'tab' => array(),
+ 'alignment' => array(),
+ 'order_edit' => array(),
+ 'permission' => array()
+ );
+ $fixLink = (isset($this->title[$view])) ? 0 : 1;
+ // build the field data... hmmm
+ foreach ($this->fields[$view] as $nr => $id)
+ {
+ $alignment = 1;
+ if ($nr % 2 == 0)
+ {
+ $alignment = 2;
+ }
+ // some defaults
+ $isTitle = (isset($this->title[$view]) && $this->title[$view] == $id) ? 1 : 0;
+ $isAlias = (isset($this->alias[$view]) && $this->alias[$view] == $id) ? 1 : 0;
+ $isList = ($key = array_search($id, $this->list[$view])) ? 1 : 0;
+ $isLink = ($isTitle) ? 1 : (($isList && $fixLink) ? 1 : 0);
+ if ($isLink)
+ {
+ $fixLink = 0;
+ }
+ // load the field values
+ $addField['field'][] = $id;
+ $addField['list'][] = $isList;
+ $addField['order_list'][] = ($key) ? $key : 0;
+ $addField['title'][] = $isTitle;
+ $addField['alias'][] = $isAlias;
+ $addField['sort'][] = $isList;
+ $addField['search'][] = $isList;
+ $addField['filter'][] = $isList;
+ $addField['link'][] = $isLink;
+ $addField['tab'][] = 1;
+ $addField['alignment'][] = ($isTitle || $isAlias) ? 4 : $alignment;
+ $addField['order_edit'][] = $nr;
+ $addField['permission'][] = 0;
+ }
+ return json_encode($addField);
+ }
+ return '';
+ }
+
+ /**
+ * The building function for fields
+ */
+ protected function setField(&$view, &$field)
+ {
+ if ($fieldType = $this->getFieldType($field['fieldType']))
+ {
+ // set the field object
+ $object = new stdClass();
+ $object->name = $field['label'] . ' (dynamic build)';
+ $object->fieldtype = $fieldType;
+ $object->datatype = $field['dataType'];
+ $object->indexes = $field['key'];
+ $object->null_switch = $field['null'];
+ $object->datalenght = $field['size'];
+ $object->datalenght_other = $field['sizeOther'];
+ $object->datadefault = $field['default'];
+ $object->datadefault_other = $field['defaultOther'];
+ $object->created = $this->today;
+ $object->created_by = $this->user->id;
+ $object->published = 1;
+ $object->store = 0;
+ $object->xml = $this->setFieldXML($field, $fieldType);
+ // add to data base
+ if ($this->db->insertObject('#__componentbuilder_field', $object))
+ {
+ // make sure the access of asset is set
+ $id = $this->db->insertid();
+ ComponentbuilderHelper::setAsset($id, 'field');
+ // check if any field for this field was already set, if not set array
+ if (!isset($this->fields[$view]))
+ {
+ $this->fields[$view] = array();
+ }
+ // load the field
+ $this->fields[$view][] = $id;
+
+ if (!isset($this->list[$view]))
+ {
+ $this->list[$view] = array();
+ }
+ // insure that some fields are avoided
+ if (!in_array($field['name'], $this->avoidList))
+ {
+ // set the name/title field if found
+ if (!isset($this->title[$view]) && (stripos($field['name'], 'name') !== false || stripos($field['name'], 'title') !== false))
+ {
+ $this->title[$view] = $id;
+ $this->list[$view][] = $id;
+ }
+ // set the alias field if found
+ elseif (!isset($this->alias[$id]) && stripos($field['name'], 'alias') !== false)
+ {
+ $this->alias[$view] = $id;
+ }
+ // set the alias field if found
+ elseif (!isset($this->description[$id]) && stripos($field['name'], 'desc') !== false)
+ {
+ $this->description[$view] = $id;
+ $this->list[$view][] = $id;
+ }
+ elseif ('Text' == $field['fieldType'] && count($this->list[$view]) < 5)
+ {
+ $this->list[$view][] = $id;
+ }
+ }
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * get the field type id from system
+ */
+ protected function getFieldType($fieldName)
+ {
+ // load the field settings
+ return ComponentbuilderHelper::getVar('fieldtype', $fieldName, 'name', 'id');
+ }
+
+ /**
+ * The building function for field xml
+ */
+ protected function setFieldXML(&$field, $fieldId)
+ {
+ // load the field settings
+ $settings = array();
+ $settings['name'] = $field['name'];
+ $settings['description'] = 'The '.strtolower($field['label']) . ' is set here.';
+ $settings['message'] = "Error! Please add some ".strtolower($field['label'])." here.";
+ $settings['label'] = $field['label'];
+ $settings['default'] = ($field['default'] == 'Other') ? $field['defaultOther'] : $field['default'];
+ $settings['hint'] = $field['label'] .' Here!';
+ // okay set the xml field values
+ if ($fieldOptions = ComponentbuilderHelper::getFieldOptions($fieldId, 'id', $settings))
+ {
+ return json_encode($fieldOptions['values']);
+ }
+ return '';
+ }
+}
diff --git a/admin/helpers/extrusion/c_extrusion.php b/admin/helpers/extrusion/c_extrusion.php
new file mode 100644
index 000000000..01c8c0512
--- /dev/null
+++ b/admin/helpers/extrusion/c_extrusion.php
@@ -0,0 +1,141 @@
+
+ @my wife Roline van der Merwe
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+/-----------------------------------------------------------------------------------------------------------------------------*/
+
+// No direct access to this file
+defined('_JEXEC') or die('Restricted access');
+
+/**
+ * Extrusion class
+ */
+class Extrusion extends Builder
+{
+ /***
+ * Constructor
+ */
+ public function __construct(&$data)
+ {
+ // first we run the perent constructor
+ if (parent::__construct($data))
+ {
+ // link the view data to the component
+ $data['addadmin_views'] = $this->linkAdminViews();
+ if (ComponentbuilderHelper::checkJson($data['addadmin_views']))
+ {
+ $this->app->enqueueMessage(
+ JText::_('All the fields and views from your sql dump has been created and linked to this component.'),
+ 'Success'
+ );
+ return true;
+ }
+ }
+ return false;
+ }
+
+ /**
+ * link the build views to the component
+ */
+ protected function linkAdminViews()
+ {
+ // check if views were set
+ if (ComponentbuilderHelper::checkArray($this->views))
+ {
+ // insure arrays are set
+ if (!isset($this->addadmin_views['adminview']))
+ {
+ $this->addadmin_views['adminview'] = array();
+ }
+ if (!isset($this->addadmin_views['icomoon']))
+ {
+ $this->addadmin_views['icomoon'] = array();
+ }
+ if (!isset($this->addadmin_views['mainmenu']))
+ {
+ $this->addadmin_views['mainmenu'] = array();
+ }
+ if (!isset($this->addadmin_views['dashboard_add']))
+ {
+ $this->addadmin_views['dashboard_add'] = array();
+ }
+ if (!isset($this->addadmin_views['dashboard_list']))
+ {
+ $this->addadmin_views['dashboard_list'] = array();
+ }
+ if (!isset($this->addadmin_views['submenu']))
+ {
+ $this->addadmin_views['submenu'] = array();
+ }
+ if (!isset($this->addadmin_views['checkin']))
+ {
+ $this->addadmin_views['checkin'] = array();
+ }
+ if (!isset($this->addadmin_views['history']))
+ {
+ $this->addadmin_views['history'] = array();
+ }
+ if (!isset($this->addadmin_views['metadata']))
+ {
+ $this->addadmin_views['metadata'] = array();
+ }
+ if (!isset($this->addadmin_views['access']))
+ {
+ $this->addadmin_views['access'] = array();
+ }
+ if (!isset($this->addadmin_views['port']))
+ {
+ $this->addadmin_views['port'] = array();
+ }
+ if (!isset($this->addadmin_views['edit_create_site_view']))
+ {
+ $this->addadmin_views['edit_create_site_view'] = array();
+ }
+ if (!isset($this->addadmin_views['order']))
+ {
+ $this->addadmin_views['order'] = array();
+ }
+ // set the admin view data linking
+ foreach ($this->views as $id)
+ {
+ $this->addadmin_views['adminview'][] = $id;
+ $this->addadmin_views['icomoon'][] = 'joomla';
+ $this->addadmin_views['mainmenu'][] = 1;
+ $this->addadmin_views['dashboard_add'][] = 1;
+ $this->addadmin_views['dashboard_list'][] = 1;
+ $this->addadmin_views['submenu'][] = 1;
+ $this->addadmin_views['checkin'][] = 1;
+ $this->addadmin_views['history'][] = 1;
+ $this->addadmin_views['metadata'][] = 1;
+ $this->addadmin_views['access'][] = 1;
+ $this->addadmin_views['port'][] = 1;
+ $this->addadmin_views['edit_create_site_view'][] = 0;
+ $this->addadmin_views['order'][] = count($this->addadmin_views['order']) + 1;
+ }
+ }
+ if (isset($this->addadmin_views) && ComponentbuilderHelper::checkArray($this->addadmin_views))
+ {
+ return json_encode($this->addadmin_views);
+ }
+ return '';
+ }
+}
diff --git a/admin/helpers/extrusion/index.html b/admin/helpers/extrusion/index.html
new file mode 100644
index 000000000..fa6d84e80
--- /dev/null
+++ b/admin/helpers/extrusion/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/admin/helpers/html/batch_.php b/admin/helpers/html/batch_.php
index 2c2fef4de..05717bc82 100644
--- a/admin/helpers/html/batch_.php
+++ b/admin/helpers/html/batch_.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage batch_.php
diff --git a/admin/helpers/indenter.php b/admin/helpers/indenter.php
index 44541c136..823526478 100644
--- a/admin/helpers/indenter.php
+++ b/admin/helpers/indenter.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage indenter.php
diff --git a/admin/helpers/js.php b/admin/helpers/js.php
index aa7dd6a37..66d409a85 100644
--- a/admin/helpers/js.php
+++ b/admin/helpers/js.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage js.php
diff --git a/admin/helpers/minify.php b/admin/helpers/minify.php
index c55357890..e652562e9 100644
--- a/admin/helpers/minify.php
+++ b/admin/helpers/minify.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage minify.php
diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini
index eb9c6b3f4..990d972ca 100644
--- a/admin/language/en-GB/en-GB.com_componentbuilder.ini
+++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini
@@ -834,6 +834,13 @@ COM_COMPONENTBUILDER_COMPONENT_BOX_REMOVE="Box Remove"
COM_COMPONENTBUILDER_COMPONENT_BRIEFCASE="Briefcase"
COM_COMPONENTBUILDER_COMPONENT_BRUSH="Brush"
COM_COMPONENTBUILDER_COMPONENT_BUBBLE_QUOTE="Bubble Quote"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMP="Buildcomp"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMPSQL="Buildcompsql"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMPSQL_DESCRIPTION="Add your MySQL here!"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMPSQL_HINT="// Add MySQL Table Dump Here"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMPSQL_LABEL="MySQL"
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMP_DESCRIPTION="To build the component fields and back-end views dynamically using a mySQL table file."
+COM_COMPONENTBUILDER_COMPONENT_BUILDCOMP_LABEL="Build Backend-views Dynamically"
COM_COMPONENTBUILDER_COMPONENT_CALENDAR="Calendar"
COM_COMPONENTBUILDER_COMPONENT_CALENDAR_THREE="Calendar 3"
COM_COMPONENTBUILDER_COMPONENT_CALENDAR_TWO="Calendar 2"
@@ -886,6 +893,7 @@ COM_COMPONENTBUILDER_COMPONENT_CUBE="Cube"
COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW="Customadminview"
COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_DESCRIPTION="Select a custom admin view"
COM_COMPONENTBUILDER_COMPONENT_CUSTOMADMINVIEW_LABEL="View"
+COM_COMPONENTBUILDER_COMPONENT_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE="Custom (used in custom code)"
COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_DESCRIPTION="Enter custom value in needed"
COM_COMPONENTBUILDER_COMPONENT_CUSTOM_VALUE_HINT="Custom Value Here"
@@ -911,6 +919,7 @@ COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_HINT="Add Description Here"
COM_COMPONENTBUILDER_COMPONENT_DESCRIPTION_LABEL="Description"
COM_COMPONENTBUILDER_COMPONENT_DETAILS="Details"
COM_COMPONENTBUILDER_COMPONENT_DOWNLOAD="Download"
+COM_COMPONENTBUILDER_COMPONENT_DYNAMIC_BUILD_BETA="Dynamic Build (beta)"
COM_COMPONENTBUILDER_COMPONENT_DYNAMIC_INTEGRATION="Dynamic Integration"
COM_COMPONENTBUILDER_COMPONENT_EDIT="Editing the Component"
COM_COMPONENTBUILDER_COMPONENT_EDIT_CREATE_SITE_VIEW_DESCRIPTION="add site edit & create view for this admin view"
@@ -1061,6 +1070,8 @@ COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_DESCRIPTION="You can add custom fi
COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FILES_LABEL="Adding Custom Files"
COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_DESCRIPTION="You can add custom folders to the component, simply add the folders to the administrator/components/com_componentbuilder/custom folder and then select them here."
COM_COMPONENTBUILDER_COMPONENT_NOTE_ADD_FOLDERS_LABEL="Adding Custom Folders"
+COM_COMPONENTBUILDER_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_DESCRIPTION="You can dynamically build the components back-end views and fields by adding a mySQL table dump, that has all the tables, or some more tables with its columns and data types. A very basic and generic set of fields and tables will be created, and added to the existing fields and tables of this component. This is in beta testing, so this feature is still under development and will only be fully functional around June 2017..."
+COM_COMPONENTBUILDER_COMPONENT_NOTE_BUILDCOMP_DYNAMIC_LABEL="Dynamic Builder Option"
COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_DESCRIPTION="In each admin view you can add data from a MySQL Table (this is done in the admin view MySQL tab). Here you can limit that data in relation to this component. This feature is useful when an admin view with demo data is used in more then one component, and you would like to exclude some demo data without creating a new admin view."
COM_COMPONENTBUILDER_COMPONENT_NOTE_MYSQL_TWEAK_OPTIONS_LABEL=" MySql Tweak Options"
COM_COMPONENTBUILDER_COMPONENT_NOTE_ON_CONTRIBUTORS_DESCRIPTION="Only add contributors if you would like them listed on the component dashboard."
diff --git a/admin/layouts/admin_view/css_fullwidth.php b/admin/layouts/admin_view/css_fullwidth.php
index d21e93d24..4c6f273ed 100644
--- a/admin/layouts/admin_view/css_fullwidth.php
+++ b/admin/layouts/admin_view/css_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage css_fullwidth.php
diff --git a/admin/layouts/admin_view/custom_buttons_fullwidth.php b/admin/layouts/admin_view/custom_buttons_fullwidth.php
index b675f7947..7182bc169 100644
--- a/admin/layouts/admin_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/admin_view/custom_buttons_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_fullwidth.php
diff --git a/admin/layouts/admin_view/custom_buttons_left.php b/admin/layouts/admin_view/custom_buttons_left.php
index 7341367df..f9c3551f3 100644
--- a/admin/layouts/admin_view/custom_buttons_left.php
+++ b/admin/layouts/admin_view/custom_buttons_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_left.php
diff --git a/admin/layouts/admin_view/custom_import_fullwidth.php b/admin/layouts/admin_view/custom_import_fullwidth.php
index 464e4f4e6..95cc15103 100644
--- a/admin/layouts/admin_view/custom_import_fullwidth.php
+++ b/admin/layouts/admin_view/custom_import_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_import_fullwidth.php
diff --git a/admin/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php
index ad7433f9c..407fc42fe 100644
--- a/admin/layouts/admin_view/fields_fullwidth.php
+++ b/admin/layouts/admin_view/fields_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields_fullwidth.php
@@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->vxrfields;
+$items = $displayData->vxtfields;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
diff --git a/admin/layouts/admin_view/javascript_fullwidth.php b/admin/layouts/admin_view/javascript_fullwidth.php
index 3bced1121..9f7452359 100644
--- a/admin/layouts/admin_view/javascript_fullwidth.php
+++ b/admin/layouts/admin_view/javascript_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage javascript_fullwidth.php
diff --git a/admin/layouts/admin_view/mysql_fullwidth.php b/admin/layouts/admin_view/mysql_fullwidth.php
index 170d859ac..54ffb706e 100644
--- a/admin/layouts/admin_view/mysql_fullwidth.php
+++ b/admin/layouts/admin_view/mysql_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage mysql_fullwidth.php
diff --git a/admin/layouts/admin_view/mysql_left.php b/admin/layouts/admin_view/mysql_left.php
index d116069fb..ab32eaa08 100644
--- a/admin/layouts/admin_view/mysql_left.php
+++ b/admin/layouts/admin_view/mysql_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage mysql_left.php
diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php
index f59b2e65d..7aa5ec262 100644
--- a/admin/layouts/admin_view/php_fullwidth.php
+++ b/admin/layouts/admin_view/php_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage php_fullwidth.php
diff --git a/admin/layouts/admin_view/publishing.php b/admin/layouts/admin_view/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/admin_view/publishing.php
+++ b/admin/layouts/admin_view/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/admin_view/publlshing.php b/admin/layouts/admin_view/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/admin_view/publlshing.php
+++ b/admin/layouts/admin_view/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/admin_view/settings_above.php b/admin/layouts/admin_view/settings_above.php
index 7902ae8cc..55be5ee10 100644
--- a/admin/layouts/admin_view/settings_above.php
+++ b/admin/layouts/admin_view/settings_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_above.php
diff --git a/admin/layouts/admin_view/settings_left.php b/admin/layouts/admin_view/settings_left.php
index 41982cdbd..611ad4cbe 100644
--- a/admin/layouts/admin_view/settings_left.php
+++ b/admin/layouts/admin_view/settings_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_left.php
diff --git a/admin/layouts/admin_view/settings_right.php b/admin/layouts/admin_view/settings_right.php
index e606e2476..4cbad27dd 100644
--- a/admin/layouts/admin_view/settings_right.php
+++ b/admin/layouts/admin_view/settings_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_right.php
diff --git a/admin/layouts/admin_view/settings_under.php b/admin/layouts/admin_view/settings_under.php
index 65aa9e81e..feec222c1 100644
--- a/admin/layouts/admin_view/settings_under.php
+++ b/admin/layouts/admin_view/settings_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_under.php
diff --git a/admin/layouts/batchselection.php b/admin/layouts/batchselection.php
index 91206725e..427f58e43 100644
--- a/admin/layouts/batchselection.php
+++ b/admin/layouts/batchselection.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage batchselection.php
diff --git a/admin/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php
index cd6c51e58..9ddd5524b 100644
--- a/admin/layouts/component/admin_views_fullwidth.php
+++ b/admin/layouts/component/admin_views_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views_fullwidth.php
@@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->vwladmin_views;
+$items = $displayData->vwmadmin_views;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=admin_views&task=admin_view.edit";
diff --git a/admin/layouts/component/custom_admin_views_fullwidth.php b/admin/layouts/component/custom_admin_views_fullwidth.php
new file mode 100644
index 000000000..2c627b221
--- /dev/null
+++ b/admin/layouts/component/custom_admin_views_fullwidth.php
@@ -0,0 +1,138 @@
+
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+/-----------------------------------------------------------------------------------------------------------------------------*/
+
+// No direct access to this file
+
+defined('_JEXEC') or die('Restricted access');
+
+// set the defaults
+$items = $displayData->vwncustom_admin_views;
+$user = JFactory::getUser();
+$id = $displayData->item->id;
+$edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=custom_admin_view.edit";
+$ref = ($id) ? "&ref=component&refid=".$id : "";
+$new = "index.php?option=com_componentbuilder&view=custom_admin_view&layout=edit".$ref;
+$can = ComponentbuilderHelper::getActions('custom_admin_view');
+
+?>
+
diff --git a/admin/layouts/component/details_above.php b/admin/layouts/component/details_above.php
index b3f38a625..0a1b0a111 100644
--- a/admin/layouts/component/details_above.php
+++ b/admin/layouts/component/details_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php
diff --git a/admin/layouts/component/details_left.php b/admin/layouts/component/details_left.php
index c42994815..9f05fbd2c 100644
--- a/admin/layouts/component/details_left.php
+++ b/admin/layouts/component/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/component/details_right.php b/admin/layouts/component/details_right.php
index 56e3ff594..be638d059 100644
--- a/admin/layouts/component/details_right.php
+++ b/admin/layouts/component/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/component/details_under.php b/admin/layouts/component/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/component/details_under.php
+++ b/admin/layouts/component/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/component/dynamic_build_beta_fullwidth.php b/admin/layouts/component/dynamic_build_beta_fullwidth.php
new file mode 100644
index 000000000..5ee6a9c1d
--- /dev/null
+++ b/admin/layouts/component/dynamic_build_beta_fullwidth.php
@@ -0,0 +1,50 @@
+
+ @copyright Copyright (C) 2015. All Rights Reserved
+ @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+
+ Builds Complex Joomla Components
+
+/-----------------------------------------------------------------------------------------------------------------------------*/
+
+// No direct access to this file
+
+defined('_JEXEC') or die('Restricted access');
+
+$form = $displayData->getForm();
+
+$fields = $displayData->get('fields') ?: array(
+ 'note_buildcomp_dynamic',
+ 'buildcomp',
+ 'buildcompsql'
+);
+
+?>
+
diff --git a/admin/layouts/component/dynamic_integration_fullwidth.php b/admin/layouts/component/dynamic_integration_fullwidth.php
index 2d194caf6..c13c38021 100644
--- a/admin/layouts/component/dynamic_integration_fullwidth.php
+++ b/admin/layouts/component/dynamic_integration_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_integration_fullwidth.php
diff --git a/admin/layouts/component/libs_helpers_fullwidth.php b/admin/layouts/component/libs_helpers_fullwidth.php
index b2af56774..b8c978db3 100644
--- a/admin/layouts/component/libs_helpers_fullwidth.php
+++ b/admin/layouts/component/libs_helpers_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage libs_helpers_fullwidth.php
diff --git a/admin/layouts/component/mysql_fullwidth.php b/admin/layouts/component/mysql_fullwidth.php
index 386b84abe..bf6c0ae81 100644
--- a/admin/layouts/component/mysql_fullwidth.php
+++ b/admin/layouts/component/mysql_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage mysql_fullwidth.php
diff --git a/admin/layouts/component/php_fullwidth.php b/admin/layouts/component/php_fullwidth.php
index a4180f3aa..97eeb0347 100644
--- a/admin/layouts/component/php_fullwidth.php
+++ b/admin/layouts/component/php_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage php_fullwidth.php
diff --git a/admin/layouts/component/publishing.php b/admin/layouts/component/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/component/publishing.php
+++ b/admin/layouts/component/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/component/publlshing.php b/admin/layouts/component/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/component/publlshing.php
+++ b/admin/layouts/component/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/component/readme_left.php b/admin/layouts/component/readme_left.php
index 30b52081b..333aeb8b6 100644
--- a/admin/layouts/component/readme_left.php
+++ b/admin/layouts/component/readme_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage readme_left.php
diff --git a/admin/layouts/component/readme_right.php b/admin/layouts/component/readme_right.php
index bed097a8b..2ab55e58b 100644
--- a/admin/layouts/component/readme_right.php
+++ b/admin/layouts/component/readme_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage readme_right.php
diff --git a/admin/layouts/component/settings_left.php b/admin/layouts/component/settings_left.php
index 2142156bb..32cb33483 100644
--- a/admin/layouts/component/settings_left.php
+++ b/admin/layouts/component/settings_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_left.php
@@ -34,13 +34,13 @@ $fields = $displayData->get('fields') ?: array(
'addadmin_views',
'addcustom_admin_views',
'addsite_views',
- 'spacer_hr_c',
+ 'spacer_hr_b',
'note_mysql_tweak_options',
'sql_tweak',
- 'spacer_hr_d',
+ 'spacer_hr_c',
'note_add_custom_menus',
'addcustommenus',
- 'spacer_hr_e',
+ 'spacer_hr_d',
'note_add_config',
'addconfig'
);
diff --git a/admin/layouts/component/settings_right.php b/admin/layouts/component/settings_right.php
index 770ade576..23c10f179 100644
--- a/admin/layouts/component/settings_right.php
+++ b/admin/layouts/component/settings_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage settings_right.php
@@ -34,7 +34,7 @@ $fields = $displayData->get('fields') ?: array(
'addcontributors',
'emptycontributors',
'number',
- 'spacer_hr_b',
+ 'spacer_hr_e',
'note_add_files',
'addfiles',
'spacer_hr_a',
diff --git a/admin/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php
index 2d97cb878..20841780b 100644
--- a/admin/layouts/component/site_views_fullwidth.php
+++ b/admin/layouts/component/site_views_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage site_views_fullwidth.php
@@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->vwmsite_views;
+$items = $displayData->vwosite_views;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=site_views&task=site_view.edit";
diff --git a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
index b675f7947..7182bc169 100644
--- a/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_fullwidth.php
diff --git a/admin/layouts/custom_admin_view/custom_buttons_left.php b/admin/layouts/custom_admin_view/custom_buttons_left.php
index 7341367df..f9c3551f3 100644
--- a/admin/layouts/custom_admin_view/custom_buttons_left.php
+++ b/admin/layouts/custom_admin_view/custom_buttons_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_left.php
diff --git a/admin/layouts/custom_admin_view/custom_script_fullwidth.php b/admin/layouts/custom_admin_view/custom_script_fullwidth.php
index 01f2f6677..25e15b03b 100644
--- a/admin/layouts/custom_admin_view/custom_script_fullwidth.php
+++ b/admin/layouts/custom_admin_view/custom_script_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_script_fullwidth.php
diff --git a/admin/layouts/custom_admin_view/details_above.php b/admin/layouts/custom_admin_view/details_above.php
index b3f38a625..0a1b0a111 100644
--- a/admin/layouts/custom_admin_view/details_above.php
+++ b/admin/layouts/custom_admin_view/details_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php
diff --git a/admin/layouts/custom_admin_view/details_fullwidth.php b/admin/layouts/custom_admin_view/details_fullwidth.php
index 53fa2ea7b..12765b6e8 100644
--- a/admin/layouts/custom_admin_view/details_fullwidth.php
+++ b/admin/layouts/custom_admin_view/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/custom_admin_view/details_left.php b/admin/layouts/custom_admin_view/details_left.php
index 10c0516ae..ae365b2cf 100644
--- a/admin/layouts/custom_admin_view/details_left.php
+++ b/admin/layouts/custom_admin_view/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/custom_admin_view/details_right.php b/admin/layouts/custom_admin_view/details_right.php
index ee896e91c..a4f7dd485 100644
--- a/admin/layouts/custom_admin_view/details_right.php
+++ b/admin/layouts/custom_admin_view/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/custom_admin_view/details_rightside.php b/admin/layouts/custom_admin_view/details_rightside.php
index 090d050c5..57ae40787 100644
--- a/admin/layouts/custom_admin_view/details_rightside.php
+++ b/admin/layouts/custom_admin_view/details_rightside.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_rightside.php
diff --git a/admin/layouts/custom_admin_view/details_under.php b/admin/layouts/custom_admin_view/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/custom_admin_view/details_under.php
+++ b/admin/layouts/custom_admin_view/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/custom_admin_view/publishing.php b/admin/layouts/custom_admin_view/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/custom_admin_view/publishing.php
+++ b/admin/layouts/custom_admin_view/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/custom_admin_view/publlshing.php b/admin/layouts/custom_admin_view/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/custom_admin_view/publlshing.php
+++ b/admin/layouts/custom_admin_view/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/dynamic_get/abacus_fullwidth.php b/admin/layouts/dynamic_get/abacus_fullwidth.php
index 1122c8091..6d2518bb1 100644
--- a/admin/layouts/dynamic_get/abacus_fullwidth.php
+++ b/admin/layouts/dynamic_get/abacus_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage abacus_fullwidth.php
diff --git a/admin/layouts/dynamic_get/abacus_left.php b/admin/layouts/dynamic_get/abacus_left.php
index 55664c0fd..93e42c519 100644
--- a/admin/layouts/dynamic_get/abacus_left.php
+++ b/admin/layouts/dynamic_get/abacus_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage abacus_left.php
diff --git a/admin/layouts/dynamic_get/custom_script_fullwidth.php b/admin/layouts/dynamic_get/custom_script_fullwidth.php
index 1185040aa..d94ae6b38 100644
--- a/admin/layouts/dynamic_get/custom_script_fullwidth.php
+++ b/admin/layouts/dynamic_get/custom_script_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_script_fullwidth.php
diff --git a/admin/layouts/dynamic_get/gettable_above.php b/admin/layouts/dynamic_get/gettable_above.php
index 03017eec7..cb085a38f 100644
--- a/admin/layouts/dynamic_get/gettable_above.php
+++ b/admin/layouts/dynamic_get/gettable_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage gettable_above.php
diff --git a/admin/layouts/dynamic_get/gettable_fullwidth.php b/admin/layouts/dynamic_get/gettable_fullwidth.php
index d4455c5e8..f91c8a454 100644
--- a/admin/layouts/dynamic_get/gettable_fullwidth.php
+++ b/admin/layouts/dynamic_get/gettable_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage gettable_fullwidth.php
diff --git a/admin/layouts/dynamic_get/gettable_left.php b/admin/layouts/dynamic_get/gettable_left.php
index 1bcdc5410..31907ff39 100644
--- a/admin/layouts/dynamic_get/gettable_left.php
+++ b/admin/layouts/dynamic_get/gettable_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage gettable_left.php
diff --git a/admin/layouts/dynamic_get/gettable_right.php b/admin/layouts/dynamic_get/gettable_right.php
index b85710b58..6b75f5c83 100644
--- a/admin/layouts/dynamic_get/gettable_right.php
+++ b/admin/layouts/dynamic_get/gettable_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage gettable_right.php
diff --git a/admin/layouts/dynamic_get/gettable_under.php b/admin/layouts/dynamic_get/gettable_under.php
index 633c9bb5b..da1d6a864 100644
--- a/admin/layouts/dynamic_get/gettable_under.php
+++ b/admin/layouts/dynamic_get/gettable_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage gettable_under.php
diff --git a/admin/layouts/dynamic_get/publishing.php b/admin/layouts/dynamic_get/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/dynamic_get/publishing.php
+++ b/admin/layouts/dynamic_get/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/dynamic_get/publlshing.php b/admin/layouts/dynamic_get/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/dynamic_get/publlshing.php
+++ b/admin/layouts/dynamic_get/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/field/details_fullwidth.php b/admin/layouts/field/details_fullwidth.php
index 5f4be87fb..a4cf9f726 100644
--- a/admin/layouts/field/details_fullwidth.php
+++ b/admin/layouts/field/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/field/details_left.php b/admin/layouts/field/details_left.php
index cb90cdf99..33678fb41 100644
--- a/admin/layouts/field/details_left.php
+++ b/admin/layouts/field/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/field/details_right.php b/admin/layouts/field/details_right.php
index 1458dc76b..4de2cdf72 100644
--- a/admin/layouts/field/details_right.php
+++ b/admin/layouts/field/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/field/details_under.php b/admin/layouts/field/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/field/details_under.php
+++ b/admin/layouts/field/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/field/publishing.php b/admin/layouts/field/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/field/publishing.php
+++ b/admin/layouts/field/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/field/publlshing.php b/admin/layouts/field/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/field/publlshing.php
+++ b/admin/layouts/field/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/field/scripts_left.php b/admin/layouts/field/scripts_left.php
index 9c564d106..d0ace02ad 100644
--- a/admin/layouts/field/scripts_left.php
+++ b/admin/layouts/field/scripts_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage scripts_left.php
diff --git a/admin/layouts/field/scripts_right.php b/admin/layouts/field/scripts_right.php
index 9d1b548f7..bede0b5a5 100644
--- a/admin/layouts/field/scripts_right.php
+++ b/admin/layouts/field/scripts_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage scripts_right.php
diff --git a/admin/layouts/fieldtype/details_left.php b/admin/layouts/fieldtype/details_left.php
index 35e41558e..2f5ed4dfd 100644
--- a/admin/layouts/fieldtype/details_left.php
+++ b/admin/layouts/fieldtype/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/fieldtype/details_right.php b/admin/layouts/fieldtype/details_right.php
index e3ce56271..d718a580b 100644
--- a/admin/layouts/fieldtype/details_right.php
+++ b/admin/layouts/fieldtype/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php
index 125956f59..e37be3f91 100644
--- a/admin/layouts/fieldtype/fields_fullwidth.php
+++ b/admin/layouts/fieldtype/fields_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields_fullwidth.php
@@ -28,7 +28,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->vznfields;
+$items = $displayData->vzpfields;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
diff --git a/admin/layouts/fieldtype/publishing.php b/admin/layouts/fieldtype/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/fieldtype/publishing.php
+++ b/admin/layouts/fieldtype/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/fieldtype/publlshing.php b/admin/layouts/fieldtype/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/fieldtype/publlshing.php
+++ b/admin/layouts/fieldtype/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php
index b4e6889d0..e35f5e4d9 100644
--- a/admin/layouts/help_document/details_above.php
+++ b/admin/layouts/help_document/details_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php
diff --git a/admin/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php
index 94694b664..aed506bed 100644
--- a/admin/layouts/help_document/details_fullwidth.php
+++ b/admin/layouts/help_document/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php
index e43e0e2e3..cf827775b 100644
--- a/admin/layouts/help_document/details_left.php
+++ b/admin/layouts/help_document/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php
index 53654bf29..aed292fd0 100644
--- a/admin/layouts/help_document/details_right.php
+++ b/admin/layouts/help_document/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/help_document/details_under.php
+++ b/admin/layouts/help_document/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/help_document/publishing.php
+++ b/admin/layouts/help_document/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php
index 0fd0a95b4..6b004f7e0 100644
--- a/admin/layouts/help_document/publlshing.php
+++ b/admin/layouts/help_document/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/layout/custom_script_fullwidth.php b/admin/layouts/layout/custom_script_fullwidth.php
index 0329c6ca8..96a78ae9b 100644
--- a/admin/layouts/layout/custom_script_fullwidth.php
+++ b/admin/layouts/layout/custom_script_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_script_fullwidth.php
diff --git a/admin/layouts/layout/details_fullwidth.php b/admin/layouts/layout/details_fullwidth.php
index 62c66fadc..880c868df 100644
--- a/admin/layouts/layout/details_fullwidth.php
+++ b/admin/layouts/layout/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/layout/details_left.php b/admin/layouts/layout/details_left.php
index 10c0516ae..ae365b2cf 100644
--- a/admin/layouts/layout/details_left.php
+++ b/admin/layouts/layout/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/layout/details_right.php b/admin/layouts/layout/details_right.php
index c9925259d..01eab06e0 100644
--- a/admin/layouts/layout/details_right.php
+++ b/admin/layouts/layout/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/layout/details_rightside.php b/admin/layouts/layout/details_rightside.php
index 9837a0cef..823ee9f37 100644
--- a/admin/layouts/layout/details_rightside.php
+++ b/admin/layouts/layout/details_rightside.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_rightside.php
diff --git a/admin/layouts/layout/details_under.php b/admin/layouts/layout/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/layout/details_under.php
+++ b/admin/layouts/layout/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/layout/publishing.php b/admin/layouts/layout/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/layout/publishing.php
+++ b/admin/layouts/layout/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/layout/publlshing.php b/admin/layouts/layout/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/layout/publlshing.php
+++ b/admin/layouts/layout/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/site_view/custom_buttons_fullwidth.php b/admin/layouts/site_view/custom_buttons_fullwidth.php
index 5224d5e97..d32d78c8f 100644
--- a/admin/layouts/site_view/custom_buttons_fullwidth.php
+++ b/admin/layouts/site_view/custom_buttons_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_buttons_fullwidth.php
diff --git a/admin/layouts/site_view/details_above.php b/admin/layouts/site_view/details_above.php
index b3f38a625..0a1b0a111 100644
--- a/admin/layouts/site_view/details_above.php
+++ b/admin/layouts/site_view/details_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php
diff --git a/admin/layouts/site_view/details_fullwidth.php b/admin/layouts/site_view/details_fullwidth.php
index 53fa2ea7b..12765b6e8 100644
--- a/admin/layouts/site_view/details_fullwidth.php
+++ b/admin/layouts/site_view/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/site_view/details_left.php b/admin/layouts/site_view/details_left.php
index 10c0516ae..ae365b2cf 100644
--- a/admin/layouts/site_view/details_left.php
+++ b/admin/layouts/site_view/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/site_view/details_right.php b/admin/layouts/site_view/details_right.php
index c9925259d..01eab06e0 100644
--- a/admin/layouts/site_view/details_right.php
+++ b/admin/layouts/site_view/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/site_view/details_rightside.php b/admin/layouts/site_view/details_rightside.php
index 090d050c5..57ae40787 100644
--- a/admin/layouts/site_view/details_rightside.php
+++ b/admin/layouts/site_view/details_rightside.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_rightside.php
diff --git a/admin/layouts/site_view/details_under.php b/admin/layouts/site_view/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/site_view/details_under.php
+++ b/admin/layouts/site_view/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/layouts/site_view/javascript_css_fullwidth.php
index 89cd6c251..c4d704013 100644
--- a/admin/layouts/site_view/javascript_css_fullwidth.php
+++ b/admin/layouts/site_view/javascript_css_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage javascript_css_fullwidth.php
diff --git a/admin/layouts/site_view/php_fullwidth.php b/admin/layouts/site_view/php_fullwidth.php
index e1e150ee0..aae418a95 100644
--- a/admin/layouts/site_view/php_fullwidth.php
+++ b/admin/layouts/site_view/php_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage php_fullwidth.php
diff --git a/admin/layouts/site_view/publishing.php b/admin/layouts/site_view/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/site_view/publishing.php
+++ b/admin/layouts/site_view/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/site_view/publlshing.php b/admin/layouts/site_view/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/site_view/publlshing.php
+++ b/admin/layouts/site_view/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/snippet/details_above.php b/admin/layouts/snippet/details_above.php
index ec44877db..e05b4fab3 100644
--- a/admin/layouts/snippet/details_above.php
+++ b/admin/layouts/snippet/details_above.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_above.php
diff --git a/admin/layouts/snippet/details_left.php b/admin/layouts/snippet/details_left.php
index 6c674964e..d66591150 100644
--- a/admin/layouts/snippet/details_left.php
+++ b/admin/layouts/snippet/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/snippet/details_right.php b/admin/layouts/snippet/details_right.php
index 7fc3d0c00..85fce4b69 100644
--- a/admin/layouts/snippet/details_right.php
+++ b/admin/layouts/snippet/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/snippet/publishing.php b/admin/layouts/snippet/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/snippet/publishing.php
+++ b/admin/layouts/snippet/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/snippet/publlshing.php b/admin/layouts/snippet/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/snippet/publlshing.php
+++ b/admin/layouts/snippet/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/layouts/template/custom_script_fullwidth.php b/admin/layouts/template/custom_script_fullwidth.php
index 0329c6ca8..96a78ae9b 100644
--- a/admin/layouts/template/custom_script_fullwidth.php
+++ b/admin/layouts/template/custom_script_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_script_fullwidth.php
diff --git a/admin/layouts/template/details_fullwidth.php b/admin/layouts/template/details_fullwidth.php
index 85d3ff0fb..543ae83ca 100644
--- a/admin/layouts/template/details_fullwidth.php
+++ b/admin/layouts/template/details_fullwidth.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_fullwidth.php
diff --git a/admin/layouts/template/details_left.php b/admin/layouts/template/details_left.php
index 10c0516ae..ae365b2cf 100644
--- a/admin/layouts/template/details_left.php
+++ b/admin/layouts/template/details_left.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_left.php
diff --git a/admin/layouts/template/details_right.php b/admin/layouts/template/details_right.php
index c9925259d..01eab06e0 100644
--- a/admin/layouts/template/details_right.php
+++ b/admin/layouts/template/details_right.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_right.php
diff --git a/admin/layouts/template/details_rightside.php b/admin/layouts/template/details_rightside.php
index 9837a0cef..823ee9f37 100644
--- a/admin/layouts/template/details_rightside.php
+++ b/admin/layouts/template/details_rightside.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_rightside.php
diff --git a/admin/layouts/template/details_under.php b/admin/layouts/template/details_under.php
index 4a67090ef..f1578aa0c 100644
--- a/admin/layouts/template/details_under.php
+++ b/admin/layouts/template/details_under.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage details_under.php
diff --git a/admin/layouts/template/publishing.php b/admin/layouts/template/publishing.php
index 7ea478e76..dde6ccac3 100644
--- a/admin/layouts/template/publishing.php
+++ b/admin/layouts/template/publishing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publishing.php
diff --git a/admin/layouts/template/publlshing.php b/admin/layouts/template/publlshing.php
index 01448953a..f3ac7c8d3 100644
--- a/admin/layouts/template/publlshing.php
+++ b/admin/layouts/template/publlshing.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage publlshing.php
diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php
index 6aace1968..2f5f1acc1 100644
--- a/admin/models/admin_view.php
+++ b/admin/models/admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.php
@@ -275,7 +275,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.admin_view');
}
}
- $this->idvvvx = $item->addfields;
+ $this->idvvvy = $item->addfields;
return $item;
}
@@ -285,7 +285,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getVxrfields()
+ public function getVxtfields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -354,26 +354,26 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
- $item->datatype = $this->selectionTranslationVxrfields($item->datatype, 'datatype');
+ $item->datatype = $this->selectionTranslationVxtfields($item->datatype, 'datatype');
// convert indexes
- $item->indexes = $this->selectionTranslationVxrfields($item->indexes, 'indexes');
+ $item->indexes = $this->selectionTranslationVxtfields($item->indexes, 'indexes');
// convert null_switch
- $item->null_switch = $this->selectionTranslationVxrfields($item->null_switch, 'null_switch');
+ $item->null_switch = $this->selectionTranslationVxtfields($item->null_switch, 'null_switch');
// convert store
- $item->store = $this->selectionTranslationVxrfields($item->store, 'store');
+ $item->store = $this->selectionTranslationVxtfields($item->store, 'store');
}
}
// Filter by id Repetable Field
- $idvvvx = json_decode($this->idvvvx,true);
- if (ComponentbuilderHelper::checkArray($items) && isset($idvvvx) && ComponentbuilderHelper::checkArray($idvvvx))
+ $idvvvy = json_decode($this->idvvvy,true);
+ if (ComponentbuilderHelper::checkArray($items) && isset($idvvvy) && ComponentbuilderHelper::checkArray($idvvvy))
{
foreach ($items as $nr => &$item)
{
- if ($item->id && isset($idvvvx['field']) && ComponentbuilderHelper::checkArray($idvvvx['field']))
+ if ($item->id && isset($idvvvy['field']) && ComponentbuilderHelper::checkArray($idvvvy['field']))
{
- if (!in_array($item->id,$idvvvx['field']))
+ if (!in_array($item->id,$idvvvy['field']))
{
unset($items[$nr]);
continue;
@@ -395,7 +395,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
*
* @return translatable string
*/
- public function selectionTranslationVxrfields($value,$name)
+ public function selectionTranslationVxtfields($value,$name)
{
// Array of datatype language strings
if ($name == 'datatype')
diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php
index e7581a2a0..6f730047a 100644
--- a/admin/models/admin_views.php
+++ b/admin/models/admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_views.php
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index dd97a6e36..5e9ed253b 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage ajax.php
@@ -1441,33 +1441,8 @@ class ComponentbuilderModelAjax extends JModelList
// Used in field
public function getFieldOptions($id)
{
- // Get a db connection.
- $db = JFactory::getDbo();
-
- // Create a new query object.
- $query = $db->getQuery(true);
- $query->select($db->quoteName(array('properties', 'short_description', 'description')));
- $query->from($db->quoteName('#__componentbuilder_fieldtype'));
- $query->where($db->quoteName('published') . ' = 1');
- $query->where($db->quoteName('id') . ' = '. $id);
-
- // Reset the query using our newly populated query object.
- $db->setQuery($query);
- $db->execute();
- if ($db->getNumRows())
+ if ($field = ComponentbuilderHelper::getFieldOptions($id, 'id'))
{
- $result = $db->loadObject();
- $properties = json_decode($result->properties,true);
- $pointer = 0;
- $field = array('values' => " '', 'short_description' => $result->short_description, 'description' => $result->description);
- foreach ($properties['name'] as $line)
- {
- $field['values_description'] .= '- '.$properties['name'][$pointer].' '.$properties['description'][$pointer].'
';
- $field['values'] .= "\n\t".$properties['name'][$pointer].'="'.$properties['example'][$pointer].'" ';
- $pointer++;
- }
- $field['values'] .= "\n/>";
- $field['values_description'] .= '
';
// return found field options
return $field;
}
diff --git a/admin/models/compiler.php b/admin/models/compiler.php
index 874248882..b8b06e587 100644
--- a/admin/models/compiler.php
+++ b/admin/models/compiler.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage compiler.php
diff --git a/admin/models/component.php b/admin/models/component.php
index 9c270fe01..5f2f64c76 100644
--- a/admin/models/component.php
+++ b/admin/models/component.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.php
@@ -95,88 +95,94 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->metadata = $registry->toArray();
}
- if (!empty($item->php_helper_admin))
- {
- // base64 Decode php_helper_admin.
- $item->php_helper_admin = base64_decode($item->php_helper_admin);
- }
-
- if (!empty($item->sql))
- {
- // base64 Decode sql.
- $item->sql = base64_decode($item->sql);
- }
-
- if (!empty($item->php_helper_site))
- {
- // base64 Decode php_helper_site.
- $item->php_helper_site = base64_decode($item->php_helper_site);
- }
-
- if (!empty($item->php_helper_both))
- {
- // base64 Decode php_helper_both.
- $item->php_helper_both = base64_decode($item->php_helper_both);
- }
-
- if (!empty($item->php_admin_event))
- {
- // base64 Decode php_admin_event.
- $item->php_admin_event = base64_decode($item->php_admin_event);
- }
-
- if (!empty($item->php_site_event))
- {
- // base64 Decode php_site_event.
- $item->php_site_event = base64_decode($item->php_site_event);
- }
-
- if (!empty($item->php_dashboard_methods))
- {
- // base64 Decode php_dashboard_methods.
- $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods);
- }
-
if (!empty($item->css))
{
// base64 Decode css.
$item->css = base64_decode($item->css);
}
- if (!empty($item->php_preflight_install))
- {
- // base64 Decode php_preflight_install.
- $item->php_preflight_install = base64_decode($item->php_preflight_install);
- }
-
if (!empty($item->php_preflight_update))
{
// base64 Decode php_preflight_update.
$item->php_preflight_update = base64_decode($item->php_preflight_update);
}
- if (!empty($item->php_postflight_install))
- {
- // base64 Decode php_postflight_install.
- $item->php_postflight_install = base64_decode($item->php_postflight_install);
- }
-
if (!empty($item->php_postflight_update))
{
// base64 Decode php_postflight_update.
$item->php_postflight_update = base64_decode($item->php_postflight_update);
}
+ if (!empty($item->readme))
+ {
+ // base64 Decode readme.
+ $item->readme = base64_decode($item->readme);
+ }
+
+ if (!empty($item->php_preflight_install))
+ {
+ // base64 Decode php_preflight_install.
+ $item->php_preflight_install = base64_decode($item->php_preflight_install);
+ }
+
+ if (!empty($item->php_postflight_install))
+ {
+ // base64 Decode php_postflight_install.
+ $item->php_postflight_install = base64_decode($item->php_postflight_install);
+ }
+
if (!empty($item->php_method_uninstall))
{
// base64 Decode php_method_uninstall.
$item->php_method_uninstall = base64_decode($item->php_method_uninstall);
}
- if (!empty($item->readme))
+ if (!empty($item->php_helper_both))
{
- // base64 Decode readme.
- $item->readme = base64_decode($item->readme);
+ // base64 Decode php_helper_both.
+ $item->php_helper_both = base64_decode($item->php_helper_both);
+ }
+
+ if (!empty($item->php_helper_admin))
+ {
+ // base64 Decode php_helper_admin.
+ $item->php_helper_admin = base64_decode($item->php_helper_admin);
+ }
+
+ if (!empty($item->php_admin_event))
+ {
+ // base64 Decode php_admin_event.
+ $item->php_admin_event = base64_decode($item->php_admin_event);
+ }
+
+ if (!empty($item->php_helper_site))
+ {
+ // base64 Decode php_helper_site.
+ $item->php_helper_site = base64_decode($item->php_helper_site);
+ }
+
+ if (!empty($item->php_site_event))
+ {
+ // base64 Decode php_site_event.
+ $item->php_site_event = base64_decode($item->php_site_event);
+ }
+
+ if (!empty($item->sql))
+ {
+ // base64 Decode sql.
+ $item->sql = base64_decode($item->sql);
+ }
+
+ if (!empty($item->php_dashboard_methods))
+ {
+ // base64 Decode php_dashboard_methods.
+ $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods);
+ }
+
+ if (!empty($item->buildcompsql))
+ {
+ // base64 Decode buildcompsql.
+ $item->buildcompsql = base64_decode($item->buildcompsql);
}
// Get the basic encription.
@@ -190,16 +196,16 @@ class ComponentbuilderModelComponent extends JModelAdmin
$item->update_server_ftp = rtrim($basic->decryptString($item->update_server_ftp), "\0");
}
- if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
- {
- // basic decript data whmcs_key.
- $item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0");
- }
-
if (!empty($item->sales_server_ftp) && $basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true)))
{
// basic decript data sales_server_ftp.
$item->sales_server_ftp = rtrim($basic->decryptString($item->sales_server_ftp), "\0");
+ }
+
+ if (!empty($item->whmcs_key) && $basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
+ {
+ // basic decript data whmcs_key.
+ $item->whmcs_key = rtrim($basic->decryptString($item->whmcs_key), "\0");
}
if (!empty($item->id))
@@ -209,7 +215,8 @@ class ComponentbuilderModelComponent extends JModelAdmin
}
}
$this->idvvvv = $item->addadmin_views;
- $this->idvvvw = $item->addsite_views;
+ $this->idvvvw = $item->addcustom_admin_views;
+ $this->idvvvx = $item->addsite_views;
return $item;
}
@@ -219,7 +226,7 @@ class ComponentbuilderModelComponent extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getVwladmin_views()
+ public function getVwmadmin_views()
{
// Get the user object.
$user = JFactory::getUser();
@@ -306,7 +313,98 @@ class ComponentbuilderModelComponent extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getVwmsite_views()
+ public function getVwncustom_admin_views()
+ {
+ // Get the user object.
+ $user = JFactory::getUser();
+ // Create a new query object.
+ $db = JFactory::getDBO();
+ $query = $db->getQuery(true);
+
+ // Select some fields
+ $query->select('a.*');
+
+ // From the componentbuilder_custom_admin_view table
+ $query->from($db->quoteName('#__componentbuilder_custom_admin_view', 'a'));
+
+ // From the componentbuilder_snippet table.
+ $query->select($db->quoteName('g.name','snippet_name'));
+ $query->join('LEFT', $db->quoteName('#__componentbuilder_snippet', 'g') . ' ON (' . $db->quoteName('a.snippet') . ' = ' . $db->quoteName('g.id') . ')');
+
+ // Join over the asset groups.
+ $query->select('ag.title AS access_level');
+ $query->join('LEFT', '#__viewlevels AS ag ON ag.id = a.access');
+ // Filter by access level.
+ if ($access = $this->getState('filter.access'))
+ {
+ $query->where('a.access = ' . (int) $access);
+ }
+ // Implement View Level Access
+ if (!$user->authorise('core.options', 'com_componentbuilder'))
+ {
+ $groups = implode(',', $user->getAuthorisedViewLevels());
+ $query->where('a.access IN (' . $groups . ')');
+ }
+
+ // Order the results by ordering
+ $query->order('a.published ASC');
+ $query->order('a.ordering ASC');
+
+ // Load the items
+ $db->setQuery($query);
+ $db->execute();
+ if ($db->getNumRows())
+ {
+ $items = $db->loadObjectList();
+
+ // set values to display correctly.
+ if (ComponentbuilderHelper::checkArray($items))
+ {
+ // get user object.
+ $user = JFactory::getUser();
+ foreach ($items as $nr => &$item)
+ {
+ $access = ($user->authorise('custom_admin_view.access', 'com_componentbuilder.custom_admin_view.' . (int) $item->id) && $user->authorise('custom_admin_view.access', 'com_componentbuilder'));
+ if (!$access)
+ {
+ unset($items[$nr]);
+ continue;
+ }
+
+ }
+ }
+
+ // Filter by id Repetable Field
+ $idvvvw = json_decode($this->idvvvw,true);
+ if (ComponentbuilderHelper::checkArray($items) && isset($idvvvw) && ComponentbuilderHelper::checkArray($idvvvw))
+ {
+ foreach ($items as $nr => &$item)
+ {
+ if ($item->id && isset($idvvvw['customadminview']) && ComponentbuilderHelper::checkArray($idvvvw['customadminview']))
+ {
+ if (!in_array($item->id,$idvvvw['customadminview']))
+ {
+ unset($items[$nr]);
+ continue;
+ }
+ }
+ }
+ }
+ else
+ {
+ return false;
+ }
+ return $items;
+ }
+ return false;
+ }
+
+ /**
+ * Method to get list data.
+ *
+ * @return mixed An array of data items on success, false on failure.
+ */
+ public function getVwosite_views()
{
// Get the user object.
$user = JFactory::getUser();
@@ -368,14 +466,14 @@ class ComponentbuilderModelComponent extends JModelAdmin
}
// Filter by id Repetable Field
- $idvvvw = json_decode($this->idvvvw,true);
- if (ComponentbuilderHelper::checkArray($items) && isset($idvvvw) && ComponentbuilderHelper::checkArray($idvvvw))
+ $idvvvx = json_decode($this->idvvvx,true);
+ if (ComponentbuilderHelper::checkArray($items) && isset($idvvvx) && ComponentbuilderHelper::checkArray($idvvvx))
{
foreach ($items as $nr => &$item)
{
- if ($item->id && isset($idvvvw['siteview']) && ComponentbuilderHelper::checkArray($idvvvw['siteview']))
+ if ($item->id && isset($idvvvx['siteview']) && ComponentbuilderHelper::checkArray($idvvvx['siteview']))
{
- if (!in_array($item->id,$idvvvw['siteview']))
+ if (!in_array($item->id,$idvvvx['siteview']))
{
unset($items[$nr]);
continue;
@@ -1104,88 +1202,94 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['metadata'] = (string) $metadata;
}
- // Set the php_helper_admin string to base64 string.
- if (isset($data['php_helper_admin']))
- {
- $data['php_helper_admin'] = base64_encode($data['php_helper_admin']);
- }
-
- // Set the sql string to base64 string.
- if (isset($data['sql']))
- {
- $data['sql'] = base64_encode($data['sql']);
- }
-
- // Set the php_helper_site string to base64 string.
- if (isset($data['php_helper_site']))
- {
- $data['php_helper_site'] = base64_encode($data['php_helper_site']);
- }
-
- // Set the php_helper_both string to base64 string.
- if (isset($data['php_helper_both']))
- {
- $data['php_helper_both'] = base64_encode($data['php_helper_both']);
- }
-
- // Set the php_admin_event string to base64 string.
- if (isset($data['php_admin_event']))
- {
- $data['php_admin_event'] = base64_encode($data['php_admin_event']);
- }
-
- // Set the php_site_event string to base64 string.
- if (isset($data['php_site_event']))
- {
- $data['php_site_event'] = base64_encode($data['php_site_event']);
- }
-
- // Set the php_dashboard_methods string to base64 string.
- if (isset($data['php_dashboard_methods']))
- {
- $data['php_dashboard_methods'] = base64_encode($data['php_dashboard_methods']);
- }
-
// Set the css string to base64 string.
if (isset($data['css']))
{
$data['css'] = base64_encode($data['css']);
}
- // Set the php_preflight_install string to base64 string.
- if (isset($data['php_preflight_install']))
- {
- $data['php_preflight_install'] = base64_encode($data['php_preflight_install']);
- }
-
// Set the php_preflight_update string to base64 string.
if (isset($data['php_preflight_update']))
{
$data['php_preflight_update'] = base64_encode($data['php_preflight_update']);
}
- // Set the php_postflight_install string to base64 string.
- if (isset($data['php_postflight_install']))
- {
- $data['php_postflight_install'] = base64_encode($data['php_postflight_install']);
- }
-
// Set the php_postflight_update string to base64 string.
if (isset($data['php_postflight_update']))
{
$data['php_postflight_update'] = base64_encode($data['php_postflight_update']);
}
+ // Set the readme string to base64 string.
+ if (isset($data['readme']))
+ {
+ $data['readme'] = base64_encode($data['readme']);
+ }
+
+ // Set the php_preflight_install string to base64 string.
+ if (isset($data['php_preflight_install']))
+ {
+ $data['php_preflight_install'] = base64_encode($data['php_preflight_install']);
+ }
+
+ // Set the php_postflight_install string to base64 string.
+ if (isset($data['php_postflight_install']))
+ {
+ $data['php_postflight_install'] = base64_encode($data['php_postflight_install']);
+ }
+
// Set the php_method_uninstall string to base64 string.
if (isset($data['php_method_uninstall']))
{
$data['php_method_uninstall'] = base64_encode($data['php_method_uninstall']);
}
- // Set the readme string to base64 string.
- if (isset($data['readme']))
+ // Set the php_helper_both string to base64 string.
+ if (isset($data['php_helper_both']))
{
- $data['readme'] = base64_encode($data['readme']);
+ $data['php_helper_both'] = base64_encode($data['php_helper_both']);
+ }
+
+ // Set the php_helper_admin string to base64 string.
+ if (isset($data['php_helper_admin']))
+ {
+ $data['php_helper_admin'] = base64_encode($data['php_helper_admin']);
+ }
+
+ // Set the php_admin_event string to base64 string.
+ if (isset($data['php_admin_event']))
+ {
+ $data['php_admin_event'] = base64_encode($data['php_admin_event']);
+ }
+
+ // Set the php_helper_site string to base64 string.
+ if (isset($data['php_helper_site']))
+ {
+ $data['php_helper_site'] = base64_encode($data['php_helper_site']);
+ }
+
+ // Set the php_site_event string to base64 string.
+ if (isset($data['php_site_event']))
+ {
+ $data['php_site_event'] = base64_encode($data['php_site_event']);
+ }
+
+ // Set the sql string to base64 string.
+ if (isset($data['sql']))
+ {
+ $data['sql'] = base64_encode($data['sql']);
+ }
+
+ // Set the php_dashboard_methods string to base64 string.
+ if (isset($data['php_dashboard_methods']))
+ {
+ $data['php_dashboard_methods'] = base64_encode($data['php_dashboard_methods']);
+ }
+
+ // Set the buildcompsql string to base64 string.
+ if (isset($data['buildcompsql']))
+ {
+ $data['buildcompsql'] = base64_encode($data['buildcompsql']);
}
// Get the basic encription key.
@@ -1199,17 +1303,20 @@ class ComponentbuilderModelComponent extends JModelAdmin
$data['update_server_ftp'] = $basic->encryptString($data['update_server_ftp']);
}
+ // Encript data sales_server_ftp.
+ if (isset($data['sales_server_ftp']) && $basickey)
+ {
+ $data['sales_server_ftp'] = $basic->encryptString($data['sales_server_ftp']);
+ }
+
// Encript data whmcs_key.
if (isset($data['whmcs_key']) && $basickey)
{
$data['whmcs_key'] = $basic->encryptString($data['whmcs_key']);
}
- // Encript data sales_server_ftp.
- if (isset($data['sales_server_ftp']) && $basickey)
- {
- $data['sales_server_ftp'] = $basic->encryptString($data['sales_server_ftp']);
- }
+ // we check if component should be build from sql file
+ ComponentbuilderHelper::dynamicBuilder($data, 1);
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))
diff --git a/admin/models/componentbuilder.php b/admin/models/componentbuilder.php
index b59dccdc6..c81bb2f02 100644
--- a/admin/models/componentbuilder.php
+++ b/admin/models/componentbuilder.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php
diff --git a/admin/models/components.php b/admin/models/components.php
index 5e7f1e923..92e35ea03 100644
--- a/admin/models/components.php
+++ b/admin/models/components.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage components.php
@@ -259,42 +259,17 @@ class ComponentbuilderModelComponents extends JModelList
{
foreach ($items as $nr => &$item)
{
- // decode php_helper_admin
- $item->php_helper_admin = base64_decode($item->php_helper_admin);
- // decode sql
- $item->sql = base64_decode($item->sql);
if ($basickey && !is_numeric($item->update_server_ftp) && $item->update_server_ftp === base64_encode(base64_decode($item->update_server_ftp, true)))
{
// decrypt update_server_ftp
$item->update_server_ftp = $basic->decryptString($item->update_server_ftp);
}
- // decode php_helper_site
- $item->php_helper_site = base64_decode($item->php_helper_site);
- // decode php_helper_both
- $item->php_helper_both = base64_decode($item->php_helper_both);
- // decode php_admin_event
- $item->php_admin_event = base64_decode($item->php_admin_event);
- // decode php_site_event
- $item->php_site_event = base64_decode($item->php_site_event);
- // decode php_dashboard_methods
- $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods);
- if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
- {
- // decrypt whmcs_key
- $item->whmcs_key = $basic->decryptString($item->whmcs_key);
- }
// decode css
$item->css = base64_decode($item->css);
- // decode php_preflight_install
- $item->php_preflight_install = base64_decode($item->php_preflight_install);
// decode php_preflight_update
$item->php_preflight_update = base64_decode($item->php_preflight_update);
- // decode php_postflight_install
- $item->php_postflight_install = base64_decode($item->php_postflight_install);
// decode php_postflight_update
$item->php_postflight_update = base64_decode($item->php_postflight_update);
- // decode php_method_uninstall
- $item->php_method_uninstall = base64_decode($item->php_method_uninstall);
// decode readme
$item->readme = base64_decode($item->readme);
if ($basickey && !is_numeric($item->sales_server_ftp) && $item->sales_server_ftp === base64_encode(base64_decode($item->sales_server_ftp, true)))
@@ -302,6 +277,33 @@ class ComponentbuilderModelComponents extends JModelList
// decrypt sales_server_ftp
$item->sales_server_ftp = $basic->decryptString($item->sales_server_ftp);
}
+ // decode php_preflight_install
+ $item->php_preflight_install = base64_decode($item->php_preflight_install);
+ // decode php_postflight_install
+ $item->php_postflight_install = base64_decode($item->php_postflight_install);
+ // decode php_method_uninstall
+ $item->php_method_uninstall = base64_decode($item->php_method_uninstall);
+ if ($basickey && !is_numeric($item->whmcs_key) && $item->whmcs_key === base64_encode(base64_decode($item->whmcs_key, true)))
+ {
+ // decrypt whmcs_key
+ $item->whmcs_key = $basic->decryptString($item->whmcs_key);
+ }
+ // decode php_helper_both
+ $item->php_helper_both = base64_decode($item->php_helper_both);
+ // decode php_helper_admin
+ $item->php_helper_admin = base64_decode($item->php_helper_admin);
+ // decode php_admin_event
+ $item->php_admin_event = base64_decode($item->php_admin_event);
+ // decode php_helper_site
+ $item->php_helper_site = base64_decode($item->php_helper_site);
+ // decode php_site_event
+ $item->php_site_event = base64_decode($item->php_site_event);
+ // decode sql
+ $item->sql = base64_decode($item->sql);
+ // decode php_dashboard_methods
+ $item->php_dashboard_methods = base64_decode($item->php_dashboard_methods);
+ // decode buildcompsql
+ $item->buildcompsql = base64_decode($item->buildcompsql);
// unset the values we don't want exported.
unset($item->asset_id);
unset($item->checked_out);
diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php
index 43ba5c576..93c4c4dd2 100644
--- a/admin/models/custom_admin_view.php
+++ b/admin/models/custom_admin_view.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_view.php
diff --git a/admin/models/custom_admin_views.php b/admin/models/custom_admin_views.php
index 1d37b8512..dba0149a1 100644
--- a/admin/models/custom_admin_views.php
+++ b/admin/models/custom_admin_views.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage custom_admin_views.php
diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php
index 59acf4393..752686dd8 100644
--- a/admin/models/dynamic_get.php
+++ b/admin/models/dynamic_get.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_get.php
diff --git a/admin/models/dynamic_gets.php b/admin/models/dynamic_gets.php
index c2f25d216..acb136bb4 100644
--- a/admin/models/dynamic_gets.php
+++ b/admin/models/dynamic_gets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamic_gets.php
diff --git a/admin/models/field.php b/admin/models/field.php
index 2061f5f52..131d5d66c 100644
--- a/admin/models/field.php
+++ b/admin/models/field.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage field.php
diff --git a/admin/models/fields.php b/admin/models/fields.php
index 4d9650248..ce7d2240b 100644
--- a/admin/models/fields.php
+++ b/admin/models/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/models/fields/adminviewfolderlist.php b/admin/models/fields/adminviewfolderlist.php
index 5ac2d1bb0..33e2ae890 100644
--- a/admin/models/fields/adminviewfolderlist.php
+++ b/admin/models/fields/adminviewfolderlist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage adminviewfolderlist.php
diff --git a/admin/models/fields/adminviews.php b/admin/models/fields/adminviews.php
index 931916ef1..60664caa7 100644
--- a/admin/models/fields/adminviews.php
+++ b/admin/models/fields/adminviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage adminviews.php
diff --git a/admin/models/fields/articles.php b/admin/models/fields/articles.php
index 65a2ce101..681295857 100644
--- a/admin/models/fields/articles.php
+++ b/admin/models/fields/articles.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage articles.php
diff --git a/admin/models/fields/customadminviews.php b/admin/models/fields/customadminviews.php
index 93c51aac1..be46b027c 100644
--- a/admin/models/fields/customadminviews.php
+++ b/admin/models/fields/customadminviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customadminviews.php
diff --git a/admin/models/fields/customfilelist.php b/admin/models/fields/customfilelist.php
index ba4cb24b8..7057273ea 100644
--- a/admin/models/fields/customfilelist.php
+++ b/admin/models/fields/customfilelist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfilelist.php
diff --git a/admin/models/fields/customfolderlist.php b/admin/models/fields/customfolderlist.php
index 35f58d685..039373971 100644
--- a/admin/models/fields/customfolderlist.php
+++ b/admin/models/fields/customfolderlist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customfolderlist.php
diff --git a/admin/models/fields/customgets.php b/admin/models/fields/customgets.php
index 5cbcc4ad4..ff81c98e5 100644
--- a/admin/models/fields/customgets.php
+++ b/admin/models/fields/customgets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage customgets.php
diff --git a/admin/models/fields/dbtables.php b/admin/models/fields/dbtables.php
index dba98401c..39a1db325 100644
--- a/admin/models/fields/dbtables.php
+++ b/admin/models/fields/dbtables.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dbtables.php
diff --git a/admin/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php
index 04e1fb6d8..60a352370 100644
--- a/admin/models/fields/dynamicgets.php
+++ b/admin/models/fields/dynamicgets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage dynamicgets.php
diff --git a/admin/models/fields/fields.php b/admin/models/fields/fields.php
index 4bedbe2d4..36ae441dc 100644
--- a/admin/models/fields/fields.php
+++ b/admin/models/fields/fields.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fields.php
diff --git a/admin/models/fields/fieldsmulti.php b/admin/models/fields/fieldsmulti.php
index 95b5f437e..06d4193ef 100644
--- a/admin/models/fields/fieldsmulti.php
+++ b/admin/models/fields/fieldsmulti.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldsmulti.php
diff --git a/admin/models/fields/fieldtypes.php b/admin/models/fields/fieldtypes.php
index 87ece3130..748f4bb1e 100644
--- a/admin/models/fields/fieldtypes.php
+++ b/admin/models/fields/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php
index be9bac2f8..5847b015e 100644
--- a/admin/models/fields/maingets.php
+++ b/admin/models/fields/maingets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage maingets.php
diff --git a/admin/models/fields/siteviewfolderlist.php b/admin/models/fields/siteviewfolderlist.php
index 8bab66122..7fd04697c 100644
--- a/admin/models/fields/siteviewfolderlist.php
+++ b/admin/models/fields/siteviewfolderlist.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage siteviewfolderlist.php
diff --git a/admin/models/fields/siteviews.php b/admin/models/fields/siteviews.php
index ba928c3cb..35257c142 100644
--- a/admin/models/fields/siteviews.php
+++ b/admin/models/fields/siteviews.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage siteviews.php
diff --git a/admin/models/fields/snippets.php b/admin/models/fields/snippets.php
index 5dc68a30f..ed6da5c69 100644
--- a/admin/models/fields/snippets.php
+++ b/admin/models/fields/snippets.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage snippets.php
diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php
index 9e22dfc7d..00a948589 100644
--- a/admin/models/fieldtype.php
+++ b/admin/models/fieldtype.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtype.php
@@ -101,7 +101,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$item->tags->getTagIds($item->id, 'com_componentbuilder.fieldtype');
}
}
- $this->fieldtypevvvy = $item->id;
+ $this->fieldtypevvvz = $item->id;
return $item;
}
@@ -111,7 +111,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getVznfields()
+ public function getVzpfields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -131,15 +131,15 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$query->select($db->quoteName('g.name','fieldtype_name'));
$query->join('LEFT', $db->quoteName('#__componentbuilder_fieldtype', 'g') . ' ON (' . $db->quoteName('a.fieldtype') . ' = ' . $db->quoteName('g.id') . ')');
- // Filter by fieldtypevvvy global.
- $fieldtypevvvy = $this->fieldtypevvvy;
- if (is_numeric($fieldtypevvvy ))
+ // Filter by fieldtypevvvz global.
+ $fieldtypevvvz = $this->fieldtypevvvz;
+ if (is_numeric($fieldtypevvvz ))
{
- $query->where('a.fieldtype = ' . (int) $fieldtypevvvy );
+ $query->where('a.fieldtype = ' . (int) $fieldtypevvvz );
}
- elseif (is_string($fieldtypevvvy))
+ elseif (is_string($fieldtypevvvz))
{
- $query->where('a.fieldtype = ' . $db->quote($fieldtypevvvy));
+ $query->where('a.fieldtype = ' . $db->quote($fieldtypevvvz));
}
else
{
@@ -195,13 +195,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
- $item->datatype = $this->selectionTranslationVznfields($item->datatype, 'datatype');
+ $item->datatype = $this->selectionTranslationVzpfields($item->datatype, 'datatype');
// convert indexes
- $item->indexes = $this->selectionTranslationVznfields($item->indexes, 'indexes');
+ $item->indexes = $this->selectionTranslationVzpfields($item->indexes, 'indexes');
// convert null_switch
- $item->null_switch = $this->selectionTranslationVznfields($item->null_switch, 'null_switch');
+ $item->null_switch = $this->selectionTranslationVzpfields($item->null_switch, 'null_switch');
// convert store
- $item->store = $this->selectionTranslationVznfields($item->store, 'store');
+ $item->store = $this->selectionTranslationVzpfields($item->store, 'store');
}
}
@@ -215,7 +215,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return translatable string
*/
- public function selectionTranslationVznfields($value,$name)
+ public function selectionTranslationVzpfields($value,$name)
{
// Array of datatype language strings
if ($name == 'datatype')
diff --git a/admin/models/fieldtypes.php b/admin/models/fieldtypes.php
index 3fab54bab..482f84ed0 100644
--- a/admin/models/fieldtypes.php
+++ b/admin/models/fieldtypes.php
@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage fieldtypes.php
diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js
index c017fb2e2..fbadeaeb8 100644
--- a/admin/models/forms/admin_view.js
+++ b/admin/models/forms/admin_view.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage admin_view.js
@@ -23,325 +23,325 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
-jform_vvvvvwvvwn_required = false;
-jform_vvvvvwwvwo_required = false;
-jform_vvvvvwxvwp_required = false;
-jform_vvvvvwyvwq_required = false;
-jform_vvvvvwzvwr_required = false;
-jform_vvvvvxavws_required = false;
-jform_vvvvvxbvwt_required = false;
-jform_vvvvvxcvwu_required = false;
-jform_vvvvvxdvwv_required = false;
-jform_vvvvvxevww_required = false;
-jform_vvvvvxfvwx_required = false;
-jform_vvvvvxgvwy_required = false;
-jform_vvvvvxhvwz_required = false;
-jform_vvvvvxivxa_required = false;
-jform_vvvvvxjvxb_required = false;
-jform_vvvvvxkvxc_required = false;
-jform_vvvvvxlvxd_required = false;
-jform_vvvvvxmvxe_required = false;
-jform_vvvvvxnvxf_required = false;
-jform_vvvvvxovxg_required = false;
-jform_vvvvvxpvxh_required = false;
-jform_vvvvvxqvxi_required = false;
-jform_vvvvvxrvxj_required = false;
-jform_vvvvvxvvxk_required = false;
-jform_vvvvvxvvxl_required = false;
-jform_vvvvvxvvxm_required = false;
-jform_vvvvvxvvxn_required = false;
-jform_vvvvvxvvxo_required = false;
-jform_vvvvvxxvxp_required = false;
-jform_vvvvvxxvxq_required = false;
+jform_vvvvvwwvwp_required = false;
+jform_vvvvvwxvwq_required = false;
+jform_vvvvvwyvwr_required = false;
+jform_vvvvvwzvws_required = false;
+jform_vvvvvxavwt_required = false;
+jform_vvvvvxbvwu_required = false;
+jform_vvvvvxcvwv_required = false;
+jform_vvvvvxdvww_required = false;
+jform_vvvvvxevwx_required = false;
+jform_vvvvvxfvwy_required = false;
+jform_vvvvvxgvwz_required = false;
+jform_vvvvvxhvxa_required = false;
+jform_vvvvvxivxb_required = false;
+jform_vvvvvxjvxc_required = false;
+jform_vvvvvxkvxd_required = false;
+jform_vvvvvxlvxe_required = false;
+jform_vvvvvxmvxf_required = false;
+jform_vvvvvxnvxg_required = false;
+jform_vvvvvxovxh_required = false;
+jform_vvvvvxpvxi_required = false;
+jform_vvvvvxqvxj_required = false;
+jform_vvvvvxrvxk_required = false;
+jform_vvvvvxsvxl_required = false;
+jform_vvvvvxwvxm_required = false;
+jform_vvvvvxwvxn_required = false;
+jform_vvvvvxwvxo_required = false;
+jform_vvvvvxwvxp_required = false;
+jform_vvvvvxwvxq_required = false;
+jform_vvvvvxyvxr_required = false;
+jform_vvvvvxyvxs_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var add_css_view_vvvvvwv = jQuery("#jform_add_css_view input[type='radio']:checked").val();
- vvvvvwv(add_css_view_vvvvvwv);
+ var add_css_view_vvvvvww = jQuery("#jform_add_css_view input[type='radio']:checked").val();
+ vvvvvww(add_css_view_vvvvvww);
- var add_css_views_vvvvvww = jQuery("#jform_add_css_views input[type='radio']:checked").val();
- vvvvvww(add_css_views_vvvvvww);
+ var add_css_views_vvvvvwx = jQuery("#jform_add_css_views input[type='radio']:checked").val();
+ vvvvvwx(add_css_views_vvvvvwx);
- var add_javascript_view_file_vvvvvwx = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
- vvvvvwx(add_javascript_view_file_vvvvvwx);
+ var add_javascript_view_file_vvvvvwy = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
+ vvvvvwy(add_javascript_view_file_vvvvvwy);
- var add_javascript_views_file_vvvvvwy = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
- vvvvvwy(add_javascript_views_file_vvvvvwy);
+ var add_javascript_views_file_vvvvvwz = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
+ vvvvvwz(add_javascript_views_file_vvvvvwz);
- var add_javascript_view_footer_vvvvvwz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
- vvvvvwz(add_javascript_view_footer_vvvvvwz);
+ var add_javascript_view_footer_vvvvvxa = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
+ vvvvvxa(add_javascript_view_footer_vvvvvxa);
- var add_javascript_views_footer_vvvvvxa = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
- vvvvvxa(add_javascript_views_footer_vvvvvxa);
+ var add_javascript_views_footer_vvvvvxb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
+ vvvvvxb(add_javascript_views_footer_vvvvvxb);
- var add_php_ajax_vvvvvxb = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
- vvvvvxb(add_php_ajax_vvvvvxb);
+ var add_php_ajax_vvvvvxc = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
+ vvvvvxc(add_php_ajax_vvvvvxc);
- var add_php_getitem_vvvvvxc = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
- vvvvvxc(add_php_getitem_vvvvvxc);
+ var add_php_getitem_vvvvvxd = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
+ vvvvvxd(add_php_getitem_vvvvvxd);
- var add_php_getitems_vvvvvxd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
- vvvvvxd(add_php_getitems_vvvvvxd);
+ var add_php_getitems_vvvvvxe = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
+ vvvvvxe(add_php_getitems_vvvvvxe);
- var add_php_getitems_after_all_vvvvvxe = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
- vvvvvxe(add_php_getitems_after_all_vvvvvxe);
+ var add_php_getitems_after_all_vvvvvxf = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
+ vvvvvxf(add_php_getitems_after_all_vvvvvxf);
- var add_php_getlistquery_vvvvvxf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
- vvvvvxf(add_php_getlistquery_vvvvvxf);
+ var add_php_getlistquery_vvvvvxg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
+ vvvvvxg(add_php_getlistquery_vvvvvxg);
- var add_php_save_vvvvvxg = jQuery("#jform_add_php_save input[type='radio']:checked").val();
- vvvvvxg(add_php_save_vvvvvxg);
+ var add_php_save_vvvvvxh = jQuery("#jform_add_php_save input[type='radio']:checked").val();
+ vvvvvxh(add_php_save_vvvvvxh);
- var add_php_postsavehook_vvvvvxh = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
- vvvvvxh(add_php_postsavehook_vvvvvxh);
+ var add_php_postsavehook_vvvvvxi = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
+ vvvvvxi(add_php_postsavehook_vvvvvxi);
- var add_php_allowedit_vvvvvxi = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
- vvvvvxi(add_php_allowedit_vvvvvxi);
+ var add_php_allowedit_vvvvvxj = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
+ vvvvvxj(add_php_allowedit_vvvvvxj);
- var add_php_batchcopy_vvvvvxj = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
- vvvvvxj(add_php_batchcopy_vvvvvxj);
+ var add_php_batchcopy_vvvvvxk = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
+ vvvvvxk(add_php_batchcopy_vvvvvxk);
- var add_php_batchmove_vvvvvxk = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
- vvvvvxk(add_php_batchmove_vvvvvxk);
+ var add_php_batchmove_vvvvvxl = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
+ vvvvvxl(add_php_batchmove_vvvvvxl);
- var add_php_before_publish_vvvvvxl = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
- vvvvvxl(add_php_before_publish_vvvvvxl);
+ var add_php_before_publish_vvvvvxm = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
+ vvvvvxm(add_php_before_publish_vvvvvxm);
- var add_php_after_publish_vvvvvxm = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
- vvvvvxm(add_php_after_publish_vvvvvxm);
+ var add_php_after_publish_vvvvvxn = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
+ vvvvvxn(add_php_after_publish_vvvvvxn);
- var add_php_before_delete_vvvvvxn = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
- vvvvvxn(add_php_before_delete_vvvvvxn);
+ var add_php_before_delete_vvvvvxo = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
+ vvvvvxo(add_php_before_delete_vvvvvxo);
- var add_php_after_delete_vvvvvxo = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
- vvvvvxo(add_php_after_delete_vvvvvxo);
+ var add_php_after_delete_vvvvvxp = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
+ vvvvvxp(add_php_after_delete_vvvvvxp);
- var add_php_document_vvvvvxp = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvxp(add_php_document_vvvvvxp);
+ var add_php_document_vvvvvxq = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvxq(add_php_document_vvvvvxq);
- var add_sql_vvvvvxq = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxq(add_sql_vvvvvxq);
-
- var source_vvvvvxr = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxr = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr);
+ vvvvvxr(add_sql_vvvvvxr);
- var source_vvvvvxt = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxt = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxt(source_vvvvvxt,add_sql_vvvvvxt);
+ var source_vvvvvxs = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs);
- var add_custom_import_vvvvvxv = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
- vvvvvxv(add_custom_import_vvvvvxv);
+ var source_vvvvvxu = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxu = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu);
var add_custom_import_vvvvvxw = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvxw(add_custom_import_vvvvvxw);
- var add_custom_button_vvvvvxx = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvxx(add_custom_button_vvvvvxx);
+ var add_custom_import_vvvvvxx = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvxx(add_custom_import_vvvvvxx);
+
+ var add_custom_button_vvvvvxy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvxy(add_custom_button_vvvvvxy);
});
-// the vvvvvwv function
-function vvvvvwv(add_css_view_vvvvvwv)
+// the vvvvvww function
+function vvvvvww(add_css_view_vvvvvww)
{
// set the function logic
- if (add_css_view_vvvvvwv == 1)
+ if (add_css_view_vvvvvww == 1)
{
jQuery('#jform_css_view').closest('.control-group').show();
- if (jform_vvvvvwvvwn_required)
+ if (jform_vvvvvwwvwp_required)
{
updateFieldRequired('css_view',0);
jQuery('#jform_css_view').prop('required','required');
jQuery('#jform_css_view').attr('aria-required',true);
jQuery('#jform_css_view').addClass('required');
- jform_vvvvvwvvwn_required = false;
+ jform_vvvvvwwvwp_required = false;
}
}
else
{
jQuery('#jform_css_view').closest('.control-group').hide();
- if (!jform_vvvvvwvvwn_required)
+ if (!jform_vvvvvwwvwp_required)
{
updateFieldRequired('css_view',1);
jQuery('#jform_css_view').removeAttr('required');
jQuery('#jform_css_view').removeAttr('aria-required');
jQuery('#jform_css_view').removeClass('required');
- jform_vvvvvwvvwn_required = true;
+ jform_vvvvvwwvwp_required = true;
}
}
}
-// the vvvvvww function
-function vvvvvww(add_css_views_vvvvvww)
+// the vvvvvwx function
+function vvvvvwx(add_css_views_vvvvvwx)
{
// set the function logic
- if (add_css_views_vvvvvww == 1)
+ if (add_css_views_vvvvvwx == 1)
{
jQuery('#jform_css_views').closest('.control-group').show();
- if (jform_vvvvvwwvwo_required)
+ if (jform_vvvvvwxvwq_required)
{
updateFieldRequired('css_views',0);
jQuery('#jform_css_views').prop('required','required');
jQuery('#jform_css_views').attr('aria-required',true);
jQuery('#jform_css_views').addClass('required');
- jform_vvvvvwwvwo_required = false;
+ jform_vvvvvwxvwq_required = false;
}
}
else
{
jQuery('#jform_css_views').closest('.control-group').hide();
- if (!jform_vvvvvwwvwo_required)
+ if (!jform_vvvvvwxvwq_required)
{
updateFieldRequired('css_views',1);
jQuery('#jform_css_views').removeAttr('required');
jQuery('#jform_css_views').removeAttr('aria-required');
jQuery('#jform_css_views').removeClass('required');
- jform_vvvvvwwvwo_required = true;
+ jform_vvvvvwxvwq_required = true;
}
}
}
-// the vvvvvwx function
-function vvvvvwx(add_javascript_view_file_vvvvvwx)
+// the vvvvvwy function
+function vvvvvwy(add_javascript_view_file_vvvvvwy)
{
// set the function logic
- if (add_javascript_view_file_vvvvvwx == 1)
+ if (add_javascript_view_file_vvvvvwy == 1)
{
jQuery('#jform_javascript_view_file').closest('.control-group').show();
- if (jform_vvvvvwxvwp_required)
+ if (jform_vvvvvwyvwr_required)
{
updateFieldRequired('javascript_view_file',0);
jQuery('#jform_javascript_view_file').prop('required','required');
jQuery('#jform_javascript_view_file').attr('aria-required',true);
jQuery('#jform_javascript_view_file').addClass('required');
- jform_vvvvvwxvwp_required = false;
+ jform_vvvvvwyvwr_required = false;
}
}
else
{
jQuery('#jform_javascript_view_file').closest('.control-group').hide();
- if (!jform_vvvvvwxvwp_required)
+ if (!jform_vvvvvwyvwr_required)
{
updateFieldRequired('javascript_view_file',1);
jQuery('#jform_javascript_view_file').removeAttr('required');
jQuery('#jform_javascript_view_file').removeAttr('aria-required');
jQuery('#jform_javascript_view_file').removeClass('required');
- jform_vvvvvwxvwp_required = true;
+ jform_vvvvvwyvwr_required = true;
}
}
}
-// the vvvvvwy function
-function vvvvvwy(add_javascript_views_file_vvvvvwy)
+// the vvvvvwz function
+function vvvvvwz(add_javascript_views_file_vvvvvwz)
{
// set the function logic
- if (add_javascript_views_file_vvvvvwy == 1)
+ if (add_javascript_views_file_vvvvvwz == 1)
{
jQuery('#jform_javascript_views_file').closest('.control-group').show();
- if (jform_vvvvvwyvwq_required)
+ if (jform_vvvvvwzvws_required)
{
updateFieldRequired('javascript_views_file',0);
jQuery('#jform_javascript_views_file').prop('required','required');
jQuery('#jform_javascript_views_file').attr('aria-required',true);
jQuery('#jform_javascript_views_file').addClass('required');
- jform_vvvvvwyvwq_required = false;
+ jform_vvvvvwzvws_required = false;
}
}
else
{
jQuery('#jform_javascript_views_file').closest('.control-group').hide();
- if (!jform_vvvvvwyvwq_required)
+ if (!jform_vvvvvwzvws_required)
{
updateFieldRequired('javascript_views_file',1);
jQuery('#jform_javascript_views_file').removeAttr('required');
jQuery('#jform_javascript_views_file').removeAttr('aria-required');
jQuery('#jform_javascript_views_file').removeClass('required');
- jform_vvvvvwyvwq_required = true;
+ jform_vvvvvwzvws_required = true;
}
}
}
-// the vvvvvwz function
-function vvvvvwz(add_javascript_view_footer_vvvvvwz)
+// the vvvvvxa function
+function vvvvvxa(add_javascript_view_footer_vvvvvxa)
{
// set the function logic
- if (add_javascript_view_footer_vvvvvwz == 1)
+ if (add_javascript_view_footer_vvvvvxa == 1)
{
jQuery('#jform_javascript_view_footer').closest('.control-group').show();
- if (jform_vvvvvwzvwr_required)
+ if (jform_vvvvvxavwt_required)
{
updateFieldRequired('javascript_view_footer',0);
jQuery('#jform_javascript_view_footer').prop('required','required');
jQuery('#jform_javascript_view_footer').attr('aria-required',true);
jQuery('#jform_javascript_view_footer').addClass('required');
- jform_vvvvvwzvwr_required = false;
+ jform_vvvvvxavwt_required = false;
}
}
else
{
jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
- if (!jform_vvvvvwzvwr_required)
+ if (!jform_vvvvvxavwt_required)
{
updateFieldRequired('javascript_view_footer',1);
jQuery('#jform_javascript_view_footer').removeAttr('required');
jQuery('#jform_javascript_view_footer').removeAttr('aria-required');
jQuery('#jform_javascript_view_footer').removeClass('required');
- jform_vvvvvwzvwr_required = true;
+ jform_vvvvvxavwt_required = true;
}
}
}
-// the vvvvvxa function
-function vvvvvxa(add_javascript_views_footer_vvvvvxa)
+// the vvvvvxb function
+function vvvvvxb(add_javascript_views_footer_vvvvvxb)
{
// set the function logic
- if (add_javascript_views_footer_vvvvvxa == 1)
+ if (add_javascript_views_footer_vvvvvxb == 1)
{
jQuery('#jform_javascript_views_footer').closest('.control-group').show();
- if (jform_vvvvvxavws_required)
+ if (jform_vvvvvxbvwu_required)
{
updateFieldRequired('javascript_views_footer',0);
jQuery('#jform_javascript_views_footer').prop('required','required');
jQuery('#jform_javascript_views_footer').attr('aria-required',true);
jQuery('#jform_javascript_views_footer').addClass('required');
- jform_vvvvvxavws_required = false;
+ jform_vvvvvxbvwu_required = false;
}
}
else
{
jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
- if (!jform_vvvvvxavws_required)
+ if (!jform_vvvvvxbvwu_required)
{
updateFieldRequired('javascript_views_footer',1);
jQuery('#jform_javascript_views_footer').removeAttr('required');
jQuery('#jform_javascript_views_footer').removeAttr('aria-required');
jQuery('#jform_javascript_views_footer').removeClass('required');
- jform_vvvvvxavws_required = true;
+ jform_vvvvvxbvwu_required = true;
}
}
}
-// the vvvvvxb function
-function vvvvvxb(add_php_ajax_vvvvvxb)
+// the vvvvvxc function
+function vvvvvxc(add_php_ajax_vvvvvxc)
{
// set the function logic
- if (add_php_ajax_vvvvvxb == 1)
+ if (add_php_ajax_vvvvvxc == 1)
{
jQuery('#jform_ajax_input').closest('.control-group').show();
jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
- if (jform_vvvvvxbvwt_required)
+ if (jform_vvvvvxcvwv_required)
{
updateFieldRequired('php_ajaxmethod',0);
jQuery('#jform_php_ajaxmethod').prop('required','required');
jQuery('#jform_php_ajaxmethod').attr('aria-required',true);
jQuery('#jform_php_ajaxmethod').addClass('required');
- jform_vvvvvxbvwt_required = false;
+ jform_vvvvvxcvwv_required = false;
}
}
@@ -349,518 +349,518 @@ function vvvvvxb(add_php_ajax_vvvvvxb)
{
jQuery('#jform_ajax_input').closest('.control-group').hide();
jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
- if (!jform_vvvvvxbvwt_required)
+ if (!jform_vvvvvxcvwv_required)
{
updateFieldRequired('php_ajaxmethod',1);
jQuery('#jform_php_ajaxmethod').removeAttr('required');
jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
jQuery('#jform_php_ajaxmethod').removeClass('required');
- jform_vvvvvxbvwt_required = true;
+ jform_vvvvvxcvwv_required = true;
}
}
}
-// the vvvvvxc function
-function vvvvvxc(add_php_getitem_vvvvvxc)
+// the vvvvvxd function
+function vvvvvxd(add_php_getitem_vvvvvxd)
{
// set the function logic
- if (add_php_getitem_vvvvvxc == 1)
+ if (add_php_getitem_vvvvvxd == 1)
{
jQuery('#jform_php_getitem').closest('.control-group').show();
- if (jform_vvvvvxcvwu_required)
+ if (jform_vvvvvxdvww_required)
{
updateFieldRequired('php_getitem',0);
jQuery('#jform_php_getitem').prop('required','required');
jQuery('#jform_php_getitem').attr('aria-required',true);
jQuery('#jform_php_getitem').addClass('required');
- jform_vvvvvxcvwu_required = false;
+ jform_vvvvvxdvww_required = false;
}
}
else
{
jQuery('#jform_php_getitem').closest('.control-group').hide();
- if (!jform_vvvvvxcvwu_required)
+ if (!jform_vvvvvxdvww_required)
{
updateFieldRequired('php_getitem',1);
jQuery('#jform_php_getitem').removeAttr('required');
jQuery('#jform_php_getitem').removeAttr('aria-required');
jQuery('#jform_php_getitem').removeClass('required');
- jform_vvvvvxcvwu_required = true;
+ jform_vvvvvxdvww_required = true;
}
}
}
-// the vvvvvxd function
-function vvvvvxd(add_php_getitems_vvvvvxd)
+// the vvvvvxe function
+function vvvvvxe(add_php_getitems_vvvvvxe)
{
// set the function logic
- if (add_php_getitems_vvvvvxd == 1)
+ if (add_php_getitems_vvvvvxe == 1)
{
jQuery('#jform_php_getitems').closest('.control-group').show();
- if (jform_vvvvvxdvwv_required)
+ if (jform_vvvvvxevwx_required)
{
updateFieldRequired('php_getitems',0);
jQuery('#jform_php_getitems').prop('required','required');
jQuery('#jform_php_getitems').attr('aria-required',true);
jQuery('#jform_php_getitems').addClass('required');
- jform_vvvvvxdvwv_required = false;
+ jform_vvvvvxevwx_required = false;
}
}
else
{
jQuery('#jform_php_getitems').closest('.control-group').hide();
- if (!jform_vvvvvxdvwv_required)
+ if (!jform_vvvvvxevwx_required)
{
updateFieldRequired('php_getitems',1);
jQuery('#jform_php_getitems').removeAttr('required');
jQuery('#jform_php_getitems').removeAttr('aria-required');
jQuery('#jform_php_getitems').removeClass('required');
- jform_vvvvvxdvwv_required = true;
+ jform_vvvvvxevwx_required = true;
}
}
}
-// the vvvvvxe function
-function vvvvvxe(add_php_getitems_after_all_vvvvvxe)
+// the vvvvvxf function
+function vvvvvxf(add_php_getitems_after_all_vvvvvxf)
{
// set the function logic
- if (add_php_getitems_after_all_vvvvvxe == 1)
+ if (add_php_getitems_after_all_vvvvvxf == 1)
{
jQuery('#jform_php_getitems_after_all').closest('.control-group').show();
- if (jform_vvvvvxevww_required)
+ if (jform_vvvvvxfvwy_required)
{
updateFieldRequired('php_getitems_after_all',0);
jQuery('#jform_php_getitems_after_all').prop('required','required');
jQuery('#jform_php_getitems_after_all').attr('aria-required',true);
jQuery('#jform_php_getitems_after_all').addClass('required');
- jform_vvvvvxevww_required = false;
+ jform_vvvvvxfvwy_required = false;
}
}
else
{
jQuery('#jform_php_getitems_after_all').closest('.control-group').hide();
- if (!jform_vvvvvxevww_required)
+ if (!jform_vvvvvxfvwy_required)
{
updateFieldRequired('php_getitems_after_all',1);
jQuery('#jform_php_getitems_after_all').removeAttr('required');
jQuery('#jform_php_getitems_after_all').removeAttr('aria-required');
jQuery('#jform_php_getitems_after_all').removeClass('required');
- jform_vvvvvxevww_required = true;
+ jform_vvvvvxfvwy_required = true;
}
}
}
-// the vvvvvxf function
-function vvvvvxf(add_php_getlistquery_vvvvvxf)
+// the vvvvvxg function
+function vvvvvxg(add_php_getlistquery_vvvvvxg)
{
// set the function logic
- if (add_php_getlistquery_vvvvvxf == 1)
+ if (add_php_getlistquery_vvvvvxg == 1)
{
jQuery('#jform_php_getlistquery').closest('.control-group').show();
- if (jform_vvvvvxfvwx_required)
+ if (jform_vvvvvxgvwz_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_vvvvvxfvwx_required = false;
+ jform_vvvvvxgvwz_required = false;
}
}
else
{
jQuery('#jform_php_getlistquery').closest('.control-group').hide();
- if (!jform_vvvvvxfvwx_required)
+ if (!jform_vvvvvxgvwz_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_vvvvvxfvwx_required = true;
+ jform_vvvvvxgvwz_required = true;
}
}
}
-// the vvvvvxg function
-function vvvvvxg(add_php_save_vvvvvxg)
+// the vvvvvxh function
+function vvvvvxh(add_php_save_vvvvvxh)
{
// set the function logic
- if (add_php_save_vvvvvxg == 1)
+ if (add_php_save_vvvvvxh == 1)
{
jQuery('#jform_php_save').closest('.control-group').show();
- if (jform_vvvvvxgvwy_required)
+ if (jform_vvvvvxhvxa_required)
{
updateFieldRequired('php_save',0);
jQuery('#jform_php_save').prop('required','required');
jQuery('#jform_php_save').attr('aria-required',true);
jQuery('#jform_php_save').addClass('required');
- jform_vvvvvxgvwy_required = false;
+ jform_vvvvvxhvxa_required = false;
}
}
else
{
jQuery('#jform_php_save').closest('.control-group').hide();
- if (!jform_vvvvvxgvwy_required)
+ if (!jform_vvvvvxhvxa_required)
{
updateFieldRequired('php_save',1);
jQuery('#jform_php_save').removeAttr('required');
jQuery('#jform_php_save').removeAttr('aria-required');
jQuery('#jform_php_save').removeClass('required');
- jform_vvvvvxgvwy_required = true;
+ jform_vvvvvxhvxa_required = true;
}
}
}
-// the vvvvvxh function
-function vvvvvxh(add_php_postsavehook_vvvvvxh)
+// the vvvvvxi function
+function vvvvvxi(add_php_postsavehook_vvvvvxi)
{
// set the function logic
- if (add_php_postsavehook_vvvvvxh == 1)
+ if (add_php_postsavehook_vvvvvxi == 1)
{
jQuery('#jform_php_postsavehook').closest('.control-group').show();
- if (jform_vvvvvxhvwz_required)
+ if (jform_vvvvvxivxb_required)
{
updateFieldRequired('php_postsavehook',0);
jQuery('#jform_php_postsavehook').prop('required','required');
jQuery('#jform_php_postsavehook').attr('aria-required',true);
jQuery('#jform_php_postsavehook').addClass('required');
- jform_vvvvvxhvwz_required = false;
+ jform_vvvvvxivxb_required = false;
}
}
else
{
jQuery('#jform_php_postsavehook').closest('.control-group').hide();
- if (!jform_vvvvvxhvwz_required)
+ if (!jform_vvvvvxivxb_required)
{
updateFieldRequired('php_postsavehook',1);
jQuery('#jform_php_postsavehook').removeAttr('required');
jQuery('#jform_php_postsavehook').removeAttr('aria-required');
jQuery('#jform_php_postsavehook').removeClass('required');
- jform_vvvvvxhvwz_required = true;
+ jform_vvvvvxivxb_required = true;
}
}
}
-// the vvvvvxi function
-function vvvvvxi(add_php_allowedit_vvvvvxi)
+// the vvvvvxj function
+function vvvvvxj(add_php_allowedit_vvvvvxj)
{
// set the function logic
- if (add_php_allowedit_vvvvvxi == 1)
+ if (add_php_allowedit_vvvvvxj == 1)
{
jQuery('#jform_php_allowedit').closest('.control-group').show();
- if (jform_vvvvvxivxa_required)
+ if (jform_vvvvvxjvxc_required)
{
updateFieldRequired('php_allowedit',0);
jQuery('#jform_php_allowedit').prop('required','required');
jQuery('#jform_php_allowedit').attr('aria-required',true);
jQuery('#jform_php_allowedit').addClass('required');
- jform_vvvvvxivxa_required = false;
+ jform_vvvvvxjvxc_required = false;
}
}
else
{
jQuery('#jform_php_allowedit').closest('.control-group').hide();
- if (!jform_vvvvvxivxa_required)
+ if (!jform_vvvvvxjvxc_required)
{
updateFieldRequired('php_allowedit',1);
jQuery('#jform_php_allowedit').removeAttr('required');
jQuery('#jform_php_allowedit').removeAttr('aria-required');
jQuery('#jform_php_allowedit').removeClass('required');
- jform_vvvvvxivxa_required = true;
+ jform_vvvvvxjvxc_required = true;
}
}
}
-// the vvvvvxj function
-function vvvvvxj(add_php_batchcopy_vvvvvxj)
+// the vvvvvxk function
+function vvvvvxk(add_php_batchcopy_vvvvvxk)
{
// set the function logic
- if (add_php_batchcopy_vvvvvxj == 1)
+ if (add_php_batchcopy_vvvvvxk == 1)
{
jQuery('#jform_php_batchcopy').closest('.control-group').show();
- if (jform_vvvvvxjvxb_required)
+ if (jform_vvvvvxkvxd_required)
{
updateFieldRequired('php_batchcopy',0);
jQuery('#jform_php_batchcopy').prop('required','required');
jQuery('#jform_php_batchcopy').attr('aria-required',true);
jQuery('#jform_php_batchcopy').addClass('required');
- jform_vvvvvxjvxb_required = false;
+ jform_vvvvvxkvxd_required = false;
}
}
else
{
jQuery('#jform_php_batchcopy').closest('.control-group').hide();
- if (!jform_vvvvvxjvxb_required)
+ if (!jform_vvvvvxkvxd_required)
{
updateFieldRequired('php_batchcopy',1);
jQuery('#jform_php_batchcopy').removeAttr('required');
jQuery('#jform_php_batchcopy').removeAttr('aria-required');
jQuery('#jform_php_batchcopy').removeClass('required');
- jform_vvvvvxjvxb_required = true;
+ jform_vvvvvxkvxd_required = true;
}
}
}
-// the vvvvvxk function
-function vvvvvxk(add_php_batchmove_vvvvvxk)
+// the vvvvvxl function
+function vvvvvxl(add_php_batchmove_vvvvvxl)
{
// set the function logic
- if (add_php_batchmove_vvvvvxk == 1)
+ if (add_php_batchmove_vvvvvxl == 1)
{
jQuery('#jform_php_batchmove').closest('.control-group').show();
- if (jform_vvvvvxkvxc_required)
+ if (jform_vvvvvxlvxe_required)
{
updateFieldRequired('php_batchmove',0);
jQuery('#jform_php_batchmove').prop('required','required');
jQuery('#jform_php_batchmove').attr('aria-required',true);
jQuery('#jform_php_batchmove').addClass('required');
- jform_vvvvvxkvxc_required = false;
+ jform_vvvvvxlvxe_required = false;
}
}
else
{
jQuery('#jform_php_batchmove').closest('.control-group').hide();
- if (!jform_vvvvvxkvxc_required)
+ if (!jform_vvvvvxlvxe_required)
{
updateFieldRequired('php_batchmove',1);
jQuery('#jform_php_batchmove').removeAttr('required');
jQuery('#jform_php_batchmove').removeAttr('aria-required');
jQuery('#jform_php_batchmove').removeClass('required');
- jform_vvvvvxkvxc_required = true;
+ jform_vvvvvxlvxe_required = true;
}
}
}
-// the vvvvvxl function
-function vvvvvxl(add_php_before_publish_vvvvvxl)
+// the vvvvvxm function
+function vvvvvxm(add_php_before_publish_vvvvvxm)
{
// set the function logic
- if (add_php_before_publish_vvvvvxl == 1)
+ if (add_php_before_publish_vvvvvxm == 1)
{
jQuery('#jform_php_before_publish').closest('.control-group').show();
- if (jform_vvvvvxlvxd_required)
+ if (jform_vvvvvxmvxf_required)
{
updateFieldRequired('php_before_publish',0);
jQuery('#jform_php_before_publish').prop('required','required');
jQuery('#jform_php_before_publish').attr('aria-required',true);
jQuery('#jform_php_before_publish').addClass('required');
- jform_vvvvvxlvxd_required = false;
+ jform_vvvvvxmvxf_required = false;
}
}
else
{
jQuery('#jform_php_before_publish').closest('.control-group').hide();
- if (!jform_vvvvvxlvxd_required)
+ if (!jform_vvvvvxmvxf_required)
{
updateFieldRequired('php_before_publish',1);
jQuery('#jform_php_before_publish').removeAttr('required');
jQuery('#jform_php_before_publish').removeAttr('aria-required');
jQuery('#jform_php_before_publish').removeClass('required');
- jform_vvvvvxlvxd_required = true;
+ jform_vvvvvxmvxf_required = true;
}
}
}
-// the vvvvvxm function
-function vvvvvxm(add_php_after_publish_vvvvvxm)
+// the vvvvvxn function
+function vvvvvxn(add_php_after_publish_vvvvvxn)
{
// set the function logic
- if (add_php_after_publish_vvvvvxm == 1)
+ if (add_php_after_publish_vvvvvxn == 1)
{
jQuery('#jform_php_after_publish').closest('.control-group').show();
- if (jform_vvvvvxmvxe_required)
+ if (jform_vvvvvxnvxg_required)
{
updateFieldRequired('php_after_publish',0);
jQuery('#jform_php_after_publish').prop('required','required');
jQuery('#jform_php_after_publish').attr('aria-required',true);
jQuery('#jform_php_after_publish').addClass('required');
- jform_vvvvvxmvxe_required = false;
+ jform_vvvvvxnvxg_required = false;
}
}
else
{
jQuery('#jform_php_after_publish').closest('.control-group').hide();
- if (!jform_vvvvvxmvxe_required)
+ if (!jform_vvvvvxnvxg_required)
{
updateFieldRequired('php_after_publish',1);
jQuery('#jform_php_after_publish').removeAttr('required');
jQuery('#jform_php_after_publish').removeAttr('aria-required');
jQuery('#jform_php_after_publish').removeClass('required');
- jform_vvvvvxmvxe_required = true;
+ jform_vvvvvxnvxg_required = true;
}
}
}
-// the vvvvvxn function
-function vvvvvxn(add_php_before_delete_vvvvvxn)
+// the vvvvvxo function
+function vvvvvxo(add_php_before_delete_vvvvvxo)
{
// set the function logic
- if (add_php_before_delete_vvvvvxn == 1)
+ if (add_php_before_delete_vvvvvxo == 1)
{
jQuery('#jform_php_before_delete').closest('.control-group').show();
- if (jform_vvvvvxnvxf_required)
+ if (jform_vvvvvxovxh_required)
{
updateFieldRequired('php_before_delete',0);
jQuery('#jform_php_before_delete').prop('required','required');
jQuery('#jform_php_before_delete').attr('aria-required',true);
jQuery('#jform_php_before_delete').addClass('required');
- jform_vvvvvxnvxf_required = false;
+ jform_vvvvvxovxh_required = false;
}
}
else
{
jQuery('#jform_php_before_delete').closest('.control-group').hide();
- if (!jform_vvvvvxnvxf_required)
+ if (!jform_vvvvvxovxh_required)
{
updateFieldRequired('php_before_delete',1);
jQuery('#jform_php_before_delete').removeAttr('required');
jQuery('#jform_php_before_delete').removeAttr('aria-required');
jQuery('#jform_php_before_delete').removeClass('required');
- jform_vvvvvxnvxf_required = true;
+ jform_vvvvvxovxh_required = true;
}
}
}
-// the vvvvvxo function
-function vvvvvxo(add_php_after_delete_vvvvvxo)
+// the vvvvvxp function
+function vvvvvxp(add_php_after_delete_vvvvvxp)
{
// set the function logic
- if (add_php_after_delete_vvvvvxo == 1)
+ if (add_php_after_delete_vvvvvxp == 1)
{
jQuery('#jform_php_after_delete').closest('.control-group').show();
- if (jform_vvvvvxovxg_required)
+ if (jform_vvvvvxpvxi_required)
{
updateFieldRequired('php_after_delete',0);
jQuery('#jform_php_after_delete').prop('required','required');
jQuery('#jform_php_after_delete').attr('aria-required',true);
jQuery('#jform_php_after_delete').addClass('required');
- jform_vvvvvxovxg_required = false;
+ jform_vvvvvxpvxi_required = false;
}
}
else
{
jQuery('#jform_php_after_delete').closest('.control-group').hide();
- if (!jform_vvvvvxovxg_required)
+ if (!jform_vvvvvxpvxi_required)
{
updateFieldRequired('php_after_delete',1);
jQuery('#jform_php_after_delete').removeAttr('required');
jQuery('#jform_php_after_delete').removeAttr('aria-required');
jQuery('#jform_php_after_delete').removeClass('required');
- jform_vvvvvxovxg_required = true;
+ jform_vvvvvxpvxi_required = true;
}
}
}
-// the vvvvvxp function
-function vvvvvxp(add_php_document_vvvvvxp)
+// the vvvvvxq function
+function vvvvvxq(add_php_document_vvvvvxq)
{
// set the function logic
- if (add_php_document_vvvvvxp == 1)
+ if (add_php_document_vvvvvxq == 1)
{
jQuery('#jform_php_document').closest('.control-group').show();
- if (jform_vvvvvxpvxh_required)
+ if (jform_vvvvvxqvxj_required)
{
updateFieldRequired('php_document',0);
jQuery('#jform_php_document').prop('required','required');
jQuery('#jform_php_document').attr('aria-required',true);
jQuery('#jform_php_document').addClass('required');
- jform_vvvvvxpvxh_required = false;
+ jform_vvvvvxqvxj_required = false;
}
}
else
{
jQuery('#jform_php_document').closest('.control-group').hide();
- if (!jform_vvvvvxpvxh_required)
+ if (!jform_vvvvvxqvxj_required)
{
updateFieldRequired('php_document',1);
jQuery('#jform_php_document').removeAttr('required');
jQuery('#jform_php_document').removeAttr('aria-required');
jQuery('#jform_php_document').removeClass('required');
- jform_vvvvvxpvxh_required = true;
+ jform_vvvvvxqvxj_required = true;
}
}
}
-// the vvvvvxq function
-function vvvvvxq(add_sql_vvvvvxq)
+// the vvvvvxr function
+function vvvvvxr(add_sql_vvvvvxr)
{
// set the function logic
- if (add_sql_vvvvvxq == 1)
+ if (add_sql_vvvvvxr == 1)
{
jQuery('#jform_source').closest('.control-group').show();
- if (jform_vvvvvxqvxi_required)
+ if (jform_vvvvvxrvxk_required)
{
updateFieldRequired('source',0);
jQuery('#jform_source').prop('required','required');
jQuery('#jform_source').attr('aria-required',true);
jQuery('#jform_source').addClass('required');
- jform_vvvvvxqvxi_required = false;
+ jform_vvvvvxrvxk_required = false;
}
}
else
{
jQuery('#jform_source').closest('.control-group').hide();
- if (!jform_vvvvvxqvxi_required)
+ if (!jform_vvvvvxrvxk_required)
{
updateFieldRequired('source',1);
jQuery('#jform_source').removeAttr('required');
jQuery('#jform_source').removeAttr('aria-required');
jQuery('#jform_source').removeClass('required');
- jform_vvvvvxqvxi_required = true;
+ jform_vvvvvxrvxk_required = true;
}
}
}
-// the vvvvvxr function
-function vvvvvxr(source_vvvvvxr,add_sql_vvvvvxr)
+// the vvvvvxs function
+function vvvvvxs(source_vvvvvxs,add_sql_vvvvvxs)
{
// set the function logic
- if (source_vvvvvxr == 2 && add_sql_vvvvvxr == 1)
+ if (source_vvvvvxs == 2 && add_sql_vvvvvxs == 1)
{
jQuery('#jform_sql').closest('.control-group').show();
- if (jform_vvvvvxrvxj_required)
+ if (jform_vvvvvxsvxl_required)
{
updateFieldRequired('sql',0);
jQuery('#jform_sql').prop('required','required');
jQuery('#jform_sql').attr('aria-required',true);
jQuery('#jform_sql').addClass('required');
- jform_vvvvvxrvxj_required = false;
+ jform_vvvvvxsvxl_required = false;
}
}
else
{
jQuery('#jform_sql').closest('.control-group').hide();
- if (!jform_vvvvvxrvxj_required)
+ if (!jform_vvvvvxsvxl_required)
{
updateFieldRequired('sql',1);
jQuery('#jform_sql').removeAttr('required');
jQuery('#jform_sql').removeAttr('aria-required');
jQuery('#jform_sql').removeClass('required');
- jform_vvvvvxrvxj_required = true;
+ jform_vvvvvxsvxl_required = true;
}
}
}
-// the vvvvvxt function
-function vvvvvxt(source_vvvvvxt,add_sql_vvvvvxt)
+// the vvvvvxu function
+function vvvvvxu(source_vvvvvxu,add_sql_vvvvvxu)
{
// set the function logic
- if (source_vvvvvxt == 1 && add_sql_vvvvvxt == 1)
+ if (source_vvvvvxu == 1 && add_sql_vvvvvxu == 1)
{
jQuery('#jform_addtables').closest('.control-group').show();
}
@@ -870,120 +870,120 @@ function vvvvvxt(source_vvvvvxt,add_sql_vvvvvxt)
}
}
-// the vvvvvxv function
-function vvvvvxv(add_custom_import_vvvvvxv)
+// the vvvvvxw function
+function vvvvvxw(add_custom_import_vvvvvxw)
{
// set the function logic
- if (add_custom_import_vvvvvxv == 1)
+ if (add_custom_import_vvvvvxw == 1)
{
jQuery('#jform_html_import_view').closest('.control-group').show();
- if (jform_vvvvvxvvxk_required)
+ if (jform_vvvvvxwvxm_required)
{
updateFieldRequired('html_import_view',0);
jQuery('#jform_html_import_view').prop('required','required');
jQuery('#jform_html_import_view').attr('aria-required',true);
jQuery('#jform_html_import_view').addClass('required');
- jform_vvvvvxvvxk_required = false;
+ jform_vvvvvxwvxm_required = false;
}
jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show();
- if (jform_vvvvvxvvxl_required)
+ if (jform_vvvvvxwvxn_required)
{
updateFieldRequired('php_import_display',0);
jQuery('#jform_php_import_display').prop('required','required');
jQuery('#jform_php_import_display').attr('aria-required',true);
jQuery('#jform_php_import_display').addClass('required');
- jform_vvvvvxvvxl_required = false;
+ jform_vvvvvxwvxn_required = false;
}
jQuery('#jform_php_import').closest('.control-group').show();
- if (jform_vvvvvxvvxm_required)
+ if (jform_vvvvvxwvxo_required)
{
updateFieldRequired('php_import',0);
jQuery('#jform_php_import').prop('required','required');
jQuery('#jform_php_import').attr('aria-required',true);
jQuery('#jform_php_import').addClass('required');
- jform_vvvvvxvvxm_required = false;
+ jform_vvvvvxwvxo_required = false;
}
jQuery('#jform_php_import_save').closest('.control-group').show();
- if (jform_vvvvvxvvxn_required)
+ if (jform_vvvvvxwvxp_required)
{
updateFieldRequired('php_import_save',0);
jQuery('#jform_php_import_save').prop('required','required');
jQuery('#jform_php_import_save').attr('aria-required',true);
jQuery('#jform_php_import_save').addClass('required');
- jform_vvvvvxvvxn_required = false;
+ jform_vvvvvxwvxp_required = false;
}
jQuery('#jform_php_import_setdata').closest('.control-group').show();
- if (jform_vvvvvxvvxo_required)
+ if (jform_vvvvvxwvxq_required)
{
updateFieldRequired('php_import_setdata',0);
jQuery('#jform_php_import_setdata').prop('required','required');
jQuery('#jform_php_import_setdata').attr('aria-required',true);
jQuery('#jform_php_import_setdata').addClass('required');
- jform_vvvvvxvvxo_required = false;
+ jform_vvvvvxwvxq_required = false;
}
}
else
{
jQuery('#jform_html_import_view').closest('.control-group').hide();
- if (!jform_vvvvvxvvxk_required)
+ if (!jform_vvvvvxwvxm_required)
{
updateFieldRequired('html_import_view',1);
jQuery('#jform_html_import_view').removeAttr('required');
jQuery('#jform_html_import_view').removeAttr('aria-required');
jQuery('#jform_html_import_view').removeClass('required');
- jform_vvvvvxvvxk_required = true;
+ jform_vvvvvxwvxm_required = true;
}
jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide();
- if (!jform_vvvvvxvvxl_required)
+ if (!jform_vvvvvxwvxn_required)
{
updateFieldRequired('php_import_display',1);
jQuery('#jform_php_import_display').removeAttr('required');
jQuery('#jform_php_import_display').removeAttr('aria-required');
jQuery('#jform_php_import_display').removeClass('required');
- jform_vvvvvxvvxl_required = true;
+ jform_vvvvvxwvxn_required = true;
}
jQuery('#jform_php_import').closest('.control-group').hide();
- if (!jform_vvvvvxvvxm_required)
+ if (!jform_vvvvvxwvxo_required)
{
updateFieldRequired('php_import',1);
jQuery('#jform_php_import').removeAttr('required');
jQuery('#jform_php_import').removeAttr('aria-required');
jQuery('#jform_php_import').removeClass('required');
- jform_vvvvvxvvxm_required = true;
+ jform_vvvvvxwvxo_required = true;
}
jQuery('#jform_php_import_save').closest('.control-group').hide();
- if (!jform_vvvvvxvvxn_required)
+ if (!jform_vvvvvxwvxp_required)
{
updateFieldRequired('php_import_save',1);
jQuery('#jform_php_import_save').removeAttr('required');
jQuery('#jform_php_import_save').removeAttr('aria-required');
jQuery('#jform_php_import_save').removeClass('required');
- jform_vvvvvxvvxn_required = true;
+ jform_vvvvvxwvxp_required = true;
}
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
- if (!jform_vvvvvxvvxo_required)
+ if (!jform_vvvvvxwvxq_required)
{
updateFieldRequired('php_import_setdata',1);
jQuery('#jform_php_import_setdata').removeAttr('required');
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
jQuery('#jform_php_import_setdata').removeClass('required');
- jform_vvvvvxvvxo_required = true;
+ jform_vvvvvxwvxq_required = true;
}
}
}
-// the vvvvvxw function
-function vvvvvxw(add_custom_import_vvvvvxw)
+// the vvvvvxx function
+function vvvvvxx(add_custom_import_vvvvvxx)
{
// set the function logic
- if (add_custom_import_vvvvvxw == 0)
+ if (add_custom_import_vvvvvxx == 0)
{
jQuery('.note_beginner_import').closest('.control-group').show();
}
@@ -993,31 +993,31 @@ function vvvvvxw(add_custom_import_vvvvvxw)
}
}
-// the vvvvvxx function
-function vvvvvxx(add_custom_button_vvvvvxx)
+// the vvvvvxy function
+function vvvvvxy(add_custom_button_vvvvvxy)
{
// set the function logic
- if (add_custom_button_vvvvvxx == 1)
+ if (add_custom_button_vvvvvxy == 1)
{
jQuery('#jform_custom_button').closest('.control-group').show();
jQuery('#jform_php_controller').closest('.control-group').show();
- if (jform_vvvvvxxvxp_required)
+ if (jform_vvvvvxyvxr_required)
{
updateFieldRequired('php_controller',0);
jQuery('#jform_php_controller').prop('required','required');
jQuery('#jform_php_controller').attr('aria-required',true);
jQuery('#jform_php_controller').addClass('required');
- jform_vvvvvxxvxp_required = false;
+ jform_vvvvvxyvxr_required = false;
}
jQuery('#jform_php_model').closest('.control-group').show();
- if (jform_vvvvvxxvxq_required)
+ if (jform_vvvvvxyvxs_required)
{
updateFieldRequired('php_model',0);
jQuery('#jform_php_model').prop('required','required');
jQuery('#jform_php_model').attr('aria-required',true);
jQuery('#jform_php_model').addClass('required');
- jform_vvvvvxxvxq_required = false;
+ jform_vvvvvxyvxs_required = false;
}
}
@@ -1025,22 +1025,22 @@ function vvvvvxx(add_custom_button_vvvvvxx)
{
jQuery('#jform_custom_button').closest('.control-group').hide();
jQuery('#jform_php_controller').closest('.control-group').hide();
- if (!jform_vvvvvxxvxp_required)
+ if (!jform_vvvvvxyvxr_required)
{
updateFieldRequired('php_controller',1);
jQuery('#jform_php_controller').removeAttr('required');
jQuery('#jform_php_controller').removeAttr('aria-required');
jQuery('#jform_php_controller').removeClass('required');
- jform_vvvvvxxvxp_required = true;
+ jform_vvvvvxyvxr_required = true;
}
jQuery('#jform_php_model').closest('.control-group').hide();
- if (!jform_vvvvvxxvxq_required)
+ if (!jform_vvvvvxyvxs_required)
{
updateFieldRequired('php_model',1);
jQuery('#jform_php_model').removeAttr('required');
jQuery('#jform_php_model').removeAttr('aria-required');
jQuery('#jform_php_model').removeClass('required');
- jform_vvvvvxxvxq_required = true;
+ jform_vvvvvxyvxs_required = true;
}
}
}
diff --git a/admin/models/forms/component.js b/admin/models/forms/component.js
index c18fdcab6..16ba93169 100644
--- a/admin/models/forms/component.js
+++ b/admin/models/forms/component.js
@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
- @version 2.2.5
- @build 22nd December, 2016
+ @version 2.2.6
+ @build 30th December, 2016
@created 30th April, 2015
@package Component Builder
@subpackage component.js
@@ -39,6 +39,7 @@ jform_vvvvvwlvwh_required = false;
jform_vvvvvwmvwi_required = false;
jform_vvvvvwnvwj_required = false;
jform_vvvvvwuvwk_required = false;
+jform_vvvvvwvvwl_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -118,6 +119,9 @@ jQuery(document).ready(function()
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
vvvvvwu(add_update_server_vvvvvwu);
+
+ var buildcomp_vvvvvwv = jQuery("#jform_buildcomp input[type='radio']:checked").val();
+ vvvvvwv(buildcomp_vvvvvwv);
});
// the vvvvvvv function
@@ -740,6 +744,37 @@ function vvvvvwu(add_update_server_vvvvvwu)
}
}
+// the vvvvvwv function
+function vvvvvwv(buildcomp_vvvvvwv)
+{
+ // set the function logic
+ if (buildcomp_vvvvvwv == 1)
+ {
+ jQuery('#jform_buildcompsql').closest('.control-group').show();
+ if (jform_vvvvvwvvwl_required)
+ {
+ updateFieldRequired('buildcompsql',0);
+ jQuery('#jform_buildcompsql').prop('required','required');
+ jQuery('#jform_buildcompsql').attr('aria-required',true);
+ jQuery('#jform_buildcompsql').addClass('required');
+ jform_vvvvvwvvwl_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_buildcompsql').closest('.control-group').hide();
+ if (!jform_vvvvvwvvwl_required)
+ {
+ updateFieldRequired('buildcompsql',1);
+ jQuery('#jform_buildcompsql').removeAttr('required');
+ jQuery('#jform_buildcompsql').removeAttr('aria-required');
+ jQuery('#jform_buildcompsql').removeClass('required');
+ jform_vvvvvwvvwl_required = true;
+ }
+ }
+}
+
// update required fields
function updateFieldRequired(name,status)
{
diff --git a/admin/models/forms/component.xml b/admin/models/forms/component.xml
index 3b646a265..ff9c97100 100644
--- a/admin/models/forms/component.xml
+++ b/admin/models/forms/component.xml
@@ -197,28 +197,29 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
+ type="radio"
+ name="add_sql"
+ label="COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_LABEL"
+ class="btn-group btn-group-yesno"
+ default="0"
+ required="true">
+
+
+
+