~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/web/static/htdocs/applets/FCKeditor/editor/wsc/ciframe.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
 
<!--
3
 
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 
 * Copyright (C) 2003-2010 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
 
<html>
23
 
<head>
24
 
        <title></title>
25
 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
26
 
        <script type="text/javascript">
27
 
 
28
 
function gup( name )
29
 
{
30
 
        name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ) ;
31
 
        var regexS = '[\\?&]' + name + '=([^&#]*)' ;
32
 
        var regex = new RegExp( regexS ) ;
33
 
        var results = regex.exec( window.location.href ) ;
34
 
 
35
 
        if( results == null )
36
 
                return '' ;
37
 
        else
38
 
                return results[ 1 ] ;
39
 
}
40
 
 
41
 
function sendData2Master()
42
 
{
43
 
        var destination = parent.parent ;
44
 
        try
45
 
        {
46
 
                if ( destination.XDTMaster )
47
 
                {
48
 
                        var t = destination.XDTMaster.read( [ gup( 'cmd' ), gup( 'data' ) ] ) ;
49
 
                        window.clearInterval( interval ) ;
50
 
                }
51
 
        }
52
 
        catch (e) {}
53
 
}
54
 
 
55
 
function onLoad()
56
 
{
57
 
        interval = window.setInterval( sendData2Master, 100 );
58
 
}
59
 
 
60
 
        </script>
61
 
</head>
62
 
<body onload="onLoad()">
63
 
        <p></p>
64
 
</body>
65
 
</html>