diff --git a/htdocs/document.php b/htdocs/document.php
index 29d189f9a83d3b7046460d9ab424b9a439390297..2a04ba28a74e3c1437c3bcd849687eaa1b7727ea 100644
--- a/htdocs/document.php
+++ b/htdocs/document.php
@@ -40,11 +40,17 @@ if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1');
 if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
 
 /**
- * Wrapper, donc header vierge
+ * Header empty
  *
- * @return  null
+ * @return	void
  */
 function llxHeader() { }
+/**
+ * Footer empty
+ *
+ * @return	void
+ */
+function llxFooter() { }
 
 require 'main.inc.php';	// Load $user and permissions
 require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
diff --git a/htdocs/public/emailing/mailing-read.php b/htdocs/public/emailing/mailing-read.php
index d29bb0fefc4a1d3650da6cac9613b8cc9fda53a8..e44342278f0f177c99eba2cd46019b8e5c13917c 100644
--- a/htdocs/public/emailing/mailing-read.php
+++ b/htdocs/public/emailing/mailing-read.php
@@ -31,6 +31,20 @@ if (! defined('NOCSRFCHECK'))    define('NOCSRFCHECK','1');		// Do not check ant
 if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1');	// Do not check anti POST attack test
 if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');	// If there is no need to load and show top and left menu
 
+/**
+ * Header empty
+ *
+ * @return	void
+ */
+function llxHeader() { }
+/**
+ * Footer empty
+ *
+ * @return	void
+ */
+function llxFooter() { }
+
+
 require '../../main.inc.php';
 
 $tag=GETPOST('tag');
diff --git a/htdocs/public/emailing/mailing-unsubscribe.php b/htdocs/public/emailing/mailing-unsubscribe.php
index c1245ace0adbde3647773a70583cfe0d0639ea04..8585b19cd4a5a4ae99cfbd7774464a75d5bf2adf 100644
--- a/htdocs/public/emailing/mailing-unsubscribe.php
+++ b/htdocs/public/emailing/mailing-unsubscribe.php
@@ -29,6 +29,20 @@ if (! defined('NOLOGIN'))        define("NOLOGIN",1);			// This means this outpu
 if (! defined('NOCSRFCHECK'))    define('NOCSRFCHECK','1');		// Do not check anti CSRF attack test
 if (! defined('NOREQUIREMENU'))  define('NOREQUIREMENU','1');	// If there is no need to load and show top and left menu
 
+/**
+ * Header empty
+ *
+ * @return	void
+ */
+function llxHeader() { }
+/**
+ * Footer empty
+ *
+ * @return	void
+ */
+function llxFooter() { }
+
+
 require '../../main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
 
diff --git a/htdocs/viewimage.php b/htdocs/viewimage.php
index 0eb74e30f887778cf4cf0aaec7dcab4802c25e81..01f8ea84b5524afe553d0c80ecce3b1f1783fe87 100644
--- a/htdocs/viewimage.php
+++ b/htdocs/viewimage.php
@@ -36,13 +36,18 @@ if (! defined('NOREQUIREAJAX'))  define('NOREQUIREAJAX','1');
 // Pour autre que companylogo, on charge environnement + info issus de logon comme le user
 if ((isset($_GET["modulepart"]) && $_GET["modulepart"] == 'companylogo') && ! defined("NOLOGIN")) define("NOLOGIN",'1');
 
-
 /**
- * Wrapper, donc header vierge
+ * Header empty
  *
- * @return  null
+ * @return	void
  */
 function llxHeader() { }
+/**
+ * Footer empty
+ *
+ * @return	void
+ */
+function llxFooter() { }
 
 require 'main.inc.php';
 require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';