| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 7 | <head> |
|---|
| 8 | <title>Replace Textarea by Code — CKEditor Sample</title> |
|---|
| 9 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 10 | <script type="text/javascript" src="../ckeditor_source.js"></script> |
|---|
| 11 | <script src="sample.js" type="text/javascript"></script> |
|---|
| 12 | <link href="sample.css" rel="stylesheet" type="text/css" /> |
|---|
| 13 | </head> |
|---|
| 14 | <body> |
|---|
| 15 | |
|---|
| 16 | <form action="sample_posteddata.php" method="post" name="testform"> |
|---|
| 17 | <p> |
|---|
| 18 | <label for="editor1"> |
|---|
| 19 | Editor 1:</label> |
|---|
| 20 | <textarea cols="80" id="message" name="message" rows="10"></textarea> |
|---|
| 21 | |
|---|
| 22 | <script type="text/javascript"> |
|---|
| 23 | CKEDITOR.replace("message", { |
|---|
| 24 | extraPlugins: 'bbcode', |
|---|
| 25 | fontSize_sizes: 'קטנטן/50%;קטן/85%;רגיל/100%;גדול/150%;ענק/200%', |
|---|
| 26 | toolbar: [ |
|---|
| 27 | ['Bold', 'Italic', 'Underline'], ['Undo', 'Redo'], ['NumberedList','BulletedList','-', 'Blockquote'], |
|---|
| 28 | ['Image', 'Link', 'Unlink'], |
|---|
| 29 | ['FontSize', 'TextColor' , 'Smiley'], ['Source'] |
|---|
| 30 | ], |
|---|
| 31 | smiley_path: 'http://www.alpha.liorbarkan.com/phpBB3/images/smilies/', |
|---|
| 32 | smiley_images: [ |
|---|
| 33 | 'icon_biggrin.gif','icon_smile.gif','icon_sad.gif','icon_surprised.gif','icon_eek.gif','icon_confused.gif','icon_cool.gif','icon_lol.gif','icon_mad.gif','icon_razz.gif','icon_redface.gif','icon_cry.gif','icon_evil.gif','icon_twisted.gif','icon_rolleyes.gif','icon_wink.gif','icon_exclaim.gif','icon_question.gif','icon_idea.gif','icon_arrow.gif','icon_neutral.gif','1luvu.gif','5000_p70099.gif','5000_p70105.gif','5000_p70150.gif','5000_p70153.gif','5000_p70157.gif','5000_p70158.gif','5000_p70159.gif' |
|---|
| 34 | ], |
|---|
| 35 | smiley_descriptions: [ |
|---|
| 36 | 'מאוד שמח','מחייך','עצוב','מופתע','המום','מבולבל','מגניב','צוחק','עצבני','חוצפן','מתבייש','בוכה או מאוד עצוב','רשע או מאוד עצבני','רשע מאוד','מגלגל עיניים','קורץ','סימן קריאה','סימן שאלה','רעיון','חץ','ללא הבעה','מאוהב','דופק את הראש בקיר','מסמיק','מה אתה קוקו?','בלון','תחתום','השטן','מתרפס אפיים ארצה' |
|---|
| 37 | ] |
|---|
| 38 | }); |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | </script> |
|---|
| 44 | </p> |
|---|
| 45 | <p> |
|---|
| 46 | <input type="submit" value="Submit" /> |
|---|
| 47 | </p> |
|---|
| 48 | </form> |
|---|
| 49 | |
|---|
| 50 | </body> |
|---|
| 51 | </html> |
|---|