Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
2ca2bec3
Commit
2ca2bec3
authored
Jun 05, 2011
by
Alexis Lahouze
Browse files
Merged changeset 3036 from branch stable 1.0 to trunk.
parent
bd61ae98
Changes
4
Hide whitespace changes
Inline
Side-by-side
bureau/admin/head.php
View file @
2ca2bec3
...
...
@@ -27,7 +27,7 @@
Purpose of file: Main header of all html files
----------------------------------------------------------------------
*/
if
(
!
$charset
)
$charset
=
"
iso-8859-1
"
;
if
(
!
$charset
)
$charset
=
"
UTF-8
"
;
@
header
(
"Content-Type: text/html; charset=
$charset
"
);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
...
bureau/admin/index.php
View file @
2ca2bec3
...
...
@@ -41,6 +41,9 @@ $H=getenv("HTTP_HOST");
if
(
!
isset
(
$restrictip
))
{
$restrictip
=
1
;
}
if
(
!
$charset
)
$charset
=
"UTF-8"
;
@
header
(
"Content-Type: text/html; charset=
$charset
"
);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"fr"
lang=
"fr"
>
...
...
@@ -48,7 +51,7 @@ if (!isset($restrictip)) {
<title>
AlternC Desktop
</title>
<link
rel=
"stylesheet"
href=
"styles/style.css"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"js/alternc.js"
></script>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=
iso-8859-1
"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=
<?php
echo
$charset
;
?>
"
/>
</head>
<body>
...
...
bureau/admin/mem_logout.php
View file @
2ca2bec3
...
...
@@ -31,13 +31,16 @@ require_once("../class/config.php");
$mem
->
del_session
();
if
(
!
$charset
)
$charset
=
"UTF-8"
;
@
header
(
"Content-Type: text/html; charset=
$charset
"
);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"fr"
lang=
"fr"
>
<head>
<title>
<?php
__
(
"Disconnected"
);
?>
</title>
<link
rel=
"stylesheet"
href=
"styles/style.css"
type=
"text/css"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=
iso-8859-1
"
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=
<?php
echo
$charset
;
?>
"
/>
</head>
<body
style=
"margin: 20px;"
>
<h3
style=
"text-align: center"
>
<?php
__
(
"Disconnected"
);
?>
</h3>
...
...
bureau/class/lang_env.php
View file @
2ca2bec3
...
...
@@ -69,5 +69,7 @@ textdomain("alternc");
if
(
_
(
""
)
&&
preg_match
(
"#charset=([A-Za-z0-9\.-]*)#"
,
_
(
""
),
$mat
))
{
$charset
=
$mat
[
1
];
}
if
(
!
$charset
)
$charset
=
"UTF-8"
;
bind_textdomain_codeset
(
"alternc"
,
"
$charset
"
);
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment