Made changes to the compiler in relation to version control. Resolved gh-154 to insure string translation for state values. Added shortcuts in Joomla Component list view to all linked tables in their relationship with the Joomla Component

This commit is contained in:
2017-10-30 15:08:02 +02:00
parent ae3dedf0d0
commit 0ba5ec06fc
272 changed files with 438 additions and 371 deletions

View File

@ -227,7 +227,7 @@ class Infusion extends Interpretation
$viewName_single = ComponentbuilderHelper::safeString($view['settings']->name_single);
$viewName_list = ComponentbuilderHelper::safeString($view['settings']->name_list);
// set site edit view array
if ($view['edit_create_site_view'])
if (isset($view['edit_create_site_view']) && $view['edit_create_site_view'])
{
$site_edit_view_array[] = "\t\t\t\t'".$viewName_single."'";
$this->lang = 'both';
@ -379,7 +379,7 @@ class Infusion extends Interpretation
$this->fileContentDynamic[$viewName_single]['###VIEWCSS###'] = '';
}
// add css to front end
if ($view['edit_create_site_view'])
if (isset($view['edit_create_site_view']) && $view['edit_create_site_view'])
{
$this->fileContentDynamic[$viewName_single]['###SITE_VIEWCSS###']
= $this->fileContentDynamic[$viewName_single]['###VIEWCSS###'];
@ -603,7 +603,7 @@ class Infusion extends Interpretation
}
$this->fileContentStatic['###ROUTEHELPER###'] .= $this->setRouterHelp($viewName_single, $viewName_list);
if ($view['edit_create_site_view'])
if (isset($view['edit_create_site_view']) && $view['edit_create_site_view'])
{
// add needed router stuff for front edit views
$this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] .= $this->routerParseSwitch($viewName_single, null, false);