mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Adding tinymce needed defaults and new $CFG property 'editorsrc'
This commit is contained in:
parent
1b1d34225b
commit
c2db12af42
2 changed files with 15 additions and 3 deletions
|
@ -71,15 +71,15 @@
|
|||
'notifyloginthreshold' => 10,
|
||||
'opentogoogle' => false,
|
||||
'pathtoclam' => '',
|
||||
'pathtodu' => '',
|
||||
'pathtodu' => '',
|
||||
'prefix' => '',
|
||||
'perfdebug' => 0,
|
||||
'proxyhost' => '',
|
||||
'proxyport' => '',
|
||||
'quarantinedir' => '',
|
||||
'requestedteachername' => '',
|
||||
'requestedteachername' => '',
|
||||
'requestedteachersname' => '',
|
||||
'requestedstudentname' => '',
|
||||
'requestedstudentname' => '',
|
||||
'requestedstudentsname' => '',
|
||||
'restrictmodulesfor' => 'none',
|
||||
'restrictbydefault' => 0,
|
||||
|
@ -106,6 +106,11 @@
|
|||
'theme' => 'standardwhite',
|
||||
'themelist' => '',
|
||||
'timezone' => 99,
|
||||
'tinymceplugins' => 'advimage,fullscreen',
|
||||
'tinymcetheme' => 'advanced',
|
||||
'tinymcecontentcss' => $CFG->httpswwwroot .'/lib/editor/tinymce/moodlecontent.css',
|
||||
'tinymcepopupcss' => '',
|
||||
'tinymceeditorcss' => '',
|
||||
'unzip' => '',
|
||||
'zip' => ''
|
||||
);
|
||||
|
|
|
@ -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>-->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue