";
}
return $this->getListItem($item, $viewName_single, $viewName_list, $itemClass, $doNotEscape, $coreLoad, $core, $class, $ref, $escape, $user, $refview);
}
@@ -10854,9 +10936,10 @@ class Interpretation extends Fields
$allow[] = $this->_t(4) . "//" . $this->setLine(__LINE__) . " Now set the local-redirected field default value";
$allow[] = $this->_t(4) . "\$form->setValue(\$redirectedField, null, \$redirectedValue);";
$allow[] = $this->_t(3) . "}";
- $allow[] = $this->_t(2) . "}";
+ // load custom script if found
+ $allow[] = $this->_t(2) . "}" . $this->getCustomScriptBuilder('php_getform', $viewName_single, PHP_EOL);
// setup the default script
- $allow[] = PHP_EOL . $this->_t(2) . "return \$form;";
+ $allow[] = $this->_t(2) . "return \$form;";
return implode(PHP_EOL, $allow);
}
@@ -11982,7 +12065,7 @@ class Interpretation extends Fields
}
}
// close the foreach if needed
- if (ComponentbuilderHelper::checkString($fix))
+ if (ComponentbuilderHelper::checkString($fix) || $export)
{
// start the loop
$forEachStart = PHP_EOL . PHP_EOL . $this->_t(1) . $tab . $this->_t(1) . "//" . $this->setLine(__LINE__) . " set values to display correctly.";
diff --git a/admin/helpers/componentbuilderemail.php b/admin/helpers/componentbuilderemail.php
index 22956ff92..ea1f40999 100644
--- a/admin/helpers/componentbuilderemail.php
+++ b/admin/helpers/componentbuilderemail.php
@@ -28,6 +28,13 @@ abstract class ComponentbuilderEmail
*/
public static $mailer = null;
+ /**
+ * Custom Headers
+ *
+ * @var array
+ */
+ protected static $header = array();
+
/**
* Get a configuration object
*
@@ -41,7 +48,7 @@ abstract class ComponentbuilderEmail
return self::$config;
}
-
+
/**
* Get a mailer object.
*
@@ -147,6 +154,17 @@ abstract class ComponentbuilderEmail
return $mail;
}
+ /**
+ * Set a Mail custom header.
+ *
+ * @return void
+ */
+ public static function setHeader($target, $value)
+ {
+ // set the header
+ self::$header[$target] = $value;
+ }
+
/**
* Send an email
*
@@ -155,7 +173,6 @@ abstract class ComponentbuilderEmail
*/
public static function send($recipient, $subject, $body, $textonly, $mode = 0, $bounce_email = null, $idsession = null, $mailreply = null, $replyname = null , $mailfrom = null, $fromname = null, $cc = null, $bcc = null, $attachment = null, $embeded = null , $embeds = null)
{
-
// Get a JMail instance
$mail = self::getMailer();
@@ -182,7 +199,16 @@ abstract class ComponentbuilderEmail
{
$mail->addCustomHeader('X-VDMmethodID:'.$idsession);
}
-
+
+ // set headers if found
+ if (isset(self::$header) && is_array(self::$header) && count((array)self::$header) > 0)
+ {
+ foreach (self::$header as $_target => $_value)
+ {
+ $mail->addCustomHeader($_target.':'.$_value);
+ }
+ }
+
// set the subject & Body
$mail->setSubject($subject);
$mail->setBody($body);
@@ -226,7 +252,7 @@ abstract class ComponentbuilderEmail
$mail->ClearReplyTos();
$mail->addReplyTo($mailreply, $replyname);
}
-
+
// check if we can add the DKIM to email
if ($conf->get('enable_dkim'))
{
@@ -244,20 +270,20 @@ abstract class ComponentbuilderEmail
$mail->DKIM_private = $tmp;
}
}
-
+
$sendmail = $mail->Send();
if ($conf->get('enable_dkim') && !empty($conf->get('dkim_domain')) && !empty($conf->get('dkim_selector')) && !empty($conf->get('dkim_private')) && !empty($conf->get('dkim_public')))
{
@unlink($tmp);
}
-
+
if (method_exists('ComponentbuilderHelper','storeMessage'))
{
// store the massage if the method is set
ComponentbuilderHelper::storeMessage($sendmail, $recipient, $subject, $body, $textonly, $mode, 'email');
}
-
+
return $sendmail;
}
diff --git a/admin/helpers/extrusion/a_mapping.php b/admin/helpers/extrusion/a_mapping.php
index 701060f48..c9908193c 100644
--- a/admin/helpers/extrusion/a_mapping.php
+++ b/admin/helpers/extrusion/a_mapping.php
@@ -55,32 +55,33 @@ class Mapping
/**
* The needed set of keys needed to set
*/
- protected $setting = array('id' => 'default', 'buildcompsql' => 'base64', 'addadmin_views' => 'json', 'name_code' => 'safeString');
+ protected $setting = array('id' => 'default', 'buildcompsql' => 'base64', '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');
+ '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( 'VARCHAR' => 'Text', 'CHAR' => 'Text',
- 'MEDIUMTEXT' => 'Textarea', 'LONGTEXT' => 'Textarea',
- 'TEXT' => 'Textarea', 'DATETIME' => 'Calendar',
- 'DATE' => 'Text', 'TIME' => 'Text', 'TINYINT' => 'Text',
- 'BIGINT' => 'Text', 'INT' => 'Text', 'FLOAT' => 'Text',
- 'DECIMAL' => 'Text', 'DOUBLE' => 'Text');
+ 'MEDIUMTEXT' => 'Textarea', 'LONGTEXT' => 'Textarea',
+ 'TEXT' => 'Textarea', 'DATETIME' => 'Calendar',
+ 'DATE' => 'Text', 'TIME' => 'Text', 'TINYINT' => 'Text',
+ 'BIGINT' => 'Text', 'INT' => 'Text', 'FLOAT' => 'Text',
+ 'DECIMAL' => 'Text', 'DOUBLE' => 'Text');
/**
* The datasize identifiers
*/
- protected $dataSize = array( 'CHAR', 'VARCHAR', 'INT', 'TINYINT',
- 'BIGINT', 'FLOAT', 'DECIMAL', 'DOUBLE');
+ protected $dataSize = array(
+ 'CHAR', 'VARCHAR', 'INT', 'TINYINT',
+ 'BIGINT', 'FLOAT', 'DECIMAL', 'DOUBLE');
/**
* The default identifiers
@@ -98,10 +99,7 @@ class Mapping
*/
public function __construct($data = false)
{
- // set the app to insure messages can be set
- $this->app = JFactory::getApplication();
-
- if ($data)
+ if (ComponentbuilderHelper::checkArray($data))
{
if (isset($data['buildcomp']) && 1 == $data['buildcomp'] && isset($data['buildcompsql']))
{
@@ -129,6 +127,12 @@ class Mapping
}
}
}
+ // get linked admin views
+ $addadmin_views = ComponentbuilderHelper::getVar('component_admin_views', $data['id'], 'joomla_component', 'addadmin_views');
+ if (ComponentbuilderHelper::checkJson($addadmin_views))
+ {
+ $this->addadmin_views = json_decode($addadmin_views, true);
+ }
// set the map of the views needed
if ($this->setMap())
{
@@ -148,7 +152,7 @@ class Mapping
);
return false;
}
-
+
/**
* The mapping function
* To Map the views and fields that are needed
@@ -162,7 +166,8 @@ class Mapping
foreach ($queries as $query)
{
// only use create table queries
- if (strpos($query, 'CREATE TABLE IF NOT EXISTS `') !== false)
+ if (strpos($query, 'CREATE TABLE IF NOT EXISTS') !== false ||
+ strpos($query, 'CREATE TABLE') !== false)
{
if ($tableName = $this->getTableName($query))
{
@@ -198,15 +203,24 @@ class Mapping
}
return false;
}
-
+
/**
* Get the table name
*/
protected function getTableName(&$query)
{
- $tableName = ComponentbuilderHelper::getBetween($query, '`#__', "`");
+ if (strpos($query, '`#__') !== false)
+ {
+ // get table name
+ $tableName = ComponentbuilderHelper::getBetween($query, '`#__', "`");
+ }
+ elseif (strpos($query, "'#__") !== false)
+ {
+ // get table name
+ $tableName = ComponentbuilderHelper::getBetween($query, "'#__", "'");
+ }
// if it still was not found
- if (!ComponentbuilderHelper::checkString($tableName))
+ if (!isset($tableName) || !ComponentbuilderHelper::checkString($tableName))
{
// skip this query
return false;
@@ -224,13 +238,13 @@ class Mapping
// skip this query
return false;
}
-
+
/**
* Get the field details
*/
protected function getFields(&$query)
{
- $rows = array_map('trim', explode("\n", $query));
+ $rows = array_map('trim', explode(PHP_EOL, $query));
$fields = array();
foreach ($rows as $row)
{
@@ -299,7 +313,7 @@ class Mapping
}
return false;
}
-
+
/**
* Get the field types
*/
@@ -318,7 +332,7 @@ class Mapping
}
return false;
}
-
+
/**
* Get the field size
*/
@@ -330,7 +344,7 @@ class Mapping
}
return '';
}
-
+
/**
* Get the field default
*/
@@ -348,7 +362,7 @@ class Mapping
}
return '';
}
-
+
/**
* Get the field Null Value
*/
@@ -366,7 +380,7 @@ class Mapping
}
return 'NULL';
}
-
+
/**
* Get the field key status
*/
diff --git a/admin/helpers/extrusion/b_builder.php b/admin/helpers/extrusion/b_builder.php
index 9d4ad070f..cd5f53c05 100644
--- a/admin/helpers/extrusion/b_builder.php
+++ b/admin/helpers/extrusion/b_builder.php
@@ -37,12 +37,13 @@ class Builder extends Mapping
public $user;
public $today;
public $db;
- public $views = array();
- protected $fields = array();
- protected $title = array();
- protected $description = array();
- protected $alias = array();
- protected $list = array();
+ public $views = array();
+ public $admin_fields = 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
@@ -62,10 +63,10 @@ class Builder extends Mapping
$data['buildcomp'] = 0;
$data['buildcompsql'] = '';
// set some globals
- $this->db = JFactory::getDbo();
- $this->user = JFactory::getUser();
- $this->today = JFactory::getDate()->toSql();
-
+ $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())
{
@@ -100,22 +101,21 @@ class Builder extends Mapping
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;
+ $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->created = $this->today;
+ $object->created_by = $this->user->id;
+ $object->published = 1;
// add to data base
if ($this->db->insertObject('#__componentbuilder_admin_view', $object))
{
@@ -124,7 +124,8 @@ class Builder extends Mapping
ComponentbuilderHelper::setAsset($id, 'admin_view');
// load the views
$this->views[] = $id;
- return true;
+ // load the admin view fields
+ return $this->addFields($name, $id);
}
return false;
}
@@ -132,26 +133,12 @@ class Builder extends Mapping
/**
* Add the fields to the view
*/
- protected function addFields(&$view)
+ protected function addFields(&$view, &$view_id)
{
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()
- );
+ $addField = array ();
$fixLink = (isset($this->title[$view])) ? 0 : 1;
// build the field data... hmmm
foreach ($this->fields[$view] as $nr => $id)
@@ -171,23 +158,32 @@ class Builder extends Mapping
$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;
+ $addField['addfields'.$nr]['field'] = $id;
+ $addField['addfields'.$nr]['list'] = $isList;
+ $addField['addfields'.$nr]['order_list'] = ($key) ? $key : 0;
+ $addField['addfields'.$nr]['title'] = $isTitle;
+ $addField['addfields'.$nr]['alias'] = $isAlias;
+ $addField['addfields'.$nr]['sort'] = $isList;
+ $addField['addfields'.$nr]['search'] = $isList;
+ $addField['addfields'.$nr]['filter'] = $isList;
+ $addField['addfields'.$nr]['link'] = $isLink;
+ $addField['addfields'.$nr]['tab'] = 1;
+ $addField['addfields'.$nr]['alignment'] = ($isTitle || $isAlias) ? 4 : $alignment;
+ $addField['addfields'.$nr]['order_edit'] = $nr;
+ $addField['addfields'.$nr]['permission'] = 0;
}
- return json_encode($addField);
+
+ // set the field object
+ $object = new stdClass();
+ $object->admin_view = $view_id;
+ $object->addfields = json_encode($addField, JSON_FORCE_OBJECT);
+ $object->created = $this->today;
+ $object->created_by = $this->user->id;
+ $object->published = 1;
+ // add to data base
+ return $this->db->insertObject('#__componentbuilder_admin_fields', $object);
}
- return '';
+ return false;
}
/**
@@ -198,21 +194,21 @@ class Builder extends Mapping
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);
+ $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))
{
diff --git a/admin/helpers/extrusion/c_extrusion.php b/admin/helpers/extrusion/c_extrusion.php
index 01c8c0512..fc0660fee 100644
--- a/admin/helpers/extrusion/c_extrusion.php
+++ b/admin/helpers/extrusion/c_extrusion.php
@@ -36,106 +36,84 @@ class Extrusion extends Builder
*/
public function __construct(&$data)
{
- // first we run the perent constructor
- if (parent::__construct($data))
+ // set the app to insure messages can be set
+ $this->app = JFactory::getApplication();
+ // make sure we have an id
+ if (isset($data['id']) && $data['id'] > 0)
{
- // link the view data to the component
- $data['addadmin_views'] = $this->linkAdminViews();
- if (ComponentbuilderHelper::checkJson($data['addadmin_views']))
+ // first we run the perent constructor
+ if (parent::__construct($data))
{
- $this->app->enqueueMessage(
- JText::_('All the fields and views from your sql dump has been created and linked to this component.'),
- 'Success'
- );
- return true;
+ // link the view data to the component
+ if ($this->setAdminViews($data['id']))
+ {
+ $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;
}
+ $this->app->enqueueMessage(
+ JText::_('Please try again, this error usualy happens if it is a new component, beacues we need a component ID to do this build with your sql dump.'),
+ 'Error'
+ );
return false;
}
/**
* link the build views to the component
*/
- protected function linkAdminViews()
+ protected function setAdminViews(&$component_id)
{
// check if views were set
if (ComponentbuilderHelper::checkArray($this->views))
{
- // insure arrays are set
- if (!isset($this->addadmin_views['adminview']))
+ $count = 0;
+ if (ComponentbuilderHelper::checkArray($this->addadmin_views))
{
- $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();
+ $count = (int) count((array)$this->addadmin_views) + 3;
}
// set the admin view data linking
- foreach ($this->views as $id)
+ foreach ($this->views as $nr => $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;
+ $pointer = $count + $nr;
+ $this->addadmin_views['addadmin_views'.$pointer]['adminview'] = $id;
+ $this->addadmin_views['addadmin_views'.$pointer]['icomoon'] = 'joomla';
+ $this->addadmin_views['addadmin_views'.$pointer]['mainmenu'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['dashboard_add'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['dashboard_list'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['submenu'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['checkin'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['history'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['metadata'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['access'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['port'] = 1;
+ $this->addadmin_views['addadmin_views'.$pointer]['edit_create_site_view'] = 0;
+ $this->addadmin_views['addadmin_views'.$pointer]['order'] = $pointer + 1;
}
}
if (isset($this->addadmin_views) && ComponentbuilderHelper::checkArray($this->addadmin_views))
{
- return json_encode($this->addadmin_views);
+ // set the field object
+ $object = new stdClass();
+ $object->joomla_component = $component_id;
+ $object->addadmin_views = json_encode($this->addadmin_views, JSON_FORCE_OBJECT);
+ $object->created = $this->today;
+ $object->created_by = $this->user->id;
+ $object->published = 1;
+ // check if it is already set
+ if ($item_id = ComponentbuilderHelper::getVar('component_admin_views', $component_id, 'joomla_component', 'id'))
+ {
+ // set ID
+ $object->id = (int) $item_id;
+ return $this->db->updateObject('#__componentbuilder_component_admin_views', $object, 'id');
+ }
+ // add to data base
+ return $this->db->insertObject('#__componentbuilder_component_admin_views', $object);
}
- return '';
+ return false;
}
}
diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini
index 6e5b5b4be..7829e8509 100644
--- a/admin/language/en-GB/en-GB.com_componentbuilder.ini
+++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini
@@ -424,6 +424,8 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE="Add Php Before Save"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_BEFORE_SAVE_LABEL="Add PHP (save Method - before data modeling)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT="Add Php Document"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_DOCUMENT_LABEL="Add PHP (custom document script)"
+COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM="Add Php Getform"
+COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETFORM_LABEL="Add PHP (getForm Method)"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEM="Add Php Getitem"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS="Add Php Getitems"
COM_COMPONENTBUILDER_ADMIN_VIEW_ADD_PHP_GETITEMS_AFTER_ALL="Add Php Getitems After All"
@@ -525,11 +527,9 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_CREDIT_TWO="Credit 2"
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS="CSS"
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW="Css View"
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS="Css Views"
-COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_HINT="// CSS for the list view"
+COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_DESCRIPTION="Add CSS for the list view. Do not add the style tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEWS_LABEL="CSS"
-COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_HINT="// CSS for the edit view"
+COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_DESCRIPTION="Add CSS for the edit view. Do not add the style tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_CSS_VIEW_LABEL="CSS"
COM_COMPONENTBUILDER_ADMIN_VIEW_CUBE="Cube"
COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM="Custom"
@@ -626,21 +626,17 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_EACH_RECORD="In Relation to each
COM_COMPONENTBUILDER_ADMIN_VIEW_IN_RELATION_TO_THE_WHOLE_VIEW="In Relation to the Whole View"
COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT="JavaScript"
COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE="Javascript Views File"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_HINT="// JavaScript for the list view that is loaded in the header via a JS file"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_LABEL="Javascript"
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_DESCRIPTION="Add JavaScript for the list view that is loaded in the header of the document via a JS file. Do not add the script tags. PHP does not work in this field/area/file."
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FILE_LABEL="Javascript (list view file)"
COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER="Javascript Views Footer"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_HINT="// JavaScript for the list view that is loaded in the footer inside script tags"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript"
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add JavaScript for the list view that is loaded in the footer inside script tags. Do not add the script tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript (list view footer)"
COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE="Javascript View File"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_HINT="// JavaScript for the edit view that is loaded in the header via a JS file"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_LABEL="Javascript"
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_DESCRIPTION="Add JavaScript for the edit view that is loaded in the header of the document via a JS file. Do not add the script tags. PHP does not work in this field/area/file."
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FILE_LABEL="Javascript (edit view file)"
COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER="Javascript View Footer"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_HINT="// JavaScript for the edit view that is loaded in the footer inside script tags"
-COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript"
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add JavaScript for the edit view that is loaded in the footer inside script tags. Do not add the script tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript (edit view footer)"
COM_COMPONENTBUILDER_ADMIN_VIEW_JOOMLA="Joomla"
COM_COMPONENTBUILDER_ADMIN_VIEW_KEY="Key"
COM_COMPONENTBUILDER_ADMIN_VIEW_KEY_DESCRIPTION="The key to use to link the child view."
@@ -748,69 +744,56 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHONE="Phone"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHONE_TWO="Phone 2"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP="PHP"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE="Php After Delete"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_HINT="// PHP Here that should run in the delete Method after items were deleted. Array $pks is an array of record primary keys."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_DESCRIPTION="Add PHP Here that should run in the delete Method after items were deleted. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_DELETE_LABEL="PHP delete Method after Target (array) $pks is an array of record primary keys."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH="Php After Publish"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_HINT="// PHP Here that should run in the publish Method after the item's published state has been changed. Array $pks is an array of record primary keys and $value is the published state."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_DESCRIPTION="Add PHP Here that should run in the publish Method after the item's published state has been changed. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AFTER_PUBLISH_LABEL="PHP publish Method afterTarget (array) $pks is an array of record primary keys and $value is the published state."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="php Ajax Method"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add PHP Methods that should run in the AJAX Model. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="PHP Ajax Methods"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT="Php Allowedit"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_HINT="// PHP Here that should run in the allowEdit Method (to add custom access control) The record ID => ($recordId) and the user object => ($user) are already set."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_DESCRIPTION="Add PHP Here that should run in the allowEdit Method to add custom access control. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_ALLOWEDIT_LABEL="PHP allowEdit Method The record ID => ($recordId) and the user object => ($user) are already set."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY="Php Batchcopy"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_HINT="// PHP Here that should run in the batchCopy Method (submitted values are in $values, id's are in $pks)"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_DESCRIPTION="Add PHP Here that should run in the batchCopy Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHCOPY_LABEL="PHP batchCopy Method Submitted values are in $values, id's are in $pks"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE="Php Batchmove"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_HINT="// PHP Here that should run in the batchMove Method (submitted values are in $values, id's are in $pks)"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_DESCRIPTION="Add PHP Here that should run in the batchMove Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BATCHMOVE_LABEL="PHP batchMove Method submitted values are in $values, id's are in $pks"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE="Php Before Delete"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_HINT="// PHP Here that should run in the delete Method before items are deleted. Array $pks is an array of record primary keys."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_DESCRIPTION="Add PHP Here that should run in the delete Method before items are deleted. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_DELETE_LABEL="PHP delete Method Target (array) $pks is an array of record primary keys."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH="Php Before Publish"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_HINT="// PHP Here that should run in the publish Method before items published state is changed. Array $pks is an array of record primary keys and $value is the published state."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_DESCRIPTION="Add PHP Here that should run in the publish Method before items published state is changed. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_PUBLISH_LABEL="PHP publish Method before Target (array) $pks is an array of record primary keys and $value is the published state."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE="Php Before Save"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_HINT="// PHP Here that should run in the save Method (array) $data is where all values are"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_DESCRIPTION="Add PHP Here that should run in the save Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_BEFORE_SAVE_LABEL="PHP save Method before Target (array) $data values"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER="Php Controller"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_HINT="// PHP methods for the controller that the button will target"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION="Add PHP methods for the controller that the button/s will target. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LABEL="PHP (controller methods)"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST="Php Controller List"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_HINT="// PHP methods for the controller that the button will target"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_DESCRIPTION="Add PHP methods for the controller that the button will target. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_CONTROLLER_LIST_LABEL="PHP List view (controller methods)"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT="Php Document"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="Add PHP to the document method in the view.html.php file of this view. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_DOCUMENT_LABEL="PHP document method"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM="Php Getform"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_DESCRIPTION="Add PHP Here that should run in the getForm Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETFORM_LABEL="PHP getForm Method Target (array) $data values & (bool) $loadData & (object) $form. "
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM="Php Getitem"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS="Php Getitems"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL="Php Getitems After All"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_LABEL="PHP"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL="PHP"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_HINT="// PHP Here that should run in the getItem Method (object) $item is where all values are"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_DESCRIPTION="Add PHP Here that should run in the getItems Method after all. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_AFTER_ALL_LABEL="PHP getItems Method Target (array) $items values"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_DESCRIPTION="Add PHP Here that should run in the getItems Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEMS_LABEL="PHP getItems Method Target (array) $items values."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_DESCRIPTION="Add PHP Here that should run in the getItem Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETITEM_LABEL="PHP getItem Method Target (object) $item values."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY="Php Getlistquery"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_HINT="// PHP Here that should run in the getlistquery Method (to add custom filtering)"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_DESCRIPTION="Add PHP Here that should run in the getlistquery Method of the model of this view. Do not add the php tags"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_GETLISTQUERY_LABEL="PHP getlistquery Method used to add custom filtering"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT="Php Import"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_DISPLAY="Php Import Display"
@@ -836,21 +819,17 @@ COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_DESCRIPTION="Add your PHP her
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_HINT="// PHP Here that should run in the setData Method, $package,$table,$target_headers"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_IMPORT_SETDATA_LABEL="setData Method PHP"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL="Php Model"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_HINT="// PHP methods for the model that the controller will use"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_DESCRIPTION="Add PHP methods for the model that the controller will use. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LABEL="PHP (model methods)"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST="Php Model List"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_HINT="// PHP methods for the model that the controller will use"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_DESCRIPTION="Add PHP methods for the model that the controller will use. Do not add the php tags."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_MODEL_LIST_LABEL="PHP List view (model methods)"
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK="Php Postsavehook"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_HINT="// PHP Here that should run in the postSaveHook Method (object) $model is the data model object and (array) $validData is the validated data."
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_DESCRIPTION="Add PHP Here that should run in the postSaveHook Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_POSTSAVEHOOK_LABEL="PHP postSaveHook Method Target (object) $model for the data model object and (array) $validData for the validated data."
COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE="Php Save"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_HINT="// PHP Here that should run in the save Method (array) $data is where all values are"
-COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL="PHP"
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_DESCRIPTION="Add PHP Here that should run in the save Method. Do not add the php tags."
+COM_COMPONENTBUILDER_ADMIN_VIEW_PHP_SAVE_LABEL="PHP save Method Target (array) $data values"
COM_COMPONENTBUILDER_ADMIN_VIEW_PIE="Pie"
COM_COMPONENTBUILDER_ADMIN_VIEW_PIN="Pin"
COM_COMPONENTBUILDER_ADMIN_VIEW_PLAY="Play"
@@ -1020,6 +999,7 @@ COM_COMPONENTBUILDER_BACKUP_FAILED_PLEASE_TRY_AGAIN_IF_THE_ERROR_CONTINUE_PLEASE
COM_COMPONENTBUILDER_BACKUP_LOCAL_DATA_FIRST="Backup Local Data First"
COM_COMPONENTBUILDER_BACKUP_WAS_DONE_SUCCESSFULLY="Backup was done successfully"
COM_COMPONENTBUILDER_BACK_TO_LIBRARIES="Back to Libraries"
+COM_COMPONENTBUILDER_BADMIN_FIELDS_RELATIONSB_IDS_MISMATCH_IN_BFIELDSB_AND_WAS_NOT_UPDATED_IN_THE_CUSTOM_CODE="Admin fields relations id:%s mismatch in field:%s, and was not updated in the custom code."
COM_COMPONENTBUILDER_BASIC_TUTORIAL_ON_GIT_BSB="Basic Tutorial on git: %s"
COM_COMPONENTBUILDER_BBEST_TO_NOT_CONTINUEBBR_THIS_PACKAGE_BFAILEDB_CHECKSUM_VALIDATION_THIS_COULD_BE_A_SERIOUS_SECURITY_BREACH_DO_NOT_CONTINUE="Best to not continue! This package FAILED checksum validation, this could be a serious security breach! DO NOT CONTINUE!!!"
COM_COMPONENTBUILDER_BBEST_TO_NOT_CONTINUEBBR_WE_COULD_NOT_LOAD_THE_CHECKSUM_FOR_THIS_PACKAGE_AND_SO_NO_VALIDATION_WAS_POSSIBLE_THIS_MAY_BE_DUE_TO_YOUR_NETWORK_OR_A_CHANGE_TO_THAT_PACKAGE_NAME="Best to not continue! We could not load the checksum for this package, and so no validation was possible. This may be due to your network, or a change to that package name."
@@ -2453,6 +2433,8 @@ COM_COMPONENTBUILDER_CONFIG_DKIM_VALUE_DESCRIPTION="This is the TXT value to use
COM_COMPONENTBUILDER_CONFIG_DKIM_VALUE_HINT="v=DKIM1;k=rsa;g=*;s=email;h=sha1;t=s;p=PUBLICKEY"
COM_COMPONENTBUILDER_CONFIG_DKIM_VALUE_LABEL="Value"
COM_COMPONENTBUILDER_CONFIG_DONT_LOAD="Not"
+COM_COMPONENTBUILDER_CONFIG_EDITOR_DESCRIPTION="Select the editor you would like to use as the JCB global editor for all custom coding areas."
+COM_COMPONENTBUILDER_CONFIG_EDITOR_LABEL="Select an editor"
COM_COMPONENTBUILDER_CONFIG_EMAILFROM_DESCRIPTION="The global email address that will be used to send system email."
COM_COMPONENTBUILDER_CONFIG_EMAILFROM_HINT="Email Address Here"
COM_COMPONENTBUILDER_CONFIG_EMAILFROM_LABEL=" From Email"
@@ -2821,12 +2803,10 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT="Credit"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CREDIT_TWO="Credit 2"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS="Css"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DESCRIPTION="Add CSS to the view.css file that will be included in the header of the view. Do not add the style tags."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT="Css Document"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_HINT="// add custom CSS script to the document method. You can add in PHP like this: ".$var." "
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method. You can add in PHP like this: ".$var.""
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_DOCUMENT_LABEL="Custom Script (Document)"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_HINT="// CSS to the view.css"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CSS_LABEL="CSS"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUBE="Cube"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_BUTTON="Custom Button"
@@ -2838,7 +2818,7 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CUSTOM_GET_LABEL="Custom Gets"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DASHBOARD="Dashboard"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DATABASE="Database"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT="Default"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_HINT="// Add the code here."
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_DESCRIPTION="Add the code here."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DEFAULT_LABEL="Default View"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DELETE="Delete"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION="Description"
@@ -2918,14 +2898,12 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INPUT_FILTER_LABEL="Select a Filter"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_INT="INT"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_CSS="JavaScript & CSS"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE="Javascript File"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_HINT="// JavaScript for the view that is loaded in the header via a JS file"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_LABEL="Javascript"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_DESCRIPTION="Add JavaScript for the edit view that is loaded in the header of the document via a JS file. Do not add the script tags. PHP does not work in this field/area/file."
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JAVASCRIPT_FILE_LABEL="Javascript (JS file)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JOOMLA="Joomla"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT="Js Document"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_DESCRIPTION="JS script to the document method."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_HINT="// add custom JS script to the document method. You can add in PHP like this: ".$var." "
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document)"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document) add custom JS script to the document method. You can add in PHP like this: ".$var.""
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_KEY="Key"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAMP="Lamp"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_LAST="Last"
@@ -3000,32 +2978,25 @@ COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE="Phone"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHONE_TWO="Phone 2"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP="PHP"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="php Ajax Method"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add PHP Methods that should run in the AJAX Model. Do not add the php tags."
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_AJAXMETHOD_LABEL="PHP Ajax Methods"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER="Php Controller"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_HINT="// PHP methods for the controller that the button will target"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_DESCRIPTION="Add PHP methods for the controller that the button/s will target. Do not add the php tags."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_CONTROLLER_LABEL="PHP (controller methods)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT="Php Document"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_DESCRIPTION="Add PHP to the document method in the view.html.php file of this view. Do not add the php tags."
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_DOCUMENT_LABEL="PHP document method"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW="Php Jview"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DESCRIPTION="PHP methods for the JViewLegacy class."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY="Php Jview Display"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="PHP script for the JViewLegacy display method."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_HINT="// add custom PHP script to the JViewLegacy display method."
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="Add custom PHP script to the JViewLegacy display method."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_DISPLAY_LABEL="Custom Script (JViewLegacy display)"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_HINT="// add custom PHP methods to the JViewLegacy class."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_LABEL="Custom Script (JViewLegacy)"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_JVIEW_LABEL="Custom Methods (JViewLegacy)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL="Php Model"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_HINT="// PHP methods for the model that the controller will use"
+COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_DESCRIPTION="Add PHP methods for the model that the controller will use. Do not add the php tags."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_MODEL_LABEL="PHP (model methods)"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW="Php View"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file."
-COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_HINT="// add custom PHP script to head of the file."
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PHP_VIEW_LABEL="Custom Script"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIE="Pie"
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_PIN="Pin"
@@ -3183,8 +3154,7 @@ COM_COMPONENTBUILDER_CUSTOM_CODES_N_ITEMS_UNPUBLISHED_1="%s Custom Code unpublis
COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU="Custom Codes Submenu"
COM_COMPONENTBUILDER_CUSTOM_CODES_SUBMENU_DESC="Allows the users in this group to update the submenu of the custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE="Code"
-COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION="Add your code here! [Do not add the placeholders here]"
-COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_HINT="// Add your custom code here **Do Not Add The Placeholders Here** it will be added to the code dynamically!"
+COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_DESCRIPTION="Add your custom code here. Do Not Add The Placeholders Here, it will be added to the code dynamically!"
COM_COMPONENTBUILDER_CUSTOM_CODE_CODE_LABEL="Custom code"
COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE="Comment Type"
COM_COMPONENTBUILDER_CUSTOM_CODE_COMMENT_TYPE_DESCRIPTION="Select what type of comment is used to mark the placement of this code."
@@ -3632,32 +3602,25 @@ COM_COMPONENTBUILDER_DYNAMIC_GET_PAGINATION_LABEL="Add Pagination"
COM_COMPONENTBUILDER_DYNAMIC_GET_PERMISSION="Permissions"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM="Php After Getitem"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS="Php After Getitems"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_HINT="// PHP Here that should run in the getItems Method (array) $items is where all values are"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL="PHP"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_HINT="// PHP Here that should run in the getItem Method (Object) $this->_item[$pk] is the item"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL="PHP"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_DESCRIPTION="Add PHP Here that should run in the getItems Method. Do not add the php tags]"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEMS_LABEL="PHP getItems Method Target (array) $items values"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_DESCRIPTION="Add PHP Here that should run in the getItem Method. Do not add the php tags."
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_AFTER_GETITEM_LABEL="PHP getItem Method Target (Object) $this->_item[$pk] is the item"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM="Php Before Getitem"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS="Php Before Getitems"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_HINT="// PHP Here that should run in the getItems Method before the items are loaded."
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL="PHP"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_HINT="// PHP Here that should run in the getItem Method (int) $pk is the item id"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL="PHP"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_DESCRIPTION="Add PHP Here that should run in the getItems Method before the items are loaded. Do not add the php tags."
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEMS_LABEL="PHP getItems Method"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_DESCRIPTION="Add PHP Here that should run in the getItem Method. Do not add the php tags."
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_BEFORE_GETITEM_LABEL="PHP getItem Method Target (int) $pk is the item id"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION="Php Calculation"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_HINT="// PHP to do the calculation on any field."
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_DESCRIPTION="Add PHP to do the calculation on any field. Do not add the php tags."
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CALCULATION_LABEL="get Calculation (Place all calculated/new values in variables with the following naming convention $cal__xxxxxxx)"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET="Php Custom Get"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_HINT="// Custom PHP that will be added to the method selected above as type."
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION="Add Custom PHP that will be added to the method selected above as type. Do not add the php tags."
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_LABEL="Custom get"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY="Php Getlistquery"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_HINT="// PHP Here that should run in the getlistquery Method (to add custom filtering)"
-COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL="PHP"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_DESCRIPTION="Add PHP Here that should run in the getlistquery Method of the model of this view. Do not add the php tags"
+COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_GETLISTQUERY_LABEL="PHP getlistquery Method used to add custom filtering"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE="Php Router Parse"
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE_DESCRIPTION="Add your PHP here! [Do not add the php tags] Add the php code to override the default JCB implementation of the router parse method for the related view where this dynamicGet is added."
COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_ROUTER_PARSE_HINT="// PHP Here that should run in the parse Method -> switch | (array) $segments - the segments of the URL to parse | (array) $vars - the URL attributes to be used by the application."
@@ -3933,6 +3896,7 @@ COM_COMPONENTBUILDER_FIELD_ADD_JAVASCRIPT_VIEW_FOOTER_LABEL="Add JavaScript (vie
COM_COMPONENTBUILDER_FIELD_BASESIXTY_FOUR="base64"
COM_COMPONENTBUILDER_FIELD_BASIC_ENCRYPTION_LOCALDBKEY="Basic Encryption (local-DB-key)"
COM_COMPONENTBUILDER_FIELD_BIGINT="BIGINT"
+COM_COMPONENTBUILDER_FIELD_BSB_NOT_FOUND_IN_LOCAL_DATABASE_TABLE_S_SO_IMPORTED_OF_ITS_VALUES_FAILED_PLEASE_UPDATE_YOUR_JCB_INSTALL_AND_TRY_AGAIN="Field %s not found in local database table (%s) so imported of its values failed, please update your JCB install and try again."
COM_COMPONENTBUILDER_FIELD_CATID_DESCRIPTION="select one of the following categories"
COM_COMPONENTBUILDER_FIELD_CATID_LABEL="Category"
COM_COMPONENTBUILDER_FIELD_CHAR="CHAR"
@@ -3942,11 +3906,9 @@ COM_COMPONENTBUILDER_FIELD_CREATED_DATE_DESC="The date this Field was created."
COM_COMPONENTBUILDER_FIELD_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_FIELD_CSS_VIEW="Css View"
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS="Css Views"
-COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_HINT="// CSS for the list view"
+COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_DESCRIPTION="Add CSS for the list view. Do not add the style tags."
COM_COMPONENTBUILDER_FIELD_CSS_VIEWS_LABEL="CSS"
-COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_FIELD_CSS_VIEW_HINT="// CSS for the edit view"
+COM_COMPONENTBUILDER_FIELD_CSS_VIEW_DESCRIPTION="Add CSS for the edit view. Do not add the style tags."
COM_COMPONENTBUILDER_FIELD_CSS_VIEW_LABEL="CSS"
COM_COMPONENTBUILDER_FIELD_CURRENT_TIMESTAMP="CURRENT_TIMESTAMP"
COM_COMPONENTBUILDER_FIELD_DATADEFAULT="Datadefault"
@@ -3989,13 +3951,11 @@ COM_COMPONENTBUILDER_FIELD_INDEXES="Indexes"
COM_COMPONENTBUILDER_FIELD_INDEXES_LABEL="Indexes Type"
COM_COMPONENTBUILDER_FIELD_INT="INT"
COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER="Javascript Views Footer"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_HINT="// JavaScript for the list view that is loaded in the footer inside script tags"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript"
+COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_DESCRIPTION="Add JavaScript for the list view that is loaded in the footer inside script tags. Do not add the script tags."
+COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEWS_FOOTER_LABEL="Javascript (list view footer)"
COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER="Javascript View Footer"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_HINT="// JavaScript for the edit view that is loaded in the footer inside script tags"
-COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript"
+COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_DESCRIPTION="Add JavaScript for the edit view that is loaded in the footer inside script tags. Do not add the script tags."
+COM_COMPONENTBUILDER_FIELD_JAVASCRIPT_VIEW_FOOTER_LABEL="Javascript (edit view footer)"
COM_COMPONENTBUILDER_FIELD_JSON="JSON"
COM_COMPONENTBUILDER_FIELD_KEY="KEY"
COM_COMPONENTBUILDER_FIELD_LONGTEXT="LONGTEXT"
@@ -4531,12 +4491,10 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER="Creatuserhelper"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CREATUSERHELPER_LABEL="Add Create User Helper Method"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN="Css Admin"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_HINT="// CSS for the entire back-end of your component"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_DESCRIPTION="Add CSS for the entire back-end of your component. Do not add the style tags."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_ADMIN_LABEL="CSS (admin)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE="Css Site"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_HINT="// CSS for the entire front-end of your component"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_DESCRIPTION="Add CSS for the entire front-end of your component. Do not add the style tags."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CSS_SITE_LABEL="CSS (site)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE="Custom (used in custom code)"
@@ -4589,8 +4547,7 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMAGE_LABEL="Component Image"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMPORT_JCB_PACKAGES_BUTTON_ACCESS="Joomla Component Import JCB Packages Button Access"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_IMPORT_JCB_PACKAGES_BUTTON_ACCESS_DESC=" Allows the users in this group to access the import jcb packages button."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT="Javascript"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_HINT="// JavaScript for the entire back-end"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_DESCRIPTION="Add JavaScript for the entire back-end. Do not add the script tags."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JAVASCRIPT_LABEL="Javascript"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JCB_EXPORT_PACKAGE_NOTE_DESCRIPTION="The settings below are used when you export this component as a JCB Package, for more info on how this works please review the following tutorial (https://youtu.be/lkE0ZiSWufg)."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_JCB_EXPORT_PACKAGE_NOTE_LABEL="JCB Package Export Settings"
@@ -4707,7 +4664,7 @@ Project duration: **###projectWeekTime### weeks** or **###projectMonthTime### mo
## Donations
If you want to support this project, please consider donating:
- * PayPal: [paypal.me/asseblief](https://www.paypal.me/asseblief)
+ * PayPal: [paypal.me/asseblief](https://www.paypal.me/asseblief) (Asseblief = Please) in Afrikaans
* Bitcoin: 18vURxYpPFjvNk8BnUy1ovCAyQmY3MzkSf
* Ethereum: 0x9548144662b47327c954f3e214edb96662d51218
"
@@ -4731,44 +4688,34 @@ COM_COMPONENTBUILDER_JOOMLA_COMPONENT_OTHER="Other"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PERMISSION="Permissions"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT="Php Admin Event"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_DESCRIPTION="PHP script for the global helper admin event method."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_HINT="// add custom PHP script to the global helper admin event method."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL="Global Helper Admin Event"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_ADMIN_EVENT_LABEL="Global Helper Admin Event (method)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN="Php Helper Admin"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL="PHP"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_DESCRIPTION="Add the PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class! Do not add the php tags."
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_ADMIN_LABEL="PHP (admin helper)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH="Php Helper Both"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_DESCRIPTION="Add The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class! Do not add the php tags."
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_BOTH_LABEL="PHP (for both admin & site)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE="Php Helper Site"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_HINT="// The PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class!"
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL="PHP"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_DESCRIPTION="Add the PHP abstract Methods to add to the component helper class. Only Methods! as it will directly be add as methods to the helper class! Do not add the php tags."
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_HELPER_SITE_LABEL="PHP (site helper)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL="Php Method Uninstall"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_DESCRIPTION="PHP script that should run during uninstall."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_HINT="// add custom PHP script that should run during uninstall"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_METHOD_UNINSTALL_LABEL="PHP Method (uninstall)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL="Php Postflight Install"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_DESCRIPTION="PHP script that should run postflight during install."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_HINT="// add custom PHP script that should run during postflight install"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_INSTALL_LABEL="PHP Postflight (install)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE="Php Postflight Update"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_DESCRIPTION="PHP script that should run postflight during update."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_HINT="// add custom PHP script that should run during postflight update"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_POSTFLIGHT_UPDATE_LABEL="PHP Postflight (update)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL="Php Preflight Install"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_DESCRIPTION="PHP script that should run preflight during install."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_HINT="// add custom PHP script that should run during preflight install"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_INSTALL_LABEL="PHP Preflight (install)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE="Php Preflight Update"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_DESCRIPTION="PHP script that should run preflight during update."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_HINT="// add custom PHP script that should run during preflight update"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_PREFLIGHT_UPDATE_LABEL="PHP Preflight (update)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT="Php Site Event"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_DESCRIPTION="PHP script for the global helper site event method."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_HINT="// add custom PHP script to the global helper site event method."
-COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL="Global Helper Site Event"
+COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PHP_SITE_EVENT_LABEL="Global Helper Site Event (method)"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_PUBLISHING="Publishing"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README="Readme"
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_README_LABEL="README.md"
@@ -5091,8 +5038,8 @@ COM_COMPONENTBUILDER_LAYOUT_GET_SNIPPETS_BUTTON_ACCESS="Layout Get Snippets Butt
COM_COMPONENTBUILDER_LAYOUT_GET_SNIPPETS_BUTTON_ACCESS_DESC=" Allows the users in this group to access the get snippets button."
COM_COMPONENTBUILDER_LAYOUT_ID="Id"
COM_COMPONENTBUILDER_LAYOUT_LAYOUT="Layout"
-COM_COMPONENTBUILDER_LAYOUT_LAYOUT_HINT="// Add the layout code here. $displayData is the Object that is used inside the layout file to build displayed output"
-COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL="Layout"
+COM_COMPONENTBUILDER_LAYOUT_LAYOUT_DESCRIPTION="Add the layout code here."
+COM_COMPONENTBUILDER_LAYOUT_LAYOUT_LABEL="Layout $displayData is the Object that is used inside the layout file to build displayed output"
COM_COMPONENTBUILDER_LAYOUT_LIBRARIES="Libraries"
COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_DESCRIPTION="Select the libraries you want to use here."
COM_COMPONENTBUILDER_LAYOUT_LIBRARIES_LABEL="Libraries"
@@ -5118,7 +5065,6 @@ COM_COMPONENTBUILDER_LAYOUT_ORDERING_LABEL="Ordering"
COM_COMPONENTBUILDER_LAYOUT_PERMISSION="Permissions"
COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW="Php View"
COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file."
-COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_HINT="// add custom PHP script to head of the file."
COM_COMPONENTBUILDER_LAYOUT_PHP_VIEW_LABEL="Custom Script"
COM_COMPONENTBUILDER_LAYOUT_PUBLISHING="Publishing"
COM_COMPONENTBUILDER_LAYOUT_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Layout to customise the alias."
@@ -5542,6 +5488,7 @@ COM_COMPONENTBUILDER_NEW_NOTICE="New Notice"
COM_COMPONENTBUILDER_NO="No"
COM_COMPONENTBUILDER_NONE_DB="None DB"
COM_COMPONENTBUILDER_NONE_SELECTED="None selected"
+COM_COMPONENTBUILDER_NOTICE_BOARD="Notice Board"
COM_COMPONENTBUILDER_NOTRANSLATION="no-translation"
COM_COMPONENTBUILDER_NOT_FOUND_OR_ACCESS_DENIED="Not found or access denied!"
COM_COMPONENTBUILDER_NOT_SET="not set"
@@ -5941,12 +5888,10 @@ COM_COMPONENTBUILDER_SITE_VIEW_CREATED_DATE_LABEL="Created Date"
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT="Credit"
COM_COMPONENTBUILDER_SITE_VIEW_CREDIT_TWO="Credit 2"
COM_COMPONENTBUILDER_SITE_VIEW_CSS="Css"
-COM_COMPONENTBUILDER_SITE_VIEW_CSS_DESCRIPTION="Add your CSS here! [Do not add the style tags]"
+COM_COMPONENTBUILDER_SITE_VIEW_CSS_DESCRIPTION="Add CSS to the view.css file that will be included in the header of the view. Do not add the style tags."
COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT="Css Document"
-COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method."
-COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_HINT="// add custom CSS script to the document method. You can add in PHP like this: ".$var." "
+COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_DESCRIPTION="CSS script to the document method. You can add in PHP like this: ".$var.""
COM_COMPONENTBUILDER_SITE_VIEW_CSS_DOCUMENT_LABEL="Custom Script (Document)"
-COM_COMPONENTBUILDER_SITE_VIEW_CSS_HINT="// CSS to the view.css"
COM_COMPONENTBUILDER_SITE_VIEW_CSS_LABEL="CSS"
COM_COMPONENTBUILDER_SITE_VIEW_CUBE="Cube"
COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM="Custom"
@@ -5959,7 +5904,7 @@ COM_COMPONENTBUILDER_SITE_VIEW_CUSTOM_GET_LABEL="Custom Gets"
COM_COMPONENTBUILDER_SITE_VIEW_DASHBOARD="Dashboard"
COM_COMPONENTBUILDER_SITE_VIEW_DATABASE="Database"
COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT="Default"
-COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_HINT="// Add the code here."
+COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_DESCRIPTION="Add the code here."
COM_COMPONENTBUILDER_SITE_VIEW_DEFAULT_LABEL="Default View"
COM_COMPONENTBUILDER_SITE_VIEW_DELETE="Delete"
COM_COMPONENTBUILDER_SITE_VIEW_DESCRIPTION="Description"
@@ -6036,14 +5981,12 @@ COM_COMPONENTBUILDER_SITE_VIEW_INPUT_FILTER_LABEL="Select a Filter"
COM_COMPONENTBUILDER_SITE_VIEW_INT="INT"
COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_CSS="JavaScript & CSS"
COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE="Javascript File"
-COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_DESCRIPTION="Add your JavaScript here! [Do not add the script tags]"
-COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_HINT="// JavaScript for the view that is loaded in the header via a JS file"
-COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_LABEL="Javascript"
+COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_DESCRIPTION="Add JavaScript for the edit view that is loaded in the header of the document via a JS file. Do not add the script tags. PHP does not work in this field/area/file."
+COM_COMPONENTBUILDER_SITE_VIEW_JAVASCRIPT_FILE_LABEL="Javascript (JS file)"
COM_COMPONENTBUILDER_SITE_VIEW_JOOMLA="Joomla"
COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT="Js Document"
COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_DESCRIPTION="JS script to the document method."
-COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_HINT="// add custom JS script to the document method. You can add in PHP like this: ".$var." "
-COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document)"
+COM_COMPONENTBUILDER_SITE_VIEW_JS_DOCUMENT_LABEL="Custom Script (Document) add custom JS script to the document method. You can add in PHP like this: ".$var.""
COM_COMPONENTBUILDER_SITE_VIEW_KEY="Key"
COM_COMPONENTBUILDER_SITE_VIEW_LAMP="Lamp"
COM_COMPONENTBUILDER_SITE_VIEW_LAST="Last"
@@ -6120,32 +6063,25 @@ COM_COMPONENTBUILDER_SITE_VIEW_PHONE="Phone"
COM_COMPONENTBUILDER_SITE_VIEW_PHONE_TWO="Phone 2"
COM_COMPONENTBUILDER_SITE_VIEW_PHP="PHP"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD="Php Ajaxmethod"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_HINT="// PHP Method that should run in the AJAX Model"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_LABEL="php Ajax Method"
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_DESCRIPTION="Add PHP Methods that should run in the AJAX Model. Do not add the php tags."
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_AJAXMETHOD_LABEL="PHP Ajax Methods"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER="Php Controller"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_HINT="// PHP methods for the controller that the button will target"
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_DESCRIPTION="Add PHP methods for the controller that the button/s will target. Do not add the php tags."
COM_COMPONENTBUILDER_SITE_VIEW_PHP_CONTROLLER_LABEL="PHP (controller methods)"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT="Php Document"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_DESCRIPTION="PHP script to the document method."
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_HINT="// add custom PHP script to the document method."
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_LABEL="Custom Script (Document)"
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_DESCRIPTION="Add PHP to the document method in the view.html.php file of this view. Do not add the php tags."
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_DOCUMENT_LABEL="PHP document method"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW="Php Jview"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DESCRIPTION="PHP methods for the JViewLegacy class."
COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY="Php Jview Display"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="PHP script for the JViewLegacy display method."
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_HINT="// add custom PHP script to the JViewLegacy display method."
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_DESCRIPTION="Add custom PHP script to the JViewLegacy display method."
COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_DISPLAY_LABEL="Custom Script (JViewLegacy display)"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_HINT="// add custom PHP methods to the JViewLegacy class."
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_LABEL="Custom Script (JViewLegacy)"
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_JVIEW_LABEL="Custom Methods (JViewLegacy)"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL="Php Model"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_DESCRIPTION="Add your PHP here! [Do not add the php tags]"
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_HINT="// PHP methods for the model that the controller will use"
+COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_DESCRIPTION="Add PHP methods for the model that the controller will use. Do not add the php tags."
COM_COMPONENTBUILDER_SITE_VIEW_PHP_MODEL_LABEL="PHP (model methods)"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW="Php View"
COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file."
-COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_HINT="// add custom PHP script to head of the file."
COM_COMPONENTBUILDER_SITE_VIEW_PHP_VIEW_LABEL="Custom Script"
COM_COMPONENTBUILDER_SITE_VIEW_PIE="Pie"
COM_COMPONENTBUILDER_SITE_VIEW_PIN="Pin"
@@ -6481,6 +6417,7 @@ COM_COMPONENTBUILDER_S_BEING_IMPORTED="%s Being Imported"
COM_COMPONENTBUILDER_S_NOT_LINKED="%s Not Linked"
COM_COMPONENTBUILDER_S_PLEASE_WAIT_THE_COMPONENT_IS_BEING_COMPILED="%s, please wait! The component is being compiled"
COM_COMPONENTBUILDER_TAB="Tab"
+COM_COMPONENTBUILDER_TABLE_BSB_NOT_FOUND_IN_THE_LOCAL_DATABASE_SO_ITS_VALUES_COULD_NOT_BE_IMPORTED_PLEASE_UPDATE_YOUR_JCB_INSTALL_AND_TRY_AGAIN="Table %s not found in the local database so its values could not be imported, please update your JCB install and try again."
COM_COMPONENTBUILDER_TARGET_BEHAVIOUR="Target Behaviour"
COM_COMPONENTBUILDER_TARGET_FIELDS="Target Field/s"
COM_COMPONENTBUILDER_TARGET_PATH="Target Path"
@@ -6586,7 +6523,6 @@ COM_COMPONENTBUILDER_TEMPLATE_ORDERING_LABEL="Ordering"
COM_COMPONENTBUILDER_TEMPLATE_PERMISSION="Permissions"
COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW="Php View"
COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_DESCRIPTION="the PHP script that must run in the head of the file."
-COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_HINT="// add custom PHP script to head of the file."
COM_COMPONENTBUILDER_TEMPLATE_PHP_VIEW_LABEL="Custom Script"
COM_COMPONENTBUILDER_TEMPLATE_PUBLISHING="Publishing"
COM_COMPONENTBUILDER_TEMPLATE_SAVE_WARNING="Alias already existed so a number was added at the end. You can re-edit the Template to customise the alias."
@@ -6595,7 +6531,7 @@ COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_DESCRIPTION="Select a snippet you would li
COM_COMPONENTBUILDER_TEMPLATE_SNIPPET_LABEL="Select a Snippet"
COM_COMPONENTBUILDER_TEMPLATE_STATUS="Status"
COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE="Template"
-COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_HINT="// Add the Template code here."
+COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_DESCRIPTION="Add the Template code here."
COM_COMPONENTBUILDER_TEMPLATE_TEMPLATE_LABEL="Template"
COM_COMPONENTBUILDER_TEMPLATE_VERSION_DESC="A count of the number of times this Template has been revised."
COM_COMPONENTBUILDER_TEMPLATE_VERSION_LABEL="Revision"
@@ -6796,8 +6732,8 @@ COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_THE_SERVER_DETAILS_BS_
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_CLONE_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to clone a component, please contact your system administrator for more help."
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_IMPORT_A_COMPONENT_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to import a component, please contact your system administrator for more help."
COM_COMPONENTBUILDER_YOU_DO_NOT_HAVE_PERMISSION_TO_SHARE_THE_SNIPPETS_PLEASE_CONTACT_YOUR_SYSTEM_ADMINISTRATOR_FOR_MORE_HELP="You do not have permission to share the snippets, please contact your system administrator for more help."
-COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_FIFTY_S_IS_CONSIDERED_BAD_PRACTICE="You have %s %s. Adding more then 50 %s is considered bad practice."
-COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_FIFTY_S_IS_CONSIDERED_BAD_PRACTICE_YOUR_S_PAGE_LOAD_IN_JCB_WILL_SLOWDOWN_YOU_SHOULD_CONSIDER_DECOUPLING_SOME_OF_THESE_S="You have %s %s. Adding more then 50 %s is considered bad practice. Your %s page load in JCB will slowdown. You should consider decoupling some of these %s."
+COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE="You have %s %s. Adding more then %s %s is considered bad practice."
+COM_COMPONENTBUILDER_YOU_HAVE_S_S_ADDING_MORE_THEN_S_S_IS_CONSIDERED_BAD_PRACTICE_YOUR_S_PAGE_LOAD_IN_JCB_WILL_SLOWDOWN_YOU_SHOULD_CONSIDER_DECOUPLING_SOME_OF_THESE_S="You have %s %s. Adding more then %s %s is considered bad practice. Your %s page load in JCB will slowdown. You should consider decoupling some of these %s."
COM_COMPONENTBUILDER_YOU_MUST_ADD_AN_UNIQUE_FUNCTION_NAME="You must add an unique function name."
COM_COMPONENTBUILDER_YOU_MUST_ADD_AN_UNIQUE_VALIDATION_RULE_NAME="You must add an unique validation rule name."
COM_COMPONENTBUILDER_YOU_MUST_FIRST_LINK_AN_ADMIN_OR_A_CUSTOM_ADMIN_VIEW_TO_THIS_COMPONENT_THEN_YOU_CAN_SELECT_IT_HERE="You must first link an admin or a custom admin view to this component, then you can select it here"
diff --git a/admin/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php
index 32637cb57..28262d538 100644
--- a/admin/layouts/admin_view/php_fullwidth.php
+++ b/admin/layouts/admin_view/php_fullwidth.php
@@ -27,6 +27,8 @@ $fields = $displayData->get('fields') ?: array(
'php_getitems_after_all',
'add_php_getlistquery',
'php_getlistquery',
+ 'add_php_getform',
+ 'php_getform',
'add_php_before_save',
'php_before_save',
'add_php_save',
diff --git a/admin/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php
index 29a9ee253..dd93e2bda 100644
--- a/admin/layouts/fieldtype/fields_fullwidth.php
+++ b/admin/layouts/fieldtype/fields_fullwidth.php
@@ -14,7 +14,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->wadfields;
+$items = $displayData->waefields;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=fields&task=field.edit";
diff --git a/admin/layouts/server/linked_components_fullwidth.php b/admin/layouts/server/linked_components_fullwidth.php
index 1ebc0da63..843ad66fc 100644
--- a/admin/layouts/server/linked_components_fullwidth.php
+++ b/admin/layouts/server/linked_components_fullwidth.php
@@ -14,7 +14,7 @@
defined('_JEXEC') or die('Restricted access');
// set the defaults
-$items = $displayData->wanlinked_components;
+$items = $displayData->waolinked_components;
$user = JFactory::getUser();
$id = $displayData->item->id;
$edit = "index.php?option=com_componentbuilder&view=joomla_components&task=joomla_component.edit";
diff --git a/admin/models/admin_fields.php b/admin/models/admin_fields.php
index 1a5ca4e1d..b6e63d1df 100644
--- a/admin/models/admin_fields.php
+++ b/admin/models/admin_fields.php
@@ -205,7 +205,6 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/admin_fields_conditions.php b/admin/models/admin_fields_conditions.php
index 182c96f78..acaff146c 100644
--- a/admin/models/admin_fields_conditions.php
+++ b/admin/models/admin_fields_conditions.php
@@ -205,7 +205,6 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/admin_fields_relations.php b/admin/models/admin_fields_relations.php
index 49fd62aac..60c8adcad 100644
--- a/admin/models/admin_fields_relations.php
+++ b/admin/models/admin_fields_relations.php
@@ -185,7 +185,6 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/admin_view.php b/admin/models/admin_view.php
index 8b346660e..63f0fd2a0 100644
--- a/admin/models/admin_view.php
+++ b/admin/models/admin_view.php
@@ -86,6 +86,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->metadata = $registry->toArray();
}
+ if (!empty($item->php_import_headers))
+ {
+ // base64 Decode php_import_headers.
+ $item->php_import_headers = base64_decode($item->php_import_headers);
+ }
+
if (!empty($item->html_import_view))
{
// base64 Decode html_import_view.
@@ -98,12 +104,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_import_save = base64_decode($item->php_import_save);
}
- if (!empty($item->php_import_headers))
- {
- // base64 Decode php_import_headers.
- $item->php_import_headers = base64_decode($item->php_import_headers);
- }
-
if (!empty($item->php_getitem))
{
// base64 Decode php_getitem.
@@ -134,10 +134,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_getlistquery = base64_decode($item->php_getlistquery);
}
- if (!empty($item->php_before_save))
+ if (!empty($item->php_getform))
{
- // base64 Decode php_before_save.
- $item->php_before_save = base64_decode($item->php_before_save);
+ // base64 Decode php_getform.
+ $item->php_getform = base64_decode($item->php_getform);
}
if (!empty($item->css_views))
@@ -146,78 +146,84 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->css_views = base64_decode($item->css_views);
}
+ if (!empty($item->php_before_save))
+ {
+ // base64 Decode php_before_save.
+ $item->php_before_save = base64_decode($item->php_before_save);
+ }
+
if (!empty($item->php_save))
{
// base64 Decode php_save.
$item->php_save = base64_decode($item->php_save);
}
- if (!empty($item->php_postsavehook))
- {
- // base64 Decode php_postsavehook.
- $item->php_postsavehook = base64_decode($item->php_postsavehook);
- }
-
if (!empty($item->javascript_view_file))
{
// base64 Decode javascript_view_file.
$item->javascript_view_file = base64_decode($item->javascript_view_file);
}
+ if (!empty($item->php_postsavehook))
+ {
+ // base64 Decode php_postsavehook.
+ $item->php_postsavehook = base64_decode($item->php_postsavehook);
+ }
+
if (!empty($item->php_allowedit))
{
// base64 Decode php_allowedit.
$item->php_allowedit = base64_decode($item->php_allowedit);
}
- if (!empty($item->php_batchcopy))
- {
- // base64 Decode php_batchcopy.
- $item->php_batchcopy = base64_decode($item->php_batchcopy);
- }
-
if (!empty($item->javascript_view_footer))
{
// base64 Decode javascript_view_footer.
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
}
+ if (!empty($item->php_batchcopy))
+ {
+ // base64 Decode php_batchcopy.
+ $item->php_batchcopy = base64_decode($item->php_batchcopy);
+ }
+
if (!empty($item->php_batchmove))
{
// base64 Decode php_batchmove.
$item->php_batchmove = base64_decode($item->php_batchmove);
}
- if (!empty($item->php_before_publish))
- {
- // base64 Decode php_before_publish.
- $item->php_before_publish = base64_decode($item->php_before_publish);
- }
-
if (!empty($item->javascript_views_file))
{
// base64 Decode javascript_views_file.
$item->javascript_views_file = base64_decode($item->javascript_views_file);
}
+ if (!empty($item->php_before_publish))
+ {
+ // base64 Decode php_before_publish.
+ $item->php_before_publish = base64_decode($item->php_before_publish);
+ }
+
if (!empty($item->php_after_publish))
{
// base64 Decode php_after_publish.
$item->php_after_publish = base64_decode($item->php_after_publish);
}
- if (!empty($item->php_before_delete))
- {
- // base64 Decode php_before_delete.
- $item->php_before_delete = base64_decode($item->php_before_delete);
- }
-
if (!empty($item->javascript_views_footer))
{
// base64 Decode javascript_views_footer.
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
}
+ if (!empty($item->php_before_delete))
+ {
+ // base64 Decode php_before_delete.
+ $item->php_before_delete = base64_decode($item->php_before_delete);
+ }
+
if (!empty($item->php_after_delete))
{
// base64 Decode php_after_delete.
@@ -236,60 +242,68 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->php_controller = base64_decode($item->php_controller);
}
- if (!empty($item->sql))
- {
- // base64 Decode sql.
- $item->sql = base64_decode($item->sql);
- }
-
if (!empty($item->php_model))
{
// base64 Decode php_model.
$item->php_model = base64_decode($item->php_model);
}
+ if (!empty($item->sql))
+ {
+ // base64 Decode sql.
+ $item->sql = base64_decode($item->sql);
+ }
+
if (!empty($item->php_controller_list))
{
// base64 Decode php_controller_list.
$item->php_controller_list = base64_decode($item->php_controller_list);
}
- if (!empty($item->php_import_display))
- {
- // base64 Decode php_import_display.
- $item->php_import_display = base64_decode($item->php_import_display);
- }
-
if (!empty($item->php_model_list))
{
// base64 Decode php_model_list.
$item->php_model_list = base64_decode($item->php_model_list);
}
+ if (!empty($item->php_import_display))
+ {
+ // base64 Decode php_import_display.
+ $item->php_import_display = base64_decode($item->php_import_display);
+ }
+
if (!empty($item->php_import))
{
// base64 Decode php_import.
$item->php_import = base64_decode($item->php_import);
}
- if (!empty($item->php_import_setdata))
- {
- // base64 Decode php_import_setdata.
- $item->php_import_setdata = base64_decode($item->php_import_setdata);
- }
-
if (!empty($item->php_ajaxmethod))
{
// base64 Decode php_ajaxmethod.
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
}
+ if (!empty($item->php_import_setdata))
+ {
+ // base64 Decode php_import_setdata.
+ $item->php_import_setdata = base64_decode($item->php_import_setdata);
+ }
+
if (!empty($item->php_import_ext))
{
// base64 Decode php_import_ext.
$item->php_import_ext = base64_decode($item->php_import_ext);
}
+ if (!empty($item->addtables))
+ {
+ // Convert the addtables field to an array.
+ $addtables = new Registry;
+ $addtables->loadString($item->addtables);
+ $item->addtables = $addtables->toArray();
+ }
+
if (!empty($item->addpermissions))
{
// Convert the addpermissions field to an array.
@@ -314,14 +328,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$item->addlinked_views = $addlinked_views->toArray();
}
- if (!empty($item->addtables))
- {
- // Convert the addtables field to an array.
- $addtables = new Registry;
- $addtables->loadString($item->addtables);
- $item->addtables = $addtables->toArray();
- }
-
if (!empty($item->alias_builder))
{
// Convert the alias_builder field to an array.
@@ -500,6 +506,22 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
@@ -1180,6 +1202,19 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['system_name'] = $data['name_single'];
}
+ // Set the addtables items to data.
+ if (isset($data['addtables']) && is_array($data['addtables']))
+ {
+ $addtables = new JRegistry;
+ $addtables->loadArray($data['addtables']);
+ $data['addtables'] = (string) $addtables;
+ }
+ elseif (!isset($data['addtables']))
+ {
+ // Set the empty addtables to data
+ $data['addtables'] = '';
+ }
+
// Set the addpermissions items to data.
if (isset($data['addpermissions']) && is_array($data['addpermissions']))
{
@@ -1219,19 +1254,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['addlinked_views'] = '';
}
- // Set the addtables items to data.
- if (isset($data['addtables']) && is_array($data['addtables']))
- {
- $addtables = new JRegistry;
- $addtables->loadArray($data['addtables']);
- $data['addtables'] = (string) $addtables;
- }
- elseif (!isset($data['addtables']))
- {
- // Set the empty addtables to data
- $data['addtables'] = '';
- }
-
// Set the alias_builder items to data.
if (isset($data['alias_builder']) && is_array($data['alias_builder']))
{
@@ -1271,6 +1293,12 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['ajax_input'] = '';
}
+ // Set the php_import_headers string to base64 string.
+ if (isset($data['php_import_headers']))
+ {
+ $data['php_import_headers'] = base64_encode($data['php_import_headers']);
+ }
+
// Set the html_import_view string to base64 string.
if (isset($data['html_import_view']))
{
@@ -1283,12 +1311,6 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_import_save'] = base64_encode($data['php_import_save']);
}
- // Set the php_import_headers string to base64 string.
- if (isset($data['php_import_headers']))
- {
- $data['php_import_headers'] = base64_encode($data['php_import_headers']);
- }
-
// Set the php_getitem string to base64 string.
if (isset($data['php_getitem']))
{
@@ -1319,10 +1341,10 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_getlistquery'] = base64_encode($data['php_getlistquery']);
}
- // Set the php_before_save string to base64 string.
- if (isset($data['php_before_save']))
+ // Set the php_getform string to base64 string.
+ if (isset($data['php_getform']))
{
- $data['php_before_save'] = base64_encode($data['php_before_save']);
+ $data['php_getform'] = base64_encode($data['php_getform']);
}
// Set the css_views string to base64 string.
@@ -1331,78 +1353,84 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['css_views'] = base64_encode($data['css_views']);
}
+ // Set the php_before_save string to base64 string.
+ if (isset($data['php_before_save']))
+ {
+ $data['php_before_save'] = base64_encode($data['php_before_save']);
+ }
+
// Set the php_save string to base64 string.
if (isset($data['php_save']))
{
$data['php_save'] = base64_encode($data['php_save']);
}
- // Set the php_postsavehook string to base64 string.
- if (isset($data['php_postsavehook']))
- {
- $data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
- }
-
// Set the javascript_view_file string to base64 string.
if (isset($data['javascript_view_file']))
{
$data['javascript_view_file'] = base64_encode($data['javascript_view_file']);
}
+ // Set the php_postsavehook string to base64 string.
+ if (isset($data['php_postsavehook']))
+ {
+ $data['php_postsavehook'] = base64_encode($data['php_postsavehook']);
+ }
+
// Set the php_allowedit string to base64 string.
if (isset($data['php_allowedit']))
{
$data['php_allowedit'] = base64_encode($data['php_allowedit']);
}
- // Set the php_batchcopy string to base64 string.
- if (isset($data['php_batchcopy']))
- {
- $data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
- }
-
// Set the javascript_view_footer string to base64 string.
if (isset($data['javascript_view_footer']))
{
$data['javascript_view_footer'] = base64_encode($data['javascript_view_footer']);
}
+ // Set the php_batchcopy string to base64 string.
+ if (isset($data['php_batchcopy']))
+ {
+ $data['php_batchcopy'] = base64_encode($data['php_batchcopy']);
+ }
+
// Set the php_batchmove string to base64 string.
if (isset($data['php_batchmove']))
{
$data['php_batchmove'] = base64_encode($data['php_batchmove']);
}
- // Set the php_before_publish string to base64 string.
- if (isset($data['php_before_publish']))
- {
- $data['php_before_publish'] = base64_encode($data['php_before_publish']);
- }
-
// Set the javascript_views_file string to base64 string.
if (isset($data['javascript_views_file']))
{
$data['javascript_views_file'] = base64_encode($data['javascript_views_file']);
}
+ // Set the php_before_publish string to base64 string.
+ if (isset($data['php_before_publish']))
+ {
+ $data['php_before_publish'] = base64_encode($data['php_before_publish']);
+ }
+
// Set the php_after_publish string to base64 string.
if (isset($data['php_after_publish']))
{
$data['php_after_publish'] = base64_encode($data['php_after_publish']);
}
- // Set the php_before_delete string to base64 string.
- if (isset($data['php_before_delete']))
- {
- $data['php_before_delete'] = base64_encode($data['php_before_delete']);
- }
-
// Set the javascript_views_footer string to base64 string.
if (isset($data['javascript_views_footer']))
{
$data['javascript_views_footer'] = base64_encode($data['javascript_views_footer']);
}
+ // Set the php_before_delete string to base64 string.
+ if (isset($data['php_before_delete']))
+ {
+ $data['php_before_delete'] = base64_encode($data['php_before_delete']);
+ }
+
// Set the php_after_delete string to base64 string.
if (isset($data['php_after_delete']))
{
@@ -1421,54 +1449,54 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
$data['php_controller'] = base64_encode($data['php_controller']);
}
- // Set the sql string to base64 string.
- if (isset($data['sql']))
- {
- $data['sql'] = base64_encode($data['sql']);
- }
-
// Set the php_model string to base64 string.
if (isset($data['php_model']))
{
$data['php_model'] = base64_encode($data['php_model']);
}
+ // Set the sql string to base64 string.
+ if (isset($data['sql']))
+ {
+ $data['sql'] = base64_encode($data['sql']);
+ }
+
// Set the php_controller_list string to base64 string.
if (isset($data['php_controller_list']))
{
$data['php_controller_list'] = base64_encode($data['php_controller_list']);
}
- // Set the php_import_display string to base64 string.
- if (isset($data['php_import_display']))
- {
- $data['php_import_display'] = base64_encode($data['php_import_display']);
- }
-
// Set the php_model_list string to base64 string.
if (isset($data['php_model_list']))
{
$data['php_model_list'] = base64_encode($data['php_model_list']);
}
+ // Set the php_import_display string to base64 string.
+ if (isset($data['php_import_display']))
+ {
+ $data['php_import_display'] = base64_encode($data['php_import_display']);
+ }
+
// Set the php_import string to base64 string.
if (isset($data['php_import']))
{
$data['php_import'] = base64_encode($data['php_import']);
}
- // Set the php_import_setdata string to base64 string.
- if (isset($data['php_import_setdata']))
- {
- $data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
- }
-
// Set the php_ajaxmethod string to base64 string.
if (isset($data['php_ajaxmethod']))
{
$data['php_ajaxmethod'] = base64_encode($data['php_ajaxmethod']);
}
+ // Set the php_import_setdata string to base64 string.
+ if (isset($data['php_import_setdata']))
+ {
+ $data['php_import_setdata'] = base64_encode($data['php_import_setdata']);
+ }
+
// Set the php_import_ext string to base64 string.
if (isset($data['php_import_ext']))
{
diff --git a/admin/models/admin_views.php b/admin/models/admin_views.php
index 73ff4638d..099600954 100644
--- a/admin/models/admin_views.php
+++ b/admin/models/admin_views.php
@@ -244,12 +244,12 @@ class ComponentbuilderModelAdmin_views extends JModelList
continue;
}
+ // decode php_import_headers
+ $item->php_import_headers = base64_decode($item->php_import_headers);
// decode html_import_view
$item->html_import_view = base64_decode($item->html_import_view);
// decode php_import_save
$item->php_import_save = base64_decode($item->php_import_save);
- // decode php_import_headers
- $item->php_import_headers = base64_decode($item->php_import_headers);
// decode php_getitem
$item->php_getitem = base64_decode($item->php_getitem);
// decode php_getitems
@@ -260,56 +260,58 @@ class ComponentbuilderModelAdmin_views extends JModelList
$item->css_view = base64_decode($item->css_view);
// decode php_getlistquery
$item->php_getlistquery = base64_decode($item->php_getlistquery);
- // decode php_before_save
- $item->php_before_save = base64_decode($item->php_before_save);
+ // decode php_getform
+ $item->php_getform = base64_decode($item->php_getform);
// decode css_views
$item->css_views = base64_decode($item->css_views);
+ // decode php_before_save
+ $item->php_before_save = base64_decode($item->php_before_save);
// decode php_save
$item->php_save = base64_decode($item->php_save);
- // decode php_postsavehook
- $item->php_postsavehook = base64_decode($item->php_postsavehook);
// decode javascript_view_file
$item->javascript_view_file = base64_decode($item->javascript_view_file);
+ // decode php_postsavehook
+ $item->php_postsavehook = base64_decode($item->php_postsavehook);
// decode php_allowedit
$item->php_allowedit = base64_decode($item->php_allowedit);
- // decode php_batchcopy
- $item->php_batchcopy = base64_decode($item->php_batchcopy);
// decode javascript_view_footer
$item->javascript_view_footer = base64_decode($item->javascript_view_footer);
+ // decode php_batchcopy
+ $item->php_batchcopy = base64_decode($item->php_batchcopy);
// decode php_batchmove
$item->php_batchmove = base64_decode($item->php_batchmove);
- // decode php_before_publish
- $item->php_before_publish = base64_decode($item->php_before_publish);
// decode javascript_views_file
$item->javascript_views_file = base64_decode($item->javascript_views_file);
+ // decode php_before_publish
+ $item->php_before_publish = base64_decode($item->php_before_publish);
// decode php_after_publish
$item->php_after_publish = base64_decode($item->php_after_publish);
- // decode php_before_delete
- $item->php_before_delete = base64_decode($item->php_before_delete);
// decode javascript_views_footer
$item->javascript_views_footer = base64_decode($item->javascript_views_footer);
+ // decode php_before_delete
+ $item->php_before_delete = base64_decode($item->php_before_delete);
// decode php_after_delete
$item->php_after_delete = base64_decode($item->php_after_delete);
// decode php_document
$item->php_document = base64_decode($item->php_document);
// decode php_controller
$item->php_controller = base64_decode($item->php_controller);
- // decode sql
- $item->sql = base64_decode($item->sql);
// decode php_model
$item->php_model = base64_decode($item->php_model);
+ // decode sql
+ $item->sql = base64_decode($item->sql);
// decode php_controller_list
$item->php_controller_list = base64_decode($item->php_controller_list);
- // decode php_import_display
- $item->php_import_display = base64_decode($item->php_import_display);
// decode php_model_list
$item->php_model_list = base64_decode($item->php_model_list);
+ // decode php_import_display
+ $item->php_import_display = base64_decode($item->php_import_display);
// decode php_import
$item->php_import = base64_decode($item->php_import);
- // decode php_import_setdata
- $item->php_import_setdata = base64_decode($item->php_import_setdata);
// decode php_ajaxmethod
$item->php_ajaxmethod = base64_decode($item->php_ajaxmethod);
+ // decode php_import_setdata
+ $item->php_import_setdata = base64_decode($item->php_import_setdata);
// decode php_import_ext
$item->php_import_ext = base64_decode($item->php_import_ext);
// unset the values we don't want exported.
diff --git a/admin/models/ajax.php b/admin/models/ajax.php
index 0796869ff..c7e03c5c7 100644
--- a/admin/models/ajax.php
+++ b/admin/models/ajax.php
@@ -193,7 +193,7 @@ class ComponentbuilderModelAjax extends JModelList
}
return $result;
}
-
+
protected function hasCurl()
{
return function_exists('curl_version');
@@ -233,24 +233,29 @@ class ComponentbuilderModelAjax extends JModelList
return false;
}
+ protected $rowNumbers = array(
+ 'admin_fields_conditions' => 80,
+ 'admin_fields' => 50
+ );
+
protected $buttonArray = array(
- 'library_config' => 'libraries_config',
- 'library_files_folders_urls' => 'libraries_files_folders_urls',
- 'admin_fields' => 'admins_fields',
- 'admin_fields_conditions' => 'admins_fields_conditions',
- 'admin_fields_relations' => 'admins_fields_relations',
- 'validation_rule' => 'validation_rules',
- 'field' => 'fields',
- 'component_admin_views' => 'components_admin_views' ,
- 'component_site_views' => 'components_site_views',
- 'component_custom_admin_views' => 'components_custom_views',
- 'component_updates' => 'components_updates',
- 'component_mysql_tweaks' => 'components_mysql_tweaks',
- 'component_custom_admin_menus' => 'components_custom_admin_menus',
- 'component_config' => 'components_config',
- 'component_dashboard' => 'components_dashboard',
- 'component_files_folders' => 'components_files_folders',
- 'language' => true);
+ 'library_config' => 'libraries_config',
+ 'library_files_folders_urls' => 'libraries_files_folders_urls',
+ 'admin_fields' => 'admins_fields',
+ 'admin_fields_conditions' => 'admins_fields_conditions',
+ 'admin_fields_relations' => 'admins_fields_relations',
+ 'validation_rule' => 'validation_rules',
+ 'field' => 'fields',
+ 'component_admin_views' => 'components_admin_views' ,
+ 'component_site_views' => 'components_site_views',
+ 'component_custom_admin_views' => 'components_custom_views',
+ 'component_updates' => 'components_updates',
+ 'component_mysql_tweaks' => 'components_mysql_tweaks',
+ 'component_custom_admin_menus' => 'components_custom_admin_menus',
+ 'component_config' => 'components_config',
+ 'component_dashboard' => 'components_dashboard',
+ 'component_files_folders' => 'components_files_folders',
+ 'language' => true);
public function getButton($type, $size)
{
@@ -702,15 +707,17 @@ class ComponentbuilderModelAjax extends JModelList
$this->checkRepeatableConversion($fieldsData, $fieldName, $id, $idName);
// get the table
$table = $this->getSubformTable($type, $fieldsData);
+ // get row number
+ $number = (isset($this->rowNumbers[$type]) && $this->rowNumbers[$type]) ? $this->rowNumbers[$type] : false;
// set notice of bad practice
$notice = '';
- if ($idName === 'admin_view' && isset($this->rowNumber) && $this->rowNumber > 50)
+ if ($number && isset($this->rowNumber) && $this->rowNumber > $number)
{
- $notice = '
';
}
// return table
return $notice.$table;
@@ -2110,7 +2117,7 @@ class ComponentbuilderModelAjax extends JModelList
'php_after_delete','php_after_publish','php_ajaxmethod','php_allowedit','php_batchcopy',
'php_batchmove','php_before_delete','php_before_publish','php_before_save','php_controller',
'php_controller_list','php_document','php_getitem','php_getitems','php_getitems_after_all',
- 'php_getlistquery','php_import','php_import_display','php_import_ext','php_import_headers',
+ 'php_getlistquery','php_import','php_import_display','php_import_ext','php_import_headers','php_getform',
'php_import_save','php_import_setdata','php_model','php_model_list','php_postsavehook','php_save');
$targets['admin_view']['view'] = 'admin_views';
$targets['admin_view']['not_base64'] = array();
diff --git a/admin/models/component_admin_views.php b/admin/models/component_admin_views.php
index b43ae277a..2991135a5 100644
--- a/admin/models/component_admin_views.php
+++ b/admin/models/component_admin_views.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_config.php b/admin/models/component_config.php
index 55683e1ff..ca398cd29 100644
--- a/admin/models/component_config.php
+++ b/admin/models/component_config.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_custom_admin_menus.php b/admin/models/component_custom_admin_menus.php
index 261501f6d..3bc75b7e1 100644
--- a/admin/models/component_custom_admin_menus.php
+++ b/admin/models/component_custom_admin_menus.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_custom_admin_views.php b/admin/models/component_custom_admin_views.php
index 5a5bc8d3f..c8bee38c5 100644
--- a/admin/models/component_custom_admin_views.php
+++ b/admin/models/component_custom_admin_views.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_dashboard.php b/admin/models/component_dashboard.php
index 99ac42e4e..f35f918af 100644
--- a/admin/models/component_dashboard.php
+++ b/admin/models/component_dashboard.php
@@ -222,7 +222,6 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_files_folders.php b/admin/models/component_files_folders.php
index 5a7c7d138..7b323428e 100644
--- a/admin/models/component_files_folders.php
+++ b/admin/models/component_files_folders.php
@@ -241,7 +241,6 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_mysql_tweaks.php b/admin/models/component_mysql_tweaks.php
index fe94e30a0..7841ff435 100644
--- a/admin/models/component_mysql_tweaks.php
+++ b/admin/models/component_mysql_tweaks.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_site_views.php b/admin/models/component_site_views.php
index 8f085e8bd..d0be872db 100644
--- a/admin/models/component_site_views.php
+++ b/admin/models/component_site_views.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/component_updates.php b/admin/models/component_updates.php
index 50f7e8228..53ef224f4 100644
--- a/admin/models/component_updates.php
+++ b/admin/models/component_updates.php
@@ -216,7 +216,6 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/custom_admin_view.php b/admin/models/custom_admin_view.php
index 8d9acce65..64a725a23 100644
--- a/admin/models/custom_admin_view.php
+++ b/admin/models/custom_admin_view.php
@@ -327,6 +327,22 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/custom_code.php b/admin/models/custom_code.php
index 7c8e3959b..fdcbaab2f 100644
--- a/admin/models/custom_code.php
+++ b/admin/models/custom_code.php
@@ -184,6 +184,22 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/dynamic_get.php b/admin/models/dynamic_get.php
index 23cdea082..cefcf9b82 100644
--- a/admin/models/dynamic_get.php
+++ b/admin/models/dynamic_get.php
@@ -334,6 +334,22 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/field.php b/admin/models/field.php
index ce4d851e4..857610325 100644
--- a/admin/models/field.php
+++ b/admin/models/field.php
@@ -231,7 +231,6 @@ class ComponentbuilderModelField extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/fieldtype.php b/admin/models/fieldtype.php
index 033170b8d..49791e0dd 100644
--- a/admin/models/fieldtype.php
+++ b/admin/models/fieldtype.php
@@ -125,7 +125,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getWadfields()
+ public function getWaefields()
{
// Get the user object.
$user = JFactory::getUser();
@@ -207,13 +207,13 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
foreach ($items as $nr => &$item)
{
// convert datatype
- $item->datatype = $this->selectionTranslationWadfields($item->datatype, 'datatype');
+ $item->datatype = $this->selectionTranslationWaefields($item->datatype, 'datatype');
// convert indexes
- $item->indexes = $this->selectionTranslationWadfields($item->indexes, 'indexes');
+ $item->indexes = $this->selectionTranslationWaefields($item->indexes, 'indexes');
// convert null_switch
- $item->null_switch = $this->selectionTranslationWadfields($item->null_switch, 'null_switch');
+ $item->null_switch = $this->selectionTranslationWaefields($item->null_switch, 'null_switch');
// convert store
- $item->store = $this->selectionTranslationWadfields($item->store, 'store');
+ $item->store = $this->selectionTranslationWaefields($item->store, 'store');
}
}
@@ -227,7 +227,7 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
*
* @return translatable string
*/
- public function selectionTranslationWadfields($value,$name)
+ public function selectionTranslationWaefields($value,$name)
{
// Array of datatype language strings
if ($name === 'datatype')
@@ -450,7 +450,6 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/forms/admin_view.js b/admin/models/forms/admin_view.js
index 907b9adbe..23c22d172 100644
--- a/admin/models/forms/admin_view.js
+++ b/admin/models/forms/admin_view.js
@@ -33,17 +33,18 @@ jform_vvvvvxuvxi_required = false;
jform_vvvvvxvvxj_required = false;
jform_vvvvvxwvxk_required = false;
jform_vvvvvxxvxl_required = false;
-jform_vvvvvybvxm_required = false;
-jform_vvvvvybvxn_required = false;
-jform_vvvvvybvxo_required = false;
-jform_vvvvvybvxp_required = false;
-jform_vvvvvybvxq_required = false;
-jform_vvvvvybvxr_required = false;
-jform_vvvvvybvxs_required = false;
-jform_vvvvvydvxt_required = false;
-jform_vvvvvydvxu_required = false;
-jform_vvvvvydvxv_required = false;
-jform_vvvvvydvxw_required = false;
+jform_vvvvvxyvxm_required = false;
+jform_vvvvvycvxn_required = false;
+jform_vvvvvycvxo_required = false;
+jform_vvvvvycvxp_required = false;
+jform_vvvvvycvxq_required = false;
+jform_vvvvvycvxr_required = false;
+jform_vvvvvycvxs_required = false;
+jform_vvvvvycvxt_required = false;
+jform_vvvvvyevxu_required = false;
+jform_vvvvvyevxv_required = false;
+jform_vvvvvyevxw_required = false;
+jform_vvvvvyevxx_required = false;
// Initial Script
jQuery(document).ready(function()
@@ -81,58 +82,61 @@ jQuery(document).ready(function()
var add_php_getlistquery_vvvvvxk = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
vvvvvxk(add_php_getlistquery_vvvvvxk);
- var add_php_before_save_vvvvvxl = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
- vvvvvxl(add_php_before_save_vvvvvxl);
+ var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
+ vvvvvxl(add_php_getform_vvvvvxl);
- var add_php_save_vvvvvxm = jQuery("#jform_add_php_save input[type='radio']:checked").val();
- vvvvvxm(add_php_save_vvvvvxm);
+ var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
+ vvvvvxm(add_php_before_save_vvvvvxm);
- var add_php_postsavehook_vvvvvxn = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
- vvvvvxn(add_php_postsavehook_vvvvvxn);
+ var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
+ vvvvvxn(add_php_save_vvvvvxn);
- var add_php_allowedit_vvvvvxo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
- vvvvvxo(add_php_allowedit_vvvvvxo);
+ var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
+ vvvvvxo(add_php_postsavehook_vvvvvxo);
- var add_php_batchcopy_vvvvvxp = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
- vvvvvxp(add_php_batchcopy_vvvvvxp);
+ var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
+ vvvvvxp(add_php_allowedit_vvvvvxp);
- var add_php_batchmove_vvvvvxq = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
- vvvvvxq(add_php_batchmove_vvvvvxq);
+ var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
+ vvvvvxq(add_php_batchcopy_vvvvvxq);
- var add_php_before_publish_vvvvvxr = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
- vvvvvxr(add_php_before_publish_vvvvvxr);
+ var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
+ vvvvvxr(add_php_batchmove_vvvvvxr);
- var add_php_after_publish_vvvvvxs = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
- vvvvvxs(add_php_after_publish_vvvvvxs);
+ var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
+ vvvvvxs(add_php_before_publish_vvvvvxs);
- var add_php_before_delete_vvvvvxt = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
- vvvvvxt(add_php_before_delete_vvvvvxt);
+ var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
+ vvvvvxt(add_php_after_publish_vvvvvxt);
- var add_php_after_delete_vvvvvxu = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
- vvvvvxu(add_php_after_delete_vvvvvxu);
+ var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
+ vvvvvxu(add_php_before_delete_vvvvvxu);
- var add_php_document_vvvvvxv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvxv(add_php_document_vvvvvxv);
+ var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
+ vvvvvxv(add_php_after_delete_vvvvvxv);
- var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxw(add_sql_vvvvvxw);
+ var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvxw(add_php_document_vvvvvxw);
- var source_vvvvvxx = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx);
+ vvvvvxx(add_sql_vvvvvxx);
- var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
+ var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
- var add_custom_import_vvvvvyb = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
- vvvvvyb(add_custom_import_vvvvvyb);
+ var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvya(source_vvvvvya,add_sql_vvvvvya);
var add_custom_import_vvvvvyc = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
vvvvvyc(add_custom_import_vvvvvyc);
- var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvyd(add_custom_button_vvvvvyd);
+ var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvyd(add_custom_import_vvvvvyd);
+
+ var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvye(add_custom_button_vvvvvye);
});
// the vvvvvxa function
@@ -141,7 +145,7 @@ function vvvvvxa(add_css_view_vvvvvxa)
// set the function logic
if (add_css_view_vvvvvxa == 1)
{
- jQuery('#jform_css_view').closest('.control-group').show();
+ jQuery('#jform_css_view-lbl').closest('.control-group').show();
if (jform_vvvvvxavwo_required)
{
updateFieldRequired('css_view',0);
@@ -154,7 +158,7 @@ function vvvvvxa(add_css_view_vvvvvxa)
}
else
{
- jQuery('#jform_css_view').closest('.control-group').hide();
+ jQuery('#jform_css_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvxavwo_required)
{
updateFieldRequired('css_view',1);
@@ -172,7 +176,7 @@ function vvvvvxb(add_css_views_vvvvvxb)
// set the function logic
if (add_css_views_vvvvvxb == 1)
{
- jQuery('#jform_css_views').closest('.control-group').show();
+ jQuery('#jform_css_views-lbl').closest('.control-group').show();
if (jform_vvvvvxbvwp_required)
{
updateFieldRequired('css_views',0);
@@ -185,7 +189,7 @@ function vvvvvxb(add_css_views_vvvvvxb)
}
else
{
- jQuery('#jform_css_views').closest('.control-group').hide();
+ jQuery('#jform_css_views-lbl').closest('.control-group').hide();
if (!jform_vvvvvxbvwp_required)
{
updateFieldRequired('css_views',1);
@@ -203,7 +207,7 @@ function vvvvvxc(add_javascript_view_file_vvvvvxc)
// set the function logic
if (add_javascript_view_file_vvvvvxc == 1)
{
- jQuery('#jform_javascript_view_file').closest('.control-group').show();
+ jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
if (jform_vvvvvxcvwq_required)
{
updateFieldRequired('javascript_view_file',0);
@@ -216,7 +220,7 @@ function vvvvvxc(add_javascript_view_file_vvvvvxc)
}
else
{
- jQuery('#jform_javascript_view_file').closest('.control-group').hide();
+ jQuery('#jform_javascript_view_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvxcvwq_required)
{
updateFieldRequired('javascript_view_file',1);
@@ -234,7 +238,7 @@ function vvvvvxd(add_javascript_views_file_vvvvvxd)
// set the function logic
if (add_javascript_views_file_vvvvvxd == 1)
{
- jQuery('#jform_javascript_views_file').closest('.control-group').show();
+ jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
if (jform_vvvvvxdvwr_required)
{
updateFieldRequired('javascript_views_file',0);
@@ -247,7 +251,7 @@ function vvvvvxd(add_javascript_views_file_vvvvvxd)
}
else
{
- jQuery('#jform_javascript_views_file').closest('.control-group').hide();
+ jQuery('#jform_javascript_views_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvxdvwr_required)
{
updateFieldRequired('javascript_views_file',1);
@@ -265,7 +269,7 @@ function vvvvvxe(add_javascript_view_footer_vvvvvxe)
// set the function logic
if (add_javascript_view_footer_vvvvvxe == 1)
{
- jQuery('#jform_javascript_view_footer').closest('.control-group').show();
+ jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
if (jform_vvvvvxevws_required)
{
updateFieldRequired('javascript_view_footer',0);
@@ -278,7 +282,7 @@ function vvvvvxe(add_javascript_view_footer_vvvvvxe)
}
else
{
- jQuery('#jform_javascript_view_footer').closest('.control-group').hide();
+ jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').hide();
if (!jform_vvvvvxevws_required)
{
updateFieldRequired('javascript_view_footer',1);
@@ -296,7 +300,7 @@ function vvvvvxf(add_javascript_views_footer_vvvvvxf)
// set the function logic
if (add_javascript_views_footer_vvvvvxf == 1)
{
- jQuery('#jform_javascript_views_footer').closest('.control-group').show();
+ jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
if (jform_vvvvvxfvwt_required)
{
updateFieldRequired('javascript_views_footer',0);
@@ -309,7 +313,7 @@ function vvvvvxf(add_javascript_views_footer_vvvvvxf)
}
else
{
- jQuery('#jform_javascript_views_footer').closest('.control-group').hide();
+ jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').hide();
if (!jform_vvvvvxfvwt_required)
{
updateFieldRequired('javascript_views_footer',1);
@@ -328,7 +332,7 @@ function vvvvvxg(add_php_ajax_vvvvvxg)
if (add_php_ajax_vvvvvxg == 1)
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
if (jform_vvvvvxgvwu_required)
{
updateFieldRequired('php_ajaxmethod',0);
@@ -342,7 +346,7 @@ function vvvvvxg(add_php_ajax_vvvvvxg)
else
{
jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
if (!jform_vvvvvxgvwu_required)
{
updateFieldRequired('php_ajaxmethod',1);
@@ -360,7 +364,7 @@ function vvvvvxh(add_php_getitem_vvvvvxh)
// set the function logic
if (add_php_getitem_vvvvvxh == 1)
{
- jQuery('#jform_php_getitem').closest('.control-group').show();
+ jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
if (jform_vvvvvxhvwv_required)
{
updateFieldRequired('php_getitem',0);
@@ -373,7 +377,7 @@ function vvvvvxh(add_php_getitem_vvvvvxh)
}
else
{
- jQuery('#jform_php_getitem').closest('.control-group').hide();
+ jQuery('#jform_php_getitem-lbl').closest('.control-group').hide();
if (!jform_vvvvvxhvwv_required)
{
updateFieldRequired('php_getitem',1);
@@ -391,7 +395,7 @@ function vvvvvxi(add_php_getitems_vvvvvxi)
// set the function logic
if (add_php_getitems_vvvvvxi == 1)
{
- jQuery('#jform_php_getitems').closest('.control-group').show();
+ jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
if (jform_vvvvvxivww_required)
{
updateFieldRequired('php_getitems',0);
@@ -404,7 +408,7 @@ function vvvvvxi(add_php_getitems_vvvvvxi)
}
else
{
- jQuery('#jform_php_getitems').closest('.control-group').hide();
+ jQuery('#jform_php_getitems-lbl').closest('.control-group').hide();
if (!jform_vvvvvxivww_required)
{
updateFieldRequired('php_getitems',1);
@@ -422,7 +426,7 @@ function vvvvvxj(add_php_getitems_after_all_vvvvvxj)
// set the function logic
if (add_php_getitems_after_all_vvvvvxj == 1)
{
- jQuery('#jform_php_getitems_after_all').closest('.control-group').show();
+ jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
if (jform_vvvvvxjvwx_required)
{
updateFieldRequired('php_getitems_after_all',0);
@@ -435,7 +439,7 @@ function vvvvvxj(add_php_getitems_after_all_vvvvvxj)
}
else
{
- jQuery('#jform_php_getitems_after_all').closest('.control-group').hide();
+ jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').hide();
if (!jform_vvvvvxjvwx_required)
{
updateFieldRequired('php_getitems_after_all',1);
@@ -453,7 +457,7 @@ function vvvvvxk(add_php_getlistquery_vvvvvxk)
// set the function logic
if (add_php_getlistquery_vvvvvxk == 1)
{
- jQuery('#jform_php_getlistquery').closest('.control-group').show();
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
if (jform_vvvvvxkvwy_required)
{
updateFieldRequired('php_getlistquery',0);
@@ -466,7 +470,7 @@ function vvvvvxk(add_php_getlistquery_vvvvvxk)
}
else
{
- jQuery('#jform_php_getlistquery').closest('.control-group').hide();
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide();
if (!jform_vvvvvxkvwy_required)
{
updateFieldRequired('php_getlistquery',1);
@@ -479,413 +483,444 @@ function vvvvvxk(add_php_getlistquery_vvvvvxk)
}
// the vvvvvxl function
-function vvvvvxl(add_php_before_save_vvvvvxl)
+function vvvvvxl(add_php_getform_vvvvvxl)
{
// set the function logic
- if (add_php_before_save_vvvvvxl == 1)
+ if (add_php_getform_vvvvvxl == 1)
{
- jQuery('#jform_php_before_save').closest('.control-group').show();
+ jQuery('#jform_php_getform-lbl').closest('.control-group').show();
if (jform_vvvvvxlvwz_required)
{
- updateFieldRequired('php_before_save',0);
- jQuery('#jform_php_before_save').prop('required','required');
- jQuery('#jform_php_before_save').attr('aria-required',true);
- jQuery('#jform_php_before_save').addClass('required');
+ updateFieldRequired('php_getform',0);
+ jQuery('#jform_php_getform').prop('required','required');
+ jQuery('#jform_php_getform').attr('aria-required',true);
+ jQuery('#jform_php_getform').addClass('required');
jform_vvvvvxlvwz_required = false;
}
}
else
{
- jQuery('#jform_php_before_save').closest('.control-group').hide();
+ jQuery('#jform_php_getform-lbl').closest('.control-group').hide();
if (!jform_vvvvvxlvwz_required)
{
- updateFieldRequired('php_before_save',1);
- jQuery('#jform_php_before_save').removeAttr('required');
- jQuery('#jform_php_before_save').removeAttr('aria-required');
- jQuery('#jform_php_before_save').removeClass('required');
+ updateFieldRequired('php_getform',1);
+ jQuery('#jform_php_getform').removeAttr('required');
+ jQuery('#jform_php_getform').removeAttr('aria-required');
+ jQuery('#jform_php_getform').removeClass('required');
jform_vvvvvxlvwz_required = true;
}
}
}
// the vvvvvxm function
-function vvvvvxm(add_php_save_vvvvvxm)
+function vvvvvxm(add_php_before_save_vvvvvxm)
{
// set the function logic
- if (add_php_save_vvvvvxm == 1)
+ if (add_php_before_save_vvvvvxm == 1)
{
- jQuery('#jform_php_save').closest('.control-group').show();
+ jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
if (jform_vvvvvxmvxa_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');
+ updateFieldRequired('php_before_save',0);
+ jQuery('#jform_php_before_save').prop('required','required');
+ jQuery('#jform_php_before_save').attr('aria-required',true);
+ jQuery('#jform_php_before_save').addClass('required');
jform_vvvvvxmvxa_required = false;
}
}
else
{
- jQuery('#jform_php_save').closest('.control-group').hide();
+ jQuery('#jform_php_before_save-lbl').closest('.control-group').hide();
if (!jform_vvvvvxmvxa_required)
{
- updateFieldRequired('php_save',1);
- jQuery('#jform_php_save').removeAttr('required');
- jQuery('#jform_php_save').removeAttr('aria-required');
- jQuery('#jform_php_save').removeClass('required');
+ updateFieldRequired('php_before_save',1);
+ jQuery('#jform_php_before_save').removeAttr('required');
+ jQuery('#jform_php_before_save').removeAttr('aria-required');
+ jQuery('#jform_php_before_save').removeClass('required');
jform_vvvvvxmvxa_required = true;
}
}
}
// the vvvvvxn function
-function vvvvvxn(add_php_postsavehook_vvvvvxn)
+function vvvvvxn(add_php_save_vvvvvxn)
{
// set the function logic
- if (add_php_postsavehook_vvvvvxn == 1)
+ if (add_php_save_vvvvvxn == 1)
{
- jQuery('#jform_php_postsavehook').closest('.control-group').show();
+ jQuery('#jform_php_save-lbl').closest('.control-group').show();
if (jform_vvvvvxnvxb_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');
+ 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_vvvvvxnvxb_required = false;
}
}
else
{
- jQuery('#jform_php_postsavehook').closest('.control-group').hide();
+ jQuery('#jform_php_save-lbl').closest('.control-group').hide();
if (!jform_vvvvvxnvxb_required)
{
- updateFieldRequired('php_postsavehook',1);
- jQuery('#jform_php_postsavehook').removeAttr('required');
- jQuery('#jform_php_postsavehook').removeAttr('aria-required');
- jQuery('#jform_php_postsavehook').removeClass('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_vvvvvxnvxb_required = true;
}
}
}
// the vvvvvxo function
-function vvvvvxo(add_php_allowedit_vvvvvxo)
+function vvvvvxo(add_php_postsavehook_vvvvvxo)
{
// set the function logic
- if (add_php_allowedit_vvvvvxo == 1)
+ if (add_php_postsavehook_vvvvvxo == 1)
{
- jQuery('#jform_php_allowedit').closest('.control-group').show();
+ jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
if (jform_vvvvvxovxc_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');
+ 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_vvvvvxovxc_required = false;
}
}
else
{
- jQuery('#jform_php_allowedit').closest('.control-group').hide();
+ jQuery('#jform_php_postsavehook-lbl').closest('.control-group').hide();
if (!jform_vvvvvxovxc_required)
{
- updateFieldRequired('php_allowedit',1);
- jQuery('#jform_php_allowedit').removeAttr('required');
- jQuery('#jform_php_allowedit').removeAttr('aria-required');
- jQuery('#jform_php_allowedit').removeClass('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_vvvvvxovxc_required = true;
}
}
}
// the vvvvvxp function
-function vvvvvxp(add_php_batchcopy_vvvvvxp)
+function vvvvvxp(add_php_allowedit_vvvvvxp)
{
// set the function logic
- if (add_php_batchcopy_vvvvvxp == 1)
+ if (add_php_allowedit_vvvvvxp == 1)
{
- jQuery('#jform_php_batchcopy').closest('.control-group').show();
+ jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
if (jform_vvvvvxpvxd_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');
+ 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_vvvvvxpvxd_required = false;
}
}
else
{
- jQuery('#jform_php_batchcopy').closest('.control-group').hide();
+ jQuery('#jform_php_allowedit-lbl').closest('.control-group').hide();
if (!jform_vvvvvxpvxd_required)
{
- updateFieldRequired('php_batchcopy',1);
- jQuery('#jform_php_batchcopy').removeAttr('required');
- jQuery('#jform_php_batchcopy').removeAttr('aria-required');
- jQuery('#jform_php_batchcopy').removeClass('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_vvvvvxpvxd_required = true;
}
}
}
// the vvvvvxq function
-function vvvvvxq(add_php_batchmove_vvvvvxq)
+function vvvvvxq(add_php_batchcopy_vvvvvxq)
{
// set the function logic
- if (add_php_batchmove_vvvvvxq == 1)
+ if (add_php_batchcopy_vvvvvxq == 1)
{
- jQuery('#jform_php_batchmove').closest('.control-group').show();
+ jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
if (jform_vvvvvxqvxe_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');
+ 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_vvvvvxqvxe_required = false;
}
}
else
{
- jQuery('#jform_php_batchmove').closest('.control-group').hide();
+ jQuery('#jform_php_batchcopy-lbl').closest('.control-group').hide();
if (!jform_vvvvvxqvxe_required)
{
- updateFieldRequired('php_batchmove',1);
- jQuery('#jform_php_batchmove').removeAttr('required');
- jQuery('#jform_php_batchmove').removeAttr('aria-required');
- jQuery('#jform_php_batchmove').removeClass('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_vvvvvxqvxe_required = true;
}
}
}
// the vvvvvxr function
-function vvvvvxr(add_php_before_publish_vvvvvxr)
+function vvvvvxr(add_php_batchmove_vvvvvxr)
{
// set the function logic
- if (add_php_before_publish_vvvvvxr == 1)
+ if (add_php_batchmove_vvvvvxr == 1)
{
- jQuery('#jform_php_before_publish').closest('.control-group').show();
+ jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
if (jform_vvvvvxrvxf_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');
+ 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_vvvvvxrvxf_required = false;
}
}
else
{
- jQuery('#jform_php_before_publish').closest('.control-group').hide();
+ jQuery('#jform_php_batchmove-lbl').closest('.control-group').hide();
if (!jform_vvvvvxrvxf_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');
+ updateFieldRequired('php_batchmove',1);
+ jQuery('#jform_php_batchmove').removeAttr('required');
+ jQuery('#jform_php_batchmove').removeAttr('aria-required');
+ jQuery('#jform_php_batchmove').removeClass('required');
jform_vvvvvxrvxf_required = true;
}
}
}
// the vvvvvxs function
-function vvvvvxs(add_php_after_publish_vvvvvxs)
+function vvvvvxs(add_php_before_publish_vvvvvxs)
{
// set the function logic
- if (add_php_after_publish_vvvvvxs == 1)
+ if (add_php_before_publish_vvvvvxs == 1)
{
- jQuery('#jform_php_after_publish').closest('.control-group').show();
+ jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
if (jform_vvvvvxsvxg_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');
+ 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_vvvvvxsvxg_required = false;
}
}
else
{
- jQuery('#jform_php_after_publish').closest('.control-group').hide();
+ jQuery('#jform_php_before_publish-lbl').closest('.control-group').hide();
if (!jform_vvvvvxsvxg_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');
+ 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_vvvvvxsvxg_required = true;
}
}
}
// the vvvvvxt function
-function vvvvvxt(add_php_before_delete_vvvvvxt)
+function vvvvvxt(add_php_after_publish_vvvvvxt)
{
// set the function logic
- if (add_php_before_delete_vvvvvxt == 1)
+ if (add_php_after_publish_vvvvvxt == 1)
{
- jQuery('#jform_php_before_delete').closest('.control-group').show();
+ jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
if (jform_vvvvvxtvxh_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');
+ 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_vvvvvxtvxh_required = false;
}
}
else
{
- jQuery('#jform_php_before_delete').closest('.control-group').hide();
+ jQuery('#jform_php_after_publish-lbl').closest('.control-group').hide();
if (!jform_vvvvvxtvxh_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');
+ 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_vvvvvxtvxh_required = true;
}
}
}
// the vvvvvxu function
-function vvvvvxu(add_php_after_delete_vvvvvxu)
+function vvvvvxu(add_php_before_delete_vvvvvxu)
{
// set the function logic
- if (add_php_after_delete_vvvvvxu == 1)
+ if (add_php_before_delete_vvvvvxu == 1)
{
- jQuery('#jform_php_after_delete').closest('.control-group').show();
+ jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
if (jform_vvvvvxuvxi_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');
+ 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_vvvvvxuvxi_required = false;
}
}
else
{
- jQuery('#jform_php_after_delete').closest('.control-group').hide();
+ jQuery('#jform_php_before_delete-lbl').closest('.control-group').hide();
if (!jform_vvvvvxuvxi_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');
+ 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_vvvvvxuvxi_required = true;
}
}
}
// the vvvvvxv function
-function vvvvvxv(add_php_document_vvvvvxv)
+function vvvvvxv(add_php_after_delete_vvvvvxv)
{
// set the function logic
- if (add_php_document_vvvvvxv == 1)
+ if (add_php_after_delete_vvvvvxv == 1)
{
- jQuery('#jform_php_document').closest('.control-group').show();
+ jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
if (jform_vvvvvxvvxj_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');
+ 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_vvvvvxvvxj_required = false;
}
}
else
{
- jQuery('#jform_php_document').closest('.control-group').hide();
+ jQuery('#jform_php_after_delete-lbl').closest('.control-group').hide();
if (!jform_vvvvvxvvxj_required)
{
- updateFieldRequired('php_document',1);
- jQuery('#jform_php_document').removeAttr('required');
- jQuery('#jform_php_document').removeAttr('aria-required');
- jQuery('#jform_php_document').removeClass('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_vvvvvxvvxj_required = true;
}
}
}
// the vvvvvxw function
-function vvvvvxw(add_sql_vvvvvxw)
+function vvvvvxw(add_php_document_vvvvvxw)
{
// set the function logic
- if (add_sql_vvvvvxw == 1)
+ if (add_php_document_vvvvvxw == 1)
{
- jQuery('#jform_source').closest('.control-group').show();
+ jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvxwvxk_required)
{
- updateFieldRequired('source',0);
- jQuery('#jform_source').prop('required','required');
- jQuery('#jform_source').attr('aria-required',true);
- jQuery('#jform_source').addClass('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_vvvvvxwvxk_required = false;
}
}
else
{
- jQuery('#jform_source').closest('.control-group').hide();
+ jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvxwvxk_required)
{
- updateFieldRequired('source',1);
- jQuery('#jform_source').removeAttr('required');
- jQuery('#jform_source').removeAttr('aria-required');
- jQuery('#jform_source').removeClass('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_vvvvvxwvxk_required = true;
}
}
}
// the vvvvvxx function
-function vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx)
+function vvvvvxx(add_sql_vvvvvxx)
{
// set the function logic
- if (source_vvvvvxx == 2 && add_sql_vvvvvxx == 1)
+ if (add_sql_vvvvvxx == 1)
{
- jQuery('#jform_sql').closest('.control-group').show();
+ jQuery('#jform_source').closest('.control-group').show();
if (jform_vvvvvxxvxl_required)
{
- updateFieldRequired('sql',0);
- jQuery('#jform_sql').prop('required','required');
- jQuery('#jform_sql').attr('aria-required',true);
- jQuery('#jform_sql').addClass('required');
+ updateFieldRequired('source',0);
+ jQuery('#jform_source').prop('required','required');
+ jQuery('#jform_source').attr('aria-required',true);
+ jQuery('#jform_source').addClass('required');
jform_vvvvvxxvxl_required = false;
}
}
else
{
- jQuery('#jform_sql').closest('.control-group').hide();
+ jQuery('#jform_source').closest('.control-group').hide();
if (!jform_vvvvvxxvxl_required)
{
- updateFieldRequired('sql',1);
- jQuery('#jform_sql').removeAttr('required');
- jQuery('#jform_sql').removeAttr('aria-required');
- jQuery('#jform_sql').removeClass('required');
+ updateFieldRequired('source',1);
+ jQuery('#jform_source').removeAttr('required');
+ jQuery('#jform_source').removeAttr('aria-required');
+ jQuery('#jform_source').removeClass('required');
jform_vvvvvxxvxl_required = true;
}
}
}
-// the vvvvvxz function
-function vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz)
+// the vvvvvxy function
+function vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy)
{
// set the function logic
- if (source_vvvvvxz == 1 && add_sql_vvvvvxz == 1)
+ if (source_vvvvvxy == 2 && add_sql_vvvvvxy == 1)
+ {
+ jQuery('#jform_sql').closest('.control-group').show();
+ if (jform_vvvvvxyvxm_required)
+ {
+ updateFieldRequired('sql',0);
+ jQuery('#jform_sql').prop('required','required');
+ jQuery('#jform_sql').attr('aria-required',true);
+ jQuery('#jform_sql').addClass('required');
+ jform_vvvvvxyvxm_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_sql').closest('.control-group').hide();
+ if (!jform_vvvvvxyvxm_required)
+ {
+ updateFieldRequired('sql',1);
+ jQuery('#jform_sql').removeAttr('required');
+ jQuery('#jform_sql').removeAttr('aria-required');
+ jQuery('#jform_sql').removeClass('required');
+ jform_vvvvvxyvxm_required = true;
+ }
+ }
+}
+
+// the vvvvvya function
+function vvvvvya(source_vvvvvya,add_sql_vvvvvya)
+{
+ // set the function logic
+ if (source_vvvvvya == 1 && add_sql_vvvvvya == 1)
{
jQuery('#jform_addtables-lbl').closest('.control-group').show();
}
@@ -895,158 +930,158 @@ function vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz)
}
}
-// the vvvvvyb function
-function vvvvvyb(add_custom_import_vvvvvyb)
+// the vvvvvyc function
+function vvvvvyc(add_custom_import_vvvvvyc)
{
// set the function logic
- if (add_custom_import_vvvvvyb == 1)
+ if (add_custom_import_vvvvvyc == 1)
{
jQuery('#jform_html_import_view').closest('.control-group').show();
- if (jform_vvvvvybvxm_required)
+ if (jform_vvvvvycvxn_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_vvvvvybvxm_required = false;
+ jform_vvvvvycvxn_required = false;
}
jQuery('.note_advanced_import').closest('.control-group').show();
jQuery('#jform_php_import_display').closest('.control-group').show();
- if (jform_vvvvvybvxn_required)
+ if (jform_vvvvvycvxo_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_vvvvvybvxn_required = false;
+ jform_vvvvvycvxo_required = false;
}
jQuery('#jform_php_import_ext').closest('.control-group').show();
- if (jform_vvvvvybvxo_required)
+ if (jform_vvvvvycvxp_required)
{
updateFieldRequired('php_import_ext',0);
jQuery('#jform_php_import_ext').prop('required','required');
jQuery('#jform_php_import_ext').attr('aria-required',true);
jQuery('#jform_php_import_ext').addClass('required');
- jform_vvvvvybvxo_required = false;
+ jform_vvvvvycvxp_required = false;
}
jQuery('#jform_php_import_headers').closest('.control-group').show();
- if (jform_vvvvvybvxp_required)
+ if (jform_vvvvvycvxq_required)
{
updateFieldRequired('php_import_headers',0);
jQuery('#jform_php_import_headers').prop('required','required');
jQuery('#jform_php_import_headers').attr('aria-required',true);
jQuery('#jform_php_import_headers').addClass('required');
- jform_vvvvvybvxp_required = false;
+ jform_vvvvvycvxq_required = false;
}
jQuery('#jform_php_import').closest('.control-group').show();
- if (jform_vvvvvybvxq_required)
+ if (jform_vvvvvycvxr_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_vvvvvybvxq_required = false;
+ jform_vvvvvycvxr_required = false;
}
jQuery('#jform_php_import_save').closest('.control-group').show();
- if (jform_vvvvvybvxr_required)
+ if (jform_vvvvvycvxs_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_vvvvvybvxr_required = false;
+ jform_vvvvvycvxs_required = false;
}
jQuery('#jform_php_import_setdata').closest('.control-group').show();
- if (jform_vvvvvybvxs_required)
+ if (jform_vvvvvycvxt_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_vvvvvybvxs_required = false;
+ jform_vvvvvycvxt_required = false;
}
}
else
{
jQuery('#jform_html_import_view').closest('.control-group').hide();
- if (!jform_vvvvvybvxm_required)
+ if (!jform_vvvvvycvxn_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_vvvvvybvxm_required = true;
+ jform_vvvvvycvxn_required = true;
}
jQuery('.note_advanced_import').closest('.control-group').hide();
jQuery('#jform_php_import_display').closest('.control-group').hide();
- if (!jform_vvvvvybvxn_required)
+ if (!jform_vvvvvycvxo_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_vvvvvybvxn_required = true;
+ jform_vvvvvycvxo_required = true;
}
jQuery('#jform_php_import_ext').closest('.control-group').hide();
- if (!jform_vvvvvybvxo_required)
+ if (!jform_vvvvvycvxp_required)
{
updateFieldRequired('php_import_ext',1);
jQuery('#jform_php_import_ext').removeAttr('required');
jQuery('#jform_php_import_ext').removeAttr('aria-required');
jQuery('#jform_php_import_ext').removeClass('required');
- jform_vvvvvybvxo_required = true;
+ jform_vvvvvycvxp_required = true;
}
jQuery('#jform_php_import_headers').closest('.control-group').hide();
- if (!jform_vvvvvybvxp_required)
+ if (!jform_vvvvvycvxq_required)
{
updateFieldRequired('php_import_headers',1);
jQuery('#jform_php_import_headers').removeAttr('required');
jQuery('#jform_php_import_headers').removeAttr('aria-required');
jQuery('#jform_php_import_headers').removeClass('required');
- jform_vvvvvybvxp_required = true;
+ jform_vvvvvycvxq_required = true;
}
jQuery('#jform_php_import').closest('.control-group').hide();
- if (!jform_vvvvvybvxq_required)
+ if (!jform_vvvvvycvxr_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_vvvvvybvxq_required = true;
+ jform_vvvvvycvxr_required = true;
}
jQuery('#jform_php_import_save').closest('.control-group').hide();
- if (!jform_vvvvvybvxr_required)
+ if (!jform_vvvvvycvxs_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_vvvvvybvxr_required = true;
+ jform_vvvvvycvxs_required = true;
}
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
- if (!jform_vvvvvybvxs_required)
+ if (!jform_vvvvvycvxt_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_vvvvvybvxs_required = true;
+ jform_vvvvvycvxt_required = true;
}
}
}
-// the vvvvvyc function
-function vvvvvyc(add_custom_import_vvvvvyc)
+// the vvvvvyd function
+function vvvvvyd(add_custom_import_vvvvvyd)
{
// set the function logic
- if (add_custom_import_vvvvvyc == 0)
+ if (add_custom_import_vvvvvyd == 0)
{
jQuery('.note_beginner_import').closest('.control-group').show();
}
@@ -1056,92 +1091,92 @@ function vvvvvyc(add_custom_import_vvvvvyc)
}
}
-// the vvvvvyd function
-function vvvvvyd(add_custom_button_vvvvvyd)
+// the vvvvvye function
+function vvvvvye(add_custom_button_vvvvvye)
{
// set the function logic
- if (add_custom_button_vvvvvyd == 1)
+ if (add_custom_button_vvvvvye == 1)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
- jQuery('#jform_php_controller').closest('.control-group').show();
- if (jform_vvvvvydvxt_required)
+ jQuery('#jform_php_controller-lbl').closest('.control-group').show();
+ if (jform_vvvvvyevxu_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_vvvvvydvxt_required = false;
+ jform_vvvvvyevxu_required = false;
}
- jQuery('#jform_php_controller_list').closest('.control-group').show();
- if (jform_vvvvvydvxu_required)
+ jQuery('#jform_php_controller_list-lbl').closest('.control-group').show();
+ if (jform_vvvvvyevxv_required)
{
updateFieldRequired('php_controller_list',0);
jQuery('#jform_php_controller_list').prop('required','required');
jQuery('#jform_php_controller_list').attr('aria-required',true);
jQuery('#jform_php_controller_list').addClass('required');
- jform_vvvvvydvxu_required = false;
+ jform_vvvvvyevxv_required = false;
}
- jQuery('#jform_php_model').closest('.control-group').show();
- if (jform_vvvvvydvxv_required)
+ jQuery('#jform_php_model-lbl').closest('.control-group').show();
+ if (jform_vvvvvyevxw_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_vvvvvydvxv_required = false;
+ jform_vvvvvyevxw_required = false;
}
- jQuery('#jform_php_model_list').closest('.control-group').show();
- if (jform_vvvvvydvxw_required)
+ jQuery('#jform_php_model_list-lbl').closest('.control-group').show();
+ if (jform_vvvvvyevxx_required)
{
updateFieldRequired('php_model_list',0);
jQuery('#jform_php_model_list').prop('required','required');
jQuery('#jform_php_model_list').attr('aria-required',true);
jQuery('#jform_php_model_list').addClass('required');
- jform_vvvvvydvxw_required = false;
+ jform_vvvvvyevxx_required = false;
}
}
else
{
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
- jQuery('#jform_php_controller').closest('.control-group').hide();
- if (!jform_vvvvvydvxt_required)
+ jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyevxu_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_vvvvvydvxt_required = true;
+ jform_vvvvvyevxu_required = true;
}
- jQuery('#jform_php_controller_list').closest('.control-group').hide();
- if (!jform_vvvvvydvxu_required)
+ jQuery('#jform_php_controller_list-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyevxv_required)
{
updateFieldRequired('php_controller_list',1);
jQuery('#jform_php_controller_list').removeAttr('required');
jQuery('#jform_php_controller_list').removeAttr('aria-required');
jQuery('#jform_php_controller_list').removeClass('required');
- jform_vvvvvydvxu_required = true;
+ jform_vvvvvyevxv_required = true;
}
- jQuery('#jform_php_model').closest('.control-group').hide();
- if (!jform_vvvvvydvxv_required)
+ jQuery('#jform_php_model-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyevxw_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_vvvvvydvxv_required = true;
+ jform_vvvvvyevxw_required = true;
}
- jQuery('#jform_php_model_list').closest('.control-group').hide();
- if (!jform_vvvvvydvxw_required)
+ jQuery('#jform_php_model_list-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyevxx_required)
{
updateFieldRequired('php_model_list',1);
jQuery('#jform_php_model_list').removeAttr('required');
jQuery('#jform_php_model_list').removeAttr('aria-required');
jQuery('#jform_php_model_list').removeClass('required');
- jform_vvvvvydvxw_required = true;
+ jform_vvvvvyevxx_required = true;
}
}
}
diff --git a/admin/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml
index c11def310..271ab8760 100644
--- a/admin/models/forms/admin_view.xml
+++ b/admin/models/forms/admin_view.xml
@@ -144,11 +144,11 @@
message="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_MESSAGE"
hint="COM_COMPONENTBUILDER_ADMIN_VIEW_SHORT_DESCRIPTION_HINT"
/>
-
+
@@ -158,11 +158,11 @@
-
+
@@ -172,11 +172,11 @@
-
+
@@ -186,11 +186,11 @@
-
+
@@ -208,32 +208,53 @@
description="COM_COMPONENTBUILDER_ADMIN_VIEW_ICON_ADD_DESCRIPTION"
directory=""
/>
-
+
-
+
-
-
-
+ type="subform"
+ name="addtables"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_ADDTABLES_LABEL"
+ layout="joomla.form.field.subform.repeatable-table"
+ multiple="true"
+ icon="list">
+
-
+
@@ -306,11 +327,54 @@
name="not_required"
default="[]"
/>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -322,8 +386,28 @@
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -454,11 +539,11 @@
/>
-
+
@@ -470,11 +555,11 @@
-
+
@@ -573,11 +658,11 @@
-
+
@@ -589,11 +674,11 @@
-
+
@@ -617,11 +702,11 @@
-
+
@@ -633,57 +718,23 @@
-
-
-
-
-
-
+
+
-
+
-
-
+ type="textarea"
+ name="html_import_view"
+ label="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_LABEL"
+ rows="30"
+ cols="15"
+ description="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_DESCRIPTION"
+ class="text_area span12"
+ filter="raw"
+ hint="COM_COMPONENTBUILDER_ADMIN_VIEW_HTML_IMPORT_VIEW_HINT"
+ required="true"
+ />
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
+
-
-
-
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
-
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
-
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
-
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
-
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
-
+
-
-
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
-
+
+
+
+
+
COM_COMPONENTBUILDER_ADMIN_VIEW_DUMP
-
+
-
+
-
+
-
-
-
-
COM_COMPONENTBUILDER_ADMIN_VIEW_NO
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js
index 75a113459..cff7d2f5e 100644
--- a/admin/models/forms/custom_admin_view.js
+++ b/admin/models/forms/custom_admin_view.js
@@ -9,7 +9,6 @@
*/
// Some Global Values
-jform_vvvvvyevxx_required = false;
jform_vvvvvyfvxy_required = false;
jform_vvvvvygvxz_required = false;
jform_vvvvvyhvya_required = false;
@@ -17,373 +16,374 @@ jform_vvvvvyivyb_required = false;
jform_vvvvvyjvyc_required = false;
jform_vvvvvykvyd_required = false;
jform_vvvvvylvye_required = false;
-jform_vvvvvylvyf_required = false;
+jform_vvvvvymvyf_required = false;
jform_vvvvvymvyg_required = false;
jform_vvvvvynvyh_required = false;
+jform_vvvvvyovyi_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var add_php_view_vvvvvye = jQuery("#jform_add_php_view input[type='radio']:checked").val();
- vvvvvye(add_php_view_vvvvvye);
+ var add_php_view_vvvvvyf = jQuery("#jform_add_php_view input[type='radio']:checked").val();
+ vvvvvyf(add_php_view_vvvvvyf);
- var add_php_jview_display_vvvvvyf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
- vvvvvyf(add_php_jview_display_vvvvvyf);
+ var add_php_jview_display_vvvvvyg = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
+ vvvvvyg(add_php_jview_display_vvvvvyg);
- var add_php_jview_vvvvvyg = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
- vvvvvyg(add_php_jview_vvvvvyg);
+ var add_php_jview_vvvvvyh = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
+ vvvvvyh(add_php_jview_vvvvvyh);
- var add_php_document_vvvvvyh = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvyh(add_php_document_vvvvvyh);
+ var add_php_document_vvvvvyi = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvyi(add_php_document_vvvvvyi);
- var add_css_document_vvvvvyi = jQuery("#jform_add_css_document input[type='radio']:checked").val();
- vvvvvyi(add_css_document_vvvvvyi);
+ var add_css_document_vvvvvyj = jQuery("#jform_add_css_document input[type='radio']:checked").val();
+ vvvvvyj(add_css_document_vvvvvyj);
- var add_javascript_file_vvvvvyj = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
- vvvvvyj(add_javascript_file_vvvvvyj);
+ var add_javascript_file_vvvvvyk = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
+ vvvvvyk(add_javascript_file_vvvvvyk);
- var add_js_document_vvvvvyk = jQuery("#jform_add_js_document input[type='radio']:checked").val();
- vvvvvyk(add_js_document_vvvvvyk);
+ var add_js_document_vvvvvyl = jQuery("#jform_add_js_document input[type='radio']:checked").val();
+ vvvvvyl(add_js_document_vvvvvyl);
- var add_custom_button_vvvvvyl = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvyl(add_custom_button_vvvvvyl);
+ var add_custom_button_vvvvvym = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvym(add_custom_button_vvvvvym);
- var add_css_vvvvvym = jQuery("#jform_add_css input[type='radio']:checked").val();
- vvvvvym(add_css_vvvvvym);
+ var add_css_vvvvvyn = jQuery("#jform_add_css input[type='radio']:checked").val();
+ vvvvvyn(add_css_vvvvvyn);
- var add_php_ajax_vvvvvyn = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
- vvvvvyn(add_php_ajax_vvvvvyn);
+ var add_php_ajax_vvvvvyo = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
+ vvvvvyo(add_php_ajax_vvvvvyo);
});
-// the vvvvvye function
-function vvvvvye(add_php_view_vvvvvye)
+// the vvvvvyf function
+function vvvvvyf(add_php_view_vvvvvyf)
{
// set the function logic
- if (add_php_view_vvvvvye == 1)
+ if (add_php_view_vvvvvyf == 1)
{
- jQuery('#jform_php_view').closest('.control-group').show();
- if (jform_vvvvvyevxx_required)
+ jQuery('#jform_php_view-lbl').closest('.control-group').show();
+ if (jform_vvvvvyfvxy_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
- jform_vvvvvyevxx_required = false;
- }
-
- }
- else
- {
- jQuery('#jform_php_view').closest('.control-group').hide();
- if (!jform_vvvvvyevxx_required)
- {
- updateFieldRequired('php_view',1);
- jQuery('#jform_php_view').removeAttr('required');
- jQuery('#jform_php_view').removeAttr('aria-required');
- jQuery('#jform_php_view').removeClass('required');
- jform_vvvvvyevxx_required = true;
- }
- }
-}
-
-// the vvvvvyf function
-function vvvvvyf(add_php_jview_display_vvvvvyf)
-{
- // set the function logic
- if (add_php_jview_display_vvvvvyf == 1)
- {
- jQuery('#jform_php_jview_display').closest('.control-group').show();
- if (jform_vvvvvyfvxy_required)
- {
- updateFieldRequired('php_jview_display',0);
- jQuery('#jform_php_jview_display').prop('required','required');
- jQuery('#jform_php_jview_display').attr('aria-required',true);
- jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyfvxy_required = false;
}
}
else
{
- jQuery('#jform_php_jview_display').closest('.control-group').hide();
+ jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvyfvxy_required)
{
- updateFieldRequired('php_jview_display',1);
- jQuery('#jform_php_jview_display').removeAttr('required');
- jQuery('#jform_php_jview_display').removeAttr('aria-required');
- jQuery('#jform_php_jview_display').removeClass('required');
+ updateFieldRequired('php_view',1);
+ jQuery('#jform_php_view').removeAttr('required');
+ jQuery('#jform_php_view').removeAttr('aria-required');
+ jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyfvxy_required = true;
}
}
}
// the vvvvvyg function
-function vvvvvyg(add_php_jview_vvvvvyg)
+function vvvvvyg(add_php_jview_display_vvvvvyg)
{
// set the function logic
- if (add_php_jview_vvvvvyg == 1)
+ if (add_php_jview_display_vvvvvyg == 1)
{
- jQuery('#jform_php_jview').closest('.control-group').show();
+ jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvygvxz_required)
{
- updateFieldRequired('php_jview',0);
- jQuery('#jform_php_jview').prop('required','required');
- jQuery('#jform_php_jview').attr('aria-required',true);
- jQuery('#jform_php_jview').addClass('required');
+ updateFieldRequired('php_jview_display',0);
+ jQuery('#jform_php_jview_display').prop('required','required');
+ jQuery('#jform_php_jview_display').attr('aria-required',true);
+ jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvygvxz_required = false;
}
}
else
{
- jQuery('#jform_php_jview').closest('.control-group').hide();
+ jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
if (!jform_vvvvvygvxz_required)
{
- updateFieldRequired('php_jview',1);
- jQuery('#jform_php_jview').removeAttr('required');
- jQuery('#jform_php_jview').removeAttr('aria-required');
- jQuery('#jform_php_jview').removeClass('required');
+ updateFieldRequired('php_jview_display',1);
+ jQuery('#jform_php_jview_display').removeAttr('required');
+ jQuery('#jform_php_jview_display').removeAttr('aria-required');
+ jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvygvxz_required = true;
}
}
}
// the vvvvvyh function
-function vvvvvyh(add_php_document_vvvvvyh)
+function vvvvvyh(add_php_jview_vvvvvyh)
{
// set the function logic
- if (add_php_document_vvvvvyh == 1)
+ if (add_php_jview_vvvvvyh == 1)
{
- jQuery('#jform_php_document').closest('.control-group').show();
+ jQuery('#jform_php_jview-lbl').closest('.control-group').show();
if (jform_vvvvvyhvya_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');
+ updateFieldRequired('php_jview',0);
+ jQuery('#jform_php_jview').prop('required','required');
+ jQuery('#jform_php_jview').attr('aria-required',true);
+ jQuery('#jform_php_jview').addClass('required');
jform_vvvvvyhvya_required = false;
}
}
else
{
- jQuery('#jform_php_document').closest('.control-group').hide();
+ jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
if (!jform_vvvvvyhvya_required)
{
- updateFieldRequired('php_document',1);
- jQuery('#jform_php_document').removeAttr('required');
- jQuery('#jform_php_document').removeAttr('aria-required');
- jQuery('#jform_php_document').removeClass('required');
+ updateFieldRequired('php_jview',1);
+ jQuery('#jform_php_jview').removeAttr('required');
+ jQuery('#jform_php_jview').removeAttr('aria-required');
+ jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvyhvya_required = true;
}
}
}
// the vvvvvyi function
-function vvvvvyi(add_css_document_vvvvvyi)
+function vvvvvyi(add_php_document_vvvvvyi)
{
// set the function logic
- if (add_css_document_vvvvvyi == 1)
+ if (add_php_document_vvvvvyi == 1)
{
- jQuery('#jform_css_document').closest('.control-group').show();
+ jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvyivyb_required)
{
- updateFieldRequired('css_document',0);
- jQuery('#jform_css_document').prop('required','required');
- jQuery('#jform_css_document').attr('aria-required',true);
- jQuery('#jform_css_document').addClass('required');
+ 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_vvvvvyivyb_required = false;
}
}
else
{
- jQuery('#jform_css_document').closest('.control-group').hide();
+ jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvyivyb_required)
{
- updateFieldRequired('css_document',1);
- jQuery('#jform_css_document').removeAttr('required');
- jQuery('#jform_css_document').removeAttr('aria-required');
- jQuery('#jform_css_document').removeClass('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_vvvvvyivyb_required = true;
}
}
}
// the vvvvvyj function
-function vvvvvyj(add_javascript_file_vvvvvyj)
+function vvvvvyj(add_css_document_vvvvvyj)
{
// set the function logic
- if (add_javascript_file_vvvvvyj == 1)
+ if (add_css_document_vvvvvyj == 1)
{
- jQuery('#jform_javascript_file').closest('.control-group').show();
+ jQuery('#jform_css_document-lbl').closest('.control-group').show();
if (jform_vvvvvyjvyc_required)
{
- updateFieldRequired('javascript_file',0);
- jQuery('#jform_javascript_file').prop('required','required');
- jQuery('#jform_javascript_file').attr('aria-required',true);
- jQuery('#jform_javascript_file').addClass('required');
+ updateFieldRequired('css_document',0);
+ jQuery('#jform_css_document').prop('required','required');
+ jQuery('#jform_css_document').attr('aria-required',true);
+ jQuery('#jform_css_document').addClass('required');
jform_vvvvvyjvyc_required = false;
}
}
else
{
- jQuery('#jform_javascript_file').closest('.control-group').hide();
+ jQuery('#jform_css_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvyjvyc_required)
{
- updateFieldRequired('javascript_file',1);
- jQuery('#jform_javascript_file').removeAttr('required');
- jQuery('#jform_javascript_file').removeAttr('aria-required');
- jQuery('#jform_javascript_file').removeClass('required');
+ updateFieldRequired('css_document',1);
+ jQuery('#jform_css_document').removeAttr('required');
+ jQuery('#jform_css_document').removeAttr('aria-required');
+ jQuery('#jform_css_document').removeClass('required');
jform_vvvvvyjvyc_required = true;
}
}
}
// the vvvvvyk function
-function vvvvvyk(add_js_document_vvvvvyk)
+function vvvvvyk(add_javascript_file_vvvvvyk)
{
// set the function logic
- if (add_js_document_vvvvvyk == 1)
+ if (add_javascript_file_vvvvvyk == 1)
{
- jQuery('#jform_js_document').closest('.control-group').show();
+ jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
if (jform_vvvvvykvyd_required)
{
- updateFieldRequired('js_document',0);
- jQuery('#jform_js_document').prop('required','required');
- jQuery('#jform_js_document').attr('aria-required',true);
- jQuery('#jform_js_document').addClass('required');
+ updateFieldRequired('javascript_file',0);
+ jQuery('#jform_javascript_file').prop('required','required');
+ jQuery('#jform_javascript_file').attr('aria-required',true);
+ jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvykvyd_required = false;
}
}
else
{
- jQuery('#jform_js_document').closest('.control-group').hide();
+ jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvykvyd_required)
{
- updateFieldRequired('js_document',1);
- jQuery('#jform_js_document').removeAttr('required');
- jQuery('#jform_js_document').removeAttr('aria-required');
- jQuery('#jform_js_document').removeClass('required');
+ updateFieldRequired('javascript_file',1);
+ jQuery('#jform_javascript_file').removeAttr('required');
+ jQuery('#jform_javascript_file').removeAttr('aria-required');
+ jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvykvyd_required = true;
}
}
}
// the vvvvvyl function
-function vvvvvyl(add_custom_button_vvvvvyl)
+function vvvvvyl(add_js_document_vvvvvyl)
{
// set the function logic
- if (add_custom_button_vvvvvyl == 1)
+ if (add_js_document_vvvvvyl == 1)
{
- jQuery('#jform_custom_button-lbl').closest('.control-group').show();
- jQuery('#jform_php_controller').closest('.control-group').show();
+ jQuery('#jform_js_document-lbl').closest('.control-group').show();
if (jform_vvvvvylvye_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');
+ updateFieldRequired('js_document',0);
+ jQuery('#jform_js_document').prop('required','required');
+ jQuery('#jform_js_document').attr('aria-required',true);
+ jQuery('#jform_js_document').addClass('required');
jform_vvvvvylvye_required = false;
}
- jQuery('#jform_php_model').closest('.control-group').show();
- if (jform_vvvvvylvyf_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_vvvvvylvyf_required = false;
- }
-
}
else
{
- jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
- jQuery('#jform_php_controller').closest('.control-group').hide();
+ jQuery('#jform_js_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvylvye_required)
{
- updateFieldRequired('php_controller',1);
- jQuery('#jform_php_controller').removeAttr('required');
- jQuery('#jform_php_controller').removeAttr('aria-required');
- jQuery('#jform_php_controller').removeClass('required');
+ updateFieldRequired('js_document',1);
+ jQuery('#jform_js_document').removeAttr('required');
+ jQuery('#jform_js_document').removeAttr('aria-required');
+ jQuery('#jform_js_document').removeClass('required');
jform_vvvvvylvye_required = true;
}
- jQuery('#jform_php_model').closest('.control-group').hide();
- if (!jform_vvvvvylvyf_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_vvvvvylvyf_required = true;
- }
}
}
// the vvvvvym function
-function vvvvvym(add_css_vvvvvym)
+function vvvvvym(add_custom_button_vvvvvym)
{
// set the function logic
- if (add_css_vvvvvym == 1)
+ if (add_custom_button_vvvvvym == 1)
{
- jQuery('#jform_css').closest('.control-group').show();
+ jQuery('#jform_custom_button-lbl').closest('.control-group').show();
+ jQuery('#jform_php_controller-lbl').closest('.control-group').show();
+ if (jform_vvvvvymvyf_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_vvvvvymvyf_required = false;
+ }
+
+ jQuery('#jform_php_model-lbl').closest('.control-group').show();
if (jform_vvvvvymvyg_required)
{
- updateFieldRequired('css',0);
- jQuery('#jform_css').prop('required','required');
- jQuery('#jform_css').attr('aria-required',true);
- jQuery('#jform_css').addClass('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_vvvvvymvyg_required = false;
}
}
else
{
- jQuery('#jform_css').closest('.control-group').hide();
+ jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
+ jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvymvyf_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_vvvvvymvyf_required = true;
+ }
+ jQuery('#jform_php_model-lbl').closest('.control-group').hide();
if (!jform_vvvvvymvyg_required)
{
- updateFieldRequired('css',1);
- jQuery('#jform_css').removeAttr('required');
- jQuery('#jform_css').removeAttr('aria-required');
- jQuery('#jform_css').removeClass('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_vvvvvymvyg_required = true;
}
}
}
// the vvvvvyn function
-function vvvvvyn(add_php_ajax_vvvvvyn)
+function vvvvvyn(add_css_vvvvvyn)
{
// set the function logic
- if (add_php_ajax_vvvvvyn == 1)
+ if (add_css_vvvvvyn == 1)
{
- jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
+ jQuery('#jform_css-lbl').closest('.control-group').show();
if (jform_vvvvvynvyh_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');
+ updateFieldRequired('css',0);
+ jQuery('#jform_css').prop('required','required');
+ jQuery('#jform_css').attr('aria-required',true);
+ jQuery('#jform_css').addClass('required');
jform_vvvvvynvyh_required = false;
}
}
else
{
- jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
+ jQuery('#jform_css-lbl').closest('.control-group').hide();
if (!jform_vvvvvynvyh_required)
+ {
+ updateFieldRequired('css',1);
+ jQuery('#jform_css').removeAttr('required');
+ jQuery('#jform_css').removeAttr('aria-required');
+ jQuery('#jform_css').removeClass('required');
+ jform_vvvvvynvyh_required = true;
+ }
+ }
+}
+
+// the vvvvvyo function
+function vvvvvyo(add_php_ajax_vvvvvyo)
+{
+ // set the function logic
+ if (add_php_ajax_vvvvvyo == 1)
+ {
+ jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
+ if (jform_vvvvvyovyi_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_vvvvvyovyi_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyovyi_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_vvvvvynvyh_required = true;
+ jform_vvvvvyovyi_required = true;
}
}
}
diff --git a/admin/models/forms/custom_admin_view.xml b/admin/models/forms/custom_admin_view.xml
index 34b5879cf..180115297 100644
--- a/admin/models/forms/custom_admin_view.xml
+++ b/admin/models/forms/custom_admin_view.xml
@@ -154,44 +154,56 @@
required="false"
button="true"
/>
-
+
-
+
-
+
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO
-
+
@@ -392,18 +409,22 @@
description="COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ICON_DESCRIPTION"
directory=""
/>
-
+
@@ -434,18 +455,22 @@
required="false"
button="true"
/>
-
+
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO
-
+
-
+
-
+
-
+
COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NO
-
+
-
+
diff --git a/admin/models/forms/custom_code.js b/admin/models/forms/custom_code.js
index e86189d3d..7e3e8668d 100644
--- a/admin/models/forms/custom_code.js
+++ b/admin/models/forms/custom_code.js
@@ -9,43 +9,43 @@
*/
// Some Global Values
-jform_vvvvwaavzp_required = false;
jform_vvvvwabvzq_required = false;
-jform_vvvvwabvzr_required = false;
-jform_vvvvwabvzs_required = false;
+jform_vvvvwacvzr_required = false;
+jform_vvvvwacvzs_required = false;
+jform_vvvvwacvzt_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var target_vvvvwaa = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwaa(target_vvvvwaa);
-
var target_vvvvwab = jQuery("#jform_target input[type='radio']:checked").val();
vvvvwab(target_vvvvwab);
var target_vvvvwac = jQuery("#jform_target input[type='radio']:checked").val();
- var type_vvvvwac = jQuery("#jform_type input[type='radio']:checked").val();
- vvvvwac(target_vvvvwac,type_vvvvwac);
+ vvvvwac(target_vvvvwac);
- var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
var target_vvvvwad = jQuery("#jform_target input[type='radio']:checked").val();
- vvvvwad(type_vvvvwad,target_vvvvwad);
+ var type_vvvvwad = jQuery("#jform_type input[type='radio']:checked").val();
+ vvvvwad(target_vvvvwad,type_vvvvwad);
+
+ var type_vvvvwae = jQuery("#jform_type input[type='radio']:checked").val();
+ var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
+ vvvvwae(type_vvvvwae,target_vvvvwae);
});
-// the vvvvwaa function
-function vvvvwaa(target_vvvvwaa)
+// the vvvvwab function
+function vvvvwab(target_vvvvwab)
{
// set the function logic
- if (target_vvvvwaa == 2)
+ if (target_vvvvwab == 2)
{
jQuery('#jform_function_name').closest('.control-group').show();
- if (jform_vvvvwaavzp_required)
+ if (jform_vvvvwabvzq_required)
{
updateFieldRequired('function_name',0);
jQuery('#jform_function_name').prop('required','required');
jQuery('#jform_function_name').attr('aria-required',true);
jQuery('#jform_function_name').addClass('required');
- jform_vvvvwaavzp_required = false;
+ jform_vvvvwabvzq_required = false;
}
jQuery('.note_jcb_placeholder').closest('.control-group').show();
@@ -54,99 +54,99 @@ function vvvvwaa(target_vvvvwaa)
else
{
jQuery('#jform_function_name').closest('.control-group').hide();
- if (!jform_vvvvwaavzp_required)
+ if (!jform_vvvvwabvzq_required)
{
updateFieldRequired('function_name',1);
jQuery('#jform_function_name').removeAttr('required');
jQuery('#jform_function_name').removeAttr('aria-required');
jQuery('#jform_function_name').removeClass('required');
- jform_vvvvwaavzp_required = true;
+ jform_vvvvwabvzq_required = true;
}
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
jQuery('#jform_system_name').closest('.control-group').hide();
}
}
-// the vvvvwab function
-function vvvvwab(target_vvvvwab)
+// the vvvvwac function
+function vvvvwac(target_vvvvwac)
{
// set the function logic
- if (target_vvvvwab == 1)
+ if (target_vvvvwac == 1)
{
jQuery('#jform_component').closest('.control-group').show();
- if (jform_vvvvwabvzq_required)
+ if (jform_vvvvwacvzr_required)
{
updateFieldRequired('component',0);
jQuery('#jform_component').prop('required','required');
jQuery('#jform_component').attr('aria-required',true);
jQuery('#jform_component').addClass('required');
- jform_vvvvwabvzq_required = false;
+ jform_vvvvwacvzr_required = false;
}
jQuery('#jform_path').closest('.control-group').show();
- if (jform_vvvvwabvzr_required)
+ if (jform_vvvvwacvzs_required)
{
updateFieldRequired('path',0);
jQuery('#jform_path').prop('required','required');
jQuery('#jform_path').attr('aria-required',true);
jQuery('#jform_path').addClass('required');
- jform_vvvvwabvzr_required = false;
+ jform_vvvvwacvzs_required = false;
}
jQuery('#jform_from_line').closest('.control-group').show();
jQuery('#jform_hashtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
jQuery('#jform_type').closest('.control-group').show();
- if (jform_vvvvwabvzs_required)
+ if (jform_vvvvwacvzt_required)
{
updateFieldRequired('type',0);
jQuery('#jform_type').prop('required','required');
jQuery('#jform_type').attr('aria-required',true);
jQuery('#jform_type').addClass('required');
- jform_vvvvwabvzs_required = false;
+ jform_vvvvwacvzt_required = false;
}
}
else
{
jQuery('#jform_component').closest('.control-group').hide();
- if (!jform_vvvvwabvzq_required)
+ if (!jform_vvvvwacvzr_required)
{
updateFieldRequired('component',1);
jQuery('#jform_component').removeAttr('required');
jQuery('#jform_component').removeAttr('aria-required');
jQuery('#jform_component').removeClass('required');
- jform_vvvvwabvzq_required = true;
+ jform_vvvvwacvzr_required = true;
}
jQuery('#jform_path').closest('.control-group').hide();
- if (!jform_vvvvwabvzr_required)
+ if (!jform_vvvvwacvzs_required)
{
updateFieldRequired('path',1);
jQuery('#jform_path').removeAttr('required');
jQuery('#jform_path').removeAttr('aria-required');
jQuery('#jform_path').removeClass('required');
- jform_vvvvwabvzr_required = true;
+ jform_vvvvwacvzs_required = true;
}
jQuery('#jform_from_line').closest('.control-group').hide();
jQuery('#jform_hashtarget').closest('.control-group').hide();
jQuery('#jform_to_line').closest('.control-group').hide();
jQuery('#jform_type').closest('.control-group').hide();
- if (!jform_vvvvwabvzs_required)
+ if (!jform_vvvvwacvzt_required)
{
updateFieldRequired('type',1);
jQuery('#jform_type').removeAttr('required');
jQuery('#jform_type').removeAttr('aria-required');
jQuery('#jform_type').removeClass('required');
- jform_vvvvwabvzs_required = true;
+ jform_vvvvwacvzt_required = true;
}
}
}
-// the vvvvwac function
-function vvvvwac(target_vvvvwac,type_vvvvwac)
+// the vvvvwad function
+function vvvvwad(target_vvvvwad,type_vvvvwad)
{
// set the function logic
- if (target_vvvvwac == 1 && type_vvvvwac == 1)
+ if (target_vvvvwad == 1 && type_vvvvwad == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
@@ -158,11 +158,11 @@ function vvvvwac(target_vvvvwac,type_vvvvwac)
}
}
-// the vvvvwad function
-function vvvvwad(type_vvvvwad,target_vvvvwad)
+// the vvvvwae function
+function vvvvwae(type_vvvvwae,target_vvvvwae)
{
// set the function logic
- if (type_vvvvwad == 1 && target_vvvvwad == 1)
+ if (type_vvvvwae == 1 && target_vvvvwae == 1)
{
jQuery('#jform_hashendtarget').closest('.control-group').show();
jQuery('#jform_to_line').closest('.control-group').show();
diff --git a/admin/models/forms/custom_code.xml b/admin/models/forms/custom_code.xml
index 6a03d9ee4..e535d0c0b 100644
--- a/admin/models/forms/custom_code.xml
+++ b/admin/models/forms/custom_code.xml
@@ -185,18 +185,22 @@
/>
-
+
diff --git a/admin/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js
index 7e5e5d246..69b78171f 100644
--- a/admin/models/forms/dynamic_get.js
+++ b/admin/models/forms/dynamic_get.js
@@ -9,35 +9,32 @@
*/
// Some Global Values
-jform_vvvvvzbvyv_required = false;
jform_vvvvvzcvyw_required = false;
jform_vvvvvzdvyx_required = false;
jform_vvvvvzevyy_required = false;
jform_vvvvvzfvyz_required = false;
jform_vvvvvzgvza_required = false;
-jform_vvvvvzlvzb_required = false;
-jform_vvvvvznvzc_required = false;
+jform_vvvvvzhvzb_required = false;
+jform_vvvvvzmvzc_required = false;
jform_vvvvvzovzd_required = false;
-jform_vvvvvzqvze_required = false;
-jform_vvvvvzqvzf_required = false;
+jform_vvvvvzpvze_required = false;
+jform_vvvvvzrvzf_required = false;
jform_vvvvvzrvzg_required = false;
jform_vvvvvzsvzh_required = false;
jform_vvvvvztvzi_required = false;
-jform_vvvvvzvvzj_required = false;
-jform_vvvvvzvvzk_required = false;
-jform_vvvvvzvvzl_required = false;
+jform_vvvvvzuvzj_required = false;
+jform_vvvvvzwvzk_required = false;
+jform_vvvvvzwvzl_required = false;
jform_vvvvvzwvzm_required = false;
jform_vvvvvzxvzn_required = false;
jform_vvvvvzyvzo_required = false;
+jform_vvvvvzzvzp_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var gettype_vvvvvzb = jQuery("#jform_gettype").val();
- vvvvvzb(gettype_vvvvvzb);
-
- var main_source_vvvvvzc = jQuery("#jform_main_source").val();
- vvvvvzc(main_source_vvvvvzc);
+ var gettype_vvvvvzc = jQuery("#jform_gettype").val();
+ vvvvvzc(gettype_vvvvvzc);
var main_source_vvvvvzd = jQuery("#jform_main_source").val();
vvvvvzd(main_source_vvvvvzd);
@@ -48,48 +45,48 @@ jQuery(document).ready(function()
var main_source_vvvvvzf = jQuery("#jform_main_source").val();
vvvvvzf(main_source_vvvvvzf);
- var addcalculation_vvvvvzg = jQuery("#jform_addcalculation input[type='radio']:checked").val();
- vvvvvzg(addcalculation_vvvvvzg);
+ var main_source_vvvvvzg = jQuery("#jform_main_source").val();
+ vvvvvzg(main_source_vvvvvzg);
var addcalculation_vvvvvzh = jQuery("#jform_addcalculation input[type='radio']:checked").val();
- var gettype_vvvvvzh = jQuery("#jform_gettype").val();
- vvvvvzh(addcalculation_vvvvvzh,gettype_vvvvvzh);
+ vvvvvzh(addcalculation_vvvvvzh);
var addcalculation_vvvvvzi = jQuery("#jform_addcalculation input[type='radio']:checked").val();
var gettype_vvvvvzi = jQuery("#jform_gettype").val();
vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi);
- var main_source_vvvvvzl = jQuery("#jform_main_source").val();
- vvvvvzl(main_source_vvvvvzl);
+ var addcalculation_vvvvvzj = jQuery("#jform_addcalculation input[type='radio']:checked").val();
+ var gettype_vvvvvzj = jQuery("#jform_gettype").val();
+ vvvvvzj(addcalculation_vvvvvzj,gettype_vvvvvzj);
var main_source_vvvvvzm = jQuery("#jform_main_source").val();
vvvvvzm(main_source_vvvvvzm);
- var add_php_before_getitem_vvvvvzn = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
- var gettype_vvvvvzn = jQuery("#jform_gettype").val();
- vvvvvzn(add_php_before_getitem_vvvvvzn,gettype_vvvvvzn);
+ var main_source_vvvvvzn = jQuery("#jform_main_source").val();
+ vvvvvzn(main_source_vvvvvzn);
- var add_php_after_getitem_vvvvvzo = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
+ var add_php_before_getitem_vvvvvzo = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val();
var gettype_vvvvvzo = jQuery("#jform_gettype").val();
- vvvvvzo(add_php_after_getitem_vvvvvzo,gettype_vvvvvzo);
+ vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo);
- var gettype_vvvvvzq = jQuery("#jform_gettype").val();
- vvvvvzq(gettype_vvvvvzq);
+ var add_php_after_getitem_vvvvvzp = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val();
+ var gettype_vvvvvzp = jQuery("#jform_gettype").val();
+ vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp);
- var add_php_getlistquery_vvvvvzr = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzr = jQuery("#jform_gettype").val();
- vvvvvzr(add_php_getlistquery_vvvvvzr,gettype_vvvvvzr);
+ vvvvvzr(gettype_vvvvvzr);
- var add_php_before_getitems_vvvvvzs = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
+ var add_php_getlistquery_vvvvvzs = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
var gettype_vvvvvzs = jQuery("#jform_gettype").val();
- vvvvvzs(add_php_before_getitems_vvvvvzs,gettype_vvvvvzs);
+ vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs);
- var add_php_after_getitems_vvvvvzt = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
+ var add_php_before_getitems_vvvvvzt = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val();
var gettype_vvvvvzt = jQuery("#jform_gettype").val();
- vvvvvzt(add_php_after_getitems_vvvvvzt,gettype_vvvvvzt);
+ vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt);
- var gettype_vvvvvzv = jQuery("#jform_gettype").val();
- vvvvvzv(gettype_vvvvvzv);
+ var add_php_after_getitems_vvvvvzu = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val();
+ var gettype_vvvvvzu = jQuery("#jform_gettype").val();
+ vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu);
var gettype_vvvvvzw = jQuery("#jform_gettype").val();
vvvvvzw(gettype_vvvvvzw);
@@ -98,114 +95,62 @@ jQuery(document).ready(function()
vvvvvzx(gettype_vvvvvzx);
var gettype_vvvvvzy = jQuery("#jform_gettype").val();
- var add_php_router_parse_vvvvvzy = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
- vvvvvzy(gettype_vvvvvzy,add_php_router_parse_vvvvvzy);
+ vvvvvzy(gettype_vvvvvzy);
+
+ var gettype_vvvvvzz = jQuery("#jform_gettype").val();
+ var add_php_router_parse_vvvvvzz = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
+ vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz);
});
-// the vvvvvzb function
-function vvvvvzb(gettype_vvvvvzb)
+// the vvvvvzc function
+function vvvvvzc(gettype_vvvvvzc)
{
- if (isSet(gettype_vvvvvzb) && gettype_vvvvvzb.constructor !== Array)
+ if (isSet(gettype_vvvvvzc) && gettype_vvvvvzc.constructor !== Array)
{
- var temp_vvvvvzb = gettype_vvvvvzb;
- var gettype_vvvvvzb = [];
- gettype_vvvvvzb.push(temp_vvvvvzb);
+ var temp_vvvvvzc = gettype_vvvvvzc;
+ var gettype_vvvvvzc = [];
+ gettype_vvvvvzc.push(temp_vvvvvzc);
}
- else if (!isSet(gettype_vvvvvzb))
+ else if (!isSet(gettype_vvvvvzc))
{
- var gettype_vvvvvzb = [];
+ var gettype_vvvvvzc = [];
}
- var gettype = gettype_vvvvvzb.some(gettype_vvvvvzb_SomeFunc);
+ var gettype = gettype_vvvvvzc.some(gettype_vvvvvzc_SomeFunc);
// set this function logic
if (gettype)
{
jQuery('#jform_getcustom').closest('.control-group').show();
- if (jform_vvvvvzbvyv_required)
+ if (jform_vvvvvzcvyw_required)
{
updateFieldRequired('getcustom',0);
jQuery('#jform_getcustom').prop('required','required');
jQuery('#jform_getcustom').attr('aria-required',true);
jQuery('#jform_getcustom').addClass('required');
- jform_vvvvvzbvyv_required = false;
- }
-
- }
- else
- {
- jQuery('#jform_getcustom').closest('.control-group').hide();
- if (!jform_vvvvvzbvyv_required)
- {
- updateFieldRequired('getcustom',1);
- jQuery('#jform_getcustom').removeAttr('required');
- jQuery('#jform_getcustom').removeAttr('aria-required');
- jQuery('#jform_getcustom').removeClass('required');
- jform_vvvvvzbvyv_required = true;
- }
- }
-}
-
-// the vvvvvzb Some function
-function gettype_vvvvvzb_SomeFunc(gettype_vvvvvzb)
-{
- // set the function logic
- if (gettype_vvvvvzb == 3 || gettype_vvvvvzb == 4)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzc function
-function vvvvvzc(main_source_vvvvvzc)
-{
- if (isSet(main_source_vvvvvzc) && main_source_vvvvvzc.constructor !== Array)
- {
- var temp_vvvvvzc = main_source_vvvvvzc;
- var main_source_vvvvvzc = [];
- main_source_vvvvvzc.push(temp_vvvvvzc);
- }
- else if (!isSet(main_source_vvvvvzc))
- {
- var main_source_vvvvvzc = [];
- }
- var main_source = main_source_vvvvvzc.some(main_source_vvvvvzc_SomeFunc);
-
-
- // set this function logic
- if (main_source)
- {
- jQuery('#jform_view_table_main').closest('.control-group').show();
- if (jform_vvvvvzcvyw_required)
- {
- updateFieldRequired('view_table_main',0);
- jQuery('#jform_view_table_main').prop('required','required');
- jQuery('#jform_view_table_main').attr('aria-required',true);
- jQuery('#jform_view_table_main').addClass('required');
jform_vvvvvzcvyw_required = false;
}
}
else
{
- jQuery('#jform_view_table_main').closest('.control-group').hide();
+ jQuery('#jform_getcustom').closest('.control-group').hide();
if (!jform_vvvvvzcvyw_required)
{
- updateFieldRequired('view_table_main',1);
- jQuery('#jform_view_table_main').removeAttr('required');
- jQuery('#jform_view_table_main').removeAttr('aria-required');
- jQuery('#jform_view_table_main').removeClass('required');
+ updateFieldRequired('getcustom',1);
+ jQuery('#jform_getcustom').removeAttr('required');
+ jQuery('#jform_getcustom').removeAttr('aria-required');
+ jQuery('#jform_getcustom').removeClass('required');
jform_vvvvvzcvyw_required = true;
}
}
}
// the vvvvvzc Some function
-function main_source_vvvvvzc_SomeFunc(main_source_vvvvvzc)
+function gettype_vvvvvzc_SomeFunc(gettype_vvvvvzc)
{
// set the function logic
- if (main_source_vvvvvzc == 1)
+ if (gettype_vvvvvzc == 3 || gettype_vvvvvzc == 4)
{
return true;
}
@@ -231,26 +176,26 @@ function vvvvvzd(main_source_vvvvvzd)
// set this function logic
if (main_source)
{
- jQuery('#jform_view_selection').closest('.control-group').show();
+ jQuery('#jform_view_table_main').closest('.control-group').show();
if (jform_vvvvvzdvyx_required)
{
- updateFieldRequired('view_selection',0);
- jQuery('#jform_view_selection').prop('required','required');
- jQuery('#jform_view_selection').attr('aria-required',true);
- jQuery('#jform_view_selection').addClass('required');
+ updateFieldRequired('view_table_main',0);
+ jQuery('#jform_view_table_main').prop('required','required');
+ jQuery('#jform_view_table_main').attr('aria-required',true);
+ jQuery('#jform_view_table_main').addClass('required');
jform_vvvvvzdvyx_required = false;
}
}
else
{
- jQuery('#jform_view_selection').closest('.control-group').hide();
+ jQuery('#jform_view_table_main').closest('.control-group').hide();
if (!jform_vvvvvzdvyx_required)
{
- updateFieldRequired('view_selection',1);
- jQuery('#jform_view_selection').removeAttr('required');
- jQuery('#jform_view_selection').removeAttr('aria-required');
- jQuery('#jform_view_selection').removeClass('required');
+ updateFieldRequired('view_table_main',1);
+ jQuery('#jform_view_table_main').removeAttr('required');
+ jQuery('#jform_view_table_main').removeAttr('aria-required');
+ jQuery('#jform_view_table_main').removeClass('required');
jform_vvvvvzdvyx_required = true;
}
}
@@ -286,26 +231,26 @@ function vvvvvze(main_source_vvvvvze)
// set this function logic
if (main_source)
{
- jQuery('#jform_db_table_main').closest('.control-group').show();
+ jQuery('#jform_view_selection').closest('.control-group').show();
if (jform_vvvvvzevyy_required)
{
- updateFieldRequired('db_table_main',0);
- jQuery('#jform_db_table_main').prop('required','required');
- jQuery('#jform_db_table_main').attr('aria-required',true);
- jQuery('#jform_db_table_main').addClass('required');
+ updateFieldRequired('view_selection',0);
+ jQuery('#jform_view_selection').prop('required','required');
+ jQuery('#jform_view_selection').attr('aria-required',true);
+ jQuery('#jform_view_selection').addClass('required');
jform_vvvvvzevyy_required = false;
}
}
else
{
- jQuery('#jform_db_table_main').closest('.control-group').hide();
+ jQuery('#jform_view_selection').closest('.control-group').hide();
if (!jform_vvvvvzevyy_required)
{
- updateFieldRequired('db_table_main',1);
- jQuery('#jform_db_table_main').removeAttr('required');
- jQuery('#jform_db_table_main').removeAttr('aria-required');
- jQuery('#jform_db_table_main').removeClass('required');
+ updateFieldRequired('view_selection',1);
+ jQuery('#jform_view_selection').removeAttr('required');
+ jQuery('#jform_view_selection').removeAttr('aria-required');
+ jQuery('#jform_view_selection').removeClass('required');
jform_vvvvvzevyy_required = true;
}
}
@@ -315,7 +260,7 @@ function vvvvvze(main_source_vvvvvze)
function main_source_vvvvvze_SomeFunc(main_source_vvvvvze)
{
// set the function logic
- if (main_source_vvvvvze == 2)
+ if (main_source_vvvvvze == 1)
{
return true;
}
@@ -341,26 +286,26 @@ function vvvvvzf(main_source_vvvvvzf)
// set this function logic
if (main_source)
{
- jQuery('#jform_db_selection').closest('.control-group').show();
+ jQuery('#jform_db_table_main').closest('.control-group').show();
if (jform_vvvvvzfvyz_required)
{
- updateFieldRequired('db_selection',0);
- jQuery('#jform_db_selection').prop('required','required');
- jQuery('#jform_db_selection').attr('aria-required',true);
- jQuery('#jform_db_selection').addClass('required');
+ updateFieldRequired('db_table_main',0);
+ jQuery('#jform_db_table_main').prop('required','required');
+ jQuery('#jform_db_table_main').attr('aria-required',true);
+ jQuery('#jform_db_table_main').addClass('required');
jform_vvvvvzfvyz_required = false;
}
}
else
{
- jQuery('#jform_db_selection').closest('.control-group').hide();
+ jQuery('#jform_db_table_main').closest('.control-group').hide();
if (!jform_vvvvvzfvyz_required)
{
- updateFieldRequired('db_selection',1);
- jQuery('#jform_db_selection').removeAttr('required');
- jQuery('#jform_db_selection').removeAttr('aria-required');
- jQuery('#jform_db_selection').removeClass('required');
+ updateFieldRequired('db_table_main',1);
+ jQuery('#jform_db_table_main').removeAttr('required');
+ jQuery('#jform_db_table_main').removeAttr('aria-required');
+ jQuery('#jform_db_table_main').removeClass('required');
jform_vvvvvzfvyz_required = true;
}
}
@@ -378,95 +323,89 @@ function main_source_vvvvvzf_SomeFunc(main_source_vvvvvzf)
}
// the vvvvvzg function
-function vvvvvzg(addcalculation_vvvvvzg)
+function vvvvvzg(main_source_vvvvvzg)
{
- // set the function logic
- if (addcalculation_vvvvvzg == 1)
+ if (isSet(main_source_vvvvvzg) && main_source_vvvvvzg.constructor !== Array)
{
- jQuery('#jform_php_calculation').closest('.control-group').show();
+ var temp_vvvvvzg = main_source_vvvvvzg;
+ var main_source_vvvvvzg = [];
+ main_source_vvvvvzg.push(temp_vvvvvzg);
+ }
+ else if (!isSet(main_source_vvvvvzg))
+ {
+ var main_source_vvvvvzg = [];
+ }
+ var main_source = main_source_vvvvvzg.some(main_source_vvvvvzg_SomeFunc);
+
+
+ // set this function logic
+ if (main_source)
+ {
+ jQuery('#jform_db_selection').closest('.control-group').show();
if (jform_vvvvvzgvza_required)
{
- updateFieldRequired('php_calculation',0);
- jQuery('#jform_php_calculation').prop('required','required');
- jQuery('#jform_php_calculation').attr('aria-required',true);
- jQuery('#jform_php_calculation').addClass('required');
+ updateFieldRequired('db_selection',0);
+ jQuery('#jform_db_selection').prop('required','required');
+ jQuery('#jform_db_selection').attr('aria-required',true);
+ jQuery('#jform_db_selection').addClass('required');
jform_vvvvvzgvza_required = false;
}
}
else
{
- jQuery('#jform_php_calculation').closest('.control-group').hide();
+ jQuery('#jform_db_selection').closest('.control-group').hide();
if (!jform_vvvvvzgvza_required)
{
- updateFieldRequired('php_calculation',1);
- jQuery('#jform_php_calculation').removeAttr('required');
- jQuery('#jform_php_calculation').removeAttr('aria-required');
- jQuery('#jform_php_calculation').removeClass('required');
+ updateFieldRequired('db_selection',1);
+ jQuery('#jform_db_selection').removeAttr('required');
+ jQuery('#jform_db_selection').removeAttr('aria-required');
+ jQuery('#jform_db_selection').removeClass('required');
jform_vvvvvzgvza_required = true;
}
}
}
-// the vvvvvzh function
-function vvvvvzh(addcalculation_vvvvvzh,gettype_vvvvvzh)
+// the vvvvvzg Some function
+function main_source_vvvvvzg_SomeFunc(main_source_vvvvvzg)
{
- if (isSet(addcalculation_vvvvvzh) && addcalculation_vvvvvzh.constructor !== Array)
+ // set the function logic
+ if (main_source_vvvvvzg == 2)
{
- var temp_vvvvvzh = addcalculation_vvvvvzh;
- var addcalculation_vvvvvzh = [];
- addcalculation_vvvvvzh.push(temp_vvvvvzh);
- }
- else if (!isSet(addcalculation_vvvvvzh))
- {
- var addcalculation_vvvvvzh = [];
- }
- var addcalculation = addcalculation_vvvvvzh.some(addcalculation_vvvvvzh_SomeFunc);
-
- if (isSet(gettype_vvvvvzh) && gettype_vvvvvzh.constructor !== Array)
- {
- var temp_vvvvvzh = gettype_vvvvvzh;
- var gettype_vvvvvzh = [];
- gettype_vvvvvzh.push(temp_vvvvvzh);
- }
- else if (!isSet(gettype_vvvvvzh))
- {
- var gettype_vvvvvzh = [];
- }
- var gettype = gettype_vvvvvzh.some(gettype_vvvvvzh_SomeFunc);
-
-
- // set this function logic
- if (addcalculation && gettype)
- {
- jQuery('.note_calculation_item').closest('.control-group').show();
- }
- else
- {
- jQuery('.note_calculation_item').closest('.control-group').hide();
+ return true;
}
+ return false;
}
-// the vvvvvzh Some function
-function addcalculation_vvvvvzh_SomeFunc(addcalculation_vvvvvzh)
+// the vvvvvzh function
+function vvvvvzh(addcalculation_vvvvvzh)
{
// set the function logic
if (addcalculation_vvvvvzh == 1)
{
- return true;
- }
- return false;
-}
+ jQuery('#jform_php_calculation-lbl').closest('.control-group').show();
+ if (jform_vvvvvzhvzb_required)
+ {
+ updateFieldRequired('php_calculation',0);
+ jQuery('#jform_php_calculation').prop('required','required');
+ jQuery('#jform_php_calculation').attr('aria-required',true);
+ jQuery('#jform_php_calculation').addClass('required');
+ jform_vvvvvzhvzb_required = false;
+ }
-// the vvvvvzh Some function
-function gettype_vvvvvzh_SomeFunc(gettype_vvvvvzh)
-{
- // set the function logic
- if (gettype_vvvvvzh == 1 || gettype_vvvvvzh == 3)
- {
- return true;
}
- return false;
+ else
+ {
+ jQuery('#jform_php_calculation-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvzhvzb_required)
+ {
+ updateFieldRequired('php_calculation',1);
+ jQuery('#jform_php_calculation').removeAttr('required');
+ jQuery('#jform_php_calculation').removeAttr('aria-required');
+ jQuery('#jform_php_calculation').removeClass('required');
+ jform_vvvvvzhvzb_required = true;
+ }
+ }
}
// the vvvvvzi function
@@ -500,11 +439,11 @@ function vvvvvzi(addcalculation_vvvvvzi,gettype_vvvvvzi)
// set this function logic
if (addcalculation && gettype)
{
- jQuery('.note_calculation_items').closest('.control-group').show();
+ jQuery('.note_calculation_item').closest('.control-group').show();
}
else
{
- jQuery('.note_calculation_items').closest('.control-group').hide();
+ jQuery('.note_calculation_item').closest('.control-group').hide();
}
}
@@ -523,62 +462,68 @@ function addcalculation_vvvvvzi_SomeFunc(addcalculation_vvvvvzi)
function gettype_vvvvvzi_SomeFunc(gettype_vvvvvzi)
{
// set the function logic
- if (gettype_vvvvvzi == 2 || gettype_vvvvvzi == 4)
+ if (gettype_vvvvvzi == 1 || gettype_vvvvvzi == 3)
{
return true;
}
return false;
}
-// the vvvvvzl function
-function vvvvvzl(main_source_vvvvvzl)
+// the vvvvvzj function
+function vvvvvzj(addcalculation_vvvvvzj,gettype_vvvvvzj)
{
- if (isSet(main_source_vvvvvzl) && main_source_vvvvvzl.constructor !== Array)
+ if (isSet(addcalculation_vvvvvzj) && addcalculation_vvvvvzj.constructor !== Array)
{
- var temp_vvvvvzl = main_source_vvvvvzl;
- var main_source_vvvvvzl = [];
- main_source_vvvvvzl.push(temp_vvvvvzl);
+ var temp_vvvvvzj = addcalculation_vvvvvzj;
+ var addcalculation_vvvvvzj = [];
+ addcalculation_vvvvvzj.push(temp_vvvvvzj);
}
- else if (!isSet(main_source_vvvvvzl))
+ else if (!isSet(addcalculation_vvvvvzj))
{
- var main_source_vvvvvzl = [];
+ var addcalculation_vvvvvzj = [];
}
- var main_source = main_source_vvvvvzl.some(main_source_vvvvvzl_SomeFunc);
+ var addcalculation = addcalculation_vvvvvzj.some(addcalculation_vvvvvzj_SomeFunc);
+
+ if (isSet(gettype_vvvvvzj) && gettype_vvvvvzj.constructor !== Array)
+ {
+ var temp_vvvvvzj = gettype_vvvvvzj;
+ var gettype_vvvvvzj = [];
+ gettype_vvvvvzj.push(temp_vvvvvzj);
+ }
+ else if (!isSet(gettype_vvvvvzj))
+ {
+ var gettype_vvvvvzj = [];
+ }
+ var gettype = gettype_vvvvvzj.some(gettype_vvvvvzj_SomeFunc);
// set this function logic
- if (main_source)
+ if (addcalculation && gettype)
{
- jQuery('#jform_php_custom_get').closest('.control-group').show();
- if (jform_vvvvvzlvzb_required)
- {
- updateFieldRequired('php_custom_get',0);
- jQuery('#jform_php_custom_get').prop('required','required');
- jQuery('#jform_php_custom_get').attr('aria-required',true);
- jQuery('#jform_php_custom_get').addClass('required');
- jform_vvvvvzlvzb_required = false;
- }
-
+ jQuery('.note_calculation_items').closest('.control-group').show();
}
else
{
- jQuery('#jform_php_custom_get').closest('.control-group').hide();
- if (!jform_vvvvvzlvzb_required)
- {
- updateFieldRequired('php_custom_get',1);
- jQuery('#jform_php_custom_get').removeAttr('required');
- jQuery('#jform_php_custom_get').removeAttr('aria-required');
- jQuery('#jform_php_custom_get').removeClass('required');
- jform_vvvvvzlvzb_required = true;
- }
+ jQuery('.note_calculation_items').closest('.control-group').hide();
}
}
-// the vvvvvzl Some function
-function main_source_vvvvvzl_SomeFunc(main_source_vvvvvzl)
+// the vvvvvzj Some function
+function addcalculation_vvvvvzj_SomeFunc(addcalculation_vvvvvzj)
{
// set the function logic
- if (main_source_vvvvvzl == 3)
+ if (addcalculation_vvvvvzj == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzj Some function
+function gettype_vvvvvzj_SomeFunc(gettype_vvvvvzj)
+{
+ // set the function logic
+ if (gettype_vvvvvzj == 2 || gettype_vvvvvzj == 4)
{
return true;
}
@@ -601,6 +546,61 @@ function vvvvvzm(main_source_vvvvvzm)
var main_source = main_source_vvvvvzm.some(main_source_vvvvvzm_SomeFunc);
+ // set this function logic
+ if (main_source)
+ {
+ jQuery('#jform_php_custom_get-lbl').closest('.control-group').show();
+ if (jform_vvvvvzmvzc_required)
+ {
+ updateFieldRequired('php_custom_get',0);
+ jQuery('#jform_php_custom_get').prop('required','required');
+ jQuery('#jform_php_custom_get').attr('aria-required',true);
+ jQuery('#jform_php_custom_get').addClass('required');
+ jform_vvvvvzmvzc_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_php_custom_get-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvzmvzc_required)
+ {
+ updateFieldRequired('php_custom_get',1);
+ jQuery('#jform_php_custom_get').removeAttr('required');
+ jQuery('#jform_php_custom_get').removeAttr('aria-required');
+ jQuery('#jform_php_custom_get').removeClass('required');
+ jform_vvvvvzmvzc_required = true;
+ }
+ }
+}
+
+// the vvvvvzm Some function
+function main_source_vvvvvzm_SomeFunc(main_source_vvvvvzm)
+{
+ // set the function logic
+ if (main_source_vvvvvzm == 3)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzn function
+function vvvvvzn(main_source_vvvvvzn)
+{
+ if (isSet(main_source_vvvvvzn) && main_source_vvvvvzn.constructor !== Array)
+ {
+ var temp_vvvvvzn = main_source_vvvvvzn;
+ var main_source_vvvvvzn = [];
+ main_source_vvvvvzn.push(temp_vvvvvzn);
+ }
+ else if (!isSet(main_source_vvvvvzn))
+ {
+ var main_source_vvvvvzn = [];
+ }
+ var main_source = main_source_vvvvvzn.some(main_source_vvvvvzn_SomeFunc);
+
+
// set this function logic
if (main_source)
{
@@ -622,89 +622,11 @@ function vvvvvzm(main_source_vvvvvzm)
}
}
-// the vvvvvzm Some function
-function main_source_vvvvvzm_SomeFunc(main_source_vvvvvzm)
-{
- // set the function logic
- if (main_source_vvvvvzm == 1 || main_source_vvvvvzm == 2)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzn function
-function vvvvvzn(add_php_before_getitem_vvvvvzn,gettype_vvvvvzn)
-{
- if (isSet(add_php_before_getitem_vvvvvzn) && add_php_before_getitem_vvvvvzn.constructor !== Array)
- {
- var temp_vvvvvzn = add_php_before_getitem_vvvvvzn;
- var add_php_before_getitem_vvvvvzn = [];
- add_php_before_getitem_vvvvvzn.push(temp_vvvvvzn);
- }
- else if (!isSet(add_php_before_getitem_vvvvvzn))
- {
- var add_php_before_getitem_vvvvvzn = [];
- }
- var add_php_before_getitem = add_php_before_getitem_vvvvvzn.some(add_php_before_getitem_vvvvvzn_SomeFunc);
-
- if (isSet(gettype_vvvvvzn) && gettype_vvvvvzn.constructor !== Array)
- {
- var temp_vvvvvzn = gettype_vvvvvzn;
- var gettype_vvvvvzn = [];
- gettype_vvvvvzn.push(temp_vvvvvzn);
- }
- else if (!isSet(gettype_vvvvvzn))
- {
- var gettype_vvvvvzn = [];
- }
- var gettype = gettype_vvvvvzn.some(gettype_vvvvvzn_SomeFunc);
-
-
- // set this function logic
- if (add_php_before_getitem && gettype)
- {
- jQuery('#jform_php_before_getitem').closest('.control-group').show();
- if (jform_vvvvvznvzc_required)
- {
- updateFieldRequired('php_before_getitem',0);
- jQuery('#jform_php_before_getitem').prop('required','required');
- jQuery('#jform_php_before_getitem').attr('aria-required',true);
- jQuery('#jform_php_before_getitem').addClass('required');
- jform_vvvvvznvzc_required = false;
- }
-
- }
- else
- {
- jQuery('#jform_php_before_getitem').closest('.control-group').hide();
- if (!jform_vvvvvznvzc_required)
- {
- updateFieldRequired('php_before_getitem',1);
- jQuery('#jform_php_before_getitem').removeAttr('required');
- jQuery('#jform_php_before_getitem').removeAttr('aria-required');
- jQuery('#jform_php_before_getitem').removeClass('required');
- jform_vvvvvznvzc_required = true;
- }
- }
-}
-
// the vvvvvzn Some function
-function add_php_before_getitem_vvvvvzn_SomeFunc(add_php_before_getitem_vvvvvzn)
+function main_source_vvvvvzn_SomeFunc(main_source_vvvvvzn)
{
// set the function logic
- if (add_php_before_getitem_vvvvvzn == 1)
- {
- return true;
- }
- return false;
-}
-
-// the vvvvvzn Some function
-function gettype_vvvvvzn_SomeFunc(gettype_vvvvvzn)
-{
- // set the function logic
- if (gettype_vvvvvzn == 1 || gettype_vvvvvzn == 3)
+ if (main_source_vvvvvzn == 1 || main_source_vvvvvzn == 2)
{
return true;
}
@@ -712,19 +634,19 @@ function gettype_vvvvvzn_SomeFunc(gettype_vvvvvzn)
}
// the vvvvvzo function
-function vvvvvzo(add_php_after_getitem_vvvvvzo,gettype_vvvvvzo)
+function vvvvvzo(add_php_before_getitem_vvvvvzo,gettype_vvvvvzo)
{
- if (isSet(add_php_after_getitem_vvvvvzo) && add_php_after_getitem_vvvvvzo.constructor !== Array)
+ if (isSet(add_php_before_getitem_vvvvvzo) && add_php_before_getitem_vvvvvzo.constructor !== Array)
{
- var temp_vvvvvzo = add_php_after_getitem_vvvvvzo;
- var add_php_after_getitem_vvvvvzo = [];
- add_php_after_getitem_vvvvvzo.push(temp_vvvvvzo);
+ var temp_vvvvvzo = add_php_before_getitem_vvvvvzo;
+ var add_php_before_getitem_vvvvvzo = [];
+ add_php_before_getitem_vvvvvzo.push(temp_vvvvvzo);
}
- else if (!isSet(add_php_after_getitem_vvvvvzo))
+ else if (!isSet(add_php_before_getitem_vvvvvzo))
{
- var add_php_after_getitem_vvvvvzo = [];
+ var add_php_before_getitem_vvvvvzo = [];
}
- var add_php_after_getitem = add_php_after_getitem_vvvvvzo.some(add_php_after_getitem_vvvvvzo_SomeFunc);
+ var add_php_before_getitem = add_php_before_getitem_vvvvvzo.some(add_php_before_getitem_vvvvvzo_SomeFunc);
if (isSet(gettype_vvvvvzo) && gettype_vvvvvzo.constructor !== Array)
{
@@ -740,38 +662,38 @@ function vvvvvzo(add_php_after_getitem_vvvvvzo,gettype_vvvvvzo)
// set this function logic
- if (add_php_after_getitem && gettype)
+ if (add_php_before_getitem && gettype)
{
- jQuery('#jform_php_after_getitem').closest('.control-group').show();
+ jQuery('#jform_php_before_getitem-lbl').closest('.control-group').show();
if (jform_vvvvvzovzd_required)
{
- updateFieldRequired('php_after_getitem',0);
- jQuery('#jform_php_after_getitem').prop('required','required');
- jQuery('#jform_php_after_getitem').attr('aria-required',true);
- jQuery('#jform_php_after_getitem').addClass('required');
+ updateFieldRequired('php_before_getitem',0);
+ jQuery('#jform_php_before_getitem').prop('required','required');
+ jQuery('#jform_php_before_getitem').attr('aria-required',true);
+ jQuery('#jform_php_before_getitem').addClass('required');
jform_vvvvvzovzd_required = false;
}
}
else
{
- jQuery('#jform_php_after_getitem').closest('.control-group').hide();
+ jQuery('#jform_php_before_getitem-lbl').closest('.control-group').hide();
if (!jform_vvvvvzovzd_required)
{
- updateFieldRequired('php_after_getitem',1);
- jQuery('#jform_php_after_getitem').removeAttr('required');
- jQuery('#jform_php_after_getitem').removeAttr('aria-required');
- jQuery('#jform_php_after_getitem').removeClass('required');
+ updateFieldRequired('php_before_getitem',1);
+ jQuery('#jform_php_before_getitem').removeAttr('required');
+ jQuery('#jform_php_before_getitem').removeAttr('aria-required');
+ jQuery('#jform_php_before_getitem').removeClass('required');
jform_vvvvvzovzd_required = true;
}
}
}
// the vvvvvzo Some function
-function add_php_after_getitem_vvvvvzo_SomeFunc(add_php_after_getitem_vvvvvzo)
+function add_php_before_getitem_vvvvvzo_SomeFunc(add_php_before_getitem_vvvvvzo)
{
// set the function logic
- if (add_php_after_getitem_vvvvvzo == 1)
+ if (add_php_before_getitem_vvvvvzo == 1)
{
return true;
}
@@ -789,74 +711,78 @@ function gettype_vvvvvzo_SomeFunc(gettype_vvvvvzo)
return false;
}
-// the vvvvvzq function
-function vvvvvzq(gettype_vvvvvzq)
+// the vvvvvzp function
+function vvvvvzp(add_php_after_getitem_vvvvvzp,gettype_vvvvvzp)
{
- if (isSet(gettype_vvvvvzq) && gettype_vvvvvzq.constructor !== Array)
+ if (isSet(add_php_after_getitem_vvvvvzp) && add_php_after_getitem_vvvvvzp.constructor !== Array)
{
- var temp_vvvvvzq = gettype_vvvvvzq;
- var gettype_vvvvvzq = [];
- gettype_vvvvvzq.push(temp_vvvvvzq);
+ var temp_vvvvvzp = add_php_after_getitem_vvvvvzp;
+ var add_php_after_getitem_vvvvvzp = [];
+ add_php_after_getitem_vvvvvzp.push(temp_vvvvvzp);
}
- else if (!isSet(gettype_vvvvvzq))
+ else if (!isSet(add_php_after_getitem_vvvvvzp))
{
- var gettype_vvvvvzq = [];
+ var add_php_after_getitem_vvvvvzp = [];
}
- var gettype = gettype_vvvvvzq.some(gettype_vvvvvzq_SomeFunc);
+ var add_php_after_getitem = add_php_after_getitem_vvvvvzp.some(add_php_after_getitem_vvvvvzp_SomeFunc);
+
+ if (isSet(gettype_vvvvvzp) && gettype_vvvvvzp.constructor !== Array)
+ {
+ var temp_vvvvvzp = gettype_vvvvvzp;
+ var gettype_vvvvvzp = [];
+ gettype_vvvvvzp.push(temp_vvvvvzp);
+ }
+ else if (!isSet(gettype_vvvvvzp))
+ {
+ var gettype_vvvvvzp = [];
+ }
+ var gettype = gettype_vvvvvzp.some(gettype_vvvvvzp_SomeFunc);
// set this function logic
- if (gettype)
+ if (add_php_after_getitem && gettype)
{
- jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
- if (jform_vvvvvzqvze_required)
+ jQuery('#jform_php_after_getitem-lbl').closest('.control-group').show();
+ if (jform_vvvvvzpvze_required)
{
- updateFieldRequired('add_php_after_getitem',0);
- jQuery('#jform_add_php_after_getitem').prop('required','required');
- jQuery('#jform_add_php_after_getitem').attr('aria-required',true);
- jQuery('#jform_add_php_after_getitem').addClass('required');
- jform_vvvvvzqvze_required = false;
- }
-
- jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
- if (jform_vvvvvzqvzf_required)
- {
- updateFieldRequired('add_php_before_getitem',0);
- jQuery('#jform_add_php_before_getitem').prop('required','required');
- jQuery('#jform_add_php_before_getitem').attr('aria-required',true);
- jQuery('#jform_add_php_before_getitem').addClass('required');
- jform_vvvvvzqvzf_required = false;
+ updateFieldRequired('php_after_getitem',0);
+ jQuery('#jform_php_after_getitem').prop('required','required');
+ jQuery('#jform_php_after_getitem').attr('aria-required',true);
+ jQuery('#jform_php_after_getitem').addClass('required');
+ jform_vvvvvzpvze_required = false;
}
}
else
{
- jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
- if (!jform_vvvvvzqvze_required)
+ jQuery('#jform_php_after_getitem-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvzpvze_required)
{
- updateFieldRequired('add_php_after_getitem',1);
- jQuery('#jform_add_php_after_getitem').removeAttr('required');
- jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
- jQuery('#jform_add_php_after_getitem').removeClass('required');
- jform_vvvvvzqvze_required = true;
- }
- jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
- if (!jform_vvvvvzqvzf_required)
- {
- updateFieldRequired('add_php_before_getitem',1);
- jQuery('#jform_add_php_before_getitem').removeAttr('required');
- jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
- jQuery('#jform_add_php_before_getitem').removeClass('required');
- jform_vvvvvzqvzf_required = true;
+ updateFieldRequired('php_after_getitem',1);
+ jQuery('#jform_php_after_getitem').removeAttr('required');
+ jQuery('#jform_php_after_getitem').removeAttr('aria-required');
+ jQuery('#jform_php_after_getitem').removeClass('required');
+ jform_vvvvvzpvze_required = true;
}
}
}
-// the vvvvvzq Some function
-function gettype_vvvvvzq_SomeFunc(gettype_vvvvvzq)
+// the vvvvvzp Some function
+function add_php_after_getitem_vvvvvzp_SomeFunc(add_php_after_getitem_vvvvvzp)
{
// set the function logic
- if (gettype_vvvvvzq == 1 || gettype_vvvvvzq == 3)
+ if (add_php_after_getitem_vvvvvzp == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzp Some function
+function gettype_vvvvvzp_SomeFunc(gettype_vvvvvzp)
+{
+ // set the function logic
+ if (gettype_vvvvvzp == 1 || gettype_vvvvvzp == 3)
{
return true;
}
@@ -864,20 +790,8 @@ function gettype_vvvvvzq_SomeFunc(gettype_vvvvvzq)
}
// the vvvvvzr function
-function vvvvvzr(add_php_getlistquery_vvvvvzr,gettype_vvvvvzr)
+function vvvvvzr(gettype_vvvvvzr)
{
- if (isSet(add_php_getlistquery_vvvvvzr) && add_php_getlistquery_vvvvvzr.constructor !== Array)
- {
- var temp_vvvvvzr = add_php_getlistquery_vvvvvzr;
- var add_php_getlistquery_vvvvvzr = [];
- add_php_getlistquery_vvvvvzr.push(temp_vvvvvzr);
- }
- else if (!isSet(add_php_getlistquery_vvvvvzr))
- {
- var add_php_getlistquery_vvvvvzr = [];
- }
- var add_php_getlistquery = add_php_getlistquery_vvvvvzr.some(add_php_getlistquery_vvvvvzr_SomeFunc);
-
if (isSet(gettype_vvvvvzr) && gettype_vvvvvzr.constructor !== Array)
{
var temp_vvvvvzr = gettype_vvvvvzr;
@@ -892,49 +806,57 @@ function vvvvvzr(add_php_getlistquery_vvvvvzr,gettype_vvvvvzr)
// set this function logic
- if (add_php_getlistquery && gettype)
+ if (gettype)
{
- jQuery('#jform_php_getlistquery').closest('.control-group').show();
+ jQuery('#jform_add_php_after_getitem').closest('.control-group').show();
+ if (jform_vvvvvzrvzf_required)
+ {
+ updateFieldRequired('add_php_after_getitem',0);
+ jQuery('#jform_add_php_after_getitem').prop('required','required');
+ jQuery('#jform_add_php_after_getitem').attr('aria-required',true);
+ jQuery('#jform_add_php_after_getitem').addClass('required');
+ jform_vvvvvzrvzf_required = false;
+ }
+
+ jQuery('#jform_add_php_before_getitem').closest('.control-group').show();
if (jform_vvvvvzrvzg_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');
+ updateFieldRequired('add_php_before_getitem',0);
+ jQuery('#jform_add_php_before_getitem').prop('required','required');
+ jQuery('#jform_add_php_before_getitem').attr('aria-required',true);
+ jQuery('#jform_add_php_before_getitem').addClass('required');
jform_vvvvvzrvzg_required = false;
}
}
else
{
- jQuery('#jform_php_getlistquery').closest('.control-group').hide();
+ jQuery('#jform_add_php_after_getitem').closest('.control-group').hide();
+ if (!jform_vvvvvzrvzf_required)
+ {
+ updateFieldRequired('add_php_after_getitem',1);
+ jQuery('#jform_add_php_after_getitem').removeAttr('required');
+ jQuery('#jform_add_php_after_getitem').removeAttr('aria-required');
+ jQuery('#jform_add_php_after_getitem').removeClass('required');
+ jform_vvvvvzrvzf_required = true;
+ }
+ jQuery('#jform_add_php_before_getitem').closest('.control-group').hide();
if (!jform_vvvvvzrvzg_required)
{
- updateFieldRequired('php_getlistquery',1);
- jQuery('#jform_php_getlistquery').removeAttr('required');
- jQuery('#jform_php_getlistquery').removeAttr('aria-required');
- jQuery('#jform_php_getlistquery').removeClass('required');
+ updateFieldRequired('add_php_before_getitem',1);
+ jQuery('#jform_add_php_before_getitem').removeAttr('required');
+ jQuery('#jform_add_php_before_getitem').removeAttr('aria-required');
+ jQuery('#jform_add_php_before_getitem').removeClass('required');
jform_vvvvvzrvzg_required = true;
}
}
}
-// the vvvvvzr Some function
-function add_php_getlistquery_vvvvvzr_SomeFunc(add_php_getlistquery_vvvvvzr)
-{
- // set the function logic
- if (add_php_getlistquery_vvvvvzr == 1)
- {
- return true;
- }
- return false;
-}
-
// the vvvvvzr Some function
function gettype_vvvvvzr_SomeFunc(gettype_vvvvvzr)
{
// set the function logic
- if (gettype_vvvvvzr == 2 || gettype_vvvvvzr == 4)
+ if (gettype_vvvvvzr == 1 || gettype_vvvvvzr == 3)
{
return true;
}
@@ -942,19 +864,19 @@ function gettype_vvvvvzr_SomeFunc(gettype_vvvvvzr)
}
// the vvvvvzs function
-function vvvvvzs(add_php_before_getitems_vvvvvzs,gettype_vvvvvzs)
+function vvvvvzs(add_php_getlistquery_vvvvvzs,gettype_vvvvvzs)
{
- if (isSet(add_php_before_getitems_vvvvvzs) && add_php_before_getitems_vvvvvzs.constructor !== Array)
+ if (isSet(add_php_getlistquery_vvvvvzs) && add_php_getlistquery_vvvvvzs.constructor !== Array)
{
- var temp_vvvvvzs = add_php_before_getitems_vvvvvzs;
- var add_php_before_getitems_vvvvvzs = [];
- add_php_before_getitems_vvvvvzs.push(temp_vvvvvzs);
+ var temp_vvvvvzs = add_php_getlistquery_vvvvvzs;
+ var add_php_getlistquery_vvvvvzs = [];
+ add_php_getlistquery_vvvvvzs.push(temp_vvvvvzs);
}
- else if (!isSet(add_php_before_getitems_vvvvvzs))
+ else if (!isSet(add_php_getlistquery_vvvvvzs))
{
- var add_php_before_getitems_vvvvvzs = [];
+ var add_php_getlistquery_vvvvvzs = [];
}
- var add_php_before_getitems = add_php_before_getitems_vvvvvzs.some(add_php_before_getitems_vvvvvzs_SomeFunc);
+ var add_php_getlistquery = add_php_getlistquery_vvvvvzs.some(add_php_getlistquery_vvvvvzs_SomeFunc);
if (isSet(gettype_vvvvvzs) && gettype_vvvvvzs.constructor !== Array)
{
@@ -970,38 +892,38 @@ function vvvvvzs(add_php_before_getitems_vvvvvzs,gettype_vvvvvzs)
// set this function logic
- if (add_php_before_getitems && gettype)
+ if (add_php_getlistquery && gettype)
{
- jQuery('#jform_php_before_getitems').closest('.control-group').show();
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
if (jform_vvvvvzsvzh_required)
{
- updateFieldRequired('php_before_getitems',0);
- jQuery('#jform_php_before_getitems').prop('required','required');
- jQuery('#jform_php_before_getitems').attr('aria-required',true);
- jQuery('#jform_php_before_getitems').addClass('required');
+ 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_vvvvvzsvzh_required = false;
}
}
else
{
- jQuery('#jform_php_before_getitems').closest('.control-group').hide();
+ jQuery('#jform_php_getlistquery-lbl').closest('.control-group').hide();
if (!jform_vvvvvzsvzh_required)
{
- updateFieldRequired('php_before_getitems',1);
- jQuery('#jform_php_before_getitems').removeAttr('required');
- jQuery('#jform_php_before_getitems').removeAttr('aria-required');
- jQuery('#jform_php_before_getitems').removeClass('required');
+ updateFieldRequired('php_getlistquery',1);
+ jQuery('#jform_php_getlistquery').removeAttr('required');
+ jQuery('#jform_php_getlistquery').removeAttr('aria-required');
+ jQuery('#jform_php_getlistquery').removeClass('required');
jform_vvvvvzsvzh_required = true;
}
}
}
// the vvvvvzs Some function
-function add_php_before_getitems_vvvvvzs_SomeFunc(add_php_before_getitems_vvvvvzs)
+function add_php_getlistquery_vvvvvzs_SomeFunc(add_php_getlistquery_vvvvvzs)
{
// set the function logic
- if (add_php_before_getitems_vvvvvzs == 1)
+ if (add_php_getlistquery_vvvvvzs == 1)
{
return true;
}
@@ -1020,19 +942,19 @@ function gettype_vvvvvzs_SomeFunc(gettype_vvvvvzs)
}
// the vvvvvzt function
-function vvvvvzt(add_php_after_getitems_vvvvvzt,gettype_vvvvvzt)
+function vvvvvzt(add_php_before_getitems_vvvvvzt,gettype_vvvvvzt)
{
- if (isSet(add_php_after_getitems_vvvvvzt) && add_php_after_getitems_vvvvvzt.constructor !== Array)
+ if (isSet(add_php_before_getitems_vvvvvzt) && add_php_before_getitems_vvvvvzt.constructor !== Array)
{
- var temp_vvvvvzt = add_php_after_getitems_vvvvvzt;
- var add_php_after_getitems_vvvvvzt = [];
- add_php_after_getitems_vvvvvzt.push(temp_vvvvvzt);
+ var temp_vvvvvzt = add_php_before_getitems_vvvvvzt;
+ var add_php_before_getitems_vvvvvzt = [];
+ add_php_before_getitems_vvvvvzt.push(temp_vvvvvzt);
}
- else if (!isSet(add_php_after_getitems_vvvvvzt))
+ else if (!isSet(add_php_before_getitems_vvvvvzt))
{
- var add_php_after_getitems_vvvvvzt = [];
+ var add_php_before_getitems_vvvvvzt = [];
}
- var add_php_after_getitems = add_php_after_getitems_vvvvvzt.some(add_php_after_getitems_vvvvvzt_SomeFunc);
+ var add_php_before_getitems = add_php_before_getitems_vvvvvzt.some(add_php_before_getitems_vvvvvzt_SomeFunc);
if (isSet(gettype_vvvvvzt) && gettype_vvvvvzt.constructor !== Array)
{
@@ -1048,38 +970,38 @@ function vvvvvzt(add_php_after_getitems_vvvvvzt,gettype_vvvvvzt)
// set this function logic
- if (add_php_after_getitems && gettype)
+ if (add_php_before_getitems && gettype)
{
- jQuery('#jform_php_after_getitems').closest('.control-group').show();
+ jQuery('#jform_php_before_getitems-lbl').closest('.control-group').show();
if (jform_vvvvvztvzi_required)
{
- updateFieldRequired('php_after_getitems',0);
- jQuery('#jform_php_after_getitems').prop('required','required');
- jQuery('#jform_php_after_getitems').attr('aria-required',true);
- jQuery('#jform_php_after_getitems').addClass('required');
+ updateFieldRequired('php_before_getitems',0);
+ jQuery('#jform_php_before_getitems').prop('required','required');
+ jQuery('#jform_php_before_getitems').attr('aria-required',true);
+ jQuery('#jform_php_before_getitems').addClass('required');
jform_vvvvvztvzi_required = false;
}
}
else
{
- jQuery('#jform_php_after_getitems').closest('.control-group').hide();
+ jQuery('#jform_php_before_getitems-lbl').closest('.control-group').hide();
if (!jform_vvvvvztvzi_required)
{
- updateFieldRequired('php_after_getitems',1);
- jQuery('#jform_php_after_getitems').removeAttr('required');
- jQuery('#jform_php_after_getitems').removeAttr('aria-required');
- jQuery('#jform_php_after_getitems').removeClass('required');
+ updateFieldRequired('php_before_getitems',1);
+ jQuery('#jform_php_before_getitems').removeAttr('required');
+ jQuery('#jform_php_before_getitems').removeAttr('aria-required');
+ jQuery('#jform_php_before_getitems').removeClass('required');
jform_vvvvvztvzi_required = true;
}
}
}
// the vvvvvzt Some function
-function add_php_after_getitems_vvvvvzt_SomeFunc(add_php_after_getitems_vvvvvzt)
+function add_php_before_getitems_vvvvvzt_SomeFunc(add_php_before_getitems_vvvvvzt)
{
// set the function logic
- if (add_php_after_getitems_vvvvvzt == 1)
+ if (add_php_before_getitems_vvvvvzt == 1)
{
return true;
}
@@ -1097,93 +1019,78 @@ function gettype_vvvvvzt_SomeFunc(gettype_vvvvvzt)
return false;
}
-// the vvvvvzv function
-function vvvvvzv(gettype_vvvvvzv)
+// the vvvvvzu function
+function vvvvvzu(add_php_after_getitems_vvvvvzu,gettype_vvvvvzu)
{
- if (isSet(gettype_vvvvvzv) && gettype_vvvvvzv.constructor !== Array)
+ if (isSet(add_php_after_getitems_vvvvvzu) && add_php_after_getitems_vvvvvzu.constructor !== Array)
{
- var temp_vvvvvzv = gettype_vvvvvzv;
- var gettype_vvvvvzv = [];
- gettype_vvvvvzv.push(temp_vvvvvzv);
+ var temp_vvvvvzu = add_php_after_getitems_vvvvvzu;
+ var add_php_after_getitems_vvvvvzu = [];
+ add_php_after_getitems_vvvvvzu.push(temp_vvvvvzu);
}
- else if (!isSet(gettype_vvvvvzv))
+ else if (!isSet(add_php_after_getitems_vvvvvzu))
{
- var gettype_vvvvvzv = [];
+ var add_php_after_getitems_vvvvvzu = [];
}
- var gettype = gettype_vvvvvzv.some(gettype_vvvvvzv_SomeFunc);
+ var add_php_after_getitems = add_php_after_getitems_vvvvvzu.some(add_php_after_getitems_vvvvvzu_SomeFunc);
+
+ if (isSet(gettype_vvvvvzu) && gettype_vvvvvzu.constructor !== Array)
+ {
+ var temp_vvvvvzu = gettype_vvvvvzu;
+ var gettype_vvvvvzu = [];
+ gettype_vvvvvzu.push(temp_vvvvvzu);
+ }
+ else if (!isSet(gettype_vvvvvzu))
+ {
+ var gettype_vvvvvzu = [];
+ }
+ var gettype = gettype_vvvvvzu.some(gettype_vvvvvzu_SomeFunc);
// set this function logic
- if (gettype)
+ if (add_php_after_getitems && gettype)
{
- jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
- if (jform_vvvvvzvvzj_required)
+ jQuery('#jform_php_after_getitems-lbl').closest('.control-group').show();
+ if (jform_vvvvvzuvzj_required)
{
- updateFieldRequired('add_php_after_getitems',0);
- jQuery('#jform_add_php_after_getitems').prop('required','required');
- jQuery('#jform_add_php_after_getitems').attr('aria-required',true);
- jQuery('#jform_add_php_after_getitems').addClass('required');
- jform_vvvvvzvvzj_required = false;
- }
-
- jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
- if (jform_vvvvvzvvzk_required)
- {
- updateFieldRequired('add_php_before_getitems',0);
- jQuery('#jform_add_php_before_getitems').prop('required','required');
- jQuery('#jform_add_php_before_getitems').attr('aria-required',true);
- jQuery('#jform_add_php_before_getitems').addClass('required');
- jform_vvvvvzvvzk_required = false;
- }
-
- jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
- if (jform_vvvvvzvvzl_required)
- {
- updateFieldRequired('add_php_getlistquery',0);
- jQuery('#jform_add_php_getlistquery').prop('required','required');
- jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
- jQuery('#jform_add_php_getlistquery').addClass('required');
- jform_vvvvvzvvzl_required = false;
+ updateFieldRequired('php_after_getitems',0);
+ jQuery('#jform_php_after_getitems').prop('required','required');
+ jQuery('#jform_php_after_getitems').attr('aria-required',true);
+ jQuery('#jform_php_after_getitems').addClass('required');
+ jform_vvvvvzuvzj_required = false;
}
}
else
{
- jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
- if (!jform_vvvvvzvvzj_required)
+ jQuery('#jform_php_after_getitems-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvzuvzj_required)
{
- updateFieldRequired('add_php_after_getitems',1);
- jQuery('#jform_add_php_after_getitems').removeAttr('required');
- jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
- jQuery('#jform_add_php_after_getitems').removeClass('required');
- jform_vvvvvzvvzj_required = true;
- }
- jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
- if (!jform_vvvvvzvvzk_required)
- {
- updateFieldRequired('add_php_before_getitems',1);
- jQuery('#jform_add_php_before_getitems').removeAttr('required');
- jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
- jQuery('#jform_add_php_before_getitems').removeClass('required');
- jform_vvvvvzvvzk_required = true;
- }
- jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
- if (!jform_vvvvvzvvzl_required)
- {
- updateFieldRequired('add_php_getlistquery',1);
- jQuery('#jform_add_php_getlistquery').removeAttr('required');
- jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
- jQuery('#jform_add_php_getlistquery').removeClass('required');
- jform_vvvvvzvvzl_required = true;
+ updateFieldRequired('php_after_getitems',1);
+ jQuery('#jform_php_after_getitems').removeAttr('required');
+ jQuery('#jform_php_after_getitems').removeAttr('aria-required');
+ jQuery('#jform_php_after_getitems').removeClass('required');
+ jform_vvvvvzuvzj_required = true;
}
}
}
-// the vvvvvzv Some function
-function gettype_vvvvvzv_SomeFunc(gettype_vvvvvzv)
+// the vvvvvzu Some function
+function add_php_after_getitems_vvvvvzu_SomeFunc(add_php_after_getitems_vvvvvzu)
{
// set the function logic
- if (gettype_vvvvvzv == 2 || gettype_vvvvvzv == 4)
+ if (add_php_after_getitems_vvvvvzu == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzu Some function
+function gettype_vvvvvzu_SomeFunc(gettype_vvvvvzu)
+{
+ // set the function logic
+ if (gettype_vvvvvzu == 2 || gettype_vvvvvzu == 4)
{
return true;
}
@@ -1209,26 +1116,64 @@ function vvvvvzw(gettype_vvvvvzw)
// set this function logic
if (gettype)
{
- jQuery('#jform_pagination').closest('.control-group').show();
+ jQuery('#jform_add_php_after_getitems').closest('.control-group').show();
+ if (jform_vvvvvzwvzk_required)
+ {
+ updateFieldRequired('add_php_after_getitems',0);
+ jQuery('#jform_add_php_after_getitems').prop('required','required');
+ jQuery('#jform_add_php_after_getitems').attr('aria-required',true);
+ jQuery('#jform_add_php_after_getitems').addClass('required');
+ jform_vvvvvzwvzk_required = false;
+ }
+
+ jQuery('#jform_add_php_before_getitems').closest('.control-group').show();
+ if (jform_vvvvvzwvzl_required)
+ {
+ updateFieldRequired('add_php_before_getitems',0);
+ jQuery('#jform_add_php_before_getitems').prop('required','required');
+ jQuery('#jform_add_php_before_getitems').attr('aria-required',true);
+ jQuery('#jform_add_php_before_getitems').addClass('required');
+ jform_vvvvvzwvzl_required = false;
+ }
+
+ jQuery('#jform_add_php_getlistquery').closest('.control-group').show();
if (jform_vvvvvzwvzm_required)
{
- updateFieldRequired('pagination',0);
- jQuery('#jform_pagination').prop('required','required');
- jQuery('#jform_pagination').attr('aria-required',true);
- jQuery('#jform_pagination').addClass('required');
+ updateFieldRequired('add_php_getlistquery',0);
+ jQuery('#jform_add_php_getlistquery').prop('required','required');
+ jQuery('#jform_add_php_getlistquery').attr('aria-required',true);
+ jQuery('#jform_add_php_getlistquery').addClass('required');
jform_vvvvvzwvzm_required = false;
}
}
else
{
- jQuery('#jform_pagination').closest('.control-group').hide();
+ jQuery('#jform_add_php_after_getitems').closest('.control-group').hide();
+ if (!jform_vvvvvzwvzk_required)
+ {
+ updateFieldRequired('add_php_after_getitems',1);
+ jQuery('#jform_add_php_after_getitems').removeAttr('required');
+ jQuery('#jform_add_php_after_getitems').removeAttr('aria-required');
+ jQuery('#jform_add_php_after_getitems').removeClass('required');
+ jform_vvvvvzwvzk_required = true;
+ }
+ jQuery('#jform_add_php_before_getitems').closest('.control-group').hide();
+ if (!jform_vvvvvzwvzl_required)
+ {
+ updateFieldRequired('add_php_before_getitems',1);
+ jQuery('#jform_add_php_before_getitems').removeAttr('required');
+ jQuery('#jform_add_php_before_getitems').removeAttr('aria-required');
+ jQuery('#jform_add_php_before_getitems').removeClass('required');
+ jform_vvvvvzwvzl_required = true;
+ }
+ jQuery('#jform_add_php_getlistquery').closest('.control-group').hide();
if (!jform_vvvvvzwvzm_required)
{
- updateFieldRequired('pagination',1);
- jQuery('#jform_pagination').removeAttr('required');
- jQuery('#jform_pagination').removeAttr('aria-required');
- jQuery('#jform_pagination').removeClass('required');
+ updateFieldRequired('add_php_getlistquery',1);
+ jQuery('#jform_add_php_getlistquery').removeAttr('required');
+ jQuery('#jform_add_php_getlistquery').removeAttr('aria-required');
+ jQuery('#jform_add_php_getlistquery').removeClass('required');
jform_vvvvvzwvzm_required = true;
}
}
@@ -1238,7 +1183,7 @@ function vvvvvzw(gettype_vvvvvzw)
function gettype_vvvvvzw_SomeFunc(gettype_vvvvvzw)
{
// set the function logic
- if (gettype_vvvvvzw == 2)
+ if (gettype_vvvvvzw == 2 || gettype_vvvvvzw == 4)
{
return true;
}
@@ -1264,26 +1209,26 @@ function vvvvvzx(gettype_vvvvvzx)
// set this function logic
if (gettype)
{
- jQuery('#jform_add_php_router_parse').closest('.control-group').show();
+ jQuery('#jform_pagination').closest('.control-group').show();
if (jform_vvvvvzxvzn_required)
{
- updateFieldRequired('add_php_router_parse',0);
- jQuery('#jform_add_php_router_parse').prop('required','required');
- jQuery('#jform_add_php_router_parse').attr('aria-required',true);
- jQuery('#jform_add_php_router_parse').addClass('required');
+ updateFieldRequired('pagination',0);
+ jQuery('#jform_pagination').prop('required','required');
+ jQuery('#jform_pagination').attr('aria-required',true);
+ jQuery('#jform_pagination').addClass('required');
jform_vvvvvzxvzn_required = false;
}
}
else
{
- jQuery('#jform_add_php_router_parse').closest('.control-group').hide();
+ jQuery('#jform_pagination').closest('.control-group').hide();
if (!jform_vvvvvzxvzn_required)
{
- updateFieldRequired('add_php_router_parse',1);
- jQuery('#jform_add_php_router_parse').removeAttr('required');
- jQuery('#jform_add_php_router_parse').removeAttr('aria-required');
- jQuery('#jform_add_php_router_parse').removeClass('required');
+ updateFieldRequired('pagination',1);
+ jQuery('#jform_pagination').removeAttr('required');
+ jQuery('#jform_pagination').removeAttr('aria-required');
+ jQuery('#jform_pagination').removeClass('required');
jform_vvvvvzxvzn_required = true;
}
}
@@ -1293,7 +1238,7 @@ function vvvvvzx(gettype_vvvvvzx)
function gettype_vvvvvzx_SomeFunc(gettype_vvvvvzx)
{
// set the function logic
- if (gettype_vvvvvzx == 1 || gettype_vvvvvzx == 2)
+ if (gettype_vvvvvzx == 2)
{
return true;
}
@@ -1301,7 +1246,7 @@ function gettype_vvvvvzx_SomeFunc(gettype_vvvvvzx)
}
// the vvvvvzy function
-function vvvvvzy(gettype_vvvvvzy,add_php_router_parse_vvvvvzy)
+function vvvvvzy(gettype_vvvvvzy)
{
if (isSet(gettype_vvvvvzy) && gettype_vvvvvzy.constructor !== Array)
{
@@ -1315,42 +1260,30 @@ function vvvvvzy(gettype_vvvvvzy,add_php_router_parse_vvvvvzy)
}
var gettype = gettype_vvvvvzy.some(gettype_vvvvvzy_SomeFunc);
- if (isSet(add_php_router_parse_vvvvvzy) && add_php_router_parse_vvvvvzy.constructor !== Array)
- {
- var temp_vvvvvzy = add_php_router_parse_vvvvvzy;
- var add_php_router_parse_vvvvvzy = [];
- add_php_router_parse_vvvvvzy.push(temp_vvvvvzy);
- }
- else if (!isSet(add_php_router_parse_vvvvvzy))
- {
- var add_php_router_parse_vvvvvzy = [];
- }
- var add_php_router_parse = add_php_router_parse_vvvvvzy.some(add_php_router_parse_vvvvvzy_SomeFunc);
-
// set this function logic
- if (gettype && add_php_router_parse)
+ if (gettype)
{
- jQuery('#jform_php_router_parse').closest('.control-group').show();
+ jQuery('#jform_add_php_router_parse').closest('.control-group').show();
if (jform_vvvvvzyvzo_required)
{
- updateFieldRequired('php_router_parse',0);
- jQuery('#jform_php_router_parse').prop('required','required');
- jQuery('#jform_php_router_parse').attr('aria-required',true);
- jQuery('#jform_php_router_parse').addClass('required');
+ updateFieldRequired('add_php_router_parse',0);
+ jQuery('#jform_add_php_router_parse').prop('required','required');
+ jQuery('#jform_add_php_router_parse').attr('aria-required',true);
+ jQuery('#jform_add_php_router_parse').addClass('required');
jform_vvvvvzyvzo_required = false;
}
}
else
{
- jQuery('#jform_php_router_parse').closest('.control-group').hide();
+ jQuery('#jform_add_php_router_parse').closest('.control-group').hide();
if (!jform_vvvvvzyvzo_required)
{
- updateFieldRequired('php_router_parse',1);
- jQuery('#jform_php_router_parse').removeAttr('required');
- jQuery('#jform_php_router_parse').removeAttr('aria-required');
- jQuery('#jform_php_router_parse').removeClass('required');
+ updateFieldRequired('add_php_router_parse',1);
+ jQuery('#jform_add_php_router_parse').removeAttr('required');
+ jQuery('#jform_add_php_router_parse').removeAttr('aria-required');
+ jQuery('#jform_add_php_router_parse').removeClass('required');
jform_vvvvvzyvzo_required = true;
}
}
@@ -1367,11 +1300,78 @@ function gettype_vvvvvzy_SomeFunc(gettype_vvvvvzy)
return false;
}
-// the vvvvvzy Some function
-function add_php_router_parse_vvvvvzy_SomeFunc(add_php_router_parse_vvvvvzy)
+// the vvvvvzz function
+function vvvvvzz(gettype_vvvvvzz,add_php_router_parse_vvvvvzz)
+{
+ if (isSet(gettype_vvvvvzz) && gettype_vvvvvzz.constructor !== Array)
+ {
+ var temp_vvvvvzz = gettype_vvvvvzz;
+ var gettype_vvvvvzz = [];
+ gettype_vvvvvzz.push(temp_vvvvvzz);
+ }
+ else if (!isSet(gettype_vvvvvzz))
+ {
+ var gettype_vvvvvzz = [];
+ }
+ var gettype = gettype_vvvvvzz.some(gettype_vvvvvzz_SomeFunc);
+
+ if (isSet(add_php_router_parse_vvvvvzz) && add_php_router_parse_vvvvvzz.constructor !== Array)
+ {
+ var temp_vvvvvzz = add_php_router_parse_vvvvvzz;
+ var add_php_router_parse_vvvvvzz = [];
+ add_php_router_parse_vvvvvzz.push(temp_vvvvvzz);
+ }
+ else if (!isSet(add_php_router_parse_vvvvvzz))
+ {
+ var add_php_router_parse_vvvvvzz = [];
+ }
+ var add_php_router_parse = add_php_router_parse_vvvvvzz.some(add_php_router_parse_vvvvvzz_SomeFunc);
+
+
+ // set this function logic
+ if (gettype && add_php_router_parse)
+ {
+ jQuery('#jform_php_router_parse').closest('.control-group').show();
+ if (jform_vvvvvzzvzp_required)
+ {
+ updateFieldRequired('php_router_parse',0);
+ jQuery('#jform_php_router_parse').prop('required','required');
+ jQuery('#jform_php_router_parse').attr('aria-required',true);
+ jQuery('#jform_php_router_parse').addClass('required');
+ jform_vvvvvzzvzp_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_php_router_parse').closest('.control-group').hide();
+ if (!jform_vvvvvzzvzp_required)
+ {
+ updateFieldRequired('php_router_parse',1);
+ jQuery('#jform_php_router_parse').removeAttr('required');
+ jQuery('#jform_php_router_parse').removeAttr('aria-required');
+ jQuery('#jform_php_router_parse').removeClass('required');
+ jform_vvvvvzzvzp_required = true;
+ }
+ }
+}
+
+// the vvvvvzz Some function
+function gettype_vvvvvzz_SomeFunc(gettype_vvvvvzz)
{
// set the function logic
- if (add_php_router_parse_vvvvvzy == 1)
+ if (gettype_vvvvvzz == 1 || gettype_vvvvvzz == 2)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvvzz Some function
+function add_php_router_parse_vvvvvzz_SomeFunc(add_php_router_parse_vvvvvzz)
+{
+ // set the function logic
+ if (add_php_router_parse_vvvvvzz == 1)
{
return true;
}
diff --git a/admin/models/forms/dynamic_get.xml b/admin/models/forms/dynamic_get.xml
index 6380558ba..41162106d 100644
--- a/admin/models/forms/dynamic_get.xml
+++ b/admin/models/forms/dynamic_get.xml
@@ -244,18 +244,22 @@
-
+
-
+
COM_COMPONENTBUILDER_DYNAMIC_GET_NO
-
+
-
+
-
+
-
+
-
+
-
+
COM_COMPONENTBUILDER_FIELD_NO
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_NO
-
+
COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/admin/models/forms/library.js b/admin/models/forms/library.js
index 0a7b767f0..6ddaf0c87 100644
--- a/admin/models/forms/library.js
+++ b/admin/models/forms/library.js
@@ -9,15 +9,12 @@
*/
// Some Global Values
-jform_vvvvwafvzt_required = false;
-jform_vvvvwalvzu_required = false;
+jform_vvvvwagvzu_required = false;
+jform_vvvvwamvzv_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var how_vvvvwae = jQuery("#jform_how").val();
- vvvvwae(how_vvvvwae);
-
var how_vvvvwaf = jQuery("#jform_how").val();
vvvvwaf(how_vvvvwaf);
@@ -36,48 +33,13 @@ jQuery(document).ready(function()
var how_vvvvwak = jQuery("#jform_how").val();
vvvvwak(how_vvvvwak);
- var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
- vvvvwal(type_vvvvwal);
+ var how_vvvvwal = jQuery("#jform_how").val();
+ vvvvwal(how_vvvvwal);
+
+ var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
+ vvvvwam(type_vvvvwam);
});
-// the vvvvwae function
-function vvvvwae(how_vvvvwae)
-{
- if (isSet(how_vvvvwae) && how_vvvvwae.constructor !== Array)
- {
- var temp_vvvvwae = how_vvvvwae;
- var how_vvvvwae = [];
- how_vvvvwae.push(temp_vvvvwae);
- }
- else if (!isSet(how_vvvvwae))
- {
- var how_vvvvwae = [];
- }
- var how = how_vvvvwae.some(how_vvvvwae_SomeFunc);
-
-
- // set this function logic
- if (how)
- {
- jQuery('#jform_addconditions-lbl').closest('.control-group').show();
- }
- else
- {
- jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
- }
-}
-
-// the vvvvwae Some function
-function how_vvvvwae_SomeFunc(how_vvvvwae)
-{
- // set the function logic
- if (how_vvvvwae == 2)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwaf function
function vvvvwaf(how_vvvvwaf)
{
@@ -97,28 +59,11 @@ function vvvvwaf(how_vvvvwaf)
// set this function logic
if (how)
{
- jQuery('#jform_php_setdocument').closest('.control-group').show();
- if (jform_vvvvwafvzt_required)
- {
- updateFieldRequired('php_setdocument',0);
- jQuery('#jform_php_setdocument').prop('required','required');
- jQuery('#jform_php_setdocument').attr('aria-required',true);
- jQuery('#jform_php_setdocument').addClass('required');
- jform_vvvvwafvzt_required = false;
- }
-
+ jQuery('#jform_addconditions-lbl').closest('.control-group').show();
}
else
{
- jQuery('#jform_php_setdocument').closest('.control-group').hide();
- if (!jform_vvvvwafvzt_required)
- {
- updateFieldRequired('php_setdocument',1);
- jQuery('#jform_php_setdocument').removeAttr('required');
- jQuery('#jform_php_setdocument').removeAttr('aria-required');
- jQuery('#jform_php_setdocument').removeClass('required');
- jform_vvvvwafvzt_required = true;
- }
+ jQuery('#jform_addconditions-lbl').closest('.control-group').hide();
}
}
@@ -126,7 +71,7 @@ function vvvvwaf(how_vvvvwaf)
function how_vvvvwaf_SomeFunc(how_vvvvwaf)
{
// set the function logic
- if (how_vvvvwaf == 3)
+ if (how_vvvvwaf == 2)
{
return true;
}
@@ -152,11 +97,28 @@ function vvvvwag(how_vvvvwag)
// set this function logic
if (how)
{
- jQuery('.note_display_library_config').closest('.control-group').show();
+ jQuery('#jform_php_setdocument').closest('.control-group').show();
+ if (jform_vvvvwagvzu_required)
+ {
+ updateFieldRequired('php_setdocument',0);
+ jQuery('#jform_php_setdocument').prop('required','required');
+ jQuery('#jform_php_setdocument').attr('aria-required',true);
+ jQuery('#jform_php_setdocument').addClass('required');
+ jform_vvvvwagvzu_required = false;
+ }
+
}
else
{
- jQuery('.note_display_library_config').closest('.control-group').hide();
+ jQuery('#jform_php_setdocument').closest('.control-group').hide();
+ if (!jform_vvvvwagvzu_required)
+ {
+ updateFieldRequired('php_setdocument',1);
+ jQuery('#jform_php_setdocument').removeAttr('required');
+ jQuery('#jform_php_setdocument').removeAttr('aria-required');
+ jQuery('#jform_php_setdocument').removeClass('required');
+ jform_vvvvwagvzu_required = true;
+ }
}
}
@@ -164,7 +126,7 @@ function vvvvwag(how_vvvvwag)
function how_vvvvwag_SomeFunc(how_vvvvwag)
{
// set the function logic
- if (how_vvvvwag == 2 || how_vvvvwag == 3)
+ if (how_vvvvwag == 3)
{
return true;
}
@@ -190,11 +152,11 @@ function vvvvwah(how_vvvvwah)
// set this function logic
if (how)
{
- jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
+ jQuery('.note_display_library_config').closest('.control-group').show();
}
else
{
- jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
+ jQuery('.note_display_library_config').closest('.control-group').hide();
}
}
@@ -202,7 +164,7 @@ function vvvvwah(how_vvvvwah)
function how_vvvvwah_SomeFunc(how_vvvvwah)
{
// set the function logic
- if (how_vvvvwah == 1 || how_vvvvwah == 2 || how_vvvvwah == 3)
+ if (how_vvvvwah == 2 || how_vvvvwah == 3)
{
return true;
}
@@ -228,15 +190,11 @@ function vvvvwai(how_vvvvwai)
// set this function logic
if (how)
{
- jQuery('.note_no_behaviour_one').closest('.control-group').show();
- jQuery('.note_no_behaviour_three').closest('.control-group').show();
- jQuery('.note_no_behaviour_two').closest('.control-group').show();
+ jQuery('.note_display_library_files_folders_urls').closest('.control-group').show();
}
else
{
- jQuery('.note_no_behaviour_one').closest('.control-group').hide();
- jQuery('.note_no_behaviour_three').closest('.control-group').hide();
- jQuery('.note_no_behaviour_two').closest('.control-group').hide();
+ jQuery('.note_display_library_files_folders_urls').closest('.control-group').hide();
}
}
@@ -244,7 +202,7 @@ function vvvvwai(how_vvvvwai)
function how_vvvvwai_SomeFunc(how_vvvvwai)
{
// set the function logic
- if (how_vvvvwai == 0)
+ if (how_vvvvwai == 1 || how_vvvvwai == 2 || how_vvvvwai == 3)
{
return true;
}
@@ -270,13 +228,15 @@ function vvvvwaj(how_vvvvwaj)
// set this function logic
if (how)
{
- jQuery('.note_yes_behaviour_one').closest('.control-group').show();
- jQuery('.note_yes_behaviour_two').closest('.control-group').show();
+ jQuery('.note_no_behaviour_one').closest('.control-group').show();
+ jQuery('.note_no_behaviour_three').closest('.control-group').show();
+ jQuery('.note_no_behaviour_two').closest('.control-group').show();
}
else
{
- jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
- jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_one').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_three').closest('.control-group').hide();
+ jQuery('.note_no_behaviour_two').closest('.control-group').hide();
}
}
@@ -284,7 +244,7 @@ function vvvvwaj(how_vvvvwaj)
function how_vvvvwaj_SomeFunc(how_vvvvwaj)
{
// set the function logic
- if (how_vvvvwaj == 1)
+ if (how_vvvvwaj == 0)
{
return true;
}
@@ -307,6 +267,46 @@ function vvvvwak(how_vvvvwak)
var how = how_vvvvwak.some(how_vvvvwak_SomeFunc);
+ // set this function logic
+ if (how)
+ {
+ jQuery('.note_yes_behaviour_one').closest('.control-group').show();
+ jQuery('.note_yes_behaviour_two').closest('.control-group').show();
+ }
+ else
+ {
+ jQuery('.note_yes_behaviour_one').closest('.control-group').hide();
+ jQuery('.note_yes_behaviour_two').closest('.control-group').hide();
+ }
+}
+
+// the vvvvwak Some function
+function how_vvvvwak_SomeFunc(how_vvvvwak)
+{
+ // set the function logic
+ if (how_vvvvwak == 1)
+ {
+ return true;
+ }
+ return false;
+}
+
+// the vvvvwal function
+function vvvvwal(how_vvvvwal)
+{
+ if (isSet(how_vvvvwal) && how_vvvvwal.constructor !== Array)
+ {
+ var temp_vvvvwal = how_vvvvwal;
+ var how_vvvvwal = [];
+ how_vvvvwal.push(temp_vvvvwal);
+ }
+ else if (!isSet(how_vvvvwal))
+ {
+ var how_vvvvwal = [];
+ }
+ var how = how_vvvvwal.some(how_vvvvwal_SomeFunc);
+
+
// set this function logic
if (how)
{
@@ -322,44 +322,44 @@ function vvvvwak(how_vvvvwak)
}
}
-// the vvvvwak Some function
-function how_vvvvwak_SomeFunc(how_vvvvwak)
+// the vvvvwal Some function
+function how_vvvvwal_SomeFunc(how_vvvvwal)
{
// set the function logic
- if (how_vvvvwak == 4)
+ if (how_vvvvwal == 4)
{
return true;
}
return false;
}
-// the vvvvwal function
-function vvvvwal(type_vvvvwal)
+// the vvvvwam function
+function vvvvwam(type_vvvvwam)
{
// set the function logic
- if (type_vvvvwal == 2)
+ if (type_vvvvwam == 2)
{
jQuery('#jform_libraries').closest('.control-group').show();
- if (jform_vvvvwalvzu_required)
+ if (jform_vvvvwamvzv_required)
{
updateFieldRequired('libraries',0);
jQuery('#jform_libraries').prop('required','required');
jQuery('#jform_libraries').attr('aria-required',true);
jQuery('#jform_libraries').addClass('required');
- jform_vvvvwalvzu_required = false;
+ jform_vvvvwamvzv_required = false;
}
}
else
{
jQuery('#jform_libraries').closest('.control-group').hide();
- if (!jform_vvvvwalvzu_required)
+ if (!jform_vvvvwamvzv_required)
{
updateFieldRequired('libraries',1);
jQuery('#jform_libraries').removeAttr('required');
jQuery('#jform_libraries').removeAttr('aria-required');
jQuery('#jform_libraries').removeClass('required');
- jform_vvvvwalvzu_required = true;
+ jform_vvvvwamvzv_required = true;
}
}
}
diff --git a/admin/models/forms/server.js b/admin/models/forms/server.js
index 3f07896c4..26f36f9d2 100644
--- a/admin/models/forms/server.js
+++ b/admin/models/forms/server.js
@@ -9,175 +9,42 @@
*/
// Some Global Values
-jform_vvvvwawwae_required = false;
-jform_vvvvwawwaf_required = false;
-jform_vvvvwawwag_required = false;
-jform_vvvvwawwah_required = false;
-jform_vvvvwawwai_required = false;
+jform_vvvvwaxwaf_required = false;
+jform_vvvvwaxwag_required = false;
+jform_vvvvwaxwah_required = false;
+jform_vvvvwaxwai_required = false;
jform_vvvvwaxwaj_required = false;
jform_vvvvwaywak_required = false;
-jform_vvvvwbawal_required = false;
-jform_vvvvwbcwam_required = false;
+jform_vvvvwazwal_required = false;
+jform_vvvvwbbwam_required = false;
+jform_vvvvwbdwan_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var protocol_vvvvwaw = jQuery("#jform_protocol").val();
- vvvvwaw(protocol_vvvvwaw);
-
var protocol_vvvvwax = jQuery("#jform_protocol").val();
vvvvwax(protocol_vvvvwax);
var protocol_vvvvway = jQuery("#jform_protocol").val();
- var authentication_vvvvway = jQuery("#jform_authentication").val();
- vvvvway(protocol_vvvvway,authentication_vvvvway);
+ vvvvway(protocol_vvvvway);
- var protocol_vvvvwba = jQuery("#jform_protocol").val();
- var authentication_vvvvwba = jQuery("#jform_authentication").val();
- vvvvwba(protocol_vvvvwba,authentication_vvvvwba);
+ var protocol_vvvvwaz = jQuery("#jform_protocol").val();
+ var authentication_vvvvwaz = jQuery("#jform_authentication").val();
+ vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz);
- var protocol_vvvvwbc = jQuery("#jform_protocol").val();
- var authentication_vvvvwbc = jQuery("#jform_authentication").val();
- vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc);
+ var protocol_vvvvwbb = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbb = jQuery("#jform_authentication").val();
+ vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb);
- var protocol_vvvvwbe = jQuery("#jform_protocol").val();
- var authentication_vvvvwbe = jQuery("#jform_authentication").val();
- vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe);
+ var protocol_vvvvwbd = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbd = jQuery("#jform_authentication").val();
+ vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd);
+
+ var protocol_vvvvwbf = jQuery("#jform_protocol").val();
+ var authentication_vvvvwbf = jQuery("#jform_authentication").val();
+ vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf);
});
-// the vvvvwaw function
-function vvvvwaw(protocol_vvvvwaw)
-{
- if (isSet(protocol_vvvvwaw) && protocol_vvvvwaw.constructor !== Array)
- {
- var temp_vvvvwaw = protocol_vvvvwaw;
- var protocol_vvvvwaw = [];
- protocol_vvvvwaw.push(temp_vvvvwaw);
- }
- else if (!isSet(protocol_vvvvwaw))
- {
- var protocol_vvvvwaw = [];
- }
- var protocol = protocol_vvvvwaw.some(protocol_vvvvwaw_SomeFunc);
-
-
- // set this function logic
- if (protocol)
- {
- jQuery('#jform_authentication').closest('.control-group').show();
- if (jform_vvvvwawwae_required)
- {
- updateFieldRequired('authentication',0);
- jQuery('#jform_authentication').prop('required','required');
- jQuery('#jform_authentication').attr('aria-required',true);
- jQuery('#jform_authentication').addClass('required');
- jform_vvvvwawwae_required = false;
- }
-
- jQuery('#jform_host').closest('.control-group').show();
- if (jform_vvvvwawwaf_required)
- {
- updateFieldRequired('host',0);
- jQuery('#jform_host').prop('required','required');
- jQuery('#jform_host').attr('aria-required',true);
- jQuery('#jform_host').addClass('required');
- jform_vvvvwawwaf_required = false;
- }
-
- jQuery('#jform_port').closest('.control-group').show();
- if (jform_vvvvwawwag_required)
- {
- updateFieldRequired('port',0);
- jQuery('#jform_port').prop('required','required');
- jQuery('#jform_port').attr('aria-required',true);
- jQuery('#jform_port').addClass('required');
- jform_vvvvwawwag_required = false;
- }
-
- jQuery('#jform_path').closest('.control-group').show();
- if (jform_vvvvwawwah_required)
- {
- updateFieldRequired('path',0);
- jQuery('#jform_path').prop('required','required');
- jQuery('#jform_path').attr('aria-required',true);
- jQuery('#jform_path').addClass('required');
- jform_vvvvwawwah_required = false;
- }
-
- jQuery('.note_ssh_security').closest('.control-group').show();
- jQuery('#jform_username').closest('.control-group').show();
- if (jform_vvvvwawwai_required)
- {
- updateFieldRequired('username',0);
- jQuery('#jform_username').prop('required','required');
- jQuery('#jform_username').attr('aria-required',true);
- jQuery('#jform_username').addClass('required');
- jform_vvvvwawwai_required = false;
- }
-
- }
- else
- {
- jQuery('#jform_authentication').closest('.control-group').hide();
- if (!jform_vvvvwawwae_required)
- {
- updateFieldRequired('authentication',1);
- jQuery('#jform_authentication').removeAttr('required');
- jQuery('#jform_authentication').removeAttr('aria-required');
- jQuery('#jform_authentication').removeClass('required');
- jform_vvvvwawwae_required = true;
- }
- jQuery('#jform_host').closest('.control-group').hide();
- if (!jform_vvvvwawwaf_required)
- {
- updateFieldRequired('host',1);
- jQuery('#jform_host').removeAttr('required');
- jQuery('#jform_host').removeAttr('aria-required');
- jQuery('#jform_host').removeClass('required');
- jform_vvvvwawwaf_required = true;
- }
- jQuery('#jform_port').closest('.control-group').hide();
- if (!jform_vvvvwawwag_required)
- {
- updateFieldRequired('port',1);
- jQuery('#jform_port').removeAttr('required');
- jQuery('#jform_port').removeAttr('aria-required');
- jQuery('#jform_port').removeClass('required');
- jform_vvvvwawwag_required = true;
- }
- jQuery('#jform_path').closest('.control-group').hide();
- if (!jform_vvvvwawwah_required)
- {
- updateFieldRequired('path',1);
- jQuery('#jform_path').removeAttr('required');
- jQuery('#jform_path').removeAttr('aria-required');
- jQuery('#jform_path').removeClass('required');
- jform_vvvvwawwah_required = true;
- }
- jQuery('.note_ssh_security').closest('.control-group').hide();
- jQuery('#jform_username').closest('.control-group').hide();
- if (!jform_vvvvwawwai_required)
- {
- updateFieldRequired('username',1);
- jQuery('#jform_username').removeAttr('required');
- jQuery('#jform_username').removeAttr('aria-required');
- jQuery('#jform_username').removeClass('required');
- jform_vvvvwawwai_required = true;
- }
- }
-}
-
-// the vvvvwaw Some function
-function protocol_vvvvwaw_SomeFunc(protocol_vvvvwaw)
-{
- // set the function logic
- if (protocol_vvvvwaw == 2)
- {
- return true;
- }
- return false;
-}
-
// the vvvvwax function
function vvvvwax(protocol_vvvvwax)
{
@@ -197,28 +64,104 @@ function vvvvwax(protocol_vvvvwax)
// set this function logic
if (protocol)
{
- jQuery('.note_ftp_signature').closest('.control-group').show();
- jQuery('#jform_signature').closest('.control-group').show();
+ jQuery('#jform_authentication').closest('.control-group').show();
+ if (jform_vvvvwaxwaf_required)
+ {
+ updateFieldRequired('authentication',0);
+ jQuery('#jform_authentication').prop('required','required');
+ jQuery('#jform_authentication').attr('aria-required',true);
+ jQuery('#jform_authentication').addClass('required');
+ jform_vvvvwaxwaf_required = false;
+ }
+
+ jQuery('#jform_host').closest('.control-group').show();
+ if (jform_vvvvwaxwag_required)
+ {
+ updateFieldRequired('host',0);
+ jQuery('#jform_host').prop('required','required');
+ jQuery('#jform_host').attr('aria-required',true);
+ jQuery('#jform_host').addClass('required');
+ jform_vvvvwaxwag_required = false;
+ }
+
+ jQuery('#jform_port').closest('.control-group').show();
+ if (jform_vvvvwaxwah_required)
+ {
+ updateFieldRequired('port',0);
+ jQuery('#jform_port').prop('required','required');
+ jQuery('#jform_port').attr('aria-required',true);
+ jQuery('#jform_port').addClass('required');
+ jform_vvvvwaxwah_required = false;
+ }
+
+ jQuery('#jform_path').closest('.control-group').show();
+ if (jform_vvvvwaxwai_required)
+ {
+ updateFieldRequired('path',0);
+ jQuery('#jform_path').prop('required','required');
+ jQuery('#jform_path').attr('aria-required',true);
+ jQuery('#jform_path').addClass('required');
+ jform_vvvvwaxwai_required = false;
+ }
+
+ jQuery('.note_ssh_security').closest('.control-group').show();
+ jQuery('#jform_username').closest('.control-group').show();
if (jform_vvvvwaxwaj_required)
{
- updateFieldRequired('signature',0);
- jQuery('#jform_signature').prop('required','required');
- jQuery('#jform_signature').attr('aria-required',true);
- jQuery('#jform_signature').addClass('required');
+ updateFieldRequired('username',0);
+ jQuery('#jform_username').prop('required','required');
+ jQuery('#jform_username').attr('aria-required',true);
+ jQuery('#jform_username').addClass('required');
jform_vvvvwaxwaj_required = false;
}
}
else
{
- jQuery('.note_ftp_signature').closest('.control-group').hide();
- jQuery('#jform_signature').closest('.control-group').hide();
+ jQuery('#jform_authentication').closest('.control-group').hide();
+ if (!jform_vvvvwaxwaf_required)
+ {
+ updateFieldRequired('authentication',1);
+ jQuery('#jform_authentication').removeAttr('required');
+ jQuery('#jform_authentication').removeAttr('aria-required');
+ jQuery('#jform_authentication').removeClass('required');
+ jform_vvvvwaxwaf_required = true;
+ }
+ jQuery('#jform_host').closest('.control-group').hide();
+ if (!jform_vvvvwaxwag_required)
+ {
+ updateFieldRequired('host',1);
+ jQuery('#jform_host').removeAttr('required');
+ jQuery('#jform_host').removeAttr('aria-required');
+ jQuery('#jform_host').removeClass('required');
+ jform_vvvvwaxwag_required = true;
+ }
+ jQuery('#jform_port').closest('.control-group').hide();
+ if (!jform_vvvvwaxwah_required)
+ {
+ updateFieldRequired('port',1);
+ jQuery('#jform_port').removeAttr('required');
+ jQuery('#jform_port').removeAttr('aria-required');
+ jQuery('#jform_port').removeClass('required');
+ jform_vvvvwaxwah_required = true;
+ }
+ jQuery('#jform_path').closest('.control-group').hide();
+ if (!jform_vvvvwaxwai_required)
+ {
+ updateFieldRequired('path',1);
+ jQuery('#jform_path').removeAttr('required');
+ jQuery('#jform_path').removeAttr('aria-required');
+ jQuery('#jform_path').removeClass('required');
+ jform_vvvvwaxwai_required = true;
+ }
+ jQuery('.note_ssh_security').closest('.control-group').hide();
+ jQuery('#jform_username').closest('.control-group').hide();
if (!jform_vvvvwaxwaj_required)
{
- updateFieldRequired('signature',1);
- jQuery('#jform_signature').removeAttr('required');
- jQuery('#jform_signature').removeAttr('aria-required');
- jQuery('#jform_signature').removeClass('required');
+ updateFieldRequired('username',1);
+ jQuery('#jform_username').removeAttr('required');
+ jQuery('#jform_username').removeAttr('aria-required');
+ jQuery('#jform_username').removeClass('required');
jform_vvvvwaxwaj_required = true;
}
}
@@ -228,7 +171,7 @@ function vvvvwax(protocol_vvvvwax)
function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
{
// set the function logic
- if (protocol_vvvvwax == 1)
+ if (protocol_vvvvwax == 2)
{
return true;
}
@@ -236,7 +179,7 @@ function protocol_vvvvwax_SomeFunc(protocol_vvvvwax)
}
// the vvvvway function
-function vvvvway(protocol_vvvvway,authentication_vvvvway)
+function vvvvway(protocol_vvvvway)
{
if (isSet(protocol_vvvvway) && protocol_vvvvway.constructor !== Array)
{
@@ -250,42 +193,32 @@ function vvvvway(protocol_vvvvway,authentication_vvvvway)
}
var protocol = protocol_vvvvway.some(protocol_vvvvway_SomeFunc);
- if (isSet(authentication_vvvvway) && authentication_vvvvway.constructor !== Array)
- {
- var temp_vvvvway = authentication_vvvvway;
- var authentication_vvvvway = [];
- authentication_vvvvway.push(temp_vvvvway);
- }
- else if (!isSet(authentication_vvvvway))
- {
- var authentication_vvvvway = [];
- }
- var authentication = authentication_vvvvway.some(authentication_vvvvway_SomeFunc);
-
// set this function logic
- if (protocol && authentication)
+ if (protocol)
{
- jQuery('#jform_password').closest('.control-group').show();
+ jQuery('.note_ftp_signature').closest('.control-group').show();
+ jQuery('#jform_signature').closest('.control-group').show();
if (jform_vvvvwaywak_required)
{
- updateFieldRequired('password',0);
- jQuery('#jform_password').prop('required','required');
- jQuery('#jform_password').attr('aria-required',true);
- jQuery('#jform_password').addClass('required');
+ updateFieldRequired('signature',0);
+ jQuery('#jform_signature').prop('required','required');
+ jQuery('#jform_signature').attr('aria-required',true);
+ jQuery('#jform_signature').addClass('required');
jform_vvvvwaywak_required = false;
}
}
else
{
- jQuery('#jform_password').closest('.control-group').hide();
+ jQuery('.note_ftp_signature').closest('.control-group').hide();
+ jQuery('#jform_signature').closest('.control-group').hide();
if (!jform_vvvvwaywak_required)
{
- updateFieldRequired('password',1);
- jQuery('#jform_password').removeAttr('required');
- jQuery('#jform_password').removeAttr('aria-required');
- jQuery('#jform_password').removeClass('required');
+ updateFieldRequired('signature',1);
+ jQuery('#jform_signature').removeAttr('required');
+ jQuery('#jform_signature').removeAttr('aria-required');
+ jQuery('#jform_signature').removeClass('required');
jform_vvvvwaywak_required = true;
}
}
@@ -295,206 +228,273 @@ function vvvvway(protocol_vvvvway,authentication_vvvvway)
function protocol_vvvvway_SomeFunc(protocol_vvvvway)
{
// set the function logic
- if (protocol_vvvvway == 2)
+ if (protocol_vvvvway == 1)
{
return true;
}
return false;
}
-// the vvvvway Some function
-function authentication_vvvvway_SomeFunc(authentication_vvvvway)
+// the vvvvwaz function
+function vvvvwaz(protocol_vvvvwaz,authentication_vvvvwaz)
+{
+ if (isSet(protocol_vvvvwaz) && protocol_vvvvwaz.constructor !== Array)
+ {
+ var temp_vvvvwaz = protocol_vvvvwaz;
+ var protocol_vvvvwaz = [];
+ protocol_vvvvwaz.push(temp_vvvvwaz);
+ }
+ else if (!isSet(protocol_vvvvwaz))
+ {
+ var protocol_vvvvwaz = [];
+ }
+ var protocol = protocol_vvvvwaz.some(protocol_vvvvwaz_SomeFunc);
+
+ if (isSet(authentication_vvvvwaz) && authentication_vvvvwaz.constructor !== Array)
+ {
+ var temp_vvvvwaz = authentication_vvvvwaz;
+ var authentication_vvvvwaz = [];
+ authentication_vvvvwaz.push(temp_vvvvwaz);
+ }
+ else if (!isSet(authentication_vvvvwaz))
+ {
+ var authentication_vvvvwaz = [];
+ }
+ var authentication = authentication_vvvvwaz.some(authentication_vvvvwaz_SomeFunc);
+
+
+ // set this function logic
+ if (protocol && authentication)
+ {
+ jQuery('#jform_password').closest('.control-group').show();
+ if (jform_vvvvwazwal_required)
+ {
+ updateFieldRequired('password',0);
+ jQuery('#jform_password').prop('required','required');
+ jQuery('#jform_password').attr('aria-required',true);
+ jQuery('#jform_password').addClass('required');
+ jform_vvvvwazwal_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_password').closest('.control-group').hide();
+ if (!jform_vvvvwazwal_required)
+ {
+ updateFieldRequired('password',1);
+ jQuery('#jform_password').removeAttr('required');
+ jQuery('#jform_password').removeAttr('aria-required');
+ jQuery('#jform_password').removeClass('required');
+ jform_vvvvwazwal_required = true;
+ }
+ }
+}
+
+// the vvvvwaz Some function
+function protocol_vvvvwaz_SomeFunc(protocol_vvvvwaz)
{
// set the function logic
- if (authentication_vvvvway == 1 || authentication_vvvvway == 3 || authentication_vvvvway == 5)
+ if (protocol_vvvvwaz == 2)
{
return true;
}
return false;
}
-// the vvvvwba function
-function vvvvwba(protocol_vvvvwba,authentication_vvvvwba)
+// the vvvvwaz Some function
+function authentication_vvvvwaz_SomeFunc(authentication_vvvvwaz)
{
- if (isSet(protocol_vvvvwba) && protocol_vvvvwba.constructor !== Array)
+ // set the function logic
+ if (authentication_vvvvwaz == 1 || authentication_vvvvwaz == 3 || authentication_vvvvwaz == 5)
{
- var temp_vvvvwba = protocol_vvvvwba;
- var protocol_vvvvwba = [];
- protocol_vvvvwba.push(temp_vvvvwba);
+ return true;
}
- else if (!isSet(protocol_vvvvwba))
- {
- var protocol_vvvvwba = [];
- }
- var protocol = protocol_vvvvwba.some(protocol_vvvvwba_SomeFunc);
+ return false;
+}
- if (isSet(authentication_vvvvwba) && authentication_vvvvwba.constructor !== Array)
+// the vvvvwbb function
+function vvvvwbb(protocol_vvvvwbb,authentication_vvvvwbb)
+{
+ if (isSet(protocol_vvvvwbb) && protocol_vvvvwbb.constructor !== Array)
{
- var temp_vvvvwba = authentication_vvvvwba;
- var authentication_vvvvwba = [];
- authentication_vvvvwba.push(temp_vvvvwba);
+ var temp_vvvvwbb = protocol_vvvvwbb;
+ var protocol_vvvvwbb = [];
+ protocol_vvvvwbb.push(temp_vvvvwbb);
}
- else if (!isSet(authentication_vvvvwba))
+ else if (!isSet(protocol_vvvvwbb))
{
- var authentication_vvvvwba = [];
+ var protocol_vvvvwbb = [];
}
- var authentication = authentication_vvvvwba.some(authentication_vvvvwba_SomeFunc);
+ var protocol = protocol_vvvvwbb.some(protocol_vvvvwbb_SomeFunc);
+
+ if (isSet(authentication_vvvvwbb) && authentication_vvvvwbb.constructor !== Array)
+ {
+ var temp_vvvvwbb = authentication_vvvvwbb;
+ var authentication_vvvvwbb = [];
+ authentication_vvvvwbb.push(temp_vvvvwbb);
+ }
+ else if (!isSet(authentication_vvvvwbb))
+ {
+ var authentication_vvvvwbb = [];
+ }
+ var authentication = authentication_vvvvwbb.some(authentication_vvvvwbb_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_private').closest('.control-group').show();
- if (jform_vvvvwbawal_required)
+ if (jform_vvvvwbbwam_required)
{
updateFieldRequired('private',0);
jQuery('#jform_private').prop('required','required');
jQuery('#jform_private').attr('aria-required',true);
jQuery('#jform_private').addClass('required');
- jform_vvvvwbawal_required = false;
+ jform_vvvvwbbwam_required = false;
}
}
else
{
jQuery('#jform_private').closest('.control-group').hide();
- if (!jform_vvvvwbawal_required)
+ if (!jform_vvvvwbbwam_required)
{
updateFieldRequired('private',1);
jQuery('#jform_private').removeAttr('required');
jQuery('#jform_private').removeAttr('aria-required');
jQuery('#jform_private').removeClass('required');
- jform_vvvvwbawal_required = true;
+ jform_vvvvwbbwam_required = true;
}
}
}
-// the vvvvwba Some function
-function protocol_vvvvwba_SomeFunc(protocol_vvvvwba)
+// the vvvvwbb Some function
+function protocol_vvvvwbb_SomeFunc(protocol_vvvvwbb)
{
// set the function logic
- if (protocol_vvvvwba == 2)
+ if (protocol_vvvvwbb == 2)
{
return true;
}
return false;
}
-// the vvvvwba Some function
-function authentication_vvvvwba_SomeFunc(authentication_vvvvwba)
+// the vvvvwbb Some function
+function authentication_vvvvwbb_SomeFunc(authentication_vvvvwbb)
{
// set the function logic
- if (authentication_vvvvwba == 2 || authentication_vvvvwba == 3)
+ if (authentication_vvvvwbb == 2 || authentication_vvvvwbb == 3)
{
return true;
}
return false;
}
-// the vvvvwbc function
-function vvvvwbc(protocol_vvvvwbc,authentication_vvvvwbc)
+// the vvvvwbd function
+function vvvvwbd(protocol_vvvvwbd,authentication_vvvvwbd)
{
- if (isSet(protocol_vvvvwbc) && protocol_vvvvwbc.constructor !== Array)
+ if (isSet(protocol_vvvvwbd) && protocol_vvvvwbd.constructor !== Array)
{
- var temp_vvvvwbc = protocol_vvvvwbc;
- var protocol_vvvvwbc = [];
- protocol_vvvvwbc.push(temp_vvvvwbc);
+ var temp_vvvvwbd = protocol_vvvvwbd;
+ var protocol_vvvvwbd = [];
+ protocol_vvvvwbd.push(temp_vvvvwbd);
}
- else if (!isSet(protocol_vvvvwbc))
+ else if (!isSet(protocol_vvvvwbd))
{
- var protocol_vvvvwbc = [];
+ var protocol_vvvvwbd = [];
}
- var protocol = protocol_vvvvwbc.some(protocol_vvvvwbc_SomeFunc);
+ var protocol = protocol_vvvvwbd.some(protocol_vvvvwbd_SomeFunc);
- if (isSet(authentication_vvvvwbc) && authentication_vvvvwbc.constructor !== Array)
+ if (isSet(authentication_vvvvwbd) && authentication_vvvvwbd.constructor !== Array)
{
- var temp_vvvvwbc = authentication_vvvvwbc;
- var authentication_vvvvwbc = [];
- authentication_vvvvwbc.push(temp_vvvvwbc);
+ var temp_vvvvwbd = authentication_vvvvwbd;
+ var authentication_vvvvwbd = [];
+ authentication_vvvvwbd.push(temp_vvvvwbd);
}
- else if (!isSet(authentication_vvvvwbc))
+ else if (!isSet(authentication_vvvvwbd))
{
- var authentication_vvvvwbc = [];
+ var authentication_vvvvwbd = [];
}
- var authentication = authentication_vvvvwbc.some(authentication_vvvvwbc_SomeFunc);
+ var authentication = authentication_vvvvwbd.some(authentication_vvvvwbd_SomeFunc);
// set this function logic
if (protocol && authentication)
{
jQuery('#jform_private_key').closest('.control-group').show();
- if (jform_vvvvwbcwam_required)
+ if (jform_vvvvwbdwan_required)
{
updateFieldRequired('private_key',0);
jQuery('#jform_private_key').prop('required','required');
jQuery('#jform_private_key').attr('aria-required',true);
jQuery('#jform_private_key').addClass('required');
- jform_vvvvwbcwam_required = false;
+ jform_vvvvwbdwan_required = false;
}
}
else
{
jQuery('#jform_private_key').closest('.control-group').hide();
- if (!jform_vvvvwbcwam_required)
+ if (!jform_vvvvwbdwan_required)
{
updateFieldRequired('private_key',1);
jQuery('#jform_private_key').removeAttr('required');
jQuery('#jform_private_key').removeAttr('aria-required');
jQuery('#jform_private_key').removeClass('required');
- jform_vvvvwbcwam_required = true;
+ jform_vvvvwbdwan_required = true;
}
}
}
-// the vvvvwbc Some function
-function protocol_vvvvwbc_SomeFunc(protocol_vvvvwbc)
+// the vvvvwbd Some function
+function protocol_vvvvwbd_SomeFunc(protocol_vvvvwbd)
{
// set the function logic
- if (protocol_vvvvwbc == 2)
+ if (protocol_vvvvwbd == 2)
{
return true;
}
return false;
}
-// the vvvvwbc Some function
-function authentication_vvvvwbc_SomeFunc(authentication_vvvvwbc)
+// the vvvvwbd Some function
+function authentication_vvvvwbd_SomeFunc(authentication_vvvvwbd)
{
// set the function logic
- if (authentication_vvvvwbc == 4 || authentication_vvvvwbc == 5)
+ if (authentication_vvvvwbd == 4 || authentication_vvvvwbd == 5)
{
return true;
}
return false;
}
-// the vvvvwbe function
-function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
+// the vvvvwbf function
+function vvvvwbf(protocol_vvvvwbf,authentication_vvvvwbf)
{
- if (isSet(protocol_vvvvwbe) && protocol_vvvvwbe.constructor !== Array)
+ if (isSet(protocol_vvvvwbf) && protocol_vvvvwbf.constructor !== Array)
{
- var temp_vvvvwbe = protocol_vvvvwbe;
- var protocol_vvvvwbe = [];
- protocol_vvvvwbe.push(temp_vvvvwbe);
+ var temp_vvvvwbf = protocol_vvvvwbf;
+ var protocol_vvvvwbf = [];
+ protocol_vvvvwbf.push(temp_vvvvwbf);
}
- else if (!isSet(protocol_vvvvwbe))
+ else if (!isSet(protocol_vvvvwbf))
{
- var protocol_vvvvwbe = [];
+ var protocol_vvvvwbf = [];
}
- var protocol = protocol_vvvvwbe.some(protocol_vvvvwbe_SomeFunc);
+ var protocol = protocol_vvvvwbf.some(protocol_vvvvwbf_SomeFunc);
- if (isSet(authentication_vvvvwbe) && authentication_vvvvwbe.constructor !== Array)
+ if (isSet(authentication_vvvvwbf) && authentication_vvvvwbf.constructor !== Array)
{
- var temp_vvvvwbe = authentication_vvvvwbe;
- var authentication_vvvvwbe = [];
- authentication_vvvvwbe.push(temp_vvvvwbe);
+ var temp_vvvvwbf = authentication_vvvvwbf;
+ var authentication_vvvvwbf = [];
+ authentication_vvvvwbf.push(temp_vvvvwbf);
}
- else if (!isSet(authentication_vvvvwbe))
+ else if (!isSet(authentication_vvvvwbf))
{
- var authentication_vvvvwbe = [];
+ var authentication_vvvvwbf = [];
}
- var authentication = authentication_vvvvwbe.some(authentication_vvvvwbe_SomeFunc);
+ var authentication = authentication_vvvvwbf.some(authentication_vvvvwbf_SomeFunc);
// set this function logic
@@ -508,22 +508,22 @@ function vvvvwbe(protocol_vvvvwbe,authentication_vvvvwbe)
}
}
-// the vvvvwbe Some function
-function protocol_vvvvwbe_SomeFunc(protocol_vvvvwbe)
+// the vvvvwbf Some function
+function protocol_vvvvwbf_SomeFunc(protocol_vvvvwbf)
{
// set the function logic
- if (protocol_vvvvwbe == 2)
+ if (protocol_vvvvwbf == 2)
{
return true;
}
return false;
}
-// the vvvvwbe Some function
-function authentication_vvvvwbe_SomeFunc(authentication_vvvvwbe)
+// the vvvvwbf Some function
+function authentication_vvvvwbf_SomeFunc(authentication_vvvvwbf)
{
// set the function logic
- if (authentication_vvvvwbe == 2 || authentication_vvvvwbe == 3 || authentication_vvvvwbe == 4 || authentication_vvvvwbe == 5)
+ if (authentication_vvvvwbf == 2 || authentication_vvvvwbf == 3 || authentication_vvvvwbf == 4 || authentication_vvvvwbf == 5)
{
return true;
}
diff --git a/admin/models/forms/site_view.js b/admin/models/forms/site_view.js
index 11b07388f..b149a1300 100644
--- a/admin/models/forms/site_view.js
+++ b/admin/models/forms/site_view.js
@@ -9,7 +9,6 @@
*/
// Some Global Values
-jform_vvvvvyovyi_required = false;
jform_vvvvvypvyj_required = false;
jform_vvvvvyqvyk_required = false;
jform_vvvvvyrvyl_required = false;
@@ -19,392 +18,393 @@ jform_vvvvvyuvyo_required = false;
jform_vvvvvyvvyp_required = false;
jform_vvvvvywvyq_required = false;
jform_vvvvvyxvyr_required = false;
-jform_vvvvvyxvys_required = false;
+jform_vvvvvyyvys_required = false;
+jform_vvvvvyyvyt_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var add_php_view_vvvvvyo = jQuery("#jform_add_php_view input[type='radio']:checked").val();
- vvvvvyo(add_php_view_vvvvvyo);
+ var add_php_view_vvvvvyp = jQuery("#jform_add_php_view input[type='radio']:checked").val();
+ vvvvvyp(add_php_view_vvvvvyp);
- var add_php_jview_display_vvvvvyp = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
- vvvvvyp(add_php_jview_display_vvvvvyp);
+ var add_php_jview_display_vvvvvyq = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
+ vvvvvyq(add_php_jview_display_vvvvvyq);
- var add_php_jview_vvvvvyq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
- vvvvvyq(add_php_jview_vvvvvyq);
+ var add_php_jview_vvvvvyr = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
+ vvvvvyr(add_php_jview_vvvvvyr);
- var add_php_document_vvvvvyr = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvyr(add_php_document_vvvvvyr);
+ var add_php_document_vvvvvys = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvys(add_php_document_vvvvvys);
- var add_css_document_vvvvvys = jQuery("#jform_add_css_document input[type='radio']:checked").val();
- vvvvvys(add_css_document_vvvvvys);
+ var add_css_document_vvvvvyt = jQuery("#jform_add_css_document input[type='radio']:checked").val();
+ vvvvvyt(add_css_document_vvvvvyt);
- var add_javascript_file_vvvvvyt = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
- vvvvvyt(add_javascript_file_vvvvvyt);
+ var add_javascript_file_vvvvvyu = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
+ vvvvvyu(add_javascript_file_vvvvvyu);
- var add_js_document_vvvvvyu = jQuery("#jform_add_js_document input[type='radio']:checked").val();
- vvvvvyu(add_js_document_vvvvvyu);
+ var add_js_document_vvvvvyv = jQuery("#jform_add_js_document input[type='radio']:checked").val();
+ vvvvvyv(add_js_document_vvvvvyv);
- var add_css_vvvvvyv = jQuery("#jform_add_css input[type='radio']:checked").val();
- vvvvvyv(add_css_vvvvvyv);
+ var add_css_vvvvvyw = jQuery("#jform_add_css input[type='radio']:checked").val();
+ vvvvvyw(add_css_vvvvvyw);
- var add_php_ajax_vvvvvyw = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
- vvvvvyw(add_php_ajax_vvvvvyw);
+ var add_php_ajax_vvvvvyx = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
+ vvvvvyx(add_php_ajax_vvvvvyx);
- var add_custom_button_vvvvvyx = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvyx(add_custom_button_vvvvvyx);
+ var add_custom_button_vvvvvyy = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvyy(add_custom_button_vvvvvyy);
- var button_position_vvvvvyy = jQuery("#jform_button_position").val();
- vvvvvyy(button_position_vvvvvyy);
+ var button_position_vvvvvyz = jQuery("#jform_button_position").val();
+ vvvvvyz(button_position_vvvvvyz);
});
-// the vvvvvyo function
-function vvvvvyo(add_php_view_vvvvvyo)
+// the vvvvvyp function
+function vvvvvyp(add_php_view_vvvvvyp)
{
// set the function logic
- if (add_php_view_vvvvvyo == 1)
+ if (add_php_view_vvvvvyp == 1)
{
- jQuery('#jform_php_view').closest('.control-group').show();
- if (jform_vvvvvyovyi_required)
+ jQuery('#jform_php_view-lbl').closest('.control-group').show();
+ if (jform_vvvvvypvyj_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
- jform_vvvvvyovyi_required = false;
- }
-
- }
- else
- {
- jQuery('#jform_php_view').closest('.control-group').hide();
- if (!jform_vvvvvyovyi_required)
- {
- updateFieldRequired('php_view',1);
- jQuery('#jform_php_view').removeAttr('required');
- jQuery('#jform_php_view').removeAttr('aria-required');
- jQuery('#jform_php_view').removeClass('required');
- jform_vvvvvyovyi_required = true;
- }
- }
-}
-
-// the vvvvvyp function
-function vvvvvyp(add_php_jview_display_vvvvvyp)
-{
- // set the function logic
- if (add_php_jview_display_vvvvvyp == 1)
- {
- jQuery('#jform_php_jview_display').closest('.control-group').show();
- if (jform_vvvvvypvyj_required)
- {
- updateFieldRequired('php_jview_display',0);
- jQuery('#jform_php_jview_display').prop('required','required');
- jQuery('#jform_php_jview_display').attr('aria-required',true);
- jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvypvyj_required = false;
}
}
else
{
- jQuery('#jform_php_jview_display').closest('.control-group').hide();
+ jQuery('#jform_php_view-lbl').closest('.control-group').hide();
if (!jform_vvvvvypvyj_required)
{
- updateFieldRequired('php_jview_display',1);
- jQuery('#jform_php_jview_display').removeAttr('required');
- jQuery('#jform_php_jview_display').removeAttr('aria-required');
- jQuery('#jform_php_jview_display').removeClass('required');
+ updateFieldRequired('php_view',1);
+ jQuery('#jform_php_view').removeAttr('required');
+ jQuery('#jform_php_view').removeAttr('aria-required');
+ jQuery('#jform_php_view').removeClass('required');
jform_vvvvvypvyj_required = true;
}
}
}
// the vvvvvyq function
-function vvvvvyq(add_php_jview_vvvvvyq)
+function vvvvvyq(add_php_jview_display_vvvvvyq)
{
// set the function logic
- if (add_php_jview_vvvvvyq == 1)
+ if (add_php_jview_display_vvvvvyq == 1)
{
- jQuery('#jform_php_jview').closest('.control-group').show();
+ jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
if (jform_vvvvvyqvyk_required)
{
- updateFieldRequired('php_jview',0);
- jQuery('#jform_php_jview').prop('required','required');
- jQuery('#jform_php_jview').attr('aria-required',true);
- jQuery('#jform_php_jview').addClass('required');
+ updateFieldRequired('php_jview_display',0);
+ jQuery('#jform_php_jview_display').prop('required','required');
+ jQuery('#jform_php_jview_display').attr('aria-required',true);
+ jQuery('#jform_php_jview_display').addClass('required');
jform_vvvvvyqvyk_required = false;
}
}
else
{
- jQuery('#jform_php_jview').closest('.control-group').hide();
+ jQuery('#jform_php_jview_display-lbl').closest('.control-group').hide();
if (!jform_vvvvvyqvyk_required)
{
- updateFieldRequired('php_jview',1);
- jQuery('#jform_php_jview').removeAttr('required');
- jQuery('#jform_php_jview').removeAttr('aria-required');
- jQuery('#jform_php_jview').removeClass('required');
+ updateFieldRequired('php_jview_display',1);
+ jQuery('#jform_php_jview_display').removeAttr('required');
+ jQuery('#jform_php_jview_display').removeAttr('aria-required');
+ jQuery('#jform_php_jview_display').removeClass('required');
jform_vvvvvyqvyk_required = true;
}
}
}
// the vvvvvyr function
-function vvvvvyr(add_php_document_vvvvvyr)
+function vvvvvyr(add_php_jview_vvvvvyr)
{
// set the function logic
- if (add_php_document_vvvvvyr == 1)
+ if (add_php_jview_vvvvvyr == 1)
{
- jQuery('#jform_php_document').closest('.control-group').show();
+ jQuery('#jform_php_jview-lbl').closest('.control-group').show();
if (jform_vvvvvyrvyl_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');
+ updateFieldRequired('php_jview',0);
+ jQuery('#jform_php_jview').prop('required','required');
+ jQuery('#jform_php_jview').attr('aria-required',true);
+ jQuery('#jform_php_jview').addClass('required');
jform_vvvvvyrvyl_required = false;
}
}
else
{
- jQuery('#jform_php_document').closest('.control-group').hide();
+ jQuery('#jform_php_jview-lbl').closest('.control-group').hide();
if (!jform_vvvvvyrvyl_required)
{
- updateFieldRequired('php_document',1);
- jQuery('#jform_php_document').removeAttr('required');
- jQuery('#jform_php_document').removeAttr('aria-required');
- jQuery('#jform_php_document').removeClass('required');
+ updateFieldRequired('php_jview',1);
+ jQuery('#jform_php_jview').removeAttr('required');
+ jQuery('#jform_php_jview').removeAttr('aria-required');
+ jQuery('#jform_php_jview').removeClass('required');
jform_vvvvvyrvyl_required = true;
}
}
}
// the vvvvvys function
-function vvvvvys(add_css_document_vvvvvys)
+function vvvvvys(add_php_document_vvvvvys)
{
// set the function logic
- if (add_css_document_vvvvvys == 1)
+ if (add_php_document_vvvvvys == 1)
{
- jQuery('#jform_css_document').closest('.control-group').show();
+ jQuery('#jform_php_document-lbl').closest('.control-group').show();
if (jform_vvvvvysvym_required)
{
- updateFieldRequired('css_document',0);
- jQuery('#jform_css_document').prop('required','required');
- jQuery('#jform_css_document').attr('aria-required',true);
- jQuery('#jform_css_document').addClass('required');
+ 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_vvvvvysvym_required = false;
}
}
else
{
- jQuery('#jform_css_document').closest('.control-group').hide();
+ jQuery('#jform_php_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvysvym_required)
{
- updateFieldRequired('css_document',1);
- jQuery('#jform_css_document').removeAttr('required');
- jQuery('#jform_css_document').removeAttr('aria-required');
- jQuery('#jform_css_document').removeClass('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_vvvvvysvym_required = true;
}
}
}
// the vvvvvyt function
-function vvvvvyt(add_javascript_file_vvvvvyt)
+function vvvvvyt(add_css_document_vvvvvyt)
{
// set the function logic
- if (add_javascript_file_vvvvvyt == 1)
+ if (add_css_document_vvvvvyt == 1)
{
- jQuery('#jform_javascript_file').closest('.control-group').show();
+ jQuery('#jform_css_document-lbl').closest('.control-group').show();
if (jform_vvvvvytvyn_required)
{
- updateFieldRequired('javascript_file',0);
- jQuery('#jform_javascript_file').prop('required','required');
- jQuery('#jform_javascript_file').attr('aria-required',true);
- jQuery('#jform_javascript_file').addClass('required');
+ updateFieldRequired('css_document',0);
+ jQuery('#jform_css_document').prop('required','required');
+ jQuery('#jform_css_document').attr('aria-required',true);
+ jQuery('#jform_css_document').addClass('required');
jform_vvvvvytvyn_required = false;
}
}
else
{
- jQuery('#jform_javascript_file').closest('.control-group').hide();
+ jQuery('#jform_css_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvytvyn_required)
{
- updateFieldRequired('javascript_file',1);
- jQuery('#jform_javascript_file').removeAttr('required');
- jQuery('#jform_javascript_file').removeAttr('aria-required');
- jQuery('#jform_javascript_file').removeClass('required');
+ updateFieldRequired('css_document',1);
+ jQuery('#jform_css_document').removeAttr('required');
+ jQuery('#jform_css_document').removeAttr('aria-required');
+ jQuery('#jform_css_document').removeClass('required');
jform_vvvvvytvyn_required = true;
}
}
}
// the vvvvvyu function
-function vvvvvyu(add_js_document_vvvvvyu)
+function vvvvvyu(add_javascript_file_vvvvvyu)
{
// set the function logic
- if (add_js_document_vvvvvyu == 1)
+ if (add_javascript_file_vvvvvyu == 1)
{
- jQuery('#jform_js_document').closest('.control-group').show();
+ jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
if (jform_vvvvvyuvyo_required)
{
- updateFieldRequired('js_document',0);
- jQuery('#jform_js_document').prop('required','required');
- jQuery('#jform_js_document').attr('aria-required',true);
- jQuery('#jform_js_document').addClass('required');
+ updateFieldRequired('javascript_file',0);
+ jQuery('#jform_javascript_file').prop('required','required');
+ jQuery('#jform_javascript_file').attr('aria-required',true);
+ jQuery('#jform_javascript_file').addClass('required');
jform_vvvvvyuvyo_required = false;
}
}
else
{
- jQuery('#jform_js_document').closest('.control-group').hide();
+ jQuery('#jform_javascript_file-lbl').closest('.control-group').hide();
if (!jform_vvvvvyuvyo_required)
{
- updateFieldRequired('js_document',1);
- jQuery('#jform_js_document').removeAttr('required');
- jQuery('#jform_js_document').removeAttr('aria-required');
- jQuery('#jform_js_document').removeClass('required');
+ updateFieldRequired('javascript_file',1);
+ jQuery('#jform_javascript_file').removeAttr('required');
+ jQuery('#jform_javascript_file').removeAttr('aria-required');
+ jQuery('#jform_javascript_file').removeClass('required');
jform_vvvvvyuvyo_required = true;
}
}
}
// the vvvvvyv function
-function vvvvvyv(add_css_vvvvvyv)
+function vvvvvyv(add_js_document_vvvvvyv)
{
// set the function logic
- if (add_css_vvvvvyv == 1)
+ if (add_js_document_vvvvvyv == 1)
{
- jQuery('#jform_css').closest('.control-group').show();
+ jQuery('#jform_js_document-lbl').closest('.control-group').show();
if (jform_vvvvvyvvyp_required)
{
- updateFieldRequired('css',0);
- jQuery('#jform_css').prop('required','required');
- jQuery('#jform_css').attr('aria-required',true);
- jQuery('#jform_css').addClass('required');
+ updateFieldRequired('js_document',0);
+ jQuery('#jform_js_document').prop('required','required');
+ jQuery('#jform_js_document').attr('aria-required',true);
+ jQuery('#jform_js_document').addClass('required');
jform_vvvvvyvvyp_required = false;
}
}
else
{
- jQuery('#jform_css').closest('.control-group').hide();
+ jQuery('#jform_js_document-lbl').closest('.control-group').hide();
if (!jform_vvvvvyvvyp_required)
{
- updateFieldRequired('css',1);
- jQuery('#jform_css').removeAttr('required');
- jQuery('#jform_css').removeAttr('aria-required');
- jQuery('#jform_css').removeClass('required');
+ updateFieldRequired('js_document',1);
+ jQuery('#jform_js_document').removeAttr('required');
+ jQuery('#jform_js_document').removeAttr('aria-required');
+ jQuery('#jform_js_document').removeClass('required');
jform_vvvvvyvvyp_required = true;
}
}
}
// the vvvvvyw function
-function vvvvvyw(add_php_ajax_vvvvvyw)
+function vvvvvyw(add_css_vvvvvyw)
{
// set the function logic
- if (add_php_ajax_vvvvvyw == 1)
+ if (add_css_vvvvvyw == 1)
{
- jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').show();
+ jQuery('#jform_css-lbl').closest('.control-group').show();
if (jform_vvvvvywvyq_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');
+ updateFieldRequired('css',0);
+ jQuery('#jform_css').prop('required','required');
+ jQuery('#jform_css').attr('aria-required',true);
+ jQuery('#jform_css').addClass('required');
jform_vvvvvywvyq_required = false;
}
}
else
{
- jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
- jQuery('#jform_php_ajaxmethod').closest('.control-group').hide();
+ jQuery('#jform_css-lbl').closest('.control-group').hide();
if (!jform_vvvvvywvyq_required)
{
- updateFieldRequired('php_ajaxmethod',1);
- jQuery('#jform_php_ajaxmethod').removeAttr('required');
- jQuery('#jform_php_ajaxmethod').removeAttr('aria-required');
- jQuery('#jform_php_ajaxmethod').removeClass('required');
+ updateFieldRequired('css',1);
+ jQuery('#jform_css').removeAttr('required');
+ jQuery('#jform_css').removeAttr('aria-required');
+ jQuery('#jform_css').removeClass('required');
jform_vvvvvywvyq_required = true;
}
}
}
// the vvvvvyx function
-function vvvvvyx(add_custom_button_vvvvvyx)
+function vvvvvyx(add_php_ajax_vvvvvyx)
{
// set the function logic
- if (add_custom_button_vvvvvyx == 1)
+ if (add_php_ajax_vvvvvyx == 1)
+ {
+ jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
+ if (jform_vvvvvyxvyr_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_vvvvvyxvyr_required = false;
+ }
+
+ }
+ else
+ {
+ jQuery('#jform_ajax_input-lbl').closest('.control-group').hide();
+ jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyxvyr_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_vvvvvyxvyr_required = true;
+ }
+ }
+}
+
+// the vvvvvyy function
+function vvvvvyy(add_custom_button_vvvvvyy)
+{
+ // set the function logic
+ if (add_custom_button_vvvvvyy == 1)
{
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
- jQuery('#jform_php_controller').closest('.control-group').show();
- if (jform_vvvvvyxvyr_required)
+ jQuery('#jform_php_controller-lbl').closest('.control-group').show();
+ if (jform_vvvvvyyvys_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_vvvvvyxvyr_required = false;
+ jform_vvvvvyyvys_required = false;
}
- jQuery('#jform_php_model').closest('.control-group').show();
- if (jform_vvvvvyxvys_required)
+ jQuery('#jform_php_model-lbl').closest('.control-group').show();
+ if (jform_vvvvvyyvyt_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_vvvvvyxvys_required = false;
+ jform_vvvvvyyvyt_required = false;
}
}
else
{
jQuery('#jform_custom_button-lbl').closest('.control-group').hide();
- jQuery('#jform_php_controller').closest('.control-group').hide();
- if (!jform_vvvvvyxvyr_required)
+ jQuery('#jform_php_controller-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyyvys_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_vvvvvyxvyr_required = true;
+ jform_vvvvvyyvys_required = true;
}
- jQuery('#jform_php_model').closest('.control-group').hide();
- if (!jform_vvvvvyxvys_required)
+ jQuery('#jform_php_model-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvyyvyt_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_vvvvvyxvys_required = true;
+ jform_vvvvvyyvyt_required = true;
}
}
}
-// the vvvvvyy function
-function vvvvvyy(button_position_vvvvvyy)
+// the vvvvvyz function
+function vvvvvyz(button_position_vvvvvyz)
{
- if (isSet(button_position_vvvvvyy) && button_position_vvvvvyy.constructor !== Array)
+ if (isSet(button_position_vvvvvyz) && button_position_vvvvvyz.constructor !== Array)
{
- var temp_vvvvvyy = button_position_vvvvvyy;
- var button_position_vvvvvyy = [];
- button_position_vvvvvyy.push(temp_vvvvvyy);
+ var temp_vvvvvyz = button_position_vvvvvyz;
+ var button_position_vvvvvyz = [];
+ button_position_vvvvvyz.push(temp_vvvvvyz);
}
- else if (!isSet(button_position_vvvvvyy))
+ else if (!isSet(button_position_vvvvvyz))
{
- var button_position_vvvvvyy = [];
+ var button_position_vvvvvyz = [];
}
- var button_position = button_position_vvvvvyy.some(button_position_vvvvvyy_SomeFunc);
+ var button_position = button_position_vvvvvyz.some(button_position_vvvvvyz_SomeFunc);
// set this function logic
@@ -418,11 +418,11 @@ function vvvvvyy(button_position_vvvvvyy)
}
}
-// the vvvvvyy Some function
-function button_position_vvvvvyy_SomeFunc(button_position_vvvvvyy)
+// the vvvvvyz Some function
+function button_position_vvvvvyz_SomeFunc(button_position_vvvvvyz)
{
// set the function logic
- if (button_position_vvvvvyy == 5)
+ if (button_position_vvvvvyz == 5)
{
return true;
}
diff --git a/admin/models/forms/site_view.xml b/admin/models/forms/site_view.xml
index 5e6040c4c..3a37510a5 100644
--- a/admin/models/forms/site_view.xml
+++ b/admin/models/forms/site_view.xml
@@ -154,18 +154,22 @@
required="false"
button="true"
/>
-
+
-
+
-
+
@@ -383,18 +396,22 @@
-
+
COM_COMPONENTBUILDER_SITE_VIEW_NO
-
+
-
+
-
+
-
+
-
+
-
+
COM_COMPONENTBUILDER_SITE_VIEW_NO
-
+
-
+
diff --git a/admin/models/forms/template.js b/admin/models/forms/template.js
index 062c14694..c65a3a57e 100644
--- a/admin/models/forms/template.js
+++ b/admin/models/forms/template.js
@@ -9,42 +9,42 @@
*/
// Some Global Values
-jform_vvvvvyzvyt_required = false;
+jform_vvvvvzavyu_required = false;
// Initial Script
jQuery(document).ready(function()
{
- var add_php_view_vvvvvyz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
- vvvvvyz(add_php_view_vvvvvyz);
+ var add_php_view_vvvvvza = jQuery("#jform_add_php_view input[type='radio']:checked").val();
+ vvvvvza(add_php_view_vvvvvza);
});
-// the vvvvvyz function
-function vvvvvyz(add_php_view_vvvvvyz)
+// the vvvvvza function
+function vvvvvza(add_php_view_vvvvvza)
{
// set the function logic
- if (add_php_view_vvvvvyz == 1)
+ if (add_php_view_vvvvvza == 1)
{
- jQuery('#jform_php_view').closest('.control-group').show();
- if (jform_vvvvvyzvyt_required)
+ jQuery('#jform_php_view-lbl').closest('.control-group').show();
+ if (jform_vvvvvzavyu_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
- jform_vvvvvyzvyt_required = false;
+ jform_vvvvvzavyu_required = false;
}
}
else
{
- jQuery('#jform_php_view').closest('.control-group').hide();
- if (!jform_vvvvvyzvyt_required)
+ jQuery('#jform_php_view-lbl').closest('.control-group').hide();
+ if (!jform_vvvvvzavyu_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
- jform_vvvvvyzvyt_required = true;
+ jform_vvvvvzavyu_required = true;
}
}
}
diff --git a/admin/models/forms/template.xml b/admin/models/forms/template.xml
index 1e32a8c7e..a3c1a5edf 100644
--- a/admin/models/forms/template.xml
+++ b/admin/models/forms/template.xml
@@ -141,18 +141,22 @@
required="false"
button="true"
/>
-
+
-
+
diff --git a/admin/models/help_document.php b/admin/models/help_document.php
index 2a82a5397..b3f186140 100644
--- a/admin/models/help_document.php
+++ b/admin/models/help_document.php
@@ -181,7 +181,6 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/import_joomla_components.php b/admin/models/import_joomla_components.php
index 558d559ae..e062fa750 100644
--- a/admin/models/import_joomla_components.php
+++ b/admin/models/import_joomla_components.php
@@ -66,25 +66,27 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
parent::populateState();
}
- public $canmerge = 1;
- public $postfix = false;
- public $forceUpdate = 0;
- public $hasKey = 0;
- public $sleutle = null;
- public $data = false;
+ public $canmerge = 1;
+ public $postfix = false;
+ public $forceUpdate = 0;
+ public $hasKey = 0;
+ public $sleutle = null;
+ public $data = false;
public $app;
- protected $dir = false;
- protected $target = false;
- protected $newID = array();
- protected $updateAfter = array('field' => array(), 'adminview' => array());
- protected $divergedDataMover = array();
- protected $fieldTypes = array();
- protected $isMultiple = array();
- protected $specialValue = false;
- protected $checksum = null;
- protected $checksumURLs = array('vdm' => 'https://raw.githubusercontent.com/vdm-io/JCB-Packages/master/', 'jcb' => 'https://raw.githubusercontent.com/vdm-io/JCB-Community-Packages/master/');
- protected $mustMerge = array('validation_rule', 'fieldtype', 'snippet', 'language', 'language_translation');
+ protected $dir = false;
+ protected $target = false;
+ protected $newID = array();
+ protected $updateAfter = array('field' => array(), 'adminview' => array());
+ protected $divergedDataMover = array();
+ protected $fieldTypes = array();
+ protected $isMultiple = array();
+ protected $tableColumns = array();
+ protected $fieldImportErrors = array();
+ protected $specialValue = false;
+ protected $checksum = null;
+ protected $checksumURLs = array('vdm' => 'https://raw.githubusercontent.com/vdm-io/JCB-Packages/master/', 'jcb' => 'https://raw.githubusercontent.com/vdm-io/JCB-Community-Packages/master/');
+ protected $mustMerge = array('validation_rule', 'fieldtype', 'snippet', 'language', 'language_translation');
/**
* Import an spreadsheet from either folder, url or upload.
@@ -702,13 +704,25 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks',
'component_custom_admin_menus', 'component_config', 'component_dashboard', 'component_files_folders'
);
+ // get prefix
+ $prefix = $this->_db->getPrefix();
+ // get local tables
+ $localTables = $this->_db->getTableList();
// smart table loop
foreach ($tables as $table)
{
- // save the table to database
- if (!$this->saveSmartItems($table))
+ // only continue the import if the table is available locally
+ if (in_array($prefix . 'componentbuilder_' . $table, $localTables))
{
- return false;
+ // save the table to database
+ if (!$this->saveSmartItems($table))
+ {
+ return false;
+ }
+ }
+ else
+ {
+ $this->app->enqueueMessage(JText::sprintf('COM_COMPONENTBUILDER_TABLE_BSB_NOT_FOUND_IN_THE_LOCAL_DATABASE_SO_ITS_VALUES_COULD_NOT_BE_IMPORTED_PLEASE_UPDATE_YOUR_JCB_INSTALL_AND_TRY_AGAIN', '#__componentbuilder_' . $table), 'warning');
}
}
// do a after all run on all items that need it
@@ -1007,7 +1021,8 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
**/
public function updateAfterAll()
{
- if (ComponentbuilderHelper::checkArray($this->updateAfter['field']))
+ // update the fields
+ if (isset($this->updateAfter['field']) && ComponentbuilderHelper::checkArray($this->updateAfter['field']))
{
// update repeatable
foreach ($this->updateAfter['field'] as $field)
@@ -1069,7 +1084,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
}
// do a after all run on admin views that need it
- if (ComponentbuilderHelper::checkArray($this->updateAfter['adminview']))
+ if (isset($this->updateAfter['adminview']) && ComponentbuilderHelper::checkArray($this->updateAfter['adminview']))
{
// update the addlinked_views
foreach ($this->updateAfter['adminview'] as $adminview)
@@ -1080,7 +1095,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
// get the field from db
if ($addlinked_views = ComponentbuilderHelper::getVar('admin_view', $adminview, 'id', 'addlinked_views'))
- {
+ {
if (ComponentbuilderHelper::checkJson($addlinked_views))
{
$addlinked_views = json_decode($addlinked_views, true);
@@ -1094,7 +1109,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
{
// only update the view IDs
$addlinked_views = $this->updateSubformIDs($addlinked_views, 'admin_view', array('adminview' => 'admin_view'));
- }
+ }
// update the fields
$object = new stdClass;
$object->id = $adminview;
@@ -1105,6 +1120,136 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
}
}
+ // update the joomla_component dashboard
+ if (isset($this->updateAfter['joomla_component']) && ComponentbuilderHelper::checkArray($this->updateAfter['joomla_component']))
+ {
+ // update dashboard of the components
+ foreach ($this->updateAfter['joomla_component'] as $component)
+ {
+ if (isset($this->newID['joomla_component'][(int) $component]))
+ {
+ $component = $this->newID['joomla_component'][(int) $component];
+ }
+ // get the dashboard from db
+ if ($dashboard = ComponentbuilderHelper::getVar('joomla_component', $component, 'id', 'dashboard'))
+ {
+ if (ComponentbuilderHelper::checkString($dashboard))
+ {
+ // get id
+ $id = (int) preg_replace("/[^0-9]/", "", $dashboard);
+ // update the value
+ $update = false;
+ // admin_view
+ if ((strpos($dashboard, 'A') !== false || strpos($dashboard, 'a') !== false) && isset($this->newID['admin_view'][$id]))
+ {
+ // set the new value
+ $dashboard = 'A_' . $this->newID['admin_view'][$id];
+ // update the value
+ $update = true;
+ }
+ // custom_admin_view
+ elseif ((strpos($dashboard, 'C') !== false || strpos($dashboard, 'c') !== false) && isset($this->newID['custom_admin_view'][$id]))
+ {
+ // set the new value
+ $dashboard = 'C_' . $this->newID['custom_admin_view'][$id];
+ // update the value
+ $update = true;
+ }
+ // did we get a new value
+ if ($update)
+ {
+ // now update the joomla_component dashboard value
+ $object = new stdClass;
+ $object->id = (int) $component;
+ $object->dashboard = $dashboard;
+ // update the admin view
+ $this->_db->updateObject('#__componentbuilder_joomla_component', $object, 'id');
+ }
+ }
+ }
+ }
+ }
+ // update the admin_fields_relations
+ if (isset($this->updateAfter['relations']) && ComponentbuilderHelper::checkArray($this->updateAfter['relations']))
+ {
+ // update repeatable
+ foreach ($this->updateAfter['relations'] as $relation)
+ {
+ // check if we must update this relation
+ $update = false;
+ if (isset($this->newID['admin_fields_relations'][$relation]))
+ {
+ $relation = $this->newID['admin_fields_relations'][$relation];
+ }
+ // get the set relation from db
+ if ($addrelations = ComponentbuilderHelper::getVar('admin_fields_relations', $relation, 'id', 'addrelations'))
+ {
+ if (ComponentbuilderHelper::checkJson($addrelations))
+ {
+ $addrelations = json_decode($addrelations, true);
+ if (ComponentbuilderHelper::checkArray($addrelations))
+ {
+ foreach ($addrelations as $nr => &$value)
+ {
+ // reset the buckets
+ $bucket = array();
+ // get fields
+ $found = ComponentbuilderHelper::getAllBetween($value['set'], '[field=', ']');
+ // if found
+ if (ComponentbuilderHelper::checkArray($found))
+ {
+ $bucket[] = $found;
+ }
+ // get fields
+ $found = ComponentbuilderHelper::getAllBetween($value['set'], '$item->{', '}');
+ // if found
+ if (ComponentbuilderHelper::checkArray($found))
+ {
+ $bucket[] = $found;
+ }
+ // check if we have values
+ if (ComponentbuilderHelper::checkArray($bucket))
+ {
+ $fields = ComponentbuilderHelper::mergeArrays($bucket);
+ // reset the buckets
+ $bucket = array();
+ if (ComponentbuilderHelper::checkArray($fields))
+ {
+ foreach ($fields as $field)
+ {
+ if (isset($this->newID['field'][(int) $field]))
+ {
+ $bucket['[field=' . (int) $field . ']'] = '[field=' . (int) $this->newID['field'][(int) $field] . ']';
+ $bucket['$item->{' . (int) $field . '}'] = '$item->{' . (int) $this->newID['field'][(int) $field] . '}';
+ }
+ else
+ {
+ $this->app->enqueueMessage(JText::sprintf('COM_COMPONENTBUILDER_BADMIN_FIELDS_RELATIONSB_IDS_MISMATCH_IN_BFIELDSB_AND_WAS_NOT_UPDATED_IN_THE_CUSTOM_CODE', $relation, $field), 'warning');
+ }
+ }
+ // check if we have a bucket of values to update
+ if (ComponentbuilderHelper::checkArray($bucket))
+ {
+ $value['set'] = str_replace(array_keys($bucket), array_values($bucket), $value['set']);
+ $update = true;
+ }
+ }
+ }
+ }
+ // update only if needed
+ if ($update)
+ {
+ $object = new stdClass;
+ $object->id = $relation;
+ $object->addrelations = json_encode($addrelations, JSON_FORCE_OBJECT);
+ // update the field
+ $this->_db->updateObject('#__componentbuilder_admin_fields_relations', $object, 'id');
+ }
+ }
+ }
+ }
+ }
+ }
}
/**
@@ -1573,6 +1718,12 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
break;
case 'joomla_component':
+ // update custom dash after
+ if (isset($item->dashboard_type) && 2 == $item->dashboard_type)
+ {
+ // update the custom dash ID
+ $this->updateAfter['joomla_component'][$item->id] = $item->id; // dashboard
+ }
// set the anchors getters
$getter = array('joomla_component' => $item->id);
// update the addconfig
@@ -2055,7 +2206,9 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
$updaterT = array(
// subformfield => field => type_value
'addrelations' => array('listfield' => 'field', 'joinfields' => 'field')
- );
+ );
+ // special fix for custom code
+ $this->updateAfter['relations'][$item->id] = $item->id; // addrelations->set
}
// update the repeatable fields
@@ -2066,6 +2219,8 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
// update the subform ids
$this->updateSubformsIDs($item, $type, $updaterT);
}
+ // remove all fields/columns not part of the current table
+ $this->removingFields($type, $item);
// final action prep
switch($action)
{
@@ -2097,6 +2252,56 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
return false;
}
+ /**
+ * remove all fields/columns not part of the current table
+ *
+ * @param string $type The table this item belongs to
+ * @param object $item The item to clean
+ *
+ * @return viod
+ */
+ protected function removingFields($type, &$item)
+ {
+ // get the columns
+ $columns = $this->getTableColumns("#__componentbuilder_" . $type);
+ if (ComponentbuilderHelper::checkArray($columns))
+ {
+ foreach ($item as $name => $value)
+ {
+ if (!isset($columns[$name]))
+ {
+ // we must show a warning that this field was not imported (but just once)
+ if (!isset($this->fieldImportErrors[$type.$name]))
+ {
+ $this->app->enqueueMessage(JText::sprintf('COM_COMPONENTBUILDER_FIELD_BSB_NOT_FOUND_IN_LOCAL_DATABASE_TABLE_S_SO_IMPORTED_OF_ITS_VALUES_FAILED_PLEASE_UPDATE_YOUR_JCB_INSTALL_AND_TRY_AGAIN', $name, '#__componentbuilder_' . $type), 'warning');
+ // make sure the message is not loaded again
+ $this->fieldImportErrors[$type.$name] = true;
+ }
+ // remove the field & value
+ unset($item->{$name});
+ }
+ }
+ }
+ }
+
+ /**
+ * get table columns
+ *
+ * @param string $table The table
+ *
+ * @return array
+ */
+ protected function getTableColumns($table)
+ {
+ // check if the columns are in memory
+ if (!isset($this->tableColumns[$table]))
+ {
+ // get the columns
+ $this->tableColumns[$table] = $this->_db->getTableColumns($table);
+ }
+ return $this->tableColumns[$table];
+ }
+
/**
* Set the data that should be moved
*
@@ -2313,12 +2518,15 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
// load the created and id
$query->where($this->_db->quoteName('a.created') . ' = '. $this->_db->quote($item->created));
$query->where($this->_db->quoteName('a.id') .' = '. (int) $item->id);
+ // set to run query
$runQuery = true;
}
elseif (componentbuilderHelper::checkArray($get))
{
foreach ($get as $field)
{
+ // set to run query
+ $runQuery = true;
if (isset($item->{$field}))
{
// set the value
@@ -2343,18 +2551,21 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
else
{
- return false;
+ // do not run query
+ $runQuery = false;
}
- $runQuery = true;
}
else
{
- return false;
+ // do not run query
+ $runQuery = false;
}
}
}
elseif (isset($item->{$get}))
{
+ // set to run query
+ $runQuery = true;
// set the value
$value = $item->{$get};
// check if we have special value
@@ -2377,9 +2588,8 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
else
{
- return false; // really not needed but who knows for sure...
+ $runQuery = false; // really not needed but who knows for sure...
}
- $runQuery = true;
}
// since where has been set run the query
if ($runQuery)
@@ -2430,12 +2640,18 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
// get by name and xml to target correct field
if ($retry == 2)
{
- // get by id name..
+ // get by name + xml...
$getter = array('name','datatype','store','indexes','null_switch','xml');
+ $retryAgain = 3;
+ }
+ elseif ($retry == 3)
+ {
+ // get by name + created...
+ $getter = array('name','datatype','created');
}
else
{
- // get by id name..
+ // get by name + xml or type..
$getter = array('name','datatype','store','indexes','null_switch');
// lets try to add the fieldtype
if (isset($item->fieldtype) && is_numeric($item->fieldtype) && $item->fieldtype > 0 && isset($this->newID['fieldtype'][(int) $item->fieldtype]) && $this->newID['fieldtype'][(int) $item->fieldtype] > 0)
@@ -2448,6 +2664,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
else
{
$getter[] = 'xml';
+ $retryAgain = 3;
}
}
break;
diff --git a/admin/models/joomla_component.php b/admin/models/joomla_component.php
index ff8ce1484..22cb7743c 100644
--- a/admin/models/joomla_component.php
+++ b/admin/models/joomla_component.php
@@ -362,6 +362,22 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
@@ -1175,7 +1191,10 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
// we check if component should be build from sql file
- ComponentbuilderHelper::dynamicBuilder($data, 1);
+ if (isset($data['buildcomp']) && 1 == $data['buildcomp'])
+ {
+ ComponentbuilderHelper::dynamicBuilder($data, 1);
+ }
// Set the Params Items to data
if (isset($data['params']) && is_array($data['params']))
diff --git a/admin/models/joomla_components.php b/admin/models/joomla_components.php
index 0e02ca7cd..2e38a5667 100644
--- a/admin/models/joomla_components.php
+++ b/admin/models/joomla_components.php
@@ -1607,7 +1607,7 @@ class ComponentbuilderModelJoomla_components extends JModelList
'php_after_delete','php_after_publish','php_ajaxmethod','php_allowedit','php_batchcopy',
'php_batchmove','php_before_delete','php_before_publish','php_before_save','php_controller',
'php_controller_list','php_document','php_getitem','php_getitems','php_getitems_after_all',
- 'php_getlistquery','php_import','php_import_display','php_import_ext','php_import_headers',
+ 'php_getlistquery','php_import','php_import_display','php_import_ext','php_import_headers','php_getform',
'php_import_save','php_import_setdata','php_model','php_model_list','php_postsavehook','php_save');
$targets['admin_view']['view'] = 'admin_views';
$targets['admin_view']['not_base64'] = array();
diff --git a/admin/models/language.php b/admin/models/language.php
index 74eda7f63..2c7ab6b0e 100644
--- a/admin/models/language.php
+++ b/admin/models/language.php
@@ -175,7 +175,6 @@ class ComponentbuilderModelLanguage extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/language_translation.php b/admin/models/language_translation.php
index 3b320fdfc..500c3ae9a 100644
--- a/admin/models/language_translation.php
+++ b/admin/models/language_translation.php
@@ -215,7 +215,6 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/layout.php b/admin/models/layout.php
index 3ffa15b96..10657db01 100644
--- a/admin/models/layout.php
+++ b/admin/models/layout.php
@@ -222,6 +222,22 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/library.php b/admin/models/library.php
index 066009219..c754dbf3c 100644
--- a/admin/models/library.php
+++ b/admin/models/library.php
@@ -223,7 +223,6 @@ class ComponentbuilderModelLibrary extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/library_config.php b/admin/models/library_config.php
index ff6351f6e..138367410 100644
--- a/admin/models/library_config.php
+++ b/admin/models/library_config.php
@@ -185,7 +185,6 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/library_files_folders_urls.php b/admin/models/library_files_folders_urls.php
index 3a43dfe0b..f08ea01ff 100644
--- a/admin/models/library_files_folders_urls.php
+++ b/admin/models/library_files_folders_urls.php
@@ -217,7 +217,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/rules/code.php b/admin/models/rules/code.php
new file mode 100644
index 000000000..21eb47dd9
--- /dev/null
+++ b/admin/models/rules/code.php
@@ -0,0 +1,53 @@
+
+ * @github Joomla Component Builder
+ * @copyright Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ * @license GNU General Public License version 2 or later; see LICENSE.txt
+ */
+
+// No direct access to this file
+defined('JPATH_PLATFORM') or die;
+
+use Joomla\CMS\Form\Form;
+use Joomla\CMS\Form\FormRule;
+use Joomla\Registry\Registry;
+
+/**
+ * Form Rule (Code) class for the Joomla Platform.
+ */
+class JFormRuleCode extends FormRule
+{
+ /**
+ * Method to test the value.
+ *
+ * @param \SimpleXMLElement $element The SimpleXMLElement object representing the `` tag for the form field object.
+ * @param mixed $value The form field value to validate.
+ * @param string $group The field name group control value. This acts as an array container for the field.
+ * For example if the field has name="foo" and the group value is set to "bar" then the
+ * full field name would end up being "bar[foo]".
+ * @param Registry $input An optional Registry object with the entire data set to validate against the entire form.
+ * @param Form $form The form object for which the field is being tested.
+ *
+ * @return boolean True if the value is valid, false otherwise.
+ */
+ public function test(\SimpleXMLElement $element, $value, $group = null, Registry $input = null, Form $form = null)
+ {
+ // This removes all validation (is dangerous) but needed to submit code via JCB
+ return true;
+
+ /**
+ * My idea is to add some kind of validation to improve JCB code (per/language)
+ *
+ * So at this time this code validation is used for JavaScript,CSS,HTML and PHP.
+ * We can see what language is being worked on with the syntax property in the $element. (in JCB)
+ * What complicates things is the placeholders, of both custom code, component, and view names.
+ * Ideally we could strip them and then validate the code to being syntactically correct.
+ * But since some of the placeholders form part of the class/function names and the more, it seems like we are pressed for a much more advance solution.
+ * If you have any ideas to how we can go about to do this, then please open an issue on github and lets begin. (this is a nice to have, so don't break a leg...)
+ */
+ }
+}
diff --git a/admin/models/server.php b/admin/models/server.php
index a1d7483e4..b48836ee4 100644
--- a/admin/models/server.php
+++ b/admin/models/server.php
@@ -156,7 +156,7 @@ class ComponentbuilderModelServer extends JModelAdmin
*
* @return mixed An array of data items on success, false on failure.
*/
- public function getWanlinked_components()
+ public function getWaolinked_components()
{
// Get the user object.
$user = JFactory::getUser();
@@ -316,7 +316,6 @@ class ComponentbuilderModelServer extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/site_view.php b/admin/models/site_view.php
index 4624c8953..e31bd79ac 100644
--- a/admin/models/site_view.php
+++ b/admin/models/site_view.php
@@ -345,6 +345,22 @@ class ComponentbuilderModelSite_view extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/snippet.php b/admin/models/snippet.php
index 4e4da37ca..5bf14a873 100644
--- a/admin/models/snippet.php
+++ b/admin/models/snippet.php
@@ -181,7 +181,6 @@ class ComponentbuilderModelSnippet extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/snippet_type.php b/admin/models/snippet_type.php
index 30004297e..e32fdac90 100644
--- a/admin/models/snippet_type.php
+++ b/admin/models/snippet_type.php
@@ -175,7 +175,6 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/models/template.php b/admin/models/template.php
index 2c964297e..dc630da89 100644
--- a/admin/models/template.php
+++ b/admin/models/template.php
@@ -222,6 +222,22 @@ class ComponentbuilderModelTemplate extends JModelAdmin
}
}
+ // update all editors to use this components global editor
+ $global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
+ // now get all the editor fields
+ $editors = $form->getXml()->xpath("//field[@type='editor']");
+ // check if we found any
+ if (ComponentbuilderHelper::checkArray($editors))
+ {
+ foreach ($editors as $editor)
+ {
+ // get the field names
+ $name = (string) $editor['name'];
+ // set the field editor value (with none as fallback)
+ $form->setFieldAttribute($name, 'editor', $global_editor . '|none');
+ }
+ }
+
return $form;
}
diff --git a/admin/models/validation_rule.php b/admin/models/validation_rule.php
index 325bf2a38..a95849d67 100644
--- a/admin/models/validation_rule.php
+++ b/admin/models/validation_rule.php
@@ -207,7 +207,6 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
$form->setValue($redirectedField, null, $redirectedValue);
}
}
-
return $form;
}
diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql
index bafe37946..bee93a285 100644
--- a/admin/sql/install.mysql.utf8.sql
+++ b/admin/sql/install.mysql.utf8.sql
@@ -152,6 +152,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`add_php_before_publish` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_before_save` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_document` TINYINT(1) NOT NULL DEFAULT 0,
+ `add_php_getform` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_getitem` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_getitems` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_getitems_after_all` TINYINT(1) NOT NULL DEFAULT 0,
@@ -192,6 +193,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`php_controller` MEDIUMTEXT NOT NULL,
`php_controller_list` MEDIUMTEXT NOT NULL,
`php_document` MEDIUMTEXT NOT NULL,
+ `php_getform` MEDIUMTEXT NOT NULL,
`php_getitem` MEDIUMTEXT NOT NULL,
`php_getitems` MEDIUMTEXT NOT NULL,
`php_getitems_after_all` MEDIUMTEXT NOT NULL,
@@ -231,25 +233,25 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_state` (`published`),
KEY `idx_name_single` (`name_single`),
KEY `idx_name_list` (`name_list`),
- KEY `idx_add_php_batchmove` (`add_php_batchmove`),
- KEY `idx_add_php_allowedit` (`add_php_allowedit`),
- KEY `idx_add_php_save` (`add_php_save`),
- KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
- KEY `idx_add_sql` (`add_sql`),
+ KEY `idx_add_php_before_publish` (`add_php_before_publish`),
+ KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
+ KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
+ KEY `idx_add_php_before_save` (`add_php_before_save`),
KEY `idx_type` (`type`),
KEY `idx_add_fadein` (`add_fadein`),
- KEY `idx_add_php_after_publish` (`add_php_after_publish`),
- KEY `idx_add_php_after_delete` (`add_php_after_delete`),
- KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
- KEY `idx_add_php_before_save` (`add_php_before_save`),
- KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
- KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
- KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
- KEY `idx_add_custom_import` (`add_custom_import`),
- KEY `idx_add_php_getitem` (`add_php_getitem`),
KEY `idx_add_php_getitems` (`add_php_getitems`),
+ KEY `idx_add_custom_import` (`add_custom_import`),
+ KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
+ KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
+ KEY `idx_add_php_getform` (`add_php_getform`),
+ KEY `idx_add_php_save` (`add_php_save`),
+ KEY `idx_add_php_allowedit` (`add_php_allowedit`),
+ KEY `idx_add_php_batchmove` (`add_php_batchmove`),
+ KEY `idx_add_php_after_publish` (`add_php_after_publish`),
+ KEY `idx_add_php_after_delete` (`add_php_after_delete`),
+ KEY `idx_add_sql` (`add_sql`),
KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
@@ -258,7 +260,8 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
KEY `idx_add_custom_button` (`add_custom_button`),
KEY `idx_source` (`source`),
- KEY `idx_add_php_ajax` (`add_php_ajax`)
+ KEY `idx_add_php_ajax` (`add_php_ajax`),
+ KEY `idx_add_php_getitem` (`add_php_getitem`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (
@@ -1348,7 +1351,7 @@ INSERT INTO `#__componentbuilder_library` (`id`, `addconditions`, `description`,
(1, '', '', 1, '', 'No Library', '', 1, '2017-11-11 22:08:33', '2017-12-08 15:51:34', 4, '', 1),
(2, '', '', 1, 1, 'Bootstrap v4', '', 1, '2017-11-12 02:08:39', '2017-12-17 09:04:10', 18, '', 2),
(3, '', '', 1, 1, 'Uikit v3', '', 1, '2017-11-11 22:08:45', '2017-12-10 15:55:35', 18, '', 3),
-(4, '', '', 1, 4, 'Uikit v2', '', 1, '2017-11-11 22:08:51', '2017-12-10 15:53:17', 5, '', 4),
+(4, '', '', 1, 4, 'Uikit v2', '', 1, '2017-11-11 22:08:51', '2018-06-29 02:36:17', 6, '', 4),
(5, '', '', 1, 4, 'FooTable v2', '', 1, '2017-11-11 22:08:57', '2017-12-11 20:07:32', 9, '', 5),
(6, '', '', 1, 4, 'FooTable v3', '', 1, '2017-11-25 22:11:03', '2017-12-10 15:54:45', 12, '', 6);
@@ -1374,7 +1377,7 @@ INSERT INTO `#__componentbuilder_snippet` (`id`, `contributor_company`, `contrib
(15, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', '', 'Easlily create a nicely looking pagination to navigate through pages.', 4, 'Pagination', 'PHVsIGNsYXNzPSJ1ay1wYWdpbmF0aW9uIj4NCiAgICA8bGk+PGEgaHJlZj0iIyI+MTwvYT48L2xpPg0KICAgIDxsaT48c3Bhbj4uLi48L3NwYW4+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIyI+ODwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj45PC9hPjwvbGk+DQogICAgPGxpIGNsYXNzPSJ1ay1hY3RpdmUiPjxzcGFuPjEwPC9zcGFuPjwvbGk+DQogICAgPGxpPjxhIGhyZWY9IiMiPjExPC9hPjwvbGk+DQogICAgPGxpPjxhIGhyZWY9IiMiPjEyPC9hPjwvbGk+DQogICAgPGxpPjxzcGFuPi4uLjwvc3Bhbj48L2xpPg0KICAgIDxsaT48YSBocmVmPSIjIj4yMDwvYT48L2xpPg0KPC91bD4=', 2, 'http://getuikit.com/docs/pagination.html', 'The Pagination component consists of button-like styled links, that are aligned side by side.', '', 1, '2015-05-19 20:45:49', '2017-11-11 22:09:27', 53, '', 6),
(16, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', '', 'Create a tabbed navigation with different styles.', 4, 'Tab', 'PHVsIGNsYXNzPSJ1ay10YWIiIGRhdGEtdWstdGFiPg0KICAgIDxsaSBjbGFzcz0idWstYWN0aXZlIj48YSBocmVmPSIiPkFjdGl2ZTwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIiPkl0ZW08L2E+PC9saT4NCiAgICA8bGk+PGEgaHJlZj0iIj5JdGVtPC9hPjwvbGk+DQogICAgPGxpIGNsYXNzPSJ1ay1kaXNhYmxlZCI+PGEgaHJlZj0iIj5EaXNhYmxlZDwvYT48L2xpPg0KPC91bD4=', 2, 'http://getuikit.com/docs/tab.html', 'The Tab component consists of clickable tabs, that are aligned side by side.\r\n\r\nThe data-uk-tab attribute is required for two purposes. Firstly, it enables the responsive behaviour. If the parent container is too small to accomodate all tabs, they will be combined into a dropdown, toggled by a single tab, which represents the active tab item. This also requires the Dropdown component in order to work.\r\n\r\nAnd secondly, its functionality is coupled to the Switcher component, which is necessary to dynamically transition through different contents using tabbed navigation.', '', 1, '2015-05-19 20:47:34', '2017-11-11 22:09:27', 55, '', 6),
(17, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', '', 'Create a tabbed navigation with different styles.', 4, 'Thumbnav', 'PHVsIGNsYXNzPSJ1ay10aHVtYm5hdiI+DQogICAgPGxpIGNsYXNzPSJ1ay1hY3RpdmUiPjxhIGhyZWY9IiI+PGltZyBzcmM9IiIgYWx0PSIiPjwvYT48L2xpPg0KICAgIDxsaT48YSBocmVmPSIiPjxpbWcgc3JjPSIiIGFsdD0iIj48L2E+PC9saT4NCjwvdWw+', 2, 'http://getuikit.com/docs/thumbnav.html', 'To apply this component, add the .uk-thumbnav class to an element and nest your thumbnail images inside elements within the list items. The thumbnav will wrap into several rows, if it is wider than its container and automatically applies a gutter. Add the .uk-active class to create an active state.\r\n\r\nTo align a subnav, for example to horizontally center it, you can use the Flex component.', '', 1, '2015-05-19 20:48:42', '2017-11-11 22:09:27', 54, '', 6),
-(18, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', 'Modifiers\r\n\r\nTo display the list in a different style, just add a modifier class to the the .uk-list class. The modifiers of the List component are not combinable with each other.', 'Easily create nicely looking lists, which come in different styles.', 4, 'List', 'PHVsIGNsYXNzPSJ1ay1saXN0IHVrLWxpc3Qtc3RyaXBlZCI+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 3, 'http://getuikit.com/docs/list.html', 'To apply this component, add the .uk-list class to an unordered or ordered list. The list will now display without any spacing or list-style. [uk-list-line] [uk-list-space]', '', 1, '0000-00-00 00:00:00', '2018-03-21 02:26:43', 2, '', 6),
+(18, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', 'Modifiers\r\n\r\nTo display the list in a different style, just add a modifier class to the the .uk-list class. The modifiers of the List component are not combinable with each other.', 'Easily create nicely looking lists, which come in different styles.', 4, 'List', 'PHVsIGNsYXNzPSJ1ay1saXN0IHVrLWxpc3Qtc3RyaXBlZCI+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQogICAgPGxpPi4uLjwvbGk+DQo8L3VsPg==', 3, 'http://getuikit.com/docs/list.html', 'To apply this component, add the .uk-list class to an unordered or ordered list. The list will now display without any spacing or list-style. [uk-list-line] [uk-list-space]', '', 1, '2015-06-01 16:09:04', '2017-11-11 22:09:27', 3, '', 6),
(19, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', 'Add the .uk-description-list-horizontal class to display terms and descriptions side by side.', 'Easily create nicely looking description lists, which come in different styles.', 4, 'Description list', 'PGRsIGNsYXNzPSJ1ay1kZXNjcmlwdGlvbi1saXN0LWhvcml6b250YWwiPg0KICAgIDxkdD4uLi48L2R0Pg0KICAgIDxkZD4uLi48L2RkPg0KPC9kbD4=', 3, 'http://getuikit.com/docs/description-list.html', 'There is no component class necessary to create a description list, but UIkit provides a couple of modifier classes to display the list in a different style. The modifiers of the Description list component are not combinable with each other. [uk-description-list-line]', '', 1, '2015-06-01 16:10:54', '2017-11-11 22:09:27', 54, '', 6),
(20, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', '', 'Easily create nicely looking tables, which come in different styles.', 4, 'Table', 'PHRhYmxlIGNsYXNzPSJ1ay10YWJsZSB1ay10YWJsZS1ob3ZlciI+DQogICAgPGNhcHRpb24+Li4uPC9jYXB0aW9uPg0KICAgIDx0aGVhZD4NCiAgICAgICAgPHRyPg0KICAgICAgICAgICAgPHRoPi4uLjwvdGg+DQogICAgICAgIDwvdHI+DQogICAgPC90aGVhZD4NCiAgICA8dGZvb3Q+DQogICAgICAgIDx0cj4NCiAgICAgICAgICAgIDx0ZD4uLi48L3RkPg0KICAgICAgICA8L3RyPg0KICAgIDwvdGZvb3Q+DQogICAgPHRib2R5Pg0KICAgICAgICA8dHI+DQogICAgICAgICAgICA8dGQ+Li4uPC90ZD4NCiAgICAgICAgPC90cj4NCiAgICA8L3Rib2R5Pg0KPC90YWJsZT4=', 3, 'http://getuikit.com/docs/table.html', 'To apply this component, add the .uk-table class to a element.', '', 1, '2015-06-01 16:12:46', '2017-11-11 22:09:27', 53, '', 6),
(21, 'Vast Development Method', 'Joomla@vdm.io', 'Llewellyn van der Merwe', 'https://www.vdm.io/', '', 'Easily create nicely looking buttons, which come in different styles.', 4, 'Button href', 'PGEgY2xhc3M9InVrLWJ1dHRvbiB1ay1idXR0b24tcHJpbWFyeSIgaHJlZj0iIj4uLi48L2E+', 4, 'http://getuikit.com/docs/button.html', 'To apply this component, add the .uk-button class to an or element. Now you have created a button. Add the disabled attribute to a element to disable the button.', '', 1, '2015-06-01 16:17:24', '2017-11-11 22:09:27', 11, '', 7),
@@ -1527,7 +1530,7 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name
(5, '', 'Provides a color picker. Enter the color as #ff00ff or pick it from the palet.', 'Color', '{\"properties0\":{\"name\":\"type\",\"example\":\"color\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) must be color.\"},\"properties1\":{\"name\":\"name\",\"example\":\"backgroundcolor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"default\",\"example\":\"#FFFFFF\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) provides a color when not set.\"},\"properties3\":{\"name\":\"label\",\"example\":\"Background\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties4\":{\"name\":\"description\",\"example\":\"Select the background color here.\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) tooltip for the form field.\"},\"properties5\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties6\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides a color picker when clicking the input box.', '', 1, 2, '', ''),
(6, '', 'The list form field type provides a drop down list or a list box of other current component table entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'Custom', '{\"properties0\":{\"name\":\"type\",\"example\":\"subjects\",\"mandatory\":\"1\",\"description\":\"(mandatory) can be anything, just not the same as any other default Joomla field type.\"},\"properties1\":{\"name\":\"name\",\"example\":\"subject\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select a Subject\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties5\":{\"name\":\"class\",\"example\":\"list_class\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) is whether multiple items can be selected at the same time (true or false).\"},\"properties7\":{\"name\":\"default\",\"example\":\"0\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties8\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties9\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties10\":{\"name\":\"readonly\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties11\":{\"name\":\"disabled\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties12\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"},\"properties13\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"},\"properties14\":{\"name\":\"extends\",\"example\":\"list\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\"},\"properties15\":{\"name\":\"button\",\"example\":\"true\",\"adjustable\":\"1\",\"description\":\"(optional) to add new button next to field in edit view\"},\"properties16\":{\"name\":\"table\",\"example\":\"#__###component###_subject\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The table being linked to. The ###TABLE### placeholder holds the table in the php.\"},\"properties17\":{\"name\":\"component\",\"example\":\"com_###component###\",\"mandatory\":\"1\",\"description\":\"(mandatory) The name of the component where this table is found. Must be com_users\"},\"properties18\":{\"name\":\"view\",\"example\":\"subject\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The single view name if the place this field is added.\"},\"properties19\":{\"name\":\"views\",\"example\":\"subjects\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The list view name if the place this field is added.\"},\"properties20\":{\"name\":\"value_field\",\"example\":\"name\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The name of the text field in table linked to. The ###TEXT### placeholder holds the value_field in the php.\"},\"properties21\":{\"name\":\"key_field\",\"example\":\"id\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The field from the linked table to save in this table as the unique key. The ###ID### placeholder holds the key_field in the php.\"},\"properties22\":{\"name\":\"prime_php\",\"example\":\"1\",\"adjustable\":\"1\",\"description\":\"This field makes sure that the PHP used here is used to build the field type, and other are custom fields with the same field type are ignored. So to avoid that they over write the PHP added here. You should only have one prime per\\/type. To disable remove the field or set to 0\"},\"properties23\":{\"name\":\"type_php_1\",\"example\":\"$db = JFactory::getDBO();\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties24\":{\"name\":\"type_php_2\",\"example\":\"$query = $db->getQuery(true);\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties25\":{\"name\":\"type_php_3\",\"example\":\"$query->select($db->quoteName(array(\'a.###ID###\',\'a.###TEXT###\'),array(\'###ID###\',\'###CODE_TEXT###\')));\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties26\":{\"name\":\"type_php_4\",\"example\":\"$query->from($db->quoteName(\'###TABLE###\', \'a\'));\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties27\":{\"name\":\"type_php_5\",\"example\":\"$query->where($db->quoteName(\'a.published\') . \' = 1\');\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties28\":{\"name\":\"type_php_6\",\"example\":\"$query->order(\'a.###TEXT### ASC\');\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties29\":{\"name\":\"type_php_7\",\"example\":\"$db->setQuery((string)$query);\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties30\":{\"name\":\"type_php_8\",\"example\":\"$items = $db->loadObjectList();\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties31\":{\"name\":\"type_php_9\",\"example\":\"$options = array();\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties32\":{\"name\":\"type_php_10\",\"example\":\"if ($items)\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties33\":{\"name\":\"type_php_11\",\"example\":\"{\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties34\":{\"name\":\"type_php_12\",\"example\":\"\\\\t$options[] = JHtml::_(\'select.option\', \'\', \'Select an option\');\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties35\":{\"name\":\"type_php_13\",\"example\":\"\\\\tforeach($items as $item)\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties36\":{\"name\":\"type_php_14\",\"example\":\"\\\\t{\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties37\":{\"name\":\"type_php_15\",\"example\":\"\\\\t\\\\t$options[] = JHtml::_(\'select.option\', $item->###ID###, $item->###CODE_TEXT###);\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties38\":{\"name\":\"type_php_16\",\"example\":\"\\\\t}\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties39\":{\"name\":\"type_php_17\",\"example\":\"}\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties40\":{\"name\":\"type_php_18\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"},\"properties41\":{\"name\":\"type_php_19\",\"example\":\"return $options;\",\"adjustable\":\"1\",\"description\":\"The php for the getOptions method.\"}}', 'provides a drop down list of items entries.', '', 1, 10, '', ''),
(7, '', 'The a list of users that can be targeting one or more groups and excluded users that already belongs to an item in a view.', 'CustomUser', '{\"properties0\":{\"name\":\"type\",\"example\":\"staffusers\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) can be anything, just not the same as any other default Joomla field type.\"},\"properties1\":{\"name\":\"name\",\"example\":\"staff\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Staff\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"class\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\"},\"properties5\":{\"name\":\"multiple\",\"example\":\"false\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is whether multiple items can be selected at the same time (true or false).\"},\"properties6\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties7\":{\"name\":\"readonly\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties8\":{\"name\":\"disabled\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties9\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"\"},\"properties10\":{\"name\":\"hint\",\"example\":\"select a user\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"\"},\"properties11\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) show this field on the bases of the value in another field.\"},\"properties12\":{\"name\":\"extends\",\"example\":\"user\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"The JFormField sub class that should be extended. The options are (\'list\',\'radio\',\'checkboxes\')\"},\"properties13\":{\"name\":\"table\",\"example\":\"#__users\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The table being linked to. Must be #__users\"},\"properties14\":{\"name\":\"component\",\"example\":\"com_users\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The name of the component where this table is found. Must be com_users\"},\"properties15\":{\"name\":\"view\",\"example\":\"###view###\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The single view name if the place this field is added.\"},\"properties16\":{\"name\":\"views\",\"example\":\"###views###\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The list view name if the place this field is added.\"},\"properties17\":{\"name\":\"value_field\",\"example\":\"name\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The name of the text field in table linked to.\"},\"properties18\":{\"name\":\"key_field\",\"example\":\"id\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) The field from the linked table to save in this table as the unique key.\"},\"properties19\":{\"name\":\"type_php_1\",\"example\":\"\\/\\/ set the groups array\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getGroups method.\"},\"properties20\":{\"name\":\"type_php_2\",\"example\":\"$groups = JComponentHelper::getParams(\'com_###component###\')->get(\'###type###\');\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getGroups method.\"},\"properties21\":{\"name\":\"type_php_3\",\"example\":\"return $groups;\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getGroups method.\"},\"properties22\":{\"name\":\"type_phpx_1\",\"example\":\"\\/\\/ To ensure that there is only one record per user\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties23\":{\"name\":\"type_phpx_2\",\"example\":\"\\/\\/ Get a db connection.\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties24\":{\"name\":\"type_phpx_3\",\"example\":\"$db = JFactory::getDbo();\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties25\":{\"name\":\"type_phpx_4\",\"example\":\"\\/\\/ Create a new query object.\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties26\":{\"name\":\"type_phpx_5\",\"example\":\"$query = $db->getQuery(true);\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties27\":{\"name\":\"type_phpx_6\",\"example\":\"\\/\\/ Select all records from the #__###component###_###view### table from ###CODE### column\\\".\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties28\":{\"name\":\"type_phpx_7\",\"example\":\"$query->select($db->quoteName(\'###CODE###\'));\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties29\":{\"name\":\"type_phpx_8\",\"example\":\"$query->from($db->quoteName(\'#__###component###_###view###\'));\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties30\":{\"name\":\"type_phpx_9\",\"example\":\"$db->setQuery($query);\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties31\":{\"name\":\"type_phpx_10\",\"example\":\"$db->execute();\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties32\":{\"name\":\"type_phpx_11\",\"example\":\"$found = $db->getNumRows();\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties33\":{\"name\":\"type_phpx_12\",\"example\":\"if ($found)\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties34\":{\"name\":\"type_phpx_13\",\"example\":\"{\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties35\":{\"name\":\"type_phpx_14\",\"example\":\"\\\\t\\/\\/ return all users already used\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties36\":{\"name\":\"type_phpx_15\",\"example\":\"\\\\treturn array_unique($db->loadColumn());\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties37\":{\"name\":\"type_phpx_16\",\"example\":\"}\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"},\"properties38\":{\"name\":\"type_phpx_17\",\"example\":\"return null;\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"The php for the getExcluded method.\"}}', 'Provides list of users.', '', 1, 2, '', ''),
-(8, '', 'The Editor field type provides a WYSIWYG editor.', 'Editor', '{\"properties0\":{\"name\":\"type\",\"example\":\"editor\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be editor.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mytextblock\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Test Field\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"Some text\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties16\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties4\":{\"name\":\"width\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the width (in pixels) of the wysiwyg editor and defaults to 100%.\"},\"properties5\":{\"name\":\"height\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the height (in pixels) of the wysiwyg editor and defaults to 250px.\"},\"properties6\":{\"name\":\"cols\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the width of the editor (in columns).\"},\"properties7\":{\"name\":\"rows\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the height of the editor (in rows).\"},\"properties8\":{\"name\":\"buttons\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) can be an array of plugin buttons to be excluded or set to false. The default editors-xtd are: article, image, pagebreak and readmore.\"},\"properties9\":{\"name\":\"hide\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) array of plugin buttons to be hidden. eg... set buttons=\\\"true\\\" hide=\\\"readmore,pagebreak\\\"\"},\"properties10\":{\"name\":\"editor\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"specifies the editor to be used and can include two options (editor=\\\"desired|alternative\\\")\"},\"properties11\":{\"name\":\"filter\",\"example\":\"safehtml\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties15\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides an editor area field.', '', 1, 5, '', ''),
+(8, '', 'The Editor field type provides a WYSIWYG editor.', 'Editor', '{\"properties0\":{\"name\":\"type\",\"example\":\"editor\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be editor.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mytextblock\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Test Field\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"Some text\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\"},\"properties5\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties6\":{\"name\":\"width\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the width (in pixels) of the wysiwyg editor and defaults to 100%.\"},\"properties7\":{\"name\":\"height\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the height (in pixels) of the wysiwyg editor and defaults to 250px.\"},\"properties8\":{\"name\":\"cols\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the width of the editor (in columns).\"},\"properties9\":{\"name\":\"rows\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) defines the height of the editor (in rows).\"},\"properties10\":{\"name\":\"buttons\",\"example\":\"no\",\"adjustable\":\"1\",\"description\":\"(optional) can be an array of plugin buttons to be excluded or set to false. The default editors-xtd are: article, image, pagebreak and readmore.\"},\"properties17\":{\"name\":\"syntax\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) can be used to set the code syntax matching for this field.\"},\"properties11\":{\"name\":\"hide\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) array of plugin buttons to be hidden. eg... set buttons=\\\"true\\\" hide=\\\"readmore,pagebreak\\\"\"},\"properties12\":{\"name\":\"editor\",\"example\":\"codemirror|none\",\"adjustable\":\"1\",\"description\":\"specifies the editor to be used and can include two options (editor=\\\"desired|alternative\\\")\"},\"properties13\":{\"name\":\"filter\",\"example\":\"safehtml\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties14\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties15\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides an editor area field.', '', 1, 9, '', ''),
(9, '', 'The hidden form field type provides a hidden field for saving a field whose value cannot be altered directly by a user in the Administrator (it can be altered in code or by editing the params.ini file). If the parameter has a saved value this is entered i', 'Hidden', '{\"properties0\":{\"name\":\"type\",\"example\":\"hidden\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be hidden.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mysecretvariable\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"default\",\"example\":\"1\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the data which needs to be collected.\"},\"properties5\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties4\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"}}', 'provides a hidden field for saving a form field whose value cannot be altered directly by a user.', '', 1, 2, '', ''),
(10, '', 'The integer form field type provides a select box with a range of integer values. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Integer', '{\"properties0\":{\"name\":\"type\",\"example\":\"integer\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be integer.\"},\"properties1\":{\"name\":\"name\",\"example\":\"size\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Size\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is the default value.\"},\"properties4\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties5\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties6\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties7\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties8\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties9\":{\"name\":\"first\",\"example\":\"1\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) this value is the lowest on the list.\"},\"properties10\":{\"name\":\"last\",\"example\":\"20\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) this value is the highest on the list.\"},\"properties11\":{\"name\":\"step\",\"example\":\"5\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) each option will be the previous option incremented by this integer, starting with the first value until the last value is reached.\"},\"properties12\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"},\"properties14\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a drop down list of integers between a minimum and maximum.', '', 1, 4, '', ''),
(11, '', 'The list form field type provides a drop down list or a list box of custom-defined entries. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.', 'List', '{\"properties0\":{\"name\":\"type\",\"example\":\"list\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be list.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mylist\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select an option\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties13\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties4\":{\"name\":\"class\",\"example\":\"list_class\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'inputbox\'.\"},\"properties5\":{\"name\":\"multiple\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) is whether multiple items can be selected at the same time (true or false).\"},\"properties6\":{\"name\":\"filter\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) filter options\"},\"properties7\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties14\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties8\":{\"name\":\"option\",\"example\":\"0|Option 1,1|Option 2,2|Option 1\",\"adjustable\":\"1\",\"description\":\"(mandatory) set the options of this radio. Separate options with commas and use the pipe symbol to separate value from text.\"},\"properties9\":{\"name\":\"default\",\"example\":\"0\",\"adjustable\":\"1\",\"description\":\"(optional) is the default list item value.\"},\"properties10\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties11\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a drop down list of custom-defined entries.', '', 1, 5, '', ''),
@@ -1544,7 +1547,7 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name
(22, '', 'The Tag field type provides a point where you can enter tags - this is either AJAX or nested.', 'Tag', '{\"properties0\":{\"name\":\"type\",\"example\":\"tag\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) must be tag.\"},\"properties1\":{\"name\":\"name\",\"example\":\"tags\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"mode\",\"example\":\"ajax\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the way the tags will be loaded, the options are ( ajax or nested )\"},\"properties3\":{\"name\":\"label\",\"example\":\"Tags\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties4\":{\"name\":\"description\",\"example\":\"Assign tags to ###VIEW### items. Tag names must be unique.\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is the description of the field.\"},\"properties5\":{\"name\":\"id\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the id to add to the field. Note if none is set this will be the name of the field.\"},\"properties6\":{\"name\":\"class\",\"example\":\"inputbox small\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the class to add to the field.\"},\"properties7\":{\"name\":\"published\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) determines if non published tags should be allowed.\"},\"properties8\":{\"name\":\"language\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is language to filter the existing tags by.\"},\"properties9\":{\"name\":\"multiple\",\"example\":\"true\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the ability to add more than 1 tag to the form field.\"},\"properties10\":{\"name\":\"custom\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) if the ajax mode is chosen setting this to [deny] will prevent users from adding in new tags.\"},\"properties11\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides an entry point for tags (either AJAX or Nested).', '', 1, 2, '', ''),
(23, '', 'The tel field type is an alias for a text field. Telephone numbers can be validated using the tel rule and filtered using the tel input filter.', 'Tel', '{\"properties0\":{\"name\":\"type\",\"example\":\"text\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be text.\"},\"properties1\":{\"name\":\"name\",\"example\":\"phone\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Phone\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter phone number\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"tel\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validated\",\"example\":\"tel\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to validated the input data.\"},\"properties13\":{\"name\":\"message\",\"example\":\"Error! Please add phone number here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties14\":{\"name\":\"hint\",\"example\":\"Your Phone Number\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties15\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties16\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides an input field for a telephone number.', '', 1, 5, '', ''),
(24, '', 'The text form field type provides a text box for data entry. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Text', '{\"properties0\":{\"name\":\"type\",\"example\":\"text\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be text.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mytextvalue\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Enter some text\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"Some text\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter some description\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"field\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) used in validation of \\\"equals\\\" to link the field to match.\"},\"properties14\":{\"name\":\"message\",\"example\":\"Error! Please add some text here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties15\":{\"name\":\"hint\",\"example\":\"Your Name Here\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties16\":{\"name\":\"autocomplete\",\"example\":\"on\",\"adjustable\":\"1\",\"description\":\"(optional) The autocomplete state for the form field. If \'off\' element will not be automatically completed by browser.\"},\"properties17\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties18\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a text box for data entry.', '', 1, 8, '', ''),
-(25, '', 'The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Textarea', '{\"properties0\":{\"name\":\"type\",\"example\":\"textarea\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be textarea.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mytextarea\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Enter some text\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"rows\",\"example\":\"10\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\"},\"properties4\":{\"name\":\"cols\",\"example\":\"5\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"default text\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Text Area\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties16\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties7\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"filter\",\"example\":\"raw\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties9\":{\"name\":\"hint\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the textarea.\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties17\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties11\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties12\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties13\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties14\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a text area for entry of multi-line text.', '', 1, 6, '', ''),
+(25, '', 'The textarea form field type provides a text area for entry of multi-line text. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Textarea', '{\"properties0\":{\"name\":\"type\",\"example\":\"textarea\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be textarea.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mytextarea\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Enter some text\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"rows\",\"example\":\"10\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the height of the visible text area in lines. If omitted the width is determined by the browser. The value of rows does not limit the number of lines that may be entered.\"},\"properties4\":{\"name\":\"cols\",\"example\":\"5\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the width of the visible text area in characters. If omitted the width is determined by the browser. The value of cols does not limit the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"default text\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Text Area\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\"},\"properties7\":{\"name\":\"message\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties8\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties9\":{\"name\":\"filter\",\"example\":\"raw\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties10\":{\"name\":\"hint\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the textarea.\"},\"properties11\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties14\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties15\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties16\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a text area for entry of multi-line text.', '', 1, 7, '', ''),
(26, '', 'The timezones form field type provides a drop down list of time zones. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.', 'Timezone', '{\"properties0\":{\"name\":\"type\",\"example\":\"timezone\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) must be timezone.\"},\"properties1\":{\"name\":\"name\",\"example\":\"timezone\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Timezone\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the default time zone. For example, use \'-10\' for \'(UTC -10:00) Hawaii\'.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties5\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides a drop down list of time zones.', '', 1, 2, '', ''),
(27, '', 'This field essentially is a text field with the type of url. If a fully qualified url (that is one with a scheme and domain such as http://example.com) is entered and it uses idn (that is uses characters that are non ascii such as ê or Ψ) it will translat', 'URL', '{\"properties0\":{\"name\":\"type\",\"example\":\"url\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be url.\"},\"properties1\":{\"name\":\"name\",\"example\":\"website\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Website\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter website address\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"text_area\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"url\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validated\",\"example\":\"url\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties18\":{\"name\":\"scheme\",\"example\":\"http,https,mailto\",\"adjustable\":\"1\",\"description\":\"(optional) Validates that the value is a URL with a valid scheme (which can be restricted by the optional comma-separated field \'scheme\'), and passes a basic syntax check.\"},\"properties13\":{\"name\":\"message\",\"example\":\"Error! Please add website here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as error on validation.\"},\"properties14\":{\"name\":\"hint\",\"example\":\"Your Website Here\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties15\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties16\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'provides a URL text input field.', '', 1, 6, '', ''),
(28, '', 'The user form field type provides a modal select box of users.', 'User', '{\"properties0\":{\"name\":\"type\",\"example\":\"user\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) must be user.\"},\"properties1\":{\"name\":\"name\",\"example\":\"user\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute.\"},\"properties2\":{\"name\":\"label\",\"example\":\"User\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"class\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is a CSS class name for the HTML form field.\"},\"properties5\":{\"name\":\"size\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties6\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'provides a modal list of users.', '', 1, 2, '', ''),
@@ -1555,7 +1558,8 @@ INSERT INTO `#__componentbuilder_fieldtype` (`id`, `catid`, `description`, `name
(33, '', 'The menuitem form field type provides a drop down grouped list of the available menu items from your Joomla site.', 'menuitem', '{\"properties0\":{\"name\":\"type\",\"example\":\"menuitem\",\"adjustable\":\"0\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) must be menuitem.\"},\"properties1\":{\"name\":\"name\",\"example\":\"mymenuitem\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select a menu item\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) is the default menu item. Note that this is the ItemID number of the menu item.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties5\":{\"name\":\"published\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) determines whether all menu items are listed or only published menu items. If state is \'0\' then all menu items will be listed. If state is \'1\' then only published menu items will be listed.\"},\"properties6\":{\"name\":\"filter\",\"example\":\"int\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"0\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"mandatory\":\"0\",\"translatable\":\"0\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"}}', 'provides a drop down list of the available menu items from your Joomla site.', '', 1, 2, '', 4),
(34, '', 'Remember all views already have [accesslevel] added by default, only add this if you need more custom access selection! Provides a dropdown list of accesslevel options with the current option selected.', 'Accesslevel', '{\"properties0\":{\"name\":\"type\",\"example\":\"accesslevel\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be accesslevel\"},\"properties1\":{\"name\":\"name\",\"example\":\"accesstwo\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field. This must match the name of the query results column that contains the values that will be shown to the user in the drop-down list, unless a different name is specified in the value_field attribute. \"},\"properties2\":{\"name\":\"label\",\"example\":\"Access Two\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"description\",\"example\":\"Select an access level to this concept.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties4\":{\"name\":\"class\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field.\"},\"properties5\":{\"name\":\"required\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) is the field required true if yes.\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) If set to multiple then allows more than one usergroup to be selected.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'List of accesslevels', '', 1, 2, '', 5),
(35, '', 'Provides a form with rows of fields that you specify. As many options can be added as desired. Note this form field has a jQuery based javascript file as a dependency.', 'Subform', '{\"properties0\":{\"name\":\"type\",\"example\":\"subform\",\"description\":\"(mandatory) must be subform.\"},\"properties1\":{\"name\":\"name\",\"example\":\"options\",\"adjustable\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter\"},\"properties2\":{\"name\":\"label\",\"example\":\"The Option List\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"layout\",\"example\":\"joomla.form.field.subform.repeatable-table\",\"adjustable\":\"1\",\"description\":\"(mandatory) The layout for the repeatable table.\"},\"properties4\":{\"name\":\"component\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) To change the component where it should search for layout\"},\"properties5\":{\"name\":\"client\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Function to initialise the application client Frontend: site<\\/code> or 0<\\/code> Backend: admin<\\/code> or 1<\\/code>\"},\"properties6\":{\"name\":\"multiple\",\"example\":\"true\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) The rows to be multiple.\"},\"properties7\":{\"name\":\"buttons\",\"example\":\"add,remove,move\",\"adjustable\":\"1\",\"description\":\"(optional) Which buttons to show if multiple mode is true. Options: add,remove,move<\\/code>\"},\"properties8\":{\"name\":\"fields\",\"example\":\"1,2,3\",\"adjustable\":\"1\",\"description\":\"(mandatory) The fields to add to the modal. All fields must first be created in component builder as a field before you can add them here, since you must use the id of the field. Separate the field ids with commas. Do not add custom fields that are not also used in this component.\"},\"properties9\":{\"name\":\"formsource\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) you can add a path to a xml file containing the fields.\"},\"properties10\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) description text for the form field. Displays at the top of the modal with the name as well as in the usual position in the form\"},\"properties11\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The default value for the form field if the field is left empty. Note this has to be a json string compatible with the contents of the form field.\"},\"properties12\":{\"name\":\"icon\",\"example\":\"list\",\"adjustable\":\"1\",\"description\":\"(optional) The icon to show on the select button (is prefixed with \\\"icon-\\\").\"},\"properties13\":{\"name\":\"max\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) The maximum number of rows of fields allowed (by default 999 to be effectively infinite)\"},\"properties14\":{\"name\":\"min\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) The minimum number of rows of fields required\"},\"properties15\":{\"name\":\"filter\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Use only if you would like to save raw data, since the default is best.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Allows form fields which can have as many options as the user desires.', '', 1, 12, '', 6),
-(36, '', 'Provides an input field for an email address.', 'Email', '{\"properties0\":{\"name\":\"type\",\"example\":\"email\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be email.\"},\"properties1\":{\"name\":\"name\",\"example\":\"email\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Email Address\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter some description\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"inputbox\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"email\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"message\",\"example\":\"Error! Please add some text here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties14\":{\"name\":\"hint\",\"example\":\"your@email.com\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties15\":{\"name\":\"autocomplete\",\"example\":\"on\",\"adjustable\":\"1\",\"description\":\"(optional) The autocomplete state for the form field. If \'off\' element will not be automatically completed by browser.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties17\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'Email form field type', '', 1, 3, '', 7);
+(36, '', 'Provides an input field for an email address.', 'Email', '{\"properties0\":{\"name\":\"type\",\"example\":\"email\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be email.\"},\"properties1\":{\"name\":\"name\",\"example\":\"email\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the field.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Email Address\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"size\",\"example\":\"10\",\"adjustable\":\"1\",\"description\":\"(optional) is the width of the text box in characters. If omitted the width is determined by the browser. The value of size does not limit the number of characters that may be entered.\"},\"properties4\":{\"name\":\"maxlength\",\"example\":\"50\",\"adjustable\":\"1\",\"description\":\"(optional) limits the number of characters that may be entered.\"},\"properties5\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties6\":{\"name\":\"description\",\"example\":\"Enter some description\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.\"},\"properties7\":{\"name\":\"class\",\"example\":\"inputbox\",\"adjustable\":\"1\",\"description\":\"(optional) is a CSS class name for the HTML form field. If omitted this will default to \'text_area\'.\"},\"properties8\":{\"name\":\"readonly\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value\"},\"properties9\":{\"name\":\"disabled\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field cannot be changed and will automatically inherit the default value - it will also not submit\"},\"properties10\":{\"name\":\"required\",\"example\":\"false\",\"adjustable\":\"1\",\"description\":\"(optional) The field must be filled before submitting the form.\"},\"properties11\":{\"name\":\"filter\",\"example\":\"STRING\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties12\":{\"name\":\"validate\",\"example\":\"email\",\"adjustable\":\"1\",\"description\":\"(optional) The validation method for the form field. This value will determine which method is used to validate the value for a field.\"},\"properties13\":{\"name\":\"message\",\"example\":\"Error! Please add some text here.\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The error message that will be displayed instead of the default message.\"},\"properties14\":{\"name\":\"hint\",\"example\":\"your@email.com\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) The placeholder to display inside the text box.\"},\"properties15\":{\"name\":\"autocomplete\",\"example\":\"on\",\"adjustable\":\"1\",\"description\":\"(optional) The autocomplete state for the form field. If \'off\' element will not be automatically completed by browser.\"},\"properties16\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) Allows you to hide the field based on the value(s) of another field; for Joomla 3.2.4+\"},\"properties17\":{\"name\":\"onchange\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) HTML equivalent attribute (javascript use)\"}}', 'Email form field type', '', 1, 3, '', 7),
+(37, '', 'Provides a dropdown list of plugin options from the folder.', 'Plugins', '{\"properties0\":{\"name\":\"type\",\"example\":\"plugins\",\"mandatory\":\"1\",\"description\":\"(mandatory) must be editors.\"},\"properties1\":{\"name\":\"name\",\"example\":\"editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) is the unique name of the parameter.\"},\"properties2\":{\"name\":\"label\",\"example\":\"Select an editor\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"translatable\":\"1\",\"description\":\"(mandatory) (translatable) is the descriptive title of the field.\"},\"properties3\":{\"name\":\"default\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) (not translatable) is the default value.\"},\"properties4\":{\"name\":\"description\",\"example\":\"\",\"adjustable\":\"1\",\"translatable\":\"1\",\"description\":\"(optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the label.\"},\"properties5\":{\"name\":\"folder\",\"example\":\"editors\",\"adjustable\":\"1\",\"mandatory\":\"1\",\"description\":\"(mandatory) editors or captcha.\"},\"properties6\":{\"name\":\"filter\",\"example\":\"cmd\",\"adjustable\":\"1\",\"description\":\"(optional) allow the system to save certain html tags or raw data.\"},\"properties7\":{\"name\":\"showon\",\"example\":\"\",\"adjustable\":\"1\",\"description\":\"(optional) show this field on the bases of the value in another field.\"}}', 'Provides a dropdown list of plugin options from the folder.', '', 1, 5, '', 8);
--
-- Dumping data for table `#__componentbuilder_language`
@@ -1670,15 +1674,7 @@ INSERT INTO `#__componentbuilder_admin_fields` (`id`, `addfields`, `admin_view`,
INSERT INTO `#__componentbuilder_admin_fields_conditions` (`id`, `addconditions`, `admin_view`, `published`, `created`, `modified`, `version`, `hits`, `ordering`) VALUES
(111, '{\"addconditions0\":{\"target_field\":[\"1011\",\"100\",\"158\",\"196\",\"280\"],\"target_behavior\":\"1\",\"target_relation\":\"0\",\"match_field\":\"682\",\"match_behavior\":\"1\",\"match_options\":\"1|Yes\"}}', 109, 1, '2017-10-12 21:36:00', '0000-00-00 00:00:00', 2, '', '');
---
--- Dumping data for table `#__componentbuilder_admin_fields_relations`
---
-INSERT INTO `#__componentbuilder_admin_fields_relations` (`id`, `addrelations`, `admin_view`, `published`, `created`, `modified`, `version`, `hits`, `ordering`) VALUES
-(1, '', 14, 1, '2018-05-22 01:20:34', '2018-05-23 03:37:27', 9, '', 1),
-(2, '', 22, 1, '2018-05-23 03:38:52', '2018-05-26 07:37:25', 18, '', 2),
-(3, '', 13, 1, '2018-05-24 17:04:40', '2018-05-24 17:12:52', 4, '', 3),
-(4, '{\"addrelations0\":{\"listfield\":\"913\",\"column_name\":\"Preacher Details\",\"joinfields\":[\"691\"],\"area\":\"2\",\"join_type\":\"1\",\"set\":\" \"}}', 54, 1, '2018-05-28 07:00:41', '2018-05-28 09:45:25', 7, '', 4);
--
-- Dumping data for table `#__componentbuilder_component_admin_views`
diff --git a/admin/sql/updates/mysql/2.7.10.sql b/admin/sql/updates/mysql/2.7.10.sql
index d3f20abd7..22bc0ad13 100644
--- a/admin/sql/updates/mysql/2.7.10.sql
+++ b/admin/sql/updates/mysql/2.7.10.sql
@@ -1,60 +1,3 @@
-CREATE TABLE IF NOT EXISTS `#__componentbuilder_field` (
- `id` INT(11) NOT NULL AUTO_INCREMENT,
- `asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
- `add_css_view` TINYINT(1) NOT NULL DEFAULT 0,
- `add_css_views` TINYINT(1) NOT NULL DEFAULT 0,
- `add_javascript_view_footer` TINYINT(1) NOT NULL DEFAULT 0,
- `add_javascript_views_footer` TINYINT(1) NOT NULL DEFAULT 0,
- `catid` INT(11) NOT NULL DEFAULT 0,
- `css_view` TEXT NOT NULL,
- `css_views` TEXT NOT NULL,
- `datadefault` CHAR(64) NOT NULL DEFAULT '',
- `datadefault_other` CHAR(64) NOT NULL DEFAULT '',
- `datalenght` CHAR(64) NOT NULL DEFAULT '',
- `datalenght_other` CHAR(64) NOT NULL DEFAULT '',
- `datatype` CHAR(64) NOT NULL DEFAULT '',
- `fieldtype` INT(11) NOT NULL DEFAULT 0,
- `indexes` CHAR(64) NOT NULL DEFAULT '',
- `javascript_view_footer` TEXT NOT NULL,
- `javascript_views_footer` TEXT NOT NULL,
- `name` VARCHAR(255) NOT NULL DEFAULT '',
- `null_switch` CHAR(64) NOT NULL DEFAULT '',
- `store` INT(11) NOT NULL DEFAULT 0,
- `xml` TEXT NOT NULL,
- `params` text NOT NULL DEFAULT '',
- `published` TINYINT(3) NOT NULL DEFAULT 1,
- `created_by` INT(10) unsigned NOT NULL DEFAULT 0,
- `modified_by` INT(10) unsigned NOT NULL DEFAULT 0,
- `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
- `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
- `checked_out` int(11) unsigned NOT NULL DEFAULT 0,
- `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
- `version` INT(10) unsigned NOT NULL DEFAULT 1,
- `hits` INT(10) unsigned NOT NULL DEFAULT 0,
- `access` INT(10) unsigned NOT NULL DEFAULT 0,
- `ordering` INT(11) NOT NULL DEFAULT 0,
- PRIMARY KEY (`id`),
- KEY `idx_access` (`access`),
- KEY `idx_checkout` (`checked_out`),
- KEY `idx_createdby` (`created_by`),
- KEY `idx_modifiedby` (`modified_by`),
- KEY `idx_state` (`published`),
- KEY `idx_name` (`name`),
- KEY `idx_fieldtype` (`fieldtype`),
- KEY `idx_datatype` (`datatype`),
- KEY `idx_indexes` (`indexes`),
- KEY `idx_null_switch` (`null_switch`),
- KEY `idx_catid` (`catid`),
- KEY `idx_add_css_views` (`add_css_views`),
- KEY `idx_add_css_view` (`add_css_view`),
- KEY `idx_datalenght` (`datalenght`),
- KEY `idx_add_javascript_views_footer` (`add_javascript_views_footer`),
- KEY `idx_datadefault_other` (`datadefault_other`),
- KEY `idx_datadefault` (`datadefault`),
- KEY `idx_datalenght_other` (`datalenght_other`),
- KEY `idx_add_javascript_view_footer` (`add_javascript_view_footer`)
-) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
-
CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_fields_relations` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`asset_id` INT(10) unsigned NOT NULL DEFAULT 0 COMMENT 'FK to the #__assets table.',
diff --git a/admin/sql/updates/mysql/2.8.1.sql b/admin/sql/updates/mysql/2.8.1.sql
new file mode 100644
index 000000000..a9c571a61
--- /dev/null
+++ b/admin/sql/updates/mysql/2.8.1.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `#__componentbuilder_admin_view` ADD `add_php_getform` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_php_document`;
+ALTER TABLE `#__componentbuilder_admin_view` ADD `php_getform` MEDIUMTEXT NOT NULL AFTER `php_document`;
diff --git a/admin/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php
index 09cd2ae85..52f4ed39c 100644
--- a/admin/views/admin_view/tmpl/edit.php
+++ b/admin/views/admin_view/tmpl/edit.php
@@ -370,266 +370,266 @@ jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e)
});
-// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxl function
+// #jform_add_php_getform listeners for add_php_getform_vvvvvxl function
+jQuery('#jform_add_php_getform').on('keyup',function()
+{
+ var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
+ vvvvvxl(add_php_getform_vvvvvxl);
+
+});
+jQuery('#adminForm').on('change', '#jform_add_php_getform',function (e)
+{
+ e.preventDefault();
+ var add_php_getform_vvvvvxl = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
+ vvvvvxl(add_php_getform_vvvvvxl);
+
+});
+
+// #jform_add_php_before_save listeners for add_php_before_save_vvvvvxm function
jQuery('#jform_add_php_before_save').on('keyup',function()
{
- var add_php_before_save_vvvvvxl = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
- vvvvvxl(add_php_before_save_vvvvvxl);
+ var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
+ vvvvvxm(add_php_before_save_vvvvvxm);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_save',function (e)
{
e.preventDefault();
- var add_php_before_save_vvvvvxl = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
- vvvvvxl(add_php_before_save_vvvvvxl);
+ var add_php_before_save_vvvvvxm = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
+ vvvvvxm(add_php_before_save_vvvvvxm);
});
-// #jform_add_php_save listeners for add_php_save_vvvvvxm function
+// #jform_add_php_save listeners for add_php_save_vvvvvxn function
jQuery('#jform_add_php_save').on('keyup',function()
{
- var add_php_save_vvvvvxm = jQuery("#jform_add_php_save input[type='radio']:checked").val();
- vvvvvxm(add_php_save_vvvvvxm);
+ var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
+ vvvvvxn(add_php_save_vvvvvxn);
});
jQuery('#adminForm').on('change', '#jform_add_php_save',function (e)
{
e.preventDefault();
- var add_php_save_vvvvvxm = jQuery("#jform_add_php_save input[type='radio']:checked").val();
- vvvvvxm(add_php_save_vvvvvxm);
+ var add_php_save_vvvvvxn = jQuery("#jform_add_php_save input[type='radio']:checked").val();
+ vvvvvxn(add_php_save_vvvvvxn);
});
-// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxn function
+// #jform_add_php_postsavehook listeners for add_php_postsavehook_vvvvvxo function
jQuery('#jform_add_php_postsavehook').on('keyup',function()
{
- var add_php_postsavehook_vvvvvxn = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
- vvvvvxn(add_php_postsavehook_vvvvvxn);
+ var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
+ vvvvvxo(add_php_postsavehook_vvvvvxo);
});
jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e)
{
e.preventDefault();
- var add_php_postsavehook_vvvvvxn = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
- vvvvvxn(add_php_postsavehook_vvvvvxn);
+ var add_php_postsavehook_vvvvvxo = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
+ vvvvvxo(add_php_postsavehook_vvvvvxo);
});
-// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxo function
+// #jform_add_php_allowedit listeners for add_php_allowedit_vvvvvxp function
jQuery('#jform_add_php_allowedit').on('keyup',function()
{
- var add_php_allowedit_vvvvvxo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
- vvvvvxo(add_php_allowedit_vvvvvxo);
+ var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
+ vvvvvxp(add_php_allowedit_vvvvvxp);
});
jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e)
{
e.preventDefault();
- var add_php_allowedit_vvvvvxo = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
- vvvvvxo(add_php_allowedit_vvvvvxo);
+ var add_php_allowedit_vvvvvxp = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
+ vvvvvxp(add_php_allowedit_vvvvvxp);
});
-// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxp function
+// #jform_add_php_batchcopy listeners for add_php_batchcopy_vvvvvxq function
jQuery('#jform_add_php_batchcopy').on('keyup',function()
{
- var add_php_batchcopy_vvvvvxp = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
- vvvvvxp(add_php_batchcopy_vvvvvxp);
+ var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
+ vvvvvxq(add_php_batchcopy_vvvvvxq);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e)
{
e.preventDefault();
- var add_php_batchcopy_vvvvvxp = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
- vvvvvxp(add_php_batchcopy_vvvvvxp);
+ var add_php_batchcopy_vvvvvxq = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
+ vvvvvxq(add_php_batchcopy_vvvvvxq);
});
-// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxq function
+// #jform_add_php_batchmove listeners for add_php_batchmove_vvvvvxr function
jQuery('#jform_add_php_batchmove').on('keyup',function()
{
- var add_php_batchmove_vvvvvxq = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
- vvvvvxq(add_php_batchmove_vvvvvxq);
+ var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
+ vvvvvxr(add_php_batchmove_vvvvvxr);
});
jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e)
{
e.preventDefault();
- var add_php_batchmove_vvvvvxq = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
- vvvvvxq(add_php_batchmove_vvvvvxq);
+ var add_php_batchmove_vvvvvxr = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
+ vvvvvxr(add_php_batchmove_vvvvvxr);
});
-// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxr function
+// #jform_add_php_before_publish listeners for add_php_before_publish_vvvvvxs function
jQuery('#jform_add_php_before_publish').on('keyup',function()
{
- var add_php_before_publish_vvvvvxr = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
- vvvvvxr(add_php_before_publish_vvvvvxr);
+ var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
+ vvvvvxs(add_php_before_publish_vvvvvxs);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_publish',function (e)
{
e.preventDefault();
- var add_php_before_publish_vvvvvxr = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
- vvvvvxr(add_php_before_publish_vvvvvxr);
+ var add_php_before_publish_vvvvvxs = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
+ vvvvvxs(add_php_before_publish_vvvvvxs);
});
-// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxs function
+// #jform_add_php_after_publish listeners for add_php_after_publish_vvvvvxt function
jQuery('#jform_add_php_after_publish').on('keyup',function()
{
- var add_php_after_publish_vvvvvxs = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
- vvvvvxs(add_php_after_publish_vvvvvxs);
+ var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
+ vvvvvxt(add_php_after_publish_vvvvvxt);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_publish',function (e)
{
e.preventDefault();
- var add_php_after_publish_vvvvvxs = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
- vvvvvxs(add_php_after_publish_vvvvvxs);
+ var add_php_after_publish_vvvvvxt = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
+ vvvvvxt(add_php_after_publish_vvvvvxt);
});
-// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxt function
+// #jform_add_php_before_delete listeners for add_php_before_delete_vvvvvxu function
jQuery('#jform_add_php_before_delete').on('keyup',function()
{
- var add_php_before_delete_vvvvvxt = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
- vvvvvxt(add_php_before_delete_vvvvvxt);
+ var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
+ vvvvvxu(add_php_before_delete_vvvvvxu);
});
jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e)
{
e.preventDefault();
- var add_php_before_delete_vvvvvxt = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
- vvvvvxt(add_php_before_delete_vvvvvxt);
+ var add_php_before_delete_vvvvvxu = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
+ vvvvvxu(add_php_before_delete_vvvvvxu);
});
-// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxu function
+// #jform_add_php_after_delete listeners for add_php_after_delete_vvvvvxv function
jQuery('#jform_add_php_after_delete').on('keyup',function()
{
- var add_php_after_delete_vvvvvxu = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
- vvvvvxu(add_php_after_delete_vvvvvxu);
+ var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
+ vvvvvxv(add_php_after_delete_vvvvvxv);
});
jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e)
{
e.preventDefault();
- var add_php_after_delete_vvvvvxu = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
- vvvvvxu(add_php_after_delete_vvvvvxu);
+ var add_php_after_delete_vvvvvxv = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
+ vvvvvxv(add_php_after_delete_vvvvvxv);
});
-// #jform_add_php_document listeners for add_php_document_vvvvvxv function
+// #jform_add_php_document listeners for add_php_document_vvvvvxw function
jQuery('#jform_add_php_document').on('keyup',function()
{
- var add_php_document_vvvvvxv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvxv(add_php_document_vvvvvxv);
+ var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvxw(add_php_document_vvvvvxw);
});
jQuery('#adminForm').on('change', '#jform_add_php_document',function (e)
{
e.preventDefault();
- var add_php_document_vvvvvxv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
- vvvvvxv(add_php_document_vvvvvxv);
-
-});
-
-// #jform_add_sql listeners for add_sql_vvvvvxw function
-jQuery('#jform_add_sql').on('keyup',function()
-{
- var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxw(add_sql_vvvvvxw);
-
-});
-jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
-{
- e.preventDefault();
- var add_sql_vvvvvxw = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxw(add_sql_vvvvvxw);
-
-});
-
-// #jform_source listeners for source_vvvvvxx function
-jQuery('#jform_source').on('keyup',function()
-{
- var source_vvvvvxx = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx);
-
-});
-jQuery('#adminForm').on('change', '#jform_source',function (e)
-{
- e.preventDefault();
- var source_vvvvvxx = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx);
+ var add_php_document_vvvvvxw = jQuery("#jform_add_php_document input[type='radio']:checked").val();
+ vvvvvxw(add_php_document_vvvvvxw);
});
// #jform_add_sql listeners for add_sql_vvvvvxx function
jQuery('#jform_add_sql').on('keyup',function()
{
- var source_vvvvvxx = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx);
+ vvvvvxx(add_sql_vvvvvxx);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
- var source_vvvvvxx = jQuery("#jform_source input[type='radio']:checked").val();
var add_sql_vvvvvxx = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxx(source_vvvvvxx,add_sql_vvvvvxx);
+ vvvvvxx(add_sql_vvvvvxx);
});
-// #jform_source listeners for source_vvvvvxz function
+// #jform_source listeners for source_vvvvvxy function
jQuery('#jform_source').on('keyup',function()
{
- var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
+ var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
});
jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
- var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
+ var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
});
-// #jform_add_sql listeners for add_sql_vvvvvxz function
+// #jform_add_sql listeners for add_sql_vvvvvxy function
jQuery('#jform_add_sql').on('keyup',function()
{
- var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
+ var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
});
jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
{
e.preventDefault();
- var source_vvvvvxz = jQuery("#jform_source input[type='radio']:checked").val();
- var add_sql_vvvvvxz = jQuery("#jform_add_sql input[type='radio']:checked").val();
- vvvvvxz(source_vvvvvxz,add_sql_vvvvvxz);
+ var source_vvvvvxy = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvxy = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvxy(source_vvvvvxy,add_sql_vvvvvxy);
});
-// #jform_add_custom_import listeners for add_custom_import_vvvvvyb function
-jQuery('#jform_add_custom_import').on('keyup',function()
+// #jform_source listeners for source_vvvvvya function
+jQuery('#jform_source').on('keyup',function()
{
- var add_custom_import_vvvvvyb = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
- vvvvvyb(add_custom_import_vvvvvyb);
+ var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
-jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
+jQuery('#adminForm').on('change', '#jform_source',function (e)
{
e.preventDefault();
- var add_custom_import_vvvvvyb = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
- vvvvvyb(add_custom_import_vvvvvyb);
+ var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvya(source_vvvvvya,add_sql_vvvvvya);
+
+});
+
+// #jform_add_sql listeners for add_sql_vvvvvya function
+jQuery('#jform_add_sql').on('keyup',function()
+{
+ var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvya(source_vvvvvya,add_sql_vvvvvya);
+
+});
+jQuery('#adminForm').on('change', '#jform_add_sql',function (e)
+{
+ e.preventDefault();
+ var source_vvvvvya = jQuery("#jform_source input[type='radio']:checked").val();
+ var add_sql_vvvvvya = jQuery("#jform_add_sql input[type='radio']:checked").val();
+ vvvvvya(source_vvvvvya,add_sql_vvvvvya);
});
@@ -648,18 +648,33 @@ jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
});
-// #jform_add_custom_button listeners for add_custom_button_vvvvvyd function
+// #jform_add_custom_import listeners for add_custom_import_vvvvvyd function
+jQuery('#jform_add_custom_import').on('keyup',function()
+{
+ var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvyd(add_custom_import_vvvvvyd);
+
+});
+jQuery('#adminForm').on('change', '#jform_add_custom_import',function (e)
+{
+ e.preventDefault();
+ var add_custom_import_vvvvvyd = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
+ vvvvvyd(add_custom_import_vvvvvyd);
+
+});
+
+// #jform_add_custom_button listeners for add_custom_button_vvvvvye function
jQuery('#jform_add_custom_button').on('keyup',function()
{
- var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvyd(add_custom_button_vvvvvyd);
+ var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvye(add_custom_button_vvvvvye);
});
jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e)
{
e.preventDefault();
- var add_custom_button_vvvvvyd = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
- vvvvvyd(add_custom_button_vvvvvyd);
+ var add_custom_button_vvvvvye = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
+ vvvvvye(add_custom_button_vvvvvye);
});
diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php
index 5df5a87c6..05f9674fa 100644
--- a/admin/views/compiler/tmpl/default.php
+++ b/admin/views/compiler/tmpl/default.php
@@ -118,10 +118,13 @@ jQuery(document).ready(function($) {