From 0ce52bad02b9a06278b085cfe5632ad285dff041 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Fri, 16 Oct 2009 17:15:32 +0000
Subject: [PATCH] Add hidden options MAIN_HTML_HEADER and MAIN_HTML_FOOTER

---
 htdocs/main.inc.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 2352bbfe7b4..8c0aa8b5168 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -816,6 +816,8 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
 		print '""];';
 		print '</script>'."\n";
 
+		if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER."<br>\n";
+
 		print "</head>\n\n";
 	}
 }
@@ -1210,6 +1212,8 @@ function llxFooter($foot='')
 	print "\n";
 	if ($foot) print '<!-- '.$foot.' -->'."\n";
 
+	if (! empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER."<br>\n";
+
 	print "</body>\n";
 	print "</html>\n";
 }
-- 
GitLab