1 | <!--
|
---|
2 | * FCKeditor - The text editor for internet
|
---|
3 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
4 | *
|
---|
5 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
6 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
7 | *
|
---|
8 | * For further information visit:
|
---|
9 | * http://www.fckeditor.net/
|
---|
10 | *
|
---|
11 | * "Support Open Source software. What about a donation today?"
|
---|
12 | *
|
---|
13 | * File Name: frmresourcetype.html
|
---|
14 | * This page shows the list of available resource types.
|
---|
15 | *
|
---|
16 | * File Authors:
|
---|
17 | * Frederico Caldeira Knabben (fredck@fckeditor.net)
|
---|
18 | -->
|
---|
19 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
20 | <html>
|
---|
21 | <head>
|
---|
22 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
---|
23 | <link href="browser.css" type="text/css" rel="stylesheet">
|
---|
24 | <script type="text/javascript" src="js/common.js"></script>
|
---|
25 | <script language="javascript">
|
---|
26 |
|
---|
27 | function SetResourceType( type )
|
---|
28 | {
|
---|
29 | window.parent.frames["frmFolders"].SetResourceType( type ) ;
|
---|
30 | }
|
---|
31 |
|
---|
32 | var aTypes = [
|
---|
33 | ['File','File'],
|
---|
34 | ['Image','Image'],
|
---|
35 | ['Flash','Flash'],
|
---|
36 | ['Media','Media']
|
---|
37 | ] ;
|
---|
38 |
|
---|
39 | window.onload = function()
|
---|
40 | {
|
---|
41 | for ( var i = 0 ; i < aTypes.length ; i++ )
|
---|
42 | {
|
---|
43 | if ( oConnector.ShowAllTypes || aTypes[i][0] == oConnector.ResourceType )
|
---|
44 | AddSelectOption( document.getElementById('cmbType'), aTypes[i][1], aTypes[i][0] ) ;
|
---|
45 | }
|
---|
46 | }
|
---|
47 |
|
---|
48 | </script>
|
---|
49 | </head>
|
---|
50 | <body bottomMargin="0" topMargin="0">
|
---|
51 | <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
|
---|
52 | <tr>
|
---|
53 | <td nowrap>
|
---|
54 | Resource Type<BR>
|
---|
55 | <select id="cmbType" style="width: 100%" onchange="SetResourceType(this.value);">
|
---|
56 | </select>
|
---|
57 | </td>
|
---|
58 | </tr>
|
---|
59 | </table>
|
---|
60 | </body>
|
---|
61 | </html>
|
---|