~ubuntu-branches/ubuntu/trusty/fusionforge/trusty

« back to all changes in this revision

Viewing changes to plugins/fckeditor/www/_samples/html/assets/sample11_frame.html

  • Committer: Bazaar Package Importer
  • Author(s): Roland Mas
  • Date: 2011-04-15 14:55:34 UTC
  • mfrom: (4.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110415145534-mvn1nochufjmw177
Tags: 5.0.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
 
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
 
4
 *
 
5
 * == BEGIN LICENSE ==
 
6
 *
 
7
 * Licensed under the terms of any of the following licenses at your
 
8
 * choice:
 
9
 *
 
10
 *  - GNU General Public License Version 2 or later (the "GPL")
 
11
 *    http://www.gnu.org/licenses/gpl.html
 
12
 *
 
13
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 
14
 *    http://www.gnu.org/licenses/lgpl.html
 
15
 *
 
16
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
 
17
 *    http://www.mozilla.org/MPL/MPL-1.1.html
 
18
 *
 
19
 * == END LICENSE ==
 
20
 *
 
21
 * Sample page.
 
22
-->
 
23
<html xmlns="http://www.w3.org/1999/xhtml">
 
24
<head>
 
25
        <title>FCKeditor - Sample</title>
 
26
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
27
        <meta name="robots" content="noindex, nofollow" />
 
28
        <link href="../sample.css" rel="stylesheet" type="text/css" />
 
29
        <script type="text/javascript" src="../../../fckeditor.js"></script>
 
30
</head>
 
31
<body>
 
32
        <form action="../../php/sampleposteddata.php" method="post" target="_blank">
 
33
                Normal text field:<br />
 
34
                <input name="NormaText" value="Plain Text" />
 
35
                <br />
 
36
                <br />
 
37
                FCKeditor 1:
 
38
                <script type="text/javascript">
 
39
<!--
 
40
// Automatically calculates the editor base path based on the _samples directory.
 
41
// This is usefull only for these samples. A real application should use something like this:
 
42
// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value.
 
43
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
 
44
 
 
45
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
 
46
oFCKeditor.BasePath     = sBasePath ;
 
47
oFCKeditor.Height = 100 ;
 
48
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ;
 
49
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
 
50
oFCKeditor.Create() ;
 
51
//-->
 
52
                </script>
 
53
                <br />
 
54
                FCKeditor 2:
 
55
                <script type="text/javascript">
 
56
<!--
 
57
oFCKeditor = new FCKeditor( 'FCKeditor_2' ) ;
 
58
oFCKeditor.BasePath     = sBasePath ;
 
59
oFCKeditor.Height = 100 ;
 
60
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ;
 
61
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
 
62
oFCKeditor.Create() ;
 
63
//-->
 
64
                </script>
 
65
                <br />
 
66
                <input type="submit" value="Submit" />
 
67
        </form>
 
68
</body>
 
69
</html>