Add hidden options MAIN_HTML_HEADER and MAIN_HTML_FOOTER
This commit is contained in:
parent
0ce52bad02
commit
a34de44b79
@ -96,6 +96,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
else print "document.getElementById('password').focus();\n";
|
else print "document.getElementById('password').focus();\n";
|
||||||
print "}\n";
|
print "}\n";
|
||||||
print '</script>'."\n";
|
print '</script>'."\n";
|
||||||
|
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER."\n";
|
||||||
print '<!-- HTTP_USER_AGENT = '.$_SERVER["HTTP_USER_AGENT"].' -->'."\n";
|
print '<!-- HTTP_USER_AGENT = '.$_SERVER["HTTP_USER_AGENT"].' -->'."\n";
|
||||||
print '</head>'."\n";
|
print '</head>'."\n";
|
||||||
|
|
||||||
@ -313,6 +314,8 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
print '<!-- cookie name used for this session = '.session_name().' -->'."\n";
|
print '<!-- cookie name used for this session = '.session_name().' -->'."\n";
|
||||||
print '<!-- urlfrom in this session = '.(isset($_SESSION["urlfrom"])?$_SESSION["urlfrom"]:'').' -->'."\n";
|
print '<!-- urlfrom in this session = '.(isset($_SESSION["urlfrom"])?$_SESSION["urlfrom"]:'').' -->'."\n";
|
||||||
|
|
||||||
|
if (! empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER."\n";
|
||||||
|
|
||||||
// Fin entete html
|
// Fin entete html
|
||||||
print "\n</body>\n</html>";
|
print "\n</body>\n</html>";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -816,7 +816,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
|||||||
print '""];';
|
print '""];';
|
||||||
print '</script>'."\n";
|
print '</script>'."\n";
|
||||||
|
|
||||||
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER."<br>\n";
|
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER."\n";
|
||||||
|
|
||||||
print "</head>\n\n";
|
print "</head>\n\n";
|
||||||
}
|
}
|
||||||
@ -1212,7 +1212,7 @@ function llxFooter($foot='')
|
|||||||
print "\n";
|
print "\n";
|
||||||
if ($foot) print '<!-- '.$foot.' -->'."\n";
|
if ($foot) print '<!-- '.$foot.' -->'."\n";
|
||||||
|
|
||||||
if (! empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER."<br>\n";
|
if (! empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER."\n";
|
||||||
|
|
||||||
print "</body>\n";
|
print "</body>\n";
|
||||||
print "</html>\n";
|
print "</html>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user