Adding tinymce needed defaults and new $CFG property 'editorsrc'

This commit is contained in:
julmis 2006-03-04 14:52:50 +00:00
parent 1b1d34225b
commit c2db12af42
2 changed files with 15 additions and 3 deletions

View file

@ -8,6 +8,13 @@
if(!empty($CFG->aspellpath)) { // Enable global access to spelling feature.
echo '<script language="JavaScript" type="text/javascript" src="'.$CFG->httpswwwroot.'/lib/speller/spellChecker.js"></script>'."\n";
}
if ( !empty($CFG->editorsrc) ) {
foreach ( $CFG->editorsrc as $scriptsource ) {
echo '<script language="javascript" type="text/javascript" src="'. $scriptsource .'"></script>'."\n";
}
}
?>
<!--<style type="text/css">/*<![CDATA[*/ body{behavior:url(<?php echo $CFG->httpswwwroot ?>/lib/csshover.htc);} /*]]>*/</style>-->