1 | <%
|
---|
2 | * FCKeditor - The text editor for internet
|
---|
3 | * Copyright (C) 2003-2004 Frederico Caldeira Knabben
|
---|
4 | *
|
---|
5 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
6 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
7 | *
|
---|
8 | * For further information visit:
|
---|
9 | * http://www.fckeditor.net/
|
---|
10 | *
|
---|
11 | * File Name: sampleposteddata.php
|
---|
12 | * This page lists the data posted by a form.
|
---|
13 | *
|
---|
14 | * Version: 1.0
|
---|
15 | * Modified: 2005-07-01
|
---|
16 | *
|
---|
17 | * File Authors: Soenke Freitag (www.afp-hosting.de)
|
---|
18 | *
|
---|
19 | %>
|
---|
20 |
|
---|
21 | <html>
|
---|
22 | <head>
|
---|
23 | <title>FCKeditor - Sample</title>
|
---|
24 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
---|
25 | <meta name="robots" content="noindex, nofollow">
|
---|
26 | <link href="../sample.css" rel="stylesheet" type="text/css" />
|
---|
27 | </head>
|
---|
28 | <body>
|
---|
29 | <h1>FCKeditor - AFP - Sample 1</h1>
|
---|
30 | This sample displays a normal HTML form with an FCKeditor with full features enabled.
|
---|
31 | <hr>
|
---|
32 | <form action="sampleposteddata.afp" method="post" target="_blank">
|
---|
33 | <%
|
---|
34 |
|
---|
35 | sBasePath="../../fckeditor/" && Change this to your local path
|
---|
36 |
|
---|
37 | lcText=[This is some <strong>sample text</strong>. You are using ]
|
---|
38 | lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
|
---|
39 |
|
---|
40 | oFCKeditor = CREATEOBJECT("FCKeditor")
|
---|
41 | oFCKeditor.fckeditor("FCKeditor1")
|
---|
42 | oFCKeditor.BasePath = sBasePath
|
---|
43 | oFCKeditor.cValue = lcText
|
---|
44 |
|
---|
45 | ? oFCKeditor.Create()
|
---|
46 |
|
---|
47 | %>
|
---|
48 | <br>
|
---|
49 | <input type="submit" value="Submit">
|
---|
50 | </form>
|
---|
51 | </body>
|
---|
52 | </html>
|
---|