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

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