mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Remove encoding-related localization constants
This commit is contained in:
parent
f483c90ee2
commit
e76ded074c
@ -56,11 +56,10 @@ function start_xml_output()
|
||||
|
||||
function start_html_output()
|
||||
{
|
||||
$charset = getstring("output_charset");
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
header("Content-type: text/html" . (isset($charset) ? "; charset=" . $charset : ""));
|
||||
header("Content-type: text/html; charset=utf-8");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,3 @@
|
||||
encoding=utf-8
|
||||
output_charset=utf-8
|
||||
output_encoding=utf-8
|
||||
admin.content.client_agents=Create or delete company operators. Manage their permissions.
|
||||
admin.content.client_gen_button=Button HTML code generation.
|
||||
admin.content.client_settings=Specify options affecting chat window and common system behavior.
|
||||
|
@ -66,8 +66,6 @@ mailthread.perform
|
||||
mailthread.title
|
||||
notify.new.subject
|
||||
notify.new.text
|
||||
output_charset
|
||||
output_encoding
|
||||
page.chat.old_browser.close
|
||||
page.chat.old_browser.list
|
||||
page.chat.old_browser.problem
|
||||
|
@ -1,5 +1,3 @@
|
||||
encoding=utf-8
|
||||
|
||||
ar=العربية
|
||||
be=Беларуская
|
||||
bg=Български
|
||||
|
@ -104,22 +104,20 @@ if ($show == 's1') {
|
||||
}
|
||||
|
||||
foreach ($all_keys as $key) {
|
||||
if ($key != 'output_charset') {
|
||||
$t_source = htmlspecialchars($lang1[$key]);
|
||||
if (isset($lang2[$key])) {
|
||||
$value = htmlspecialchars($lang2[$key]);
|
||||
} else {
|
||||
$value = "<font color=\"#c13030\"><b>absent</b></font>";
|
||||
}
|
||||
$result[] = array(
|
||||
'id' => $key,
|
||||
'l1' => $t_source,
|
||||
'l2' => $value,
|
||||
'idToPage' => $key,
|
||||
'l1ToPage' => $t_source,
|
||||
'l2ToPage' => $value,
|
||||
);
|
||||
$t_source = htmlspecialchars($lang1[$key]);
|
||||
if (isset($lang2[$key])) {
|
||||
$value = htmlspecialchars($lang2[$key]);
|
||||
} else {
|
||||
$value = "<font color=\"#c13030\"><b>absent</b></font>";
|
||||
}
|
||||
$result[] = array(
|
||||
'id' => $key,
|
||||
'l1' => $t_source,
|
||||
'l2' => $value,
|
||||
'idToPage' => $key,
|
||||
'l1ToPage' => $t_source,
|
||||
'l2ToPage' => $value,
|
||||
);
|
||||
}
|
||||
|
||||
$order = verify_param("sort", "/^(id|l1)$/", "id");
|
||||
|
Loading…
Reference in New Issue
Block a user