From 5318e513c11cb70740056718bc5ca6baf70ed5d2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 21 Jul 2017 02:29:24 +0200 Subject: [PATCH] Debug module website --- htdocs/public/websites/index.php | 2 +- htdocs/websites/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/public/websites/index.php b/htdocs/public/websites/index.php index a2dcbfc3dc6..991ca11b683 100644 --- a/htdocs/public/websites/index.php +++ b/htdocs/public/websites/index.php @@ -177,7 +177,7 @@ if (! file_exists($original_file_osencoded)) // Output page content define('USEDOLIBARRSERVER', 1); -print "\n".'<!-- Page content '.$original_file.' : Html with CSS link + Body was saved into tpl -->'."\n"; +print '<!-- Page content '.$original_file.' : Html with CSS link + Body was saved into tpl -->'."\n"; include_once $original_file_osencoded; diff --git a/htdocs/websites/index.php b/htdocs/websites/index.php index 535c1a063df..0b621577463 100644 --- a/htdocs/websites/index.php +++ b/htdocs/websites/index.php @@ -1112,7 +1112,7 @@ if ($action == 'preview') { $objectpage->fetch($pageid); - $out = "\n".'<!-- Page content '.$filetpl.' : Div with (CSS + Page content from database) -->'."\n"; + $out = '<!-- Page content '.$filetpl.' : Div with (CSS + Page content from database) -->'."\n"; $out.='<div id="websitecontent" class="websitecontent">'."\n"; -- GitLab