1 | <?php |
---|
2 | header("Content-Type: application/xhtml+xml;charset=UTF-8"); |
---|
3 | ?> |
---|
4 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
5 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
6 | <!-- |
---|
7 | Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. |
---|
8 | For licensing, see LICENSE.html or http://ckeditor.com/license |
---|
9 | --> |
---|
10 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
11 | <head> |
---|
12 | <title>Sample - CKEditor</title> |
---|
13 | <script type="text/javascript" src="../ckeditor_source.js"></script> |
---|
14 | <script src="sample.js" type="text/javascript"></script> |
---|
15 | <link href="sample.css" rel="stylesheet" type="text/css"/> |
---|
16 | </head> |
---|
17 | <body> |
---|
18 | <script type="text/javascript"> |
---|
19 | </script> |
---|
20 | |
---|
21 | |
---|
22 | <h1> |
---|
23 | CKEditor Sample |
---|
24 | </h1> |
---|
25 | <!-- This <div> holds alert messages to be display in the sample page. --> |
---|
26 | <div id="alerts"> |
---|
27 | <noscript> |
---|
28 | <p> |
---|
29 | <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript |
---|
30 | support, like yours, you should still see the contents (HTML data) and you should |
---|
31 | be able to edit it normally, without a rich editor interface. |
---|
32 | </p> |
---|
33 | </noscript> |
---|
34 | </div> |
---|
35 | <!-- This <fieldset> holds the HTML that you will usually find in your |
---|
36 | pages. --> |
---|
37 | <form action="sample_posteddata.php" method="post"> |
---|
38 | <p> |
---|
39 | <label for="editor1"> |
---|
40 | Editor 1:</label><br/> |
---|
41 | <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">CKEditor</a>.</p></textarea> |
---|
42 | </p> |
---|
43 | <p> |
---|
44 | <input type="submit" value="Submit"/> |
---|
45 | </p> |
---|
46 | </form> |
---|
47 | <div id="footer"> |
---|
48 | <hr/> |
---|
49 | <p> |
---|
50 | CKEditor - The text editor for Internet - <a href="http://ckeditor.com/" shape="rect">http://ckeditor.com</a> |
---|
51 | </p> |
---|
52 | <p id="copy"> |
---|
53 | Copyright © 2003-2009, <a href="http://cksource.com/" shape="rect">CKSource</a> - Frederico Knabben. All rights reserved. |
---|
54 | </p> |
---|
55 | </div> |
---|
56 | </body> |
---|
57 | </html> |
---|