forked from joomla/Component-Builder
fixed line spacing in getform method
This commit is contained in:
parent
a9a0952ff3
commit
69d358ca06
@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
|
|||||||
+ *Version*: 2.8.2
|
+ *Version*: 2.8.2
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **186216**
|
+ *Line count*: **186200**
|
||||||
+ *Field count*: **1058**
|
+ *Field count*: **1058**
|
||||||
+ *File count*: **1238**
|
+ *File count*: **1238**
|
||||||
+ *Folder count*: **197**
|
+ *Folder count*: **197**
|
||||||
|
@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
|
|||||||
+ *Version*: 2.8.2
|
+ *Version*: 2.8.2
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **186216**
|
+ *Line count*: **186200**
|
||||||
+ *Field count*: **1058**
|
+ *Field count*: **1058**
|
||||||
+ *File count*: **1238**
|
+ *File count*: **1238**
|
||||||
+ *Folder count*: **197**
|
+ *Folder count*: **197**
|
||||||
|
@ -10936,9 +10936,8 @@ class Interpretation extends Fields
|
|||||||
$allow[] = $this->_t(4) . "//" . $this->setLine(__LINE__) . " Now set the local-redirected field default value";
|
$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(4) . "\$form->setValue(\$redirectedField, null, \$redirectedValue);";
|
||||||
$allow[] = $this->_t(3) . "}";
|
$allow[] = $this->_t(3) . "}";
|
||||||
$allow[] = $this->_t(2) . "}";
|
|
||||||
// load custom script if found
|
// load custom script if found
|
||||||
$allow[] = $this->getCustomScriptBuilder('php_getform', $viewName_single);
|
$allow[] = $this->_t(2) . "}" . $this->getCustomScriptBuilder('php_getform', $viewName_single, PHP_EOL . PHP_EOL);
|
||||||
// setup the default script
|
// setup the default script
|
||||||
$allow[] = PHP_EOL . $this->_t(2) . "return \$form;";
|
$allow[] = PHP_EOL . $this->_t(2) . "return \$form;";
|
||||||
|
|
||||||
|
@ -206,7 +206,6 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,7 +206,6 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,7 +186,6 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -506,6 +506,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,7 +223,6 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,7 +242,6 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -327,6 +327,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -184,6 +184,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -334,6 +334,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -232,7 +232,6 @@ class ComponentbuilderModelField extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -451,7 +451,6 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,7 +182,6 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -362,6 +362,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -176,7 +176,6 @@ class ComponentbuilderModelLanguage extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,7 +216,6 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,6 +222,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -224,7 +224,6 @@ class ComponentbuilderModelLibrary extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -186,7 +186,6 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -218,7 +218,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,7 +317,6 @@ class ComponentbuilderModelServer extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -345,6 +345,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -182,7 +182,6 @@ class ComponentbuilderModelSnippet extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,7 +176,6 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,6 +222,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// update all editors to use this components global editor
|
// update all editors to use this components global editor
|
||||||
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
|
||||||
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
$editors = $form->getXml()->xpath("//field[@type='editor']");
|
||||||
|
@ -208,7 +208,6 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user