From 33130853c83fec88e68f2405bc25a729bce6fc0a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 28 Sep 2018 00:59:02 +0200 Subject: [PATCH] Fix website --- htdocs/website/index.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index c3facf51551..19c9c31da71 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -1937,16 +1937,15 @@ if (count($object->records) > 0) // There is at least one web site print '
'; print '
'; + print $langs->trans("EditInLine"); if ($websitepage->grabbed_from) { //print ''; - $langs->trans("EditInLine"); - print ''.img_picto($langs->trans("EditInLineOff"),'switch_off','',false,0,0,'','nomarginleft').''; + print ''.img_picto($langs->trans("OnlyEditionOfSourceForGrabbedContent"),'switch_off','',false,0,0,'','nomarginleft').''; } else { //print ''; - print $langs->trans("EditInLine"); if (empty($conf->global->WEBSITE_EDITINLINE)) { print ''.img_picto($langs->trans("EditInLineOff"),'switch_off','',false,0,0,'','nomarginleft').''; @@ -1959,13 +1958,20 @@ if (count($object->records) > 0) // There is at least one web site print '
'; print ''; print '
';