~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/filemanager/browser/default/frmresourcetype.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
 * This page shows the list of available resource types.
 
23
-->
 
24
<html>
 
25
        <head>
 
26
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
27
                <link href="browser.css" type="text/css" rel="stylesheet">
 
28
                <script type="text/javascript" src="js/common.js"></script>
 
29
                <script language="javascript">
 
30
 
 
31
function SetResourceType( type )
 
32
{
 
33
        window.parent.frames["frmFolders"].SetResourceType( type ) ;
 
34
}
 
35
 
 
36
var aTypes = [
 
37
        ['File','File'],
 
38
        ['Image','Image'],
 
39
        ['Flash','Flash'],
 
40
        ['Media','Media']
 
41
] ;
 
42
 
 
43
window.onload = function()
 
44
{
 
45
        for ( var i = 0 ; i < aTypes.length ; i++ )
 
46
        {
 
47
                if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType )
 
48
                        AddSelectOption( document.getElementById('cmbType'), aTypes[i][1], aTypes[i][0] ) ;
 
49
        }
 
50
}
 
51
 
 
52
                </script>
 
53
        </head>
 
54
        <body bottomMargin="0" topMargin="0">
 
55
                <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
 
56
                        <tr>
 
57
                                <td nowrap>
 
58
                                        Resource Type<BR>
 
59
                                        <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);">
 
60
                                        </select>
 
61
                                </td>
 
62
                        </tr>
 
63
                </table>
 
64
        </body>
 
65
</html>