Add hidden options MAIN_HTML_HEADER and MAIN_HTML_FOOTER

This commit is contained in:
Laurent Destailleur 2009-10-16 17:15:32 +00:00
parent ba610d29c7
commit 0ce52bad02

View File

@ -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";
}