Ticket #4576: XhtmlTest.php

File XhtmlTest.php, 2.0 KB (added by Alfonso Martínez de Lizarrondo, 14 years ago)

Test page with XHTML header

Line 
1<?php
2header("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<!--
7Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
8For 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">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</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>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy