1<%
2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
4 *
5 * == BEGIN LICENSE ==
6 *
7 * Licensed under the terms of any of the following licenses at your
8 * choice:
9 *
10 *  - GNU General Public License Version 2 or later (the "GPL")
11 *    http://www.gnu.org/licenses/gpl.html
12 *
13 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14 *    http://www.gnu.org/licenses/lgpl.html
15 *
16 *  - Mozilla Public License Version 1.1 or later (the "MPL")
17 *    http://www.mozilla.org/MPL/MPL-1.1.html
18 *
19 * == END LICENSE ==
20 *
21 * This page lists the data posted by a form.
22 *
23%>
24
25<html>
26	<head>
27		<title>FCKeditor - AFP Sample 1</title>
28		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
29		<meta name="robots" content="noindex, nofollow">
30		<link href="../sample.css" rel="stylesheet" type="text/css" />
31	</head>
32	<body>
33		<h1>FCKeditor - AFP - Sample 1</h1>
34		This sample displays a normal HTML form with an FCKeditor with full features enabled.
35		<hr>
36		<form action="sampleposteddata.afp" method="post" target="_blank">
37<%
38
39			sBasePath="../../../fckeditor/"		&& Change this to your local path
40
41			lcText=[<p>This is some <strong>sample text</strong>. You are using ]
42			lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
43
44			oFCKeditor = CREATEOBJECT("FCKeditor")
45			oFCKeditor.fckeditor("FCKeditor1")
46			oFCKeditor.BasePath	= sBasePath
47			oFCKeditor.cValue	= lcText
48
49			? oFCKeditor.Create()
50
51%>
52			<br>
53			<input type="submit" value="Submit">
54		</form>
55	</body>
56</html>
57