source: sandbox/filemanager/tp/fckeditor/editor/filemanager/browser/default/frmresourcetype.html @ 1575

Revision 1575, 1.9 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implentação, melhorias do modulo gerenciador de arquivos

  • Property svn:executable set to *
Line 
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
32function SetResourceType( type )
33{
34        window.parent.frames["frmFolders"].SetResourceType( type ) ;
35}
36
37var aTypes = [
38        ['File','File'],
39        ['Image','Image'],
40        ['Flash','Flash'],
41        ['Media','Media']
42] ;
43
44window.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>
Note: See TracBrowser for help on using the repository browser.