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

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