~pablocapeluto/cds-php/devel-3.1

« back to all changes in this revision

Viewing changes to FCKeditor/_samples/lasso/sample01.lasso

  • Committer: pcapeluto at gmail
  • Date: 2010-08-20 17:51:08 UTC
  • Revision ID: pcapeluto@gmail.com-20100820175108-jyi8dbyj15uy9p4i
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[//lasso
 
2
/*
 
3
 * FCKeditor - The text editor for internet
 
4
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 
5
 * 
 
6
 * Licensed under the terms of the GNU Lesser General Public License:
 
7
 *              http://www.opensource.org/licenses/lgpl-license.php
 
8
 * 
 
9
 * For further information visit:
 
10
 *              http://www.fckeditor.net/
 
11
 * 
 
12
 * "Support Open Source software. What about a donation today?"
 
13
 * 
 
14
 * File Name: sample01.lasso
 
15
 *      Sample page.
 
16
 * 
 
17
 * File Authors:
 
18
 *              Jason Huck (jason.huck@corefive.com)
 
19
 */
 
20
]
 
21
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
22
<html>
 
23
        <head>
 
24
                <title>FCKeditor - Sample</title>
 
25
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
26
                <meta name="robots" content="noindex, nofollow">
 
27
                <link href="../sample.css" rel="stylesheet" type="text/css" />
 
28
        </head>
 
29
        <body>
 
30
                <h1>FCKeditor - Lasso - Sample 1</h1>
 
31
                This sample displays a normal HTML form with an FCKeditor with full features 
 
32
                enabled.
 
33
                <hr>
 
34
                <form action="sampleposteddata.lasso" method="post" target="_blank">
 
35
[//lasso
 
36
        include('../../fckeditor.lasso');
 
37
        var('basepath') = response_filepath->split('_samples')->get(1);
 
38
 
 
39
        var('myeditor') = fck_editor(
 
40
                -instancename='FCKeditor1',
 
41
                -basepath=$basepath,
 
42
                -initialvalue='This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.'
 
43
        );
 
44
        
 
45
        $myeditor->create;
 
46
]
 
47
                        <br>
 
48
                        <input type="submit" value="Submit">
 
49
                </form>
 
50
        </body>
 
51
</html>