1 <h1>About the Richtext HTML editor
</h1>
4 <?php if (!$CFG->htmleditor
) {
5 print_string("htmleditordisabledadmin");
6 } else if (!$USER->htmleditor
) {
7 print_string("htmleditordisabled");
8 } else if (!can_use_richtext_editor()) {
9 print_string("htmleditordisabledbrowser");
11 print_string("htmleditoravailable");
16 <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>
18 <p>In addition to formatting text, this editor provides a number of extra features you may find useful.
20 <h2>Paste text in from other Applications
</h2>
22 <p>You can cut and paste rich text from other Windows applications such as Microsoft Word
23 straight into this editor, and your formatting will be preserved. Just use the normal cut and paste
24 menus in your web browser (or Control-C and Control-V).
</p>
27 <h2>Inserting images
<img alt=
"" src=
"lib/editor/htmlarea/images/ed_image.gif" /></h2>
29 <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.
</p>
32 <h2>Inserting Tables
<img alt=
"" src=
"lib/editor/htmlarea/images/insert_table.gif" /></h2>
34 <p>To add layout to your texts, you can use the
"Insert Tables" button in the toolbar.
37 <h2>Inserting Links
<img alt=
"" src=
"lib/editor/htmlarea/images/ed_link.gif" /> /
</h2>
39 <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!
</p>
43 <h2>Inserting smilies (emoticons)
<img alt=
"" src=
"pix/s/smiley.gif" class=
"icon" /></h2>
45 <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).
</p>
50 <table border=
"0" align=
"center" cellpadding=
"10">
52 <td><img alt=
"" src=
"pix/s/smiley.gif" class=
"icon" /></td>
54 <td nowrap=
"nowrap"><code>:-)
</code></td>
57 <td><img alt=
"" src=
"pix/s/biggrin.gif" class=
"icon" /></td>
59 <td nowrap=
"nowrap"><code>:-D
</code></td>
62 <td><img alt=
"" src=
"pix/s/wink.gif" class=
"icon" /></td>
64 <td nowrap=
"nowrap"><code>;-)
</code></td>
67 <td><img alt=
"" src=
"pix/s/mixed.gif" class=
"icon" /></td>
69 <td nowrap=
"nowrap"><code>:-/
</code></td>
72 <td><img alt=
"" src=
"pix/s/thoughtful.gif" class=
"icon" /></td>
74 <td nowrap=
"nowrap"><code>V-.
</code></td>
77 <td><img alt=
"" src=
"pix/s/tongueout.gif" class=
"icon" /></td>
79 <td nowrap=
"nowrap"><code>:-P
</code></td>
82 <td><img alt=
"" src=
"pix/s/cool.gif" class=
"icon" /></td>
84 <td nowrap=
"nowrap"><code>B-)
</code></td>
87 <td><img alt=
"" src=
"pix/s/approve.gif" class=
"icon" /></td>
89 <td nowrap=
"nowrap"><code>^-)
</code></td>
92 <td><img alt=
"" src=
"pix/s/wideeyes.gif" class=
"icon" /></td>
94 <td nowrap=
"nowrap"><code>8-)
</code></td>
97 <td><img alt=
"" src=
"pix/s/surprise.gif" class=
"icon" /></td>
99 <td nowrap=
"nowrap"><code>8-o
</code></td>
104 <table border=
"0" align=
"center" cellpadding=
"10">
106 <td><img alt=
"" src=
"pix/s/sad.gif" class=
"icon" /></td>
108 <td nowrap=
"nowrap"><code>:-(
</code></td>
111 <td><img alt=
"" src=
"pix/s/shy.gif" class=
"icon" /></td>
113 <td nowrap=
"nowrap"><code>8-.
</code></td>
116 <td><img alt=
"" src=
"pix/s/blush.gif" class=
"icon" /></td>
118 <td nowrap=
"nowrap"><code>:-I
</code></td>
121 <td><img alt=
"" src=
"pix/s/kiss.gif" class=
"icon" /></td>
123 <td nowrap=
"nowrap"><code>:-X
</code></td>
126 <td><img alt=
"" src=
"pix/s/clown.gif" class=
"icon" /></td>
128 <td nowrap=
"nowrap"><code>:o)
</code></td>
131 <td><img alt=
"" src=
"pix/s/blackeye.gif" class=
"icon" /></td>
133 <td nowrap=
"nowrap"><code>P-|
</code></td>
136 <td><img alt=
"" src=
"pix/s/angry.gif" class=
"icon" /></td>
138 <td nowrap=
"nowrap"><code>8-[
</code></td>
141 <td><img alt=
"" src=
"pix/s/dead.gif" class=
"icon" /></td>
143 <td nowrap=
"nowrap"><code>xx-P
</code></td>
146 <td><img alt=
"" src=
"pix/s/sleepy.gif" class=
"icon" /></td>
148 <td nowrap=
"nowrap"><code>|-.
</code></td>
151 <td><img alt=
"" src=
"pix/s/evil.gif" class=
"icon" /></td>
153 <td nowrap=
"nowrap"><code>}-]
</code></td>