Stable release of the automatic import of custom code, and the JCB manual placeholder implementation resolves #37 please view https://youtu.be/KiAtJawZ3oo

This commit is contained in:
2017-02-11 04:24:26 +02:00
parent 5b5599575b
commit de008d5907
200 changed files with 818 additions and 591 deletions

View File

@ -404,15 +404,15 @@ class ComponentbuilderViewFields extends JViewLegacy
// get model
$model = $this->getModel();
$results = array_unique($results);
$filter = array();
$_filter = array();
foreach ($results as $datatype)
{
// Translate the datatype selection
$text = $model->selectionTranslation($datatype,'datatype');
// Now add the datatype and its text to the options array
$filter[] = JHtml::_('select.option', $datatype, JText::_($text));
$_filter[] = JHtml::_('select.option', $datatype, JText::_($text));
}
return $filter;
return $_filter;
}
return false;
}
@ -440,15 +440,15 @@ class ComponentbuilderViewFields extends JViewLegacy
// get model
$model = $this->getModel();
$results = array_unique($results);
$filter = array();
$_filter = array();
foreach ($results as $indexes)
{
// Translate the indexes selection
$text = $model->selectionTranslation($indexes,'indexes');
// Now add the indexes and its text to the options array
$filter[] = JHtml::_('select.option', $indexes, JText::_($text));
$_filter[] = JHtml::_('select.option', $indexes, JText::_($text));
}
return $filter;
return $_filter;
}
return false;
}
@ -476,15 +476,15 @@ class ComponentbuilderViewFields extends JViewLegacy
// get model
$model = $this->getModel();
$results = array_unique($results);
$filter = array();
$_filter = array();
foreach ($results as $null_switch)
{
// Translate the null_switch selection
$text = $model->selectionTranslation($null_switch,'null_switch');
// Now add the null_switch and its text to the options array
$filter[] = JHtml::_('select.option', $null_switch, JText::_($text));
$_filter[] = JHtml::_('select.option', $null_switch, JText::_($text));
}
return $filter;
return $_filter;
}
return false;
}
@ -512,15 +512,15 @@ class ComponentbuilderViewFields extends JViewLegacy
// get model
$model = $this->getModel();
$results = array_unique($results);
$filter = array();
$_filter = array();
foreach ($results as $store)
{
// Translate the store selection
$text = $model->selectionTranslation($store,'store');
// Now add the store and its text to the options array
$filter[] = JHtml::_('select.option', $store, JText::_($text));
$_filter[] = JHtml::_('select.option', $store, JText::_($text));
}
return $filter;
return $_filter;
}
return false;
}