Project

General

Profile

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-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
 * This page shows the list of available resource types.
23
-->
24
<html>
25
	<head>
26
		<title>Available types</title>
27
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
28
		<link href="browser.css" type="text/css" rel="stylesheet">
29
		<script type="text/javascript" src="js/common.js"></script>
30
		<script type="text/javascript">
31

    
32
function SetResourceType( type )
33
{
34
	window.parent.frames["frmFolders"].SetResourceType( type ) ;
35
}
36

    
37
var aTypes = [
38
	['File','File'],
39
	['Image','Image'],
40
	['Flash','Flash'],
41
	['Media','Media']
42
] ;
43

    
44
window.onload = function()
45
{
46
	var oCombo = document.getElementById('cmbType') ;
47
	oCombo.innerHTML = '' ;
48
	for ( var i = 0 ; i < aTypes.length ; i++ )
49
	{
50
		if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType )
51
			AddSelectOption( oCombo, aTypes[i][1], aTypes[i][0] ) ;
52
	}
53
}
54

    
55
		</script>
56
	</head>
57
	<body>
58
		<table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
59
			<tr>
60
				<td nowrap>
61
					Resource Type<BR>
62
					<select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);">
63
						<option>&nbsp;
64
					</select>
65
				</td>
66
			</tr>
67
		</table>
68
	</body>
69
</html>
(7-7/8)