1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
8 * Licensed under the terms of any of the following licenses at your
11 * - GNU General Public License Version 2 or later (the "GPL")
12 * http://www.gnu.org/licenses/gpl.html
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 * http://www.gnu.org/licenses/lgpl.html
17 * - Mozilla Public License Version 1.1 or later (the "MPL")
18 * http://www.mozilla.org/MPL/MPL-1.1.html
22 * This page shows the list of available resource types.
24 <html xmlns="http://www.w3.org/1999/xhtml">
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">
32 function SetResourceType( type )
34 window.parent.frames["frmFolders"].SetResourceType( type ) ;
40 ['Attachment', 'Attachment']
46 ['Document','Document'],
50 window.onload = function()
52 var oCombo = document.getElementById('cmbType') ;
53 oCombo.innerHTML = '' ;
54 for ( var i = 0 ; i < defaultTypes.length ; i++ )
56 if ( oConnector.ShowAllTypes || defaultTypes[i][0] == oConnector.ResourceType )
59 AddSelectOption( oCombo, defaultTypes[i][1], defaultTypes[i][0] ) ;
62 var len = customTypes.length;
64 for ( i = 0; i < len; i++ ) {
65 if ( customTypes[i][0] == oConnector.ResourceType )
66 AddSelectOption( oCombo, customTypes[i][1], customTypes[i][0] ) ;
75 <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
79 <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);">