added content-type header with correct charset to override the webservers default

This commit is contained in:
Ralf Becker 2004-11-15 08:51:18 +00:00
parent 6ef1f7113c
commit f0d65a40f3
9 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea');
// I18N constants

View File

@ -25,6 +25,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('jscalendar');
$dateformat = $GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-ContextMenu');
// I18N constants

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-FullPage');
// I18N for the FullPage plugin

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-HtmlTidy');
// I18N constants

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-ListType');
// I18N constants

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-SpellChecker');
// I18N constants

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-TableOperations');
// I18N constants

View File

@ -24,6 +24,7 @@ $GLOBALS['phpgw_info']['flags'] = Array(
);
include('../../../../../../header.inc.php');
header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset());
$GLOBALS['phpgw']->translation->add_app('htmlarea-SpellChecker');
// I18N for the FullPage plugin