~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/FCK/editor/dialog/fck_docprops/fck_document_preview.html

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
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
 * Preview shown in the "Document Properties" dialog window.
 
23
-->
 
24
<html>
 
25
        <head>
 
26
                <title>Document Properties - Preview</title>
 
27
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
28
                <meta name="robots" content="noindex, nofollow">
 
29
                <script language="javascript">
 
30
 
 
31
var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;
 
32
if ( eBase.length > 0 && eBase[0].href.length > 0 )
 
33
{
 
34
        document.write( '<base href="' + eBase[0].href + '">' ) ;
 
35
}
 
36
 
 
37
window.onload = function()
 
38
{
 
39
        if ( typeof( parent.OnPreviewLoad ) == 'function' )
 
40
                parent.OnPreviewLoad( window, document.body ) ;
 
41
}
 
42
 
 
43
function SetBaseHRef( baseHref )
 
44
{
 
45
        var eBase = document.createElement( 'BASE' ) ;
 
46
        eBase.href = baseHref ;
 
47
 
 
48
        var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
 
49
        eHead.appendChild( eBase ) ;
 
50
}
 
51
 
 
52
function SetLinkColor( color )
 
53
{
 
54
        if ( color && color.length > 0 )
 
55
                document.getElementById('eLink').style.color = color ;
 
56
        else
 
57
                document.getElementById('eLink').style.color = window.document.linkColor ;
 
58
}
 
59
 
 
60
function SetVisitedColor( color )
 
61
{
 
62
        if ( color && color.length > 0 )
 
63
                document.getElementById('eVisited').style.color = color ;
 
64
        else
 
65
                document.getElementById('eVisited').style.color = window.document.vlinkColor ;
 
66
}
 
67
 
 
68
function SetActiveColor( color )
 
69
{
 
70
        if ( color && color.length > 0 )
 
71
                document.getElementById('eActive').style.color = color ;
 
72
        else
 
73
                document.getElementById('eActive').style.color = window.document.alinkColor ;
 
74
}
 
75
                </script>
 
76
        </head>
 
77
        <body>
 
78
                <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
 
79
                        <tr>
 
80
                                <td align="center" valign="middle">
 
81
                                        Normal Text
 
82
                                </td>
 
83
                                <td id="eLink" align="center" valign="middle">
 
84
                                        <u>Link Text</u>
 
85
                                </td>
 
86
                        </tr>
 
87
                        <tr>
 
88
                                <td id="eVisited" valign="middle" align="center">
 
89
                                        <u>Visited Link</u>
 
90
                                </td>
 
91
                                <td id="eActive" valign="middle" align="center">
 
92
                                        <u>Active Link</u>
 
93
                                </td>
 
94
                        </tr>
 
95
                </table>
 
96
                <br>
 
97
                <br>
 
98
                <br>
 
99
                <br>
 
100
                <br>
 
101
                <br>
 
102
                <br>
 
103
                <br>
 
104
                <br>
 
105
                <br>
 
106
                <br>
 
107
                <br>
 
108
                <br>
 
109
                <br>
 
110
                <br>
 
111
                <br>
 
112
        </body>
 
113
</html>