Changes to integrate the new HTML editor into Moodle in an optional way

until it's stable enough to replace Richtext

To enable the new editor, add this line into config.php:

  $CFG->useneweditor = true;
This commit is contained in:
moodler 2003-10-29 08:06:11 +00:00
parent a800c94891
commit 4c46c425db
8 changed files with 299 additions and 73 deletions

70
lang/en/editor.php Normal file
View file

@ -0,0 +1,70 @@
<?php // $Id$
// Strings for the HTML editor
$string['bold'] = "Bold";
$string['italic'] = "Italic";
$string['underline'] = "Underline";
$string['strikethrough'] = "Strikethrough";
$string['subscript'] = "Subscript";
$string['superscript'] = "Superscript";
$string['justifyleft'] = "Justify Left";
$string['justifycenter'] = "Justify Center";
$string['justifyright'] = "Justify Right";
$string['justifyfull'] = "Justify Full";
$string['orderedlist'] = "Ordered List";
$string['unorderedlist'] = "Bulleted List";
$string['outdent'] = "Decrease Indent";
$string['indent'] = "Increase Indent";
$string['forecolor'] = "Font Color";
$string['hilitecolor'] = "Background Color";
$string['horizontalrule'] = "Horizontal Rule";
$string['createlink'] = "Insert Web Link";
$string['insertimage'] = "Insert Image";
$string['inserttable'] = "Insert Table";
$string['htmlmode'] = "Toggle HTML Source";
$string['popupeditor'] = "Enlarge Editor";
$string['about'] = "About this editor";
$string['showhelp'] = "Help using editor";
$string['textindicator'] = "Current style";
$string['undo'] = "Undo your last action";
$string['redo'] = "Redo your last action";
$string['cut'] = "Cut selection";
$string['copy'] = "Copy selection";
$string['paste'] = "Paste from clipboard";
$string['ok'] = "OK";
$string['cancel'] = "Cancel";
$string['browse'] = "Browse";
$string['imageurl'] = "Image URL";
$string['preview'] = "Preview";
$string['alternatetext'] = "Alternate text";
$string['alignment'] = "Alignment";
$string['layout'] = "Layout";
$string['spacing'] = "Spacing";
$string['borderthickness'] = "Border thickness";
$string['horizontal'] = "Horizontal";
$string['vertical'] = "Vertical";
$string['notset'] = "Not Set";
$string['left'] = "Left";
$string['right'] = "Right";
$string['texttop'] = "Texttop";
$string['baseline'] = "Baseline";
$string['absbottom'] = "Absbottom";
$string['bottom'] = "Bottom";
$string['middle'] = "Middle";
$string['top'] = "Top";
$string['absmiddle'] = "Absmiddle";
$string['rows'] = "Rows";
$string['cols'] = "Cols";
$string['width'] = "Width";
$string['percent'] = "Percent";
$string['pixels'] = "Pixels";
$string['cellspacing'] = "Cellspacing";
$string['cellpadding'] = "Cellpadding";
$string['close'] = "Close";
$string['chooseicon'] = "Choose an icon to insert";
$string['choosechar'] = "Choose Character";
$string['insertsmile'] = "Insert smile";
$string['insertchar'] = "Insert Special Character";
$string['Path'] = "Path";
$string['TEXT_MODE'] = "You are in TEXT MODE. Use the [<>] button to switch back to WYSIWIG."
?>

View file

@ -371,7 +371,7 @@ $string['helpindex'] = "Index of all help files";
$string['helppicture'] = "How to upload a picture";
$string['helpreading'] = "Read carefully";
$string['helptext'] = "How to write text";
$string['helprichtext'] = "About Richtext editor";
$string['helprichtext'] = "About the HTML editor";
$string['helpsummaries'] = "About these summaries";
$string['helpquestions'] = "Ask good questions";
$string['helpwiki'] = "How to write Wiki text";
@ -384,11 +384,11 @@ $string['home'] = "Home";
$string['hour'] = "hour";
$string['hours'] = "hours";
$string['howtomakethemes'] = "How to make new themes";
$string['htmleditor'] = "Use Richtext HTML editor (IE only, 5.5 or later)";
$string['htmleditoravailable'] = "The Richtext editor is available";
$string['htmleditordisabled'] = "You have disabled the Richtext editor in your user profile";
$string['htmleditordisabledadmin'] = "The administrator has disabled the Richtext editor on this site";
$string['htmleditordisabledbrowser'] = "The Richtext editor is unavailable because you are not using Internet Explorer 5.5 or better";
$string['htmleditor'] = "Use HTML editor (some browsers only)";
$string['htmleditoravailable'] = "The HTML editor is available";
$string['htmleditordisabled'] = "You have disabled the HTML editor in your user profile";
$string['htmleditordisabledadmin'] = "The administrator has disabled the HTML editor on this site";
$string['htmleditordisabledbrowser'] = "The HTML editor is unavailable because your web browser is not compatible";
$string['htmlformat'] = "Pretty HTML format";
$string['icqnumber'] = "ICQ number";
$string['idnumber'] = "ID number";