1[//lasso
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 * Sample page.
23 */
24]
25<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
26<html>
27	<head>
28		<title>FCKeditor - Sample</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 - Lasso - Sample 1</h1>
35		This sample displays a normal HTML form with an FCKeditor with full features
36		enabled.
37		<hr>
38		<form action="sampleposteddata.lasso" method="post" target="_blank">
39[//lasso
40	include('../../fckeditor.lasso');
41	var('basepath') = response_filepath->split('_samples')->get(1);
42
43	var('myeditor') = fck_editor(
44		-instancename='FCKeditor1',
45		-basepath=$basepath,
46		-initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
47	);
48
49	$myeditor->create;
50]
51			<br>
52			<input type="submit" value="Submit">
53		</form>
54	</body>
55</html>
56