Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
1687fda7
Commit
1687fda7
authored
18 years ago
by
Regis Houssin
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/main.inc.php
+7
-4
7 additions, 4 deletions
htdocs/main.inc.php
htdocs/societe/ajaxcountries.php
+1
-1
1 addition, 1 deletion
htdocs/societe/ajaxcountries.php
with
8 additions
and
5 deletions
htdocs/main.inc.php
+
7
−
4
View file @
1687fda7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
htdocs/societe/ajaxcountries.php
+
1
−
1
View file @
1687fda7
...
...
@@ -28,7 +28,7 @@
require
(
'../main.inc.php'
);
top_htmlhead
(
""
,
""
,
1
);
top_htmlhead
(
""
,
""
,
1
,
1
);
print
'<body id="mainbody">'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment