fixed line spacing in getform method

This commit is contained in:
Llewellyn van der Merwe 2018-07-06 17:47:27 +02:00
parent a9a0952ff3
commit 69d358ca06
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
35 changed files with 11 additions and 28 deletions

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186216**
+ *Line count*: **186200**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186216**
+ *Line count*: **186200**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**

View File

@ -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) . "\$form->setValue(\$redirectedField, null, \$redirectedValue);";
$allow[] = $this->_t(3) . "}";
$allow[] = $this->_t(2) . "}";
// 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
$allow[] = PHP_EOL . $this->_t(2) . "return \$form;";

View File

@ -206,7 +206,6 @@ class ComponentbuilderModelAdmin_fields extends JModelAdmin
}
}
return $form;
}

View File

@ -206,7 +206,6 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
}
}
return $form;
}

View File

@ -186,7 +186,6 @@ class ComponentbuilderModelAdmin_fields_relations extends JModelAdmin
}
}
return $form;
}

View File

@ -506,6 +506,7 @@ class ComponentbuilderModelAdmin_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_admin_views extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_config extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_custom_admin_menus extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_custom_admin_views extends JModelAdmin
}
}
return $form;
}

View File

@ -223,7 +223,6 @@ class ComponentbuilderModelComponent_dashboard extends JModelAdmin
}
}
return $form;
}

View File

@ -242,7 +242,6 @@ class ComponentbuilderModelComponent_files_folders extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_mysql_tweaks extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_site_views extends JModelAdmin
}
}
return $form;
}

View File

@ -217,7 +217,6 @@ class ComponentbuilderModelComponent_updates extends JModelAdmin
}
}
return $form;
}

View File

@ -327,6 +327,7 @@ class ComponentbuilderModelCustom_admin_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -184,6 +184,7 @@ class ComponentbuilderModelCustom_code extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -334,6 +334,7 @@ class ComponentbuilderModelDynamic_get extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -232,7 +232,6 @@ class ComponentbuilderModelField extends JModelAdmin
}
}
return $form;
}

View File

@ -451,7 +451,6 @@ class ComponentbuilderModelFieldtype extends JModelAdmin
}
}
return $form;
}

View File

@ -182,7 +182,6 @@ class ComponentbuilderModelHelp_document extends JModelAdmin
}
}
return $form;
}

View File

@ -362,6 +362,7 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -176,7 +176,6 @@ class ComponentbuilderModelLanguage extends JModelAdmin
}
}
return $form;
}

View File

@ -216,7 +216,6 @@ class ComponentbuilderModelLanguage_translation extends JModelAdmin
}
}
return $form;
}

View File

@ -222,6 +222,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -224,7 +224,6 @@ class ComponentbuilderModelLibrary extends JModelAdmin
}
}
return $form;
}

View File

@ -186,7 +186,6 @@ class ComponentbuilderModelLibrary_config extends JModelAdmin
}
}
return $form;
}

View File

@ -218,7 +218,6 @@ class ComponentbuilderModelLibrary_files_folders_urls extends JModelAdmin
}
}
return $form;
}

View File

@ -317,7 +317,6 @@ class ComponentbuilderModelServer extends JModelAdmin
}
}
return $form;
}

View File

@ -345,6 +345,7 @@ class ComponentbuilderModelSite_view extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -182,7 +182,6 @@ class ComponentbuilderModelSnippet extends JModelAdmin
}
}
return $form;
}

View File

@ -176,7 +176,6 @@ class ComponentbuilderModelSnippet_type extends JModelAdmin
}
}
return $form;
}

View File

@ -222,6 +222,7 @@ class ComponentbuilderModelTemplate extends JModelAdmin
}
}
// update all editors to use this components global editor
$global_editor = JComponentHelper::getParams('com_componentbuilder')->get('editor', 'none');
$editors = $form->getXml()->xpath("//field[@type='editor']");

View File

@ -208,7 +208,6 @@ class ComponentbuilderModelValidation_rule extends JModelAdmin
}
}
return $form;
}