[svn r18253] FS#2867 - FCKEditor, Learnig paths tool: Adding a calculation mechanism for the settings of the online editor. The editor has to work properly with lp-items that are documents stored in Documents tool (on the root or in subfolders).
$_SESSION['oLP']->update_queue = array(); //reinitialises array used by javascript to update items in the TOC
$_SESSION['oLP']->message = ''; //should use ->clear_message() method but doesn't work
$fck_attribute['Width'] = '100%';
$fck_attribute['Height'] = '950';
// Some common default settings for the online editor. Other settings are calculated in formvalidator module.
// For editing document type lp-items specific settings are set/calculated, see learnpath.class.php
$fck_attribute['ToolbarSet'] = 'Full';
$fck_attribute['Config']['FullPage'] = true;
$fck_attribute['Config']['InDocument'] = false;
$fck_attribute['Config']['CreateDocumentDir'] = '/'; // this means that fck editor will add the mp3, video files like this audio/fil.mp3 and not the absolute path