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

@@ -363,15 +363,15 @@ class ComponentbuilderViewHelp_documents 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;
}
@@ -399,15 +399,15 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
// get model
$model = $this->getModel();
$results = array_unique($results);
$filter = array();
$_filter = array();
foreach ($results as $location)
{
// Translate the location selection
$text = $model->selectionTranslation($location,'location');
// Now add the location and its text to the options array
$filter[] = JHtml::_('select.option', $location, JText::_($text));
$_filter[] = JHtml::_('select.option', $location, JText::_($text));
}
return $filter;
return $_filter;
}
return false;
}