From 278910b66b70f60e0f60010cc0288a55cbd5ffeb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 14 Oct 2018 14:26:18 +0200 Subject: [PATCH] Fix website --- htdocs/website/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 1d277c32ed7..0cf6380d1b8 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1943,6 +1943,7 @@ if (count($object->records) > 0) // There is at least one web site print ''; + print ''."\n"; print '
'; print '
'; print $langs->trans("EditInLine"); @@ -1966,12 +1967,12 @@ if (count($object->records) > 0) // There is at least one web site print '
'; print '
'; print $langs->trans("ShowSubcontainers"); - if ($websitepage->grabbed_from) + /*if ($websitepage->grabbed_from) { print ''.img_picto($langs->trans("OnlyEditionOfSourceForGrabbedContent"),'switch_off','',false,0,0,'','nomarginleft').''; } else - { + {*/ if (empty($conf->global->WEBSITE_SUBCONTAINERSINLINE)) { print ''.img_picto($langs->trans("ShowSubContainersOff"),'switch_off','',false,0,0,'','nomarginleft').''; @@ -1980,7 +1981,7 @@ if (count($object->records) > 0) // There is at least one web site { print ''.img_picto($langs->trans("ShowSubContainersOn"),'switch_on','',false,0,0,'','nomarginleft').''; } - } + /*}*/ print '
'; print '
';