Annotation of /mambo/branches/4.6/mambots/editors/mostlyce/jscripts/tiny_mce/filemanager/frmresourcetype.html
Parent Directory
|
Revision Log
Revision 1053 - (view) (download) (as text)
| 1 : | cauld | 1053 | <!-- |
| 2 : | * FCKeditor - The text editor for internet | ||
| 3 : | * Copyright (C) 2003-2005 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 : | * File Name: frmresourcetype.html | ||
| 12 : | * This page shows the list of available resource types. | ||
| 13 : | * | ||
| 14 : | * File Authors: | ||
| 15 : | * Frederico Caldeira Knabben (fredck@fckeditor.net) | ||
| 16 : | --> | ||
| 17 : | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | ||
| 18 : | <html> | ||
| 19 : | <head> | ||
| 20 : | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| 21 : | <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> | ||
| 22 : | <link href="browser.css" type="text/css" rel="stylesheet"> | ||
| 23 : | <script type="text/javascript" src="js/common.js"></script> | ||
| 24 : | <script language="javascript"> | ||
| 25 : | |||
| 26 : | function SetResourceType( type ) | ||
| 27 : | { | ||
| 28 : | window.parent.frames["frmFolders"].SetResourceType( type ) ; | ||
| 29 : | } | ||
| 30 : | |||
| 31 : | var aTypes = [ | ||
| 32 : | ['File','File'], | ||
| 33 : | ['Image','Image'], | ||
| 34 : | ['Flash','Flash'], | ||
| 35 : | ['Media','Media'] | ||
| 36 : | ] ; | ||
| 37 : | |||
| 38 : | window.onload = function() | ||
| 39 : | { | ||
| 40 : | var bHasType = ( oConnector.ResourceType.length > 0 ) ; | ||
| 41 : | cmbTypeObj=document.getElementById("cmbType"); | ||
| 42 : | for ( var i = 0 ; i < aTypes.length ; i++ ) | ||
| 43 : | { | ||
| 44 : | if ( !bHasType || aTypes[i][0] == | ||
| 45 : | oConnector.ResourceType ) | ||
| 46 : | AddSelectOption( cmbTypeObj, aTypes[i][1], | ||
| 47 : | aTypes[i][0] ) ; | ||
| 48 : | } | ||
| 49 : | } | ||
| 50 : | |||
| 51 : | </script> | ||
| 52 : | </head> | ||
| 53 : | <body bottomMargin="0" topMargin="0"> | ||
| 54 : | <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> | ||
| 55 : | <tr> | ||
| 56 : | <td nowrap> | ||
| 57 : | Resource Type<BR> | ||
| 58 : | <select id="cmbType" style="WIDTH: 100%" onchange="SetResourceType(this.value);"> | ||
| 59 : | </select> | ||
| 60 : | </td> | ||
| 61 : | </tr> | ||
| 62 : | </table> | ||
| 63 : | </body> | ||
| 64 : | </html> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

