mirror of
https://github.com/moodle/moodle.git
synced 2025-01-20 15:08:32 +01:00
161 lines
6.6 KiB
HTML
161 lines
6.6 KiB
HTML
|
<P ALIGN=CENTER><B>About the Richtext HTML editor</B></P>
|
||
|
|
||
|
<P>Availability: <B>
|
||
|
<? if (!$CFG->htmleditor) {
|
||
|
print_string("htmleditordisabledadmin");
|
||
|
} else if (!$USER->htmleditor) {
|
||
|
print_string("htmleditordisabled");
|
||
|
} else if (!can_use_richtext_editor()) {
|
||
|
print_string("htmleditordisabledbrowser");
|
||
|
} else {
|
||
|
print_string("htmleditoravailable");
|
||
|
}
|
||
|
?>
|
||
|
</B></P>
|
||
|
|
||
|
<P>The Richtext HTML editor provides a word-processor interface embedded in your web page to allow you to edit text in an intuitive way, and produces normal HTML code.
|
||
|
|
||
|
<P>In addition to formatting text, this editor provides a number of extra features you may find useful.
|
||
|
|
||
|
<P><B>Paste text in from other Applications</B></P>
|
||
|
<UL>
|
||
|
<P>You can cut and paste rich text from other Windows applications such as Microsoft Word
|
||
|
straight into this editor, and your formatting will be preserved. Just use the normal cut and paste
|
||
|
menus in your web browser (or Control-C and Control-V).
|
||
|
</UL>
|
||
|
|
||
|
<P><B>Inserting images <img border="0" hspace="10" src="lib/rte/images/icon_ins_image.gif"></B></P>
|
||
|
<UL>
|
||
|
<P>If you have images that are already published on a web site and accessible via a URL, you can include these images in your texts using the "Insert Image" button.
|
||
|
</UL>
|
||
|
|
||
|
<P><B>Inserting Tables <img border="0" hspace="10" src="lib/rte/images/icon_ins_table.gif"></B></P>
|
||
|
<UL>
|
||
|
<P>To add layout to your texts, you can use the "Insert Tables" button in the toolbar.
|
||
|
</UL>
|
||
|
|
||
|
<P><B>Inserting Links <img border="0" hspace="10" src="lib/rte/images/icon_ins_link.gif"></B></P>
|
||
|
<UL>
|
||
|
<P>To make a new link, first type the text that you want to be a link. Then select it and click the link button in the toolbar. Type the URL you want to link to and it's done!
|
||
|
</UL>
|
||
|
|
||
|
|
||
|
<P><B>Inserting smilies (emoticons) <img border="0" hspace="10" src="pix/s/smiley.gif" width="15" height="15"></B></P>
|
||
|
<UL>
|
||
|
<P>To embed these small icons in your text, click on the smiley icon in the toolbar. A dialog will pop up that allows you to select from the following smiley icons. (Alternatively, you can just type the corresponding code straight into your text and it will be converted later when your text is displayed).
|
||
|
|
||
|
<table border="1">
|
||
|
<tr valign="top">
|
||
|
<td>
|
||
|
<table border="0" align="center" cellpadding="10">
|
||
|
<tr>
|
||
|
<td><img border="0" hspace="10" src="pix/s/smiley.gif" width="15" height="15"></td>
|
||
|
<td>smile</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/biggrin.gif" width="15" height="15"></td>
|
||
|
<td>big grin</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-D</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/wink.gif" width="15" height="15"></td>
|
||
|
<td>wink</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>;-)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/mixed.gif" width="15" height="15"></td>
|
||
|
<td>mixed</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-/</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/thoughtful.gif" width="15" height="15"></td>
|
||
|
<td>thoughtful</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>V-.</FONT></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/tongueout.gif" width="15" height="15"></td>
|
||
|
<td>tongue out</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-P</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/cool.gif" width="15" height="15"></td>
|
||
|
<td>cool</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>B-)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/approve.gif" width="15" height="15"></td>
|
||
|
<td>approve</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>^-)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/wideeyes.gif" width="15" height="15"></td>
|
||
|
<td>wide eyes</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>8-)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/surprise.gif" width="15" height="15"></td>
|
||
|
<td>surprise</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>8-o</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td>
|
||
|
<table border="0" align="center" cellpadding="10">
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/sad.gif" width="15" height="15"></td>
|
||
|
<td>sad</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-(</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/shy.gif" width="15" height="15"></td>
|
||
|
<td>shy</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>8-.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/blush.gif" width="15" height="15"></td>
|
||
|
<td>blush</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-I</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/kiss.gif" width="15" height="15"></td>
|
||
|
<td>kisses</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:-X</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/clown.gif" width="15" height="15"></td>
|
||
|
<td>clown</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>:o)</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/blackeye.gif" width="15" height="15"></td>
|
||
|
<td>black eye</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>P-|</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/angry.gif" width="15" height="15"></td>
|
||
|
<td>angry</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>8-[</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/dead.gif" width="15" height="15"></td>
|
||
|
<td>dead</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>xx-P</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/sleepy.gif" width="15" height="15"></td>
|
||
|
<td>sleepy</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>|-.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td><img alt border="0" hspace="10" src="pix/s/evil.gif" width="15" height="15"></td>
|
||
|
<td>evil</td>
|
||
|
<td NOWRAP><FONT FACE=Courier>}-]</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</table>
|
||
|
|
||
|
</UL>
|
||
|
|
||
|
|