Skip to content
Snippets Groups Projects
Commit 1687fda7 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: ajout possibilit de dsactiver la HEAD top_htmlhead() car l'autocompletion ne s'affichait plus

parent 2632248a
No related branches found
No related tags found
No related merge requests found
......@@ -525,7 +525,7 @@ else
* \param title Titre page web
* \param disablejs N'affiche pas les liens vers les js (Ex: qd fonction utilise par sous formulaire Ajax)
*/
function top_htmlhead($head, $title='', $disablejs=0)
function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0)
{
global $user, $conf, $langs, $db, $micro_start_time;
......@@ -542,6 +542,8 @@ function top_htmlhead($head, $title='', $disablejs=0)
//print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd>';
print "\n";
print "<html>\n";
if ($disablehead == 0)
{
print "<head>\n";
print $langs->lang_header();
......@@ -599,6 +601,7 @@ function top_htmlhead($head, $title='', $disablejs=0)
print "</head>\n";
}
}
/**
* \brief Affiche en-tete HTML + BODY + Barre de menu superieure
......
......@@ -28,7 +28,7 @@
require('../main.inc.php');
top_htmlhead("", "", 1);
top_htmlhead("", "", 1, 1);
print '<body id="mainbody">';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment