1<!---
2/*
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
8 * Licensed under the terms of any of the following licenses at your
9 * choice:
10 *
11 *  - GNU General Public License Version 2 or later (the "GPL")
12 *    http://www.gnu.org/licenses/gpl.html
13 *
14 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 *    http://www.gnu.org/licenses/lgpl.html
16 *
17 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18 *    http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * This page lists the data posted by a form.
23 */
24--->
25<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
26<html>
27	<head>
28		<title>FCKeditor - Samples - Posted Data</title>
29		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
30		<meta name="robots" content="noindex, nofollow">
31		<link href="../sample.css" rel="stylesheet" type="text/css" />
32	</head>
33	<body>
34		<h1>FCKeditor - Samples - Posted Data</h1>
35		This page lists all data posted by the form.
36		<hr>
37<cfif listFirst( server.coldFusion.productVersion ) LT 6>
38	<cfif isDefined( 'FORM.fieldnames' )>
39		<cfoutput>
40		<hr />
41		<style>
42		<!--
43			td, th { font: 11px Verdana, Arial, Helv, Helvetica, sans-serif; }
44		-->
45		</style>
46		<table border="1" cellspacing="0" cellpadding="2" bordercolor="darkblue" bordercolordark="darkblue" bordercolorlight="darkblue">
47		<tr>
48			<th colspan="2" bgcolor="darkblue"><font color="white"><strong>Dump of FORM Variables</strong></font></th>
49		</tr>
50		<tr>
51			<td bgcolor="lightskyblue">FieldNames</td>
52			<td>#FORM.fieldNames#</td>
53		</tr>
54		<cfloop list="#FORM.fieldnames#" index="key">
55		<tr>
56			<td valign="top" bgcolor="lightskyblue">#key#</td>
57			<td style="white-space:pre">#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</td>
58		</tr>
59		</cfloop>
60		</table>
61		</cfoutput>
62	</cfif>
63<cfelse>
64	<cfdump var="#FORM#" label="Dump of FORM Variables">
65</cfif>
66
67
68	</body>
69</html>
70