1
<cfsetting enablecfoutputonly="true" showdebugoutput="false">
3
* FCKeditor - The text editor for internet
4
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
6
* Licensed under the terms of the GNU Lesser General Public License:
7
* http://www.opensource.org/licenses/lgpl-license.php
9
* For further information visit:
10
* http://www.fckeditor.net/
12
* "Support Open Source software. What about a donation today?"
14
* File Name: sample01.cfm
15
* Sample page for ColdFusion.
18
* Hendrik Kramer (hk@lwd.de)
19
* Mark Woods (mark@thickpaddy.com)
20
* Wim Lemmens (didgiman@gmail.com)
24
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
27
<title>FCKeditor - Sample</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" />
35
<h1>FCKeditor - ColdFusion - Sample 1</h1>
37
This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Custom Tag / Module.<br>
38
ColdFusion is a registered trademark and product of <a href="http://www.macromedia.com/software/coldfusion/" target="_blank">Macromedia, Inc</a>.
40
<form method="POST" action="#cgi.script_name#">
44
template="../../fckeditor.cfm"
45
basePath="#Left(cgi.script_name, FindNoCase('_samples', cgi.script_name)-1)#"
46
instanceName="myEditor"
47
value='This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKeditor</a>.'
53
<input type="submit" value="Submit">
58
<cfif isDefined( 'FORM.fieldnames' )>
62
td, th { font: 11px Verdana, Arial, Helv, Helvetica, sans-serif; }
65
<table border="1" cellspacing="0" cellpadding="2" bordercolor="darkblue" bordercolordark="darkblue" bordercolorlight="darkblue">
67
<th colspan="2" bgcolor="darkblue"><font color="white"><strong>Dump of FORM Variables</strong></font></th>
70
<td bgcolor="lightskyblue">FieldNames</td>
71
<td>#FORM.fieldNames#</td>
73
<cfloop list="#FORM.fieldnames#" index="key">
75
<td valign="top" bgcolor="lightskyblue">#key#</td>
76
<td>#HTMLEditFormat(evaluate("FORM.#key#"))#</td>
85
<cfsetting enablecfoutputonly="false">
b'\\ No newline at end of file'