From a4073dddd457f7b96b4468107418506ce76513eb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Mon, 15 Apr 2013 15:43:25 +0200 Subject: [PATCH] Doxygen llxHeader and llxFooter. --- htdocs/document.php | 10 ++++++++-- htdocs/public/emailing/mailing-read.php | 14 ++++++++++++++ htdocs/public/emailing/mailing-unsubscribe.php | 14 ++++++++++++++ htdocs/viewimage.php | 11 ++++++++--- 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/htdocs/document.php b/htdocs/document.php index 29d189f9a83..2a04ba28a74 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 d29bb0fefc4..e44342278f0 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 c1245ace0ad..8585b19cd4a 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 0eb74e30f88..01f8ea84b55 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'; -- GitLab