MDL-15688: Modified version of TinyMCE that uses Moodle translation system. Includes a new compressed version of TinyMCE (this one compressed using YUI

compressor)
This commit is contained in:
scyrma
2008-08-01 09:08:48 +00:00
parent 2e4a8e0caa
commit 66d68c083d
6 changed files with 56 additions and 59 deletions
+3 -4
View File
@@ -1,13 +1,13 @@
<?php
define('NO_MOODLE_COOKIES', true);
require_once('../../../config.php');
$contexturl = optional_param('context', null, PARAM_URL);
$isdialog = optional_param('dlg', false, PARAM_BOOL);
$lang = optional_param('lang', 'en_utf8', PARAM_ALPHANUMEXT);
$SESSION->lang = $lang;
error_log($contexturl, 0);
$lang = substr(current_language(), 0, 2);
$output = '';
// get the keys from the reference english translations
@@ -57,7 +57,6 @@ if (!is_null($contexturl)) {
}
$output .= "}}});";
}
$lifetime = '86400';
@header('Content-type: text/javascript; charset=utf-8');
@header('Content-length: '.strlen($output));