source: sandbox/filemanager/tp/fckeditor/editor/wsc/ciframe.html @ 1575

Revision 1575, 1.6 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

  • Property svn:executable set to *
Line 
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-2009 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
28function 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
41function 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
55function 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>
Note: See TracBrowser for help on using the repository browser.