1 |
816
|
doc
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2 |
|
|
<!--
|
3 |
|
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
1359
|
Luisehahne
|
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
|
5 |
816
|
doc
|
*
|
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 |
852
|
doc
|
<title>Available types</title>
|
27 |
816
|
doc
|
<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 |
852
|
doc
|
<script type="text/javascript">
|
31 |
816
|
doc
|
|
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 |
852
|
doc
|
var oCombo = document.getElementById('cmbType') ;
|
47 |
|
|
oCombo.innerHTML = '' ;
|
48 |
816
|
doc
|
for ( var i = 0 ; i < aTypes.length ; i++ )
|
49 |
|
|
{
|
50 |
|
|
if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType )
|
51 |
852
|
doc
|
AddSelectOption( oCombo, aTypes[i][1], aTypes[i][0] ) ;
|
52 |
816
|
doc
|
}
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
</script>
|
56 |
|
|
</head>
|
57 |
852
|
doc
|
<body>
|
58 |
|
|
<table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
|
59 |
816
|
doc
|
<tr>
|
60 |
|
|
<td nowrap>
|
61 |
|
|
Resource Type<BR>
|
62 |
|
|
<select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);">
|
63 |
852
|
doc
|
<option>
|
64 |
816
|
doc
|
</select>
|
65 |
|
|
</td>
|
66 |
|
|
</tr>
|
67 |
|
|
</table>
|
68 |
|
|
</body>
|
69 |
|
|
</html> |