1
<cfsetting enablecfoutputonly="true" showdebugoutput="false">
3
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
8
* Licensed under the terms of any of the following licenses at your
11
* - GNU General Public License Version 2 or later (the "GPL")
12
* http://www.gnu.org/licenses/gpl.html
14
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
* http://www.gnu.org/licenses/lgpl.html
17
* - Mozilla Public License Version 1.1 or later (the "MPL")
18
* http://www.mozilla.org/MPL/MPL-1.1.html
22
* Sample page for ColdFusion.
26
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<title>FCKeditor - Sample</title>
30
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
31
<meta name="robots" content="noindex, nofollow">
32
<link href="../sample.css" rel="stylesheet" type="text/css" />
37
<h1>FCKeditor - ColdFusion - Sample 1</h1>
39
This sample displays a normal HTML form with a FCKeditor with full features enabled; invoked by a ColdFusion Custom Tag / Module.
41
<form method="POST" action="#cgi.script_name#">
45
template="../../fckeditor.cfm"
46
basePath="#Left(cgi.script_name, FindNoCase('_samples', cgi.script_name)-1)#"
47
instanceName="myEditor"
48
value='This is some sample text. You are using <a href="http://fckeditor.net/" target="_blank">FCKeditor</a>.'
54
<input type="submit" value="Submit">
59
<cfif isDefined( 'FORM.fieldnames' )>
64
td, th { font: 11px Verdana, Arial, Helv, Helvetica, sans-serif; }
67
<table border="1" cellspacing="0" cellpadding="2" bordercolor="darkblue" bordercolordark="darkblue" bordercolorlight="darkblue">
69
<th colspan="2" bgcolor="darkblue"><font color="white"><strong>Dump of FORM Variables</strong></font></th>
72
<td bgcolor="lightskyblue">FieldNames</td>
73
<td>#FORM.fieldNames#</td>
75
<cfloop list="#FORM.fieldnames#" index="key">
77
<td valign="top" bgcolor="lightskyblue">#key#</td>
78
<td>#HTMLEditFormat(evaluate("FORM.#key#"))#</td>
87
<cfsetting enablecfoutputonly="false">
b'\\ No newline at end of file'