2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
\r
3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
\r
5 * == BEGIN LICENSE ==
\r
7 * Licensed under the terms of any of the following licenses at your
\r
10 * - GNU General Public License Version 2 or later (the "GPL")
\r
11 * http://www.gnu.org/licenses/gpl.html
\r
13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
\r
14 * http://www.gnu.org/licenses/lgpl.html
\r
16 * - Mozilla Public License Version 1.1 or later (the "MPL")
\r
17 * http://www.mozilla.org/MPL/MPL-1.1.html
\r
21 * Common objects and functions shared by all pages that compose the
\r
22 * File Browser dialog window.
\r
25 function AddSelectOption( selectElement, optionText, optionValue )
\r
27 var oOption = document.createElement("OPTION") ;
\r
29 oOption.text = optionText ;
\r
30 oOption.value = optionValue ;
\r
32 selectElement.options.add(oOption) ;
\r
37 var oConnector = window.parent.oConnector ;
\r
38 var oIcons = window.parent.oIcons ;
\r
41 function StringBuilder( value )
\r
43 this._Strings = new Array( value || '' ) ;
\r
46 StringBuilder.prototype.Append = function( value )
\r
49 this._Strings.push( value ) ;
\r
52 StringBuilder.prototype.ToString = function()
\r
54 return this._Strings.join( '' ) ;
\r