Fixed gh-417 edit layout by removing the one to many div's from the dynamic build method.
This commit is contained in:
parent
c966720f79
commit
6da9cb3d42
@ -150,7 +150,7 @@ TODO
|
|||||||
+ *Version*: 2.9.18
|
+ *Version*: 2.9.18
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 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*: **206669**
|
+ *Line count*: **206638**
|
||||||
+ *Field count*: **1136**
|
+ *Field count*: **1136**
|
||||||
+ *File count*: **1344**
|
+ *File count*: **1344**
|
||||||
+ *Folder count*: **209**
|
+ *Folder count*: **209**
|
||||||
|
@ -150,7 +150,7 @@ TODO
|
|||||||
+ *Version*: 2.9.18
|
+ *Version*: 2.9.18
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2019 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*: **206669**
|
+ *Line count*: **206638**
|
||||||
+ *Field count*: **1136**
|
+ *Field count*: **1136**
|
||||||
+ *File count*: **1344**
|
+ *File count*: **1344**
|
||||||
+ *Folder count*: **209**
|
+ *Folder count*: **209**
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="admin_custom_tabs.edit" />
|
<input type="hidden" name="task" value="admin_custom_tabs.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="admin_fields.edit" />
|
<input type="hidden" name="task" value="admin_fields.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="admin_fields_conditions.edit" />
|
<input type="hidden" name="task" value="admin_fields_conditions.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="admin_fields_relations.edit" />
|
<input type="hidden" name="task" value="admin_fields_relations.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -199,7 +199,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="admin_view.edit" />
|
<input type="hidden" name="task" value="admin_view.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_admin_views.edit" />
|
<input type="hidden" name="task" value="component_admin_views.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_config.edit" />
|
<input type="hidden" name="task" value="component_config.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_custom_admin_menus.edit" />
|
<input type="hidden" name="task" value="component_custom_admin_menus.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_custom_admin_views.edit" />
|
<input type="hidden" name="task" value="component_custom_admin_views.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_dashboard.edit" />
|
<input type="hidden" name="task" value="component_dashboard.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -111,7 +111,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_files_folders.edit" />
|
<input type="hidden" name="task" value="component_files_folders.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_mysql_tweaks.edit" />
|
<input type="hidden" name="task" value="component_mysql_tweaks.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_placeholders.edit" />
|
<input type="hidden" name="task" value="component_placeholders.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_site_views.edit" />
|
<input type="hidden" name="task" value="component_site_views.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="component_updates.edit" />
|
<input type="hidden" name="task" value="component_updates.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -193,14 +193,14 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
|
|||||||
|
|
||||||
// Set Main Get Name Selection
|
// Set Main Get Name Selection
|
||||||
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
|
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Main Get Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
|
||||||
isset($this->main_getNameOptions[0]->value) &&
|
isset($this->main_getNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->main_getNameOptions[0]);
|
unset($this->main_getNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Main Get Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
|
||||||
{
|
{
|
||||||
// Main Get Name Filter
|
// Main Get Name Filter
|
||||||
|
@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="custom_code.edit" />
|
<input type="hidden" name="task" value="custom_code.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -193,14 +193,14 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
|||||||
|
|
||||||
// Set Component System Name Selection
|
// Set Component System Name Selection
|
||||||
$this->componentSystem_nameOptions = JFormHelper::loadFieldType('Component')->options;
|
$this->componentSystem_nameOptions = JFormHelper::loadFieldType('Component')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Component System Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions) &&
|
||||||
isset($this->componentSystem_nameOptions[0]->value) &&
|
isset($this->componentSystem_nameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->componentSystem_nameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->componentSystem_nameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->componentSystem_nameOptions[0]);
|
unset($this->componentSystem_nameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Component System Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions))
|
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions))
|
||||||
{
|
{
|
||||||
// Component System Name Filter
|
// Component System Name Filter
|
||||||
|
@ -150,7 +150,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="dynamic_get.edit" />
|
<input type="hidden" name="task" value="dynamic_get.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -138,7 +138,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="field.edit" />
|
<input type="hidden" name="task" value="field.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -210,14 +210,14 @@ class ComponentbuilderViewFields extends JViewLegacy
|
|||||||
|
|
||||||
// Set Fieldtype Name Selection
|
// Set Fieldtype Name Selection
|
||||||
$this->fieldtypeNameOptions = JFormHelper::loadFieldType('Fieldtypes')->options;
|
$this->fieldtypeNameOptions = JFormHelper::loadFieldType('Fieldtypes')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Fieldtype Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions) &&
|
||||||
isset($this->fieldtypeNameOptions[0]->value) &&
|
isset($this->fieldtypeNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->fieldtypeNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->fieldtypeNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->fieldtypeNameOptions[0]);
|
unset($this->fieldtypeNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Fieldtype Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->fieldtypeNameOptions))
|
||||||
{
|
{
|
||||||
// Fieldtype Name Filter
|
// Fieldtype Name Filter
|
||||||
|
@ -130,7 +130,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="fieldtype.edit" />
|
<input type="hidden" name="task" value="fieldtype.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="help_document.edit" />
|
<input type="hidden" name="task" value="help_document.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -248,14 +248,14 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
|
|||||||
|
|
||||||
// Set Admin View Selection
|
// Set Admin View Selection
|
||||||
$this->admin_viewOptions = JFormHelper::loadFieldType('Adminviewfolderlist')->options;
|
$this->admin_viewOptions = JFormHelper::loadFieldType('Adminviewfolderlist')->options;
|
||||||
// We do some sanitation for Location filter
|
// We do some sanitation for Admin View filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions) &&
|
||||||
isset($this->admin_viewOptions[0]->value) &&
|
isset($this->admin_viewOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->admin_viewOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->admin_viewOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->admin_viewOptions[0]);
|
unset($this->admin_viewOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load Location filter if it has values
|
// Only load Admin View filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions))
|
if (ComponentbuilderHelper::checkArray($this->admin_viewOptions))
|
||||||
{
|
{
|
||||||
// Admin View Filter
|
// Admin View Filter
|
||||||
@ -278,14 +278,14 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
|
|||||||
|
|
||||||
// Set Site View Selection
|
// Set Site View Selection
|
||||||
$this->site_viewOptions = JFormHelper::loadFieldType('Siteviewfolderlist')->options;
|
$this->site_viewOptions = JFormHelper::loadFieldType('Siteviewfolderlist')->options;
|
||||||
// We do some sanitation for Location filter
|
// We do some sanitation for Site View filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->site_viewOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->site_viewOptions) &&
|
||||||
isset($this->site_viewOptions[0]->value) &&
|
isset($this->site_viewOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->site_viewOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->site_viewOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->site_viewOptions[0]);
|
unset($this->site_viewOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load Location filter if it has values
|
// Only load Site View filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->site_viewOptions))
|
if (ComponentbuilderHelper::checkArray($this->site_viewOptions))
|
||||||
{
|
{
|
||||||
// Site View Filter
|
// Site View Filter
|
||||||
|
@ -216,7 +216,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="joomla_component.edit" />
|
<input type="hidden" name="task" value="joomla_component.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="language.edit" />
|
<input type="hidden" name="task" value="language.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -100,7 +100,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="language_translation.edit" />
|
<input type="hidden" name="task" value="language_translation.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -193,14 +193,14 @@ class ComponentbuilderViewLayouts extends JViewLegacy
|
|||||||
|
|
||||||
// Set Dynamic Get Name Selection
|
// Set Dynamic Get Name Selection
|
||||||
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
|
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Dynamic Get Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
|
||||||
isset($this->dynamic_getNameOptions[0]->value) &&
|
isset($this->dynamic_getNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->dynamic_getNameOptions[0]);
|
unset($this->dynamic_getNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Dynamic Get Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
|
||||||
{
|
{
|
||||||
// Dynamic Get Name Filter
|
// Dynamic Get Name Filter
|
||||||
|
@ -183,14 +183,14 @@ class ComponentbuilderViewLibraries extends JViewLegacy
|
|||||||
|
|
||||||
// Set How Selection
|
// Set How Selection
|
||||||
$this->howOptions = JFormHelper::loadFieldType('Filebehaviour')->options;
|
$this->howOptions = JFormHelper::loadFieldType('Filebehaviour')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for How filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->howOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->howOptions) &&
|
||||||
isset($this->howOptions[0]->value) &&
|
isset($this->howOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->howOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->howOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->howOptions[0]);
|
unset($this->howOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load How filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->howOptions))
|
if (ComponentbuilderHelper::checkArray($this->howOptions))
|
||||||
{
|
{
|
||||||
// How Filter
|
// How Filter
|
||||||
|
@ -137,7 +137,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="library.edit" />
|
<input type="hidden" name="task" value="library.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="library_config.edit" />
|
<input type="hidden" name="task" value="library_config.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -111,7 +111,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="library_files_folders_urls.edit" />
|
<input type="hidden" name="task" value="library_files_folders_urls.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -106,7 +106,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="placeholder.edit" />
|
<input type="hidden" name="task" value="placeholder.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,7 +119,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="server.edit" />
|
<input type="hidden" name="task" value="server.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -193,14 +193,14 @@ class ComponentbuilderViewSite_views extends JViewLegacy
|
|||||||
|
|
||||||
// Set Main Get Name Selection
|
// Set Main Get Name Selection
|
||||||
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
|
$this->main_getNameOptions = JFormHelper::loadFieldType('Maingets')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Main Get Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions) &&
|
||||||
isset($this->main_getNameOptions[0]->value) &&
|
isset($this->main_getNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->main_getNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->main_getNameOptions[0]);
|
unset($this->main_getNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Main Get Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->main_getNameOptions))
|
||||||
{
|
{
|
||||||
// Main Get Name Filter
|
// Main Get Name Filter
|
||||||
|
@ -96,7 +96,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="snippet.edit" />
|
<input type="hidden" name="task" value="snippet.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="snippet_type.edit" />
|
<input type="hidden" name="task" value="snippet_type.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -198,14 +198,14 @@ class ComponentbuilderViewSnippets extends JViewLegacy
|
|||||||
|
|
||||||
// Set Type Name Selection
|
// Set Type Name Selection
|
||||||
$this->typeNameOptions = JFormHelper::loadFieldType('Snippettype')->options;
|
$this->typeNameOptions = JFormHelper::loadFieldType('Snippettype')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Type Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->typeNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->typeNameOptions) &&
|
||||||
isset($this->typeNameOptions[0]->value) &&
|
isset($this->typeNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->typeNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->typeNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->typeNameOptions[0]);
|
unset($this->typeNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Type Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->typeNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->typeNameOptions))
|
||||||
{
|
{
|
||||||
// Type Name Filter
|
// Type Name Filter
|
||||||
@ -228,14 +228,14 @@ class ComponentbuilderViewSnippets extends JViewLegacy
|
|||||||
|
|
||||||
// Set Library Name Selection
|
// Set Library Name Selection
|
||||||
$this->libraryNameOptions = JFormHelper::loadFieldType('Library')->options;
|
$this->libraryNameOptions = JFormHelper::loadFieldType('Library')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Library Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions) &&
|
||||||
isset($this->libraryNameOptions[0]->value) &&
|
isset($this->libraryNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->libraryNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->libraryNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->libraryNameOptions[0]);
|
unset($this->libraryNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Library Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->libraryNameOptions))
|
||||||
{
|
{
|
||||||
// Library Name Filter
|
// Library Name Filter
|
||||||
|
@ -193,14 +193,14 @@ class ComponentbuilderViewTemplates extends JViewLegacy
|
|||||||
|
|
||||||
// Set Dynamic Get Name Selection
|
// Set Dynamic Get Name Selection
|
||||||
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
|
$this->dynamic_getNameOptions = JFormHelper::loadFieldType('Dynamicget')->options;
|
||||||
// We do some sanitation for filter
|
// We do some sanitation for Dynamic Get Name filter
|
||||||
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
|
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions) &&
|
||||||
isset($this->dynamic_getNameOptions[0]->value) &&
|
isset($this->dynamic_getNameOptions[0]->value) &&
|
||||||
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
|
!ComponentbuilderHelper::checkString($this->dynamic_getNameOptions[0]->value))
|
||||||
{
|
{
|
||||||
unset($this->dynamic_getNameOptions[0]);
|
unset($this->dynamic_getNameOptions[0]);
|
||||||
}
|
}
|
||||||
// Only load filter if it has values
|
// Only load Dynamic Get Name filter if it has values
|
||||||
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
|
if (ComponentbuilderHelper::checkArray($this->dynamic_getNameOptions))
|
||||||
{
|
{
|
||||||
// Dynamic Get Name Filter
|
// Dynamic Get Name Filter
|
||||||
|
@ -107,7 +107,6 @@ $componentParams = $this->params; // will be removed just use $this->params inst
|
|||||||
<input type="hidden" name="task" value="validation_rule.edit" />
|
<input type="hidden" name="task" value="validation_rule.edit" />
|
||||||
<?php echo JHtml::_('form.token'); ?>
|
<?php echo JHtml::_('form.token'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user