Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1198)
+++ branches/2.8.x/CHANGELOG	(revision 1199)
@@ -12,6 +12,8 @@
 
 ------------------------------------- 2.8.1 -------------------------------------
 28-Nov-2009 Dietmar Woellbrink (Luisehahne)
+!	Update FCKeditor Version 2.6.5 to Modulversion 2.9.3
+28-Nov-2009 Dietmar Woellbrink (Luisehahne)
 !	updated theme.css in wb_theme
 28-Nov-2009 Dietmar Woellbrink (Luisehahne)
 !	Ticket #886 fix validation email, check tld between 2-4 letters
Index: branches/2.8.x/wb/modules/fckeditor/info.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/info.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/info.php	(revision 1199)
@@ -26,6 +26,12 @@
   Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
 	Started to track applied changes in info.php from 27.03.2007 onwards (cs)
  -----------------------------------------------------------------------------------------------------------
+	v2.9.3 (Luishahne Oct 21, 2009)
+		+	add linkfeature to mediabrowser
+        +   update flvplayer plugin
+	v2.9.2 (Luishahne Sep 28, 2009)
+		+	add linkfeature to imagebrowser
+        +   add flvplayer plugin
 	v2.9.1 (Luishahne Sep 28, 2009)
 		+	change to new FCKeditor version 2.6.5
 	v2.89 (Aldus, Luishahne Sep 16, 2009)
@@ -127,8 +133,11 @@
 $module_directory		= 'fckeditor';
 $module_name			= 'FCKeditor 2.6.5 WB Version 2.9.1';
 $module_function		= 'WYSIWYG';
-$module_version			= '2.9.1';
+$module_version			= '2.9.3';
+$module_guid            = 'ED3B82C1-DB1E-447A-A0FD-E952AFC5F3B9';
+$module_status          = 'Beta';
 $module_platform		= '2.7';
+$module_requirements    = 'PHP 4.3.11 or higher, WB 2.7 or higher';
 $module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper, Aldus, Luisehahne';
 $module_license 		= 'GNU General Public License';
 $module_description 	= 'This module allows you to edit the contents of a page using <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.5</a>.';
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html	(revision 1199)
@@ -264,6 +264,14 @@
 						<span fckLang="DlgGenContRel">Advisory Relation</span><br />
 						<select id="cmbAttContentRel"  style="width: 100%">
 							<option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option>
+							<option value="fancybox" fckLang="Fancybox">Fancybox</option>
+							<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option>
+				  <!--			<option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option>
+							<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option>
+							<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option>
+							<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option>
+							<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option>
+							<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option>   -->
 							<option value="alternate" fckLang="Alternate">Alternate</option>
 							<option value="copyright" fckLang="copyright">Copyright</option>
 							<option value="designates" fckLang="designates">Designates</option>
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_about.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_about.html	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_about.html	(revision 1199)
@@ -118,8 +118,7 @@
             <tr>
                 <td align="center" valign="middle">
 					<span fcklang="DlgAboutModule" style="font-size: 12px" dir="ltr">
-                    Modified for Website Baker Version 2.8<br />
-                    Modulversion 2.9.1
+                    Modified for Website Baker Version 2.8.x<br />Modulversion 2.9.3
                     </span>
                 </td>
                 <td>&nbsp;</td>
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js	(revision 1199)
@@ -191,8 +191,27 @@
 
 		GetE('txtLnkUrl').value		= sLinkUrl ;
 		GetE('cmbLnkTarget').value	= oLink.target ;
+		GetE('cmbAttContentRel').value	= oLink.rel ;
+		GetE('txtAttTitle').value		= oLink.title ;
+		GetE('txtAttId').value			= oLink.id ;
+	var sClass ;
+	if ( oEditor.FCKBrowserInfo.IsIE )
+	{
+		sClass	= oLink.getAttribute('className',2) || '' ;
+		// Clean up temporary classes for internal use:
+		sClass = sClass.replace( FCKRegexLib.FCK_Class, '' ) ;
+
+		GetE('txtAttStyle').value	= oLink.style.cssText ;
 	}
+	else
+	{
+		sClass	= oLink.getAttribute('class',2) || '' ;
+		GetE('txtAttStyle').value	= oLink.getAttribute('style',2) || '' ;
+	}
+	GetE('txtAttClasses').value	= sClass ;
 
+		}
+
 	UpdatePreview() ;
 }
 
@@ -263,7 +282,27 @@
 		}
 
 		SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ;
-		SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ;
+		SetAttribute( oLink, 'target', 	GetE('cmbLnkTarget').value ) ;
+		SetAttribute( oLink, 'rel', 	GetE('cmbAttContentRel').value ) ;
+		SetAttribute( oLink, 'id', 		GetE('txtAttId').value ) ;
+		SetAttribute( oLink, 'title', 	GetE('txtAttTitle').value ) ;
+
+		if ( oEditor.FCKBrowserInfo.IsIE )
+		{
+			var sClass = GetE('txtAttClasses').value ;
+			// If it's also an anchor add an internal class
+			if ( GetE('txtAttName').value.length != 0 )
+				sClass += ' FCK__AnchorC' ;
+			SetAttribute( oLink, 'className', sClass ) ;
+
+			oLink.style.cssText = GetE('txtAttStyle').value ;
+		}
+		else
+		{
+			SetAttribute( oLink, 'class', GetE('txtAttClasses').value ) ;
+			SetAttribute( oLink, 'style', GetE('txtAttStyle').value ) ;
+		}
+		
 	}
 
 	return true ;
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html	(revision 1199)
@@ -190,9 +190,57 @@
 							<option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option>
 						</select>
 					</div>
+					<div>
+						<span fckLang="DlgGenContRel">Advisory Relation</span><br />
+						<select id="cmbAttContentRel">
+							<option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option>
+							<option value="fancybox" fckLang="Fancybox">Fancybox</option>
+							<option value="prettyPhoto" fckLang="PrettyPhoto">PrettyPhoto</option>
+<!--							<option value="prettyPhoto[gallery]" fckLang="PrettyPhoto Image Gallery">PrettyPhoto Image Gallery</option>
+							<option value="prettyPhoto[flash]" fckLang="PrettyPhoto Flash">PrettyPhoto Flash</option>
+							<option value="prettyPhoto[iframes]" fckLang="PrettyPhoto IFrames">PrettyPhoto IFrames</option>
+							<option value="prettyPhoto[movies]" fckLang="PrettyPhoto Movies">PrettyPhoto Movies</option>
+							<option value="prettyPopin" fckLang="PrettyPopin">Pretty Popin</option>
+							<option value="prettyGallery" fckLang="PrettyGallery">Pretty Gallery</option>   -->
+							<option value="alternate" fckLang="Alternate">Alternate</option>
+							<option value="copyright" fckLang="copyright">Copyright</option>
+							<option value="designates" fckLang="designates">Designates</option>
+							<option value="nofollow" fckLang="nofollow">Nofollow</option>
+							<option value="lightbox" fckLang="Lightbox">Lightbox</option>
+							<option value="stylesheet" fckLang="stylesheet">Stylesheet</option>
+							<option value="thumbnail" fckLang="Thumbnail">Thumbnail</option>
+						</select>
+					</div>
+
 				</td>
 			</tr>
-		</table>
+
+				<tr>
+					<td valign="top">
+						<span fckLang="DlgGenClass">Stylesheet Classes</span><br />
+						<input id="txtAttClasses" style="WIDTH: 100%" type="text" />
+					</td>
+					<td></td>
+					<td valign="top" width="50%">
+						<span fckLang="DlgGenId">Id</span><br />
+						<input id="txtAttId" style="WIDTH: 100%" type="text" />
+					</td>
+				</tr>
+			</table>
+			<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
+				<tr>
+					<td>
+						<span fckLang="DlgGenStyle">Style</span><br />
+						<input id="txtAttStyle" style="WIDTH: 100%" type="text" />
+					</td>
+				</tr>
+				<tr>
+					<td valign="top" width="100%">
+						<span fckLang="DlgGenTitle">Advisory Title</span><br />
+						<input id="txtAttTitle" style="WIDTH: 100%" type="text" />
+					</td>
+				</tr>
+			</table>
 	</div>
 	<div id="divAdvanced" style="display: none">
 		<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/en.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/en.js	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/en.js	(revision 1199)
@@ -526,6 +526,7 @@
 DlgAboutLicenseTab	: "License",
 DlgAboutVersion		: "version",
 DlgAboutInfo		: "For further information go to",
+DlgAboutModule		: "Developed for Website Baker<br />modul version 2.9.3",
 
 // Div Dialog
 DlgDivGeneralTab	: "General",
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/de.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/de.js	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/lang/de.js	(revision 1199)
@@ -526,7 +526,7 @@
 DlgAboutLicenseTab	: "Lizenz",
 DlgAboutVersion		: "Version",
 DlgAboutInfo		: "Für weitere Informationen siehe",
-DlgAboutModule		: "Anpassung für Website Baker<br />Modul Version 2.9.1",
+DlgAboutModule		: "Anpassung für Website Baker<br />Modul Version 2.9.3",
 
 // Div Dialog
 DlgDivGeneralTab	: "Allgemein",
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.js	(revision 1199)
@@ -0,0 +1,575 @@
+var oEditor = window.parent.InnerDialogLoaded() ;
+var FCK		= oEditor.FCK ;
+
+// Set the language direction.
+window.document.dir = oEditor.FCKLang.Dir ;
+
+// Set the Skin CSS.
+document.write( '<link href="' + oEditor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
+
+var sAgent = navigator.userAgent.toLowerCase() ;
+
+var is_ie = (sAgent.indexOf("msie") != -1); // FCKBrowserInfo.IsIE
+var is_gecko = !is_ie; // FCKBrowserInfo.IsGecko
+
+var oMedia = null;
+var is_new_flvplayer = true;
+
+function window_onload()
+{
+	// Translate the dialog box texts.
+	oEditor.FCKLanguageManager.TranslatePage(document) ;
+
+	// Load the selected element information (if any).
+	LoadSelection() ;
+
+	// Show/Hide the "Browse Server" button.
+	GetE('tdBrowse').style.display = oEditor.FCKConfig.FlashBrowser ? '' : 'none' ;
+
+	// Activate the "OK" button.
+	window.parent.SetOkButton( true ) ;
+}
+
+
+function getSelectedMovie(){
+	var oSel = null;
+	oMedia = new Media();
+	oSel = FCK.Selection.GetParentElement();
+	// If in "Get the Flash Player" a href, do it again
+	if (oSel.id != null && !oSel.id.match(/^player[0-9]*$/)) {
+		oSel = oSel.parentNode;
+	}
+	if (oSel.id != null && oSel.id.match(/^player[0-9]*$/)) {
+		for (var i = 0; i < oSel.childNodes.length; i++) {
+			if (oSel.childNodes.item(i).nodeName=="DIV") {
+				var oC=oSel.childNodes.item(i).innerHTML.split(' ');
+				for (var o = 0; o < oC.length ; o++) {
+					var tmp=oC[o].split('=');
+					oMedia.setAttribute(tmp[0],tmp[1]);
+				}
+				is_new_flvplayer = false;
+			}
+		}
+	}
+	return oMedia;
+}
+
+function updatePlaylistOption () {
+	if (GetE('selDispPlaylist').value == "right" || GetE('selDispPlaylist').value == "below") {
+		GetE('chkPLThumbs').disabled=false;
+		GetE('chkPLThumbs').checked=true;
+		GetE('txtPLDim').disabled=false;
+		GetE('txtPLDim').style.background='#ffffff';
+		GetE('spanDimText').style.display='none';
+		if (GetE('selDispPlaylist').value == "right") {
+			GetE('spanDimWText').style.display='';
+			GetE('spanDimHText').style.display='none';
+		} else if (GetE('selDispPlaylist').value == "below") {
+			GetE('spanDimWText').style.display='none';
+			GetE('spanDimHText').style.display='';
+		}
+	} else {
+		GetE('chkPLThumbs').disabled=true;
+		GetE('chkPLThumbs').checked=false;
+		GetE('txtPLDim').value = "";
+		GetE('txtPLDim').disabled=true;
+		GetE('txtPLDim').style.background='transparent';
+		GetE('spanDimText').style.display='';
+		GetE('spanDimWText').style.display='none';
+		GetE('spanDimHText').style.display='none';
+	}
+}
+
+
+function LoadSelection()
+{
+	oMedia = new Media();
+	oMedia = getSelectedMovie();
+	//alert('test');
+/*	
+	alert (
+		"id: " + oMedia.id +
+		"\nUrl: " + oMedia.url + 
+		"\nWidth: " + oMedia.width +
+		"\nHeight: " + oMedia.height +
+		"\nQuality: " + oMedia.quality +
+		"\nScale: " + oMedia.scale +
+		"\nVSpace: " + oMedia.vspace +
+		"\nHSpace: " + oMedia.hspace +
+		"\nAlign: " + oMedia.align +
+		"\nBgcolor: " + oMedia.bgcolor +
+		"\nLoop: " + oMedia.loop +
+		"\nPlay: " + oMedia.play
+	);
+*/
+	GetE('rbFileType').value	= oMedia.fileType;
+	GetE('txtURL').value    	= oMedia.url;
+	GetE('txtPlaylist').value   = oMedia.purl;
+	GetE('txtImgURL').value    	= oMedia.iurl;
+	GetE('txtWMURL').value    	= oMedia.wmurl;
+	GetE('txtWidth').value		= oMedia.width;
+	GetE('txtHeight').value		= oMedia.height;
+	GetE('chkLoop').checked		= oMedia.loop;
+	GetE('chkAutoplay').checked	= oMedia.play;
+	GetE('chkDownload').checked 	= oMedia.downloadable;
+	GetE('chkFullscreen').checked	= oMedia.fullscreen;
+	GetE('txtBgColor').value	= oMedia.bgcolor;
+	GetE('txtToolbarColor').value	= oMedia.toolcolor;
+	GetE('txtToolbarTxtColor').value	= oMedia.tooltcolor;
+	GetE('txtToolbarTxtRColor').value	= oMedia.tooltrcolor;
+	GetE('chkShowNavigation').checked	= oMedia.displayNavigation;
+	GetE('chkShowDigits').checked	= oMedia.displayDigits;
+	GetE('selAlign').value		= oMedia.align;
+	GetE('selDispPlaylist').value = oMedia.dispPlaylist;
+	GetE('txtRURL').value = oMedia.rurl;
+	GetE('txtPLDim').value = oMedia.playlistDim;
+	GetE('chkPLThumbs').checked = oMedia.playlistThumbs;
+
+	//updatePreview();
+}
+
+//#### The OK button was hit.
+function Ok()
+{
+	var rbFileTypeVal = "single";
+	if (GetE('rbFileType').checked == false) {
+		rbFileTypeVal = "list";
+	}
+
+	if ( rbFileTypeVal == "single") {
+		if ( GetE('txtURL').value.length == 0 )
+		{
+			GetE('txtURL').focus() ;	
+
+			alert( oEditor.FCKLang.DlgFLVPlayerAlertUrl ) ;
+			return false ;
+		}
+	}
+
+	if (rbFileTypeVal == "list") {
+		if ( GetE('txtPlaylist').value.length == 0 )
+		{
+			GetE('txtPlaylist').focus() ;	
+
+			alert( oEditor.FCKLang.DlgFLVPlayerAlertPlaylist ) ;
+			return false ;
+		}
+	}
+
+
+	if ( GetE('txtWidth').value.length == 0 )
+	{
+		GetE('txtWidth').focus() ;	
+
+		alert( oEditor.FCKLang.DlgFLVPlayerAlertWidth ) ;
+		return false ;
+	}
+
+	if ( GetE('txtHeight').value.length == 0 )
+	{
+		GetE('txtHeight').focus() ;	
+
+		alert( oEditor.FCKLang.DlgFLVPlayerAlertHeight ) ;
+		return false ;
+	}
+
+
+	var e = (oMedia || new Media()) ;
+
+	updateMovie(e) ;
+
+	// Replace or insert?
+	if (!is_new_flvplayer) {
+		// Find parent..
+	        oSel = FCK.Selection.GetParentElement();
+		while (oSel != null && !oSel.id.match(/^player[0-9]*-parent$/)) {
+			oSel=oSel.parentNode;
+		}
+		// Found - So replace
+		if (oSel != null) {
+			oSel.parentNode.removeChild(oSel);
+			FCK.InsertHtml(e.getInnerHTML());
+		}
+	} else {
+		FCK.InsertHtml(e.getInnerHTML());
+	}
+
+	return true ;
+}
+
+
+function updateMovie(e){
+	e.fileType = GetE('rbFileType').value;
+	e.url = GetE('txtURL').value;
+	e.purl = GetE('txtPlaylist').value;
+	e.iurl = GetE('txtImgURL').value;
+	e.wmurl = GetE('txtWMURL').value;
+	e.bgcolor = GetE('txtBgColor').value;
+	e.toolcolor = GetE('txtToolbarColor').value;
+	e.tooltcolor = GetE('txtToolbarTxtColor').value;
+	e.tooltrcolor = GetE('txtToolbarTxtRColor').value;
+	e.width = (isNaN(GetE('txtWidth').value)) ? 0 : parseInt(GetE('txtWidth').value);
+	e.height = (isNaN(GetE('txtHeight').value)) ? 0 : parseInt(GetE('txtHeight').value);
+	e.loop = (GetE('chkLoop').checked) ? 'true' : 'false';
+	e.play = (GetE('chkAutoplay').checked) ? 'true' : 'false';
+	e.downloadable = (GetE('chkDownload').checked) ? 'true' : 'false';
+	e.fullscreen = (GetE('chkFullscreen').checked) ? 'true' : 'false';
+	e.displayNavigation = (GetE('chkShowNavigation').checked) ? 'true' : 'false';
+	e.displayDigits = (GetE('chkShowDigits').checked) ? 'true' : 'false';
+	e.align =	GetE('selAlign').value;
+	e.dispPlaylist =	GetE('selDispPlaylist').value;
+	e.rurl = GetE('txtRURL').value;
+	e.playlistDim = GetE('txtPLDim').value;
+	e.playlistThumbs = (GetE('chkPLThumbs').checked) ? 'true' : 'false';
+}
+
+
+function BrowseServer()
+{
+	OpenServerBrowser(
+		'flv',
+		oEditor.FCKConfig.MediaBrowserURL,
+		oEditor.FCKConfig.MediaBrowserWindowWidth,
+		oEditor.FCKConfig.MediaBrowserWindowHeight ) ;
+}
+
+
+function LnkBrowseServer()
+{
+	OpenServerBrowser(
+		'link',
+		oEditor.FCKConfig.LinkBrowserURL,
+		oEditor.FCKConfig.LinkBrowserWindowWidth,
+		oEditor.FCKConfig.LinkBrowserWindowHeight ) ;
+}
+
+function Lnk2BrowseServer()
+{
+	OpenServerBrowser(
+		'link2',
+		oEditor.FCKConfig.LinkBrowserURL,
+		oEditor.FCKConfig.LinkBrowserWindowWidth,
+		oEditor.FCKConfig.LinkBrowserWindowHeight ) ;
+}
+
+function img1BrowseServer()
+{
+	OpenServerBrowser(
+		'img1',
+		oEditor.FCKConfig.ImageBrowserURL,
+		oEditor.FCKConfig.ImageBrowserWindowWidth,
+		oEditor.FCKConfig.ImageBrowserWindowHeight ) ;
+}
+
+function img2BrowseServer()
+{
+	OpenServerBrowser(
+		'img2',
+		oEditor.FCKConfig.ImageBrowserURL,
+		oEditor.FCKConfig.ImageBrowserWindowWidth,
+		oEditor.FCKConfig.ImageBrowserWindowHeight ) ;
+}
+
+
+function OpenServerBrowser( type, url, width, height )
+{
+	sActualBrowser = type ;
+	OpenFileBrowser( url, width, height ) ;
+}
+
+var sActualBrowser ;
+
+
+function SetUrl( url ) {
+	if ( sActualBrowser == 'flv' ) {
+		document.getElementById('txtURL').value = url ;
+		GetE('txtHeight').value = GetE('txtWidth').value = '' ;
+	} else if ( sActualBrowser == 'link' ) {
+		document.getElementById('txtPlaylist').value = url ;
+	} else if ( sActualBrowser == 'link2' ) {
+		document.getElementById('txtRURL').value = url ;
+	} else if ( sActualBrowser == 'img1' ) {
+		document.getElementById('txtImgURL').value = url ;
+	} else if ( sActualBrowser == 'img2' ) {
+		document.getElementById('txtWMURL').value = url ;
+	}
+}
+
+
+
+
+var Media = function (o){
+	this.fileType = '';
+	this.url = '';
+	this.purl = '';
+	this.iurl = '';
+	this.wmurl = '';
+	this.width = '';
+	this.height = '';
+	this.loop = '';
+	this.play = '';
+	this.downloadable = '';
+	this.fullscreen = true;
+	this.bgcolor = '';
+	this.toolcolor = '';
+	this.tooltcolor = '';
+	this.tooltrcolor = '';
+	this.displayNavigation = true;
+	this.displayDigits = true;
+	this.align = '';
+	this.dispPlaylist = '';
+	this.rurl = '';
+	this.playlistDim = '';
+	this.playlistThumbs = '';
+
+	if (o) 
+		this.setObjectElement(o);
+};
+
+Media.prototype.setObjectElement = function (e){
+	if (!e) return ;
+	this.width = GetAttribute( e, 'width', this.width );
+	this.height = GetAttribute( e, 'height', this.height );
+};
+
+Media.prototype.setAttribute = function(attr, val) {
+	if (val=="true") {
+		this[attr]=true;
+	} else if (val=="false") {
+		this[attr]=false;
+	} else {
+		this[attr]=val;
+	}
+};
+
+Media.prototype.getInnerHTML = function (objectId){
+	var randomnumber = Math.floor(Math.random()*1000001);
+	var thisWidth = this.width;
+	var thisHeight = this.height;
+
+	var thisMediaType = "single";
+	if (GetE('rbFileType').checked == false) {
+		thisMediaType = "mpl";
+	}
+
+	// Align
+	var cssalign='';
+	var cssfloat='';
+	if (this.align=="center") {
+		cssalign='margin-left: auto;margin-right: auto;';
+	} else if (this.align=="right") {
+		cssfloat='float: right;';
+	} else if (this.align=="left") {
+		cssfloat='float: left;';
+	}
+
+	var s = "";
+	//s+= '<p>\n';
+	s+= '<div id="player' + randomnumber + '-parent" style="text-align: center;' + cssfloat + '">\n';
+	s+= '<div style="border-style: none; height: ' + thisHeight + 'px; width: ' + thisWidth + 'px; overflow: hidden; background-color: rgb(220, 220, 220); background-image: url(' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/flvPlayer.gif); background-repeat:no-repeat; background-position:center;' + cssalign + '">';
+	s+= '<script src="' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/swfobject.js" type="text/javascript"></script>\n';
+	s+= '<div id="player' + randomnumber + '">';
+	s+= '<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.';
+	// Moved after info - Added width,height,overflow for MSIE7
+	s+= '<div id="player' + randomnumber + '-config" style="display: none;visibility: hidden;width: 0px;height:0px;overflow: hidden;">';
+	// Save settings
+	for (var i in this) {
+		if (!i || !this[i]) continue;
+	        if (!i.match(/(set|get)/)) {
+        	        s+=i+"="+this[i]+" ";
+        	}
+	}
+	s+= '</div>';
+	s+= '</div>';
+	s+= '<script type="text/javascript">\n';
+	//s+= '	//NOTE: FOR LIST OF POSSIBLE SETTINGS GOTO http://www.jeroenwijering.com/extras/readme.html\n';
+	s+= '	var s1 = new SWFObject("' + oEditor.FCKConfig.PluginsPath + 'flvPlayer/mediaplayer.swf","' + thisMediaType + '","' + thisWidth + '","' + thisHeight + '","7");\n';
+	s+= '	s1.addVariable("width","' + thisWidth + '");\n';
+	s+= '	s1.addVariable("height","' + thisHeight + '");\n';
+	s+= '	s1.addVariable("autostart","' + this.play + '");\n';
+
+	if (thisMediaType == 'mpl') {
+		s+= '	s1.addVariable("file","' + this.purl + '");\n';
+		s+= '	s1.addVariable("autoscroll","true");\n';
+		s+= '	s1.addParam("allowscriptaccess","always");\n';
+
+		var dispWidth = thisWidth
+		var dispHeight = thisHeight
+		var dispThumbs = false
+
+		if (this.dispPlaylist != "none") {
+			if (this.dispPlaylist == "right") {
+
+				if (this.playlistDim.length > 0) {
+					dispWidth = thisWidth - this.playlistDim
+					if (this.playlistDim < 100) {
+						dispThumbs = false
+					} else {
+						dispThumbs = true
+					}
+				} else {
+					if (thisWidth >= 550) {
+						dispWidth = thisWidth - 200
+						dispThumbs = true
+					} else if (thisWidth >= 450) {
+						dispWidth = thisWidth - 100
+						dispThumbs = false
+					} else if (thisWidth >= 350) {
+						dispWidth = thisWidth - 50
+						dispThumbs = false
+					}
+				}
+
+				s+= '	s1.addVariable("displaywidth","' + dispWidth + '");\n';
+			} else if (this.dispPlaylist == "below") {
+				dispThumbs = true
+				
+				if (this.playlistDim.length > 0) {
+					dispHeight = thisWidth - this.playlistDim
+				} else {
+					if (thisHeight >= 550) {
+						dispHeight = thisWidth - 200
+					} else if (thisHeight >= 450) {
+						dispHeight = thisHeight - 150
+					} else if (thisHeight >= 350) {
+						dispHeight = thisHeight - 100
+					}
+				}
+
+				s+= '	s1.addVariable("displayheight","' + dispHeight + '");\n';
+			}
+
+			if (this.playlistThumbs == "false") {
+				dispThumbs = false;
+			}
+				
+			s+= '	s1.addVariable("thumbsinplaylist","' + dispThumbs + '");\n';
+		}
+
+		s+= '	s1.addVariable("shuffle","false");\n';
+		if (this.loop == true) {
+			s+= '	s1.addVariable("repeat","list");\n';
+		} else {
+			s+= '	s1.addVariable("repeat","' + this.loop + '");\n';
+		}
+		s+= '	//s1.addVariable("transition","bgfade");\n';
+	} else {
+		s+= '	s1.addVariable("file","' + this.url + '");\n';
+		s+= '	s1.addVariable("repeat","' + this.loop + '");\n';
+		s+= '	s1.addVariable("image","' + this.iurl + '");\n';
+	}
+
+	s+= '	s1.addVariable("showdownload","' + this.downloadable + '");\n';
+	s+= '	s1.addVariable("link","' + this.url + '");\n';
+	s+= '	s1.addParam("allowfullscreen","' + this.fullscreen + '");\n';
+	s+= '	s1.addVariable("showdigits","' + this.displayDigits + '");\n';
+	s+= '	s1.addVariable("shownavigation","' + this.displayNavigation + '");\n';
+
+	// SET THE COLOR OF THE TOOLBAR
+	var colorChoice1 = this.toolcolor
+	if (colorChoice1.length > 0) {
+		colorChoice1 = colorChoice1.replace("#","0x")
+		s+= '	s1.addVariable("backcolor","' + colorChoice1 + '");\n';
+	}
+	// SET THE COLOR OF THE TOOLBARS TEXT AND BUTTONS
+	var colorChoice2 = this.tooltcolor
+	if (colorChoice2.length > 0) {
+		colorChoice2 = colorChoice2.replace("#","0x")
+		s+= '	s1.addVariable("frontcolor","' + colorChoice2 + '");\n';
+	}
+	//SET COLOR OF ROLLOVER TEXT AND BUTTONS
+	var colorChoice3 = this.tooltrcolor
+	if (colorChoice3.length > 0) {
+		colorChoice3 = colorChoice3.replace("#","0x")
+		s+= '	s1.addVariable("lightcolor","' + colorChoice3 + '");\n';
+	}
+	//SET COLOR OF BACKGROUND
+	var colorChoice4 = this.bgcolor
+	if (colorChoice4.length > 0) {
+		colorChoice4 = colorChoice4.replace("#","0x")
+		s+= '	s1.addVariable("screencolor","' + colorChoice4 + '");\n';
+	}
+
+	s+= '	s1.addVariable("logo","' + this.wmurl + '");\n';
+	if (this.rurl.length > 0) {
+		s+= '	s1.addVariable("recommendations","' + this.rurl + '");\n';
+	}
+
+	//s+= '	//s1.addVariable("largecontrols","true");\n';
+	//s+= '	//s1.addVariable("bufferlength","3");\n';
+	//s+= '	//s1.addVariable("audio","http://www.jeroenwijering.com/extras/readme.html");\n';
+
+	s+= '	s1.write("player' + randomnumber + '");\n';
+	s+= '</script>\n';
+	s+= '</div>\n';
+	s+= '</div>\n';
+	//s+= '</p>\n';
+
+	return s;
+};
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+function SelectColor1()
+{
+	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectBackColor, window ) ;
+}
+
+function SelectColor2()
+{
+	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolColor, window ) ;
+}
+
+function SelectColor3()
+{
+	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolTextColor, window ) ;
+}
+
+function SelectColor4()
+{
+	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectToolTextRColor, window ) ;
+}
+
+function SelectBackColor( color )
+{
+	if ( color && color.length > 0 ) {
+		GetE('txtBgColor').value = color ;
+		//updatePreview()
+	}
+}
+
+function SelectToolColor( color )
+{
+	if ( color && color.length > 0 ) {
+		GetE('txtToolbarColor').value = color ;
+		//updatePreview()
+	}
+}
+
+function SelectToolTextColor( color )
+{
+	if ( color && color.length > 0 ) {
+		GetE('txtToolbarTxtColor').value = color ;
+		//updatePreview()
+	}
+}
+
+function SelectToolTextRColor( color )
+{
+	if ( color && color.length > 0 ) {
+		GetE('txtToolbarTxtRColor').value = color ;
+		//updatePreview()
+	}
+}
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.html	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.html	(revision 1199)
@@ -0,0 +1,46 @@
+<html>
+<head>
+<style type="text/css">
+	body { background-color: #fff; padding: 0 50px; color:#000; font: 13px/18px Arial, sans-serif; }
+	a { color: #069; }
+	h3 { padding-top: 50px; }
+	ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
+</style>
+</head>
+<body>
+
+
+<h3>Example</h3>
+<p>Here's a simple example of the mediaplayer embedded in a page. Copy-paste the code to get started.</p>
+
+
+
+<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
+<script type="text/javascript" src="swfobject.js"></script>
+<script type="text/javascript">
+	var s1 = new SWFObject("mediaplayer.swf","mediaplayer","300","170","7");
+	s1.addParam("allowfullscreen","true");
+	s1.addVariable("width","300");
+	s1.addVariable("height","170");
+	s1.addVariable("file","video.flv");
+	s1.addVariable("image","video.jpg");
+	s1.write("container");
+</script>
+
+
+
+<h3 id="documentation">Documentation</h3>
+<p>The easiest way to get going with the mediaplayer is <a href="http://www.jeroenwijering.com/?page=wizard" title="the flv mp3 media player wizard">by using the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site! If you want to learn more, here's the complete documentation:</p>
+<ol>
+<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Flashvars" title="All Flashvars supported by the FLV Media Player">supported flashvars</a> (variables) you can set to customize the mediaplayer.</li>
+<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Playlists" title="All playlist formats by the FLV Media Player">supported playlist formats</a> you can use, plus some implementation info.</li>
+<li>A large list <a href="http://www.jeroenwijering.com/?item=Third_Party_Plugins" title="WordPress, Joomla, Drupal, CMS Plugins">of all third-party plugins</a> for the mediaplayer.<br/>&nbsp;</li>
+<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Embedding_Flash" title="embedding Flash"> embedding the mediaplayer</a> in your site.</li>
+<li>A tutorial with <a href="http://www.jeroenwijering.com/?item=Javascript_interaction" title="Javascript interaction">all functions of the javascript API</a>.</li>
+<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Making_Video_Accessible" title="W3C video Accessibility and the player">adding captions and an audiodescription</a> (accessibility).</li>
+</ol>
+
+
+
+</body>
+</html>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/readme.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/readme.html	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/readme.html	(revision 1199)
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<title>Untitled Document</title>
+<style type="text/css">
+<!--
+.style1 {color: #FF6600}
+.style3 {color: #333399}
+body {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 12px;
+}
+-->
+</style>
+</head>
+
+<body>
+<h1>flvPlayer - A plugin for FCKeditor</h1>
+<h3>Overview</h3>
+<blockquote>
+  <p>The flvPlayer plugin allows you to add and configure a small media player that playes flv and mp3's.</p>
+</blockquote>
+<h3>Installation and Configuration </h3>
+<ol>
+  <li>Unzip the files into the plugins folder.</li>
+  <li>Configure the editor to see the plugin. In your editor configuration file, add the line below:<br />
+    <br />
+    <span class="style1">FCKConfig.Plugins.Add( 'flvPlayer','en') ;</span><br />
+  <br />
+  </li>
+  <li>Add the toolbar button to your preferred menu.<br />
+    <br />
+    <span class="style1">FCKConfig.ToolbarSets[    &quot;Default&quot;] = [<br />
+    ['Source','DocProps','-','Save','NewPage','Preview','-','Templates',<span class="style3">'flvPlayer'</span>],</span><br />
+    <br />
+  </li>
+  <li>Save and upload your configuration file. If all goes well, you should see the flvPlayer icon <img src="flvPlayer.gif" alt="flvPlayer" width="16" height="16" />on your toolbar. </li>
+</ol>
+<p>&nbsp; </p>
+</body>
+</html>
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ru.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ru.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ru.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fr.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fr.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fr.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/de.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/de.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/de.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/sv.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/sv.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/sv.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ee.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ee.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/ee.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/nl.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/nl.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/nl.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fi.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fi.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/fi.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Mediasoitin";
+FCKLang["DlgFLVPlayerURL"]            = "Video/Media tiedosto" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Selaa..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Esikatselu kuva" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Soittimen leveys (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Soittimen korkeus (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Soittimen kohdistus" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Vasen" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Oikea" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Keskitetty" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "Vaakatila" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "Pystytila" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Taustaväri"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Tekstin väri"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Valitse..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Automaattinen toisto" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Jatkuva" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Ladattavissa" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Salli koko näyttötila" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Anna osoite (URL)"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Anna soittolistan osoite (URL)"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Anna leveys"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Anna korkeus"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Soittimen asetukset"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media asetukset"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Näytä navigaatio"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Näytä aika"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Vesileiman kuva"
+FCKLang["DlgFLVPlayerFileType"]	      = "Tiedostotyyppi"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Yksittäinen media tiedosto"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media soittolista"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Soittolistan osoite (URL)"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Näytä soittolista"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Älä näytä"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Näytä oikella"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Näytä alla"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Suosituslista"
+FCKLang["DlgFLVPlaylistWidth"]        = "Soittolistan leveys (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Soittolistan korkeus (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Soittolistan koko"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Näytä esikatselukuva soittolistassa"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/en.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/en.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/en.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/index.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/index.php	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/index.php	(revision 1199)
@@ -0,0 +1,28 @@
+<?php
+
+// $Id: index.php 1161 2009-10-11 16:45:19Z Luisehahne $
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2009, Ryan Djurovich
+
+ Website Baker is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ Website Baker is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Website Baker; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+*/
+
+header('Location: ../index.php');
+
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/br.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/br.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/lang/br.js	(revision 1199)
@@ -0,0 +1,45 @@
+﻿// FLV Player Dialog
+FCKLang["DlgFLVPlayerTitle"]          = "FLV Media Player";
+FCKLang["DlgFLVPlayerURL"]            = "Movie/Media File" ;
+FCKLang["DlgFLVPlayerBtnBrowse"]      = "Browse..." ;
+FCKLang["DlgFLVPlayerImgURL"]         = "Preview Image" ;
+FCKLang["DlgFLVPlayerWidth"]          = "Player Width (px)" ;
+FCKLang["DlgFLVPlayerHeight"]         = "Player Height (px)" ;
+FCKLang["DlgFLVPlayerAlign"]          = "Player Alignment" ;
+FCKLang["DlgFLVPlayerAlignLeft"]      = "Left" ;
+FCKLang["DlgFLVPlayerAlignRight"]     = "Right" ;
+FCKLang["DlgFLVPlayerAlignCenter"]    = "Center" ;
+FCKLang["DlgFLVPlayerHSpace"]         = "HSpace" ;
+FCKLang["DlgFLVPlayerVSpace"]         = "VSpace" ;
+FCKLang["DlgFLVPlayerBgColor"]        = "Background Color"
+FCKLang["DlgFLVPlayerTBColor"]        = "Toolbar Color"
+FCKLang["DlgFLVPlayerTBTColor"]       = "Text Color"
+FCKLang["DlgFLVPlayerTBTRColor"]      = "Rollover Text Color"
+FCKLang["DlgFLVPlayerBtnSelect"]      = "Select..."
+FCKLang["DlgFLVPlayerAutoplay"]       = "Autoplay" ;
+FCKLang["DlgFLVPlayerLoop"]           = "Loop" ;
+FCKLang["DlgFLVPlayerDownload"]       = "Downloadable" ;
+FCKLang["DlgFLVPlayerFullscreen"]     = "Allow Fullscreen" ;
+FCKLang["DlgFLVPlayerAlertUrl"]       = "Please input the URL"
+FCKLang["DlgFLVPlayerAlertPlaylist"]  = "Please input the Playlist URL"
+FCKLang["DlgFLVPlayerAlertWidth"]     = "Please input the Width"
+FCKLang["DlgFLVPlayerAlertHeight"]    = "Please input the Height"
+FCKLang["DlgFLVPlayerPlayerAttrs"]    = "Player Attributes"
+FCKLang["DlgFLVPlayerMovieAttrs"]     = "Media Attributes"
+FCKLang["DlgFLVPlayerShowNavigation"] = "Display Navigation"
+FCKLang["DlgFLVPlayerShowDigits"]     = "Display Time"
+FCKLang["DlgFLVPlayerWatermarkURL"]   = "Watermark Image"
+FCKLang["DlgFLVPlayerFileType"]		  = "File Type"
+FCKLang["DlgFLVPlayerSingleFile"]     = "Single Media File"
+FCKLang["DlgFLVPlayerPlaylistFile"]   = "Media Playlist"
+FCKLang["DlgFLVPlayerPlaylistURL"]    = "Playlist URL"
+FCKLang["DlgFLVPlayerDispPlaylist"]   = "Display Playlist"
+FCKLang["DlgFLVPlayerDispPLNone"]     = "Do Not Display"
+FCKLang["DlgFLVPlayerDispPLRight"]    = "Display On Right"
+FCKLang["DlgFLVPlayerDispPLBelow"]    = "Display Below"
+FCKLang["DlgFLVPlayerRecommendURL"]   = "Recommendations List"
+FCKLang["DlgFLVPlaylistWidth"]        = "Playlist Width (px)"
+FCKLang["DlgFLVPlaylistHeight"]       = "Playlist Height (px)"
+FCKLang["DlgFLVPlaylistDimText"]      = "Playlist Dimension"
+FCKLang["DlgFLVPlayerPLThumbs"]       = "Display Thumbnails in Playlist"
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/swfobject.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/swfobject.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/swfobject.js	(revision 1199)
@@ -0,0 +1,8 @@
+/**
+ * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
+ *
+ * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
+ * http://www.opensource.org/licenses/mit-license.php
+ *
+ */
+if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/JW_FLV_MEDIA_PLAYER_README.HTML
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/JW_FLV_MEDIA_PLAYER_README.HTML	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/JW_FLV_MEDIA_PLAYER_README.HTML	(revision 1199)
@@ -0,0 +1,53 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+	<title>JW FLV Media Player</title>
+
+	<style type="text/css">
+		body { background-color: #fff; padding: 0 25px; color:#000; font: 13px/18px Arial, sans-serif; }
+		a { color: #360; }
+		h3 { padding-top: 50px; }
+		ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
+	</style>
+
+</head>
+<body>
+
+	<h3>Example</h3>
+	<p>Here's a simple example of the <a href="http://www.jeroenwijering.com/?item=JW_FLV_Media_Player">JW FLV Media Player</a> embedded in a page. Copy-paste the source code and put the files on your site to get started.</p>
+
+
+
+
+	<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
+	<script type="text/javascript" src="swfobject.js"></script>
+	<script type="text/javascript">
+		var s1 = new SWFObject("mediaplayer.swf","mediaplayer","300","185","8");
+		s1.addParam("allowfullscreen","true");
+		s1.addVariable("width","300");
+		s1.addVariable("height","185");
+		s1.addVariable("file","video.flv");
+		s1.write("container");
+	</script>
+
+
+
+	<h3>Quickstart</h3>
+	<p>The easiest way to get going with the mediaplayer is <a href="http://www.jeroenwijering.com/?page=wizard">by using the setup wizard</a>. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site!</p>
+
+	<h3>Licensing</h3>
+	<p>The FLV Media Player is licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons License</a>. It allows you to use, modify and redistribute the script for free for noncommercial purposes. For corporate use, <a href="http://www.jeroenwijering.com/?page=order" title="Order commercial licenses">please apply for a 20 euros commercial license</a>!</p>
+
+	<h3>Documentation</h3>
+	<ol>
+	<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Flashvars">supported flashvars</a> (variables) you can set to customize the mediaplayer.</li>
+	<li>All <a href="http://www.jeroenwijering.com/?item=Supported_Playlists">supported playlist formats</a> you can use, plus some implementation info.</li>
+	<li>A large list <a href="http://www.jeroenwijering.com/?item=Third_Party_Plugins">of all third-party plugins</a> for the mediaplayer.</li>
+	<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Embedding_Flash"> embedding the mediaplayer</a> in your site.</li>
+	<li>A tutorial with <a href="http://www.jeroenwijering.com/?item=Javascript_interaction">all functions of the javascript API</a>.</li>
+	<li>A tutorial on <a href="http://www.jeroenwijering.com/?item=Making_Video_Accessible">adding captions and an audiodescription</a> (accessibility).</li>
+	</ol>
+
+</body>
+</html>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_xspf_sample.xml
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_xspf_sample.xml	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_xspf_sample.xml	(revision 1199)
@@ -0,0 +1,57 @@
+<playlist version="1" xmlns="http://xspf.org/ns/0/">
+	<title>XSPF Example Playlist</title>
+	<info>http:/xspf.org/xspf-v1.html</info>
+	<trackList>
+
+		<track>
+			<title>Afraid of the Dark</title>
+			<location>http://www.jeroenwijering.com/upload/afraid.flv</location>
+		</track>
+
+		<track>
+			<title>Sunshine up Ahead</title>
+			<creator>Peter Jones</creator>
+			<location>http://www.jeroenwijering.com/upload/peterjones_sunshine_lofi.mp3</location>
+			<info>http://www.peterjonesmusic.net/</info>
+			<image>http://www.jeroenwijering.com/upload/peterjones.jpg</image>
+		</track>
+
+		<track>
+			<title>Aggressive Wallpaper</title>
+			<creator>Jeroen Wijering</creator>
+			<annotation>
+				This is an aggressive wallpaper for public spaces where you don't want 
+				people to linger around (eg. subway tunnels or parking lots). People 
+				feel offended by the aggressive wallpaper and make sure they get out 
+				of these places as soon as their business is done there.
+			</annotation>
+			<location>http://www.jeroenwijering.com/upload/behang.jpg</location>
+			<info>http://www.jeroenwijering.com/?item=Aggressive_Wallpaper</info>
+			<meta rel="duration">12.5</meta>
+		</track>
+
+
+		<track>
+			<title>ITV's Coronation Street</title>
+			<annotation>
+				This example features accessibility content 
+				(closed captions and a descriptive audiotrack).
+			</annotation>
+			<info>http://www.jeroenwijering.com/?item=Making_Video_Accessible</info>
+			<location>http://www.jeroenwijering.com/upload/corrie.flv</location>
+			<image>http://www.jeroenwijering.com/upload/corrie.jpg</image>
+			<meta rel="captions">http://www.jeroenwijering.com/upload/corrie.xml</meta>
+			<meta rel="audio">http://www.jeroenwijering.com/upload/corrie.mp3</meta>
+			<meta rel="duration">00:00:45</meta>
+		</track>
+
+		<track>
+			<title>Bleed It Out</title>
+			<creator>Linkin Park</creator>
+			<location>upload/media/04 Bleed It Out.mp3</location>
+			<info>http://www.linkinpark.com/</info>
+			<image>upload/image/Sample_Preview.jpg</image>
+		</track>
+
+	</trackList>
+</playlist>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.html
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.html	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.html	(revision 1199)
@@ -0,0 +1,234 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+	<head>
+		<title>FLV Movie Player</title>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+		<meta content="noindex, nofollow" name="robots">
+		<script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>
+		<script src="flvPlayer.js" type="text/javascript"></script>
+		<link href="../../dialog/common/fck_dialog_common.css" rel="stylesheet" type="text/css" />
+		<style>
+			body, td, input, textarea, select, label {font-family: Verdana, Geneva, Arial, helvetica, sans-serif; font-size: 10px; }
+		</style>
+		<script type="text/javascript">
+		<!--
+		document.writeln(FCK.TempBaseTag);
+		-->
+		</script>
+	</head>
+	<body scroll="no">
+		<div id="divInfo">
+			<table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%">
+				<tr>
+					<td valign="top" colspan=3>
+						<fieldset>
+							<legend><span fcklang="DlgFLVPlayerFileType">File Type</span></legend>
+							<input type="radio" id="rbFileType" name="rbFileType" value="single" onclick="btnBrowse.disabled=false; btnImgBrowse.disabled=false; btnLnkBrowse.disabled=true; txtURL.disabled=false; txtImgURL.disabled=false; txtPlaylist.disabled=true; txtPlaylist.value=''; txtURL.style.background='#ffffff'; txtImgURL.style.background='#ffffff'; txtPlaylist.style.background='transparent'; selDispPlaylist.disabled=true;" checked="checked" />&nbsp;<span fckLang="DlgFLVPlayerSingleFile">Single File</span><br>
+							<input type="radio" id="rbFileType" name="rbFileType" value="list" onclick="btnBrowse.disabled=true; btnImgBrowse.disabled=true; btnLnkBrowse.disabled=false; txtURL.disabled=true; txtImgURL.disabled=true; txtPlaylist.disabled=false; txtURL.value=''; txtImgURL.value=''; txtURL.style.background='transparent'; txtImgURL.style.background='transparent'; txtPlaylist.style.background='#ffffff'; selDispPlaylist.disabled=false;" />&nbsp;<span fckLang="DlgFLVPlayerPlaylistFile">Playlist</span>
+						</fieldset>
+					</td>
+				</tr>
+				<tr>
+					<td valign="top" colspan=3>
+						<table cellspacing="0" cellpadding="0" width="100%" border="0">
+							<tr>
+								<td valign="top" width="100%">								
+									<span fckLang="DlgFLVPlayerURL">.FLV Movie</span><br>
+									<input style="WIDTH: 100%" type="text" id="txtURL">
+								</td>
+								<td id="tdBrowse" valign="bottom" nowrap>
+									<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="BrowseServer();" id="btnBrowse">
+								</td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+				<tr>
+					<td valign="top" colspan=3>
+						<table cellspacing="0" cellpadding="0" width="100%" border="0">
+							<tr>
+								<td valign="top" width="100%">								
+									<span fckLang="DlgFLVPlayerImgURL">Preview Image</span><br>
+									<input style="WIDTH: 100%" type="text" id="txtImgURL">
+								</td>
+								<td id="tdBrowse" valign="bottom" nowrap>
+									<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="img1BrowseServer();" id="btnImgBrowse">
+								</td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+				<tr>
+					<td valign="top" colspan=3>
+						<table cellspacing="0" cellpadding="0" width="100%" border="0">
+							<tr>
+								<td valign="top" width="100%">								
+									<span fckLang="DlgFLVPlayerPlaylistURL">Playlist URL</span><br>
+									<input style="WIDTH: 100%" type="text" id="txtPlaylist" style="background:transparent;" disabled>
+								</td>
+								<td id="tdBrowse" valign="bottom" nowrap>
+									<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="LnkBrowseServer();" id="btnLnkBrowse" disabled>
+								</td>
+							</tr>
+						</table>
+					</td>
+				</tr>
+
+				<tr>
+					<td valign="top" colspan=3>&nbsp;</td>
+				</tr>
+				<tr>
+					<td valign="top" width="50%">
+						<fieldset>
+							<legend><span fcklang="DlgFLVPlayerMovieAttrs">Movie Attributes</span></legend>
+								<table cellspacing="0" cellpadding="0" width="100%" border="0">
+									<tr>
+										<td valign="top" colspan=2>
+											<table cellspacing="0" cellpadding="0" width="100%" border="0">
+												<tr>
+													<td valign="top" width="100%">								
+														<span fckLang="DlgFLVPlayerWatermarkURL">Watermark Image</span><br>
+														<input style="WIDTH: 100%" type="text" id="txtWMURL">
+													</td>
+													<td id="tdBrowse" valign="bottom" nowrap>
+														<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="img2BrowseServer();" id="btnImg2Browse">
+													</td>
+												</tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<table cellspacing="0" cellpadding="0" width="100%" border="0">
+												<tr>
+													<td valign="top" width="100%">								
+														<span fckLang="DlgFLVPlayerRecommendURL">Recommendations List</span><br>
+														<input style="WIDTH: 100%" type="text" id="txtRURL">
+													</td>
+													<td id="tdBrowse" valign="bottom" nowrap>
+														<input type="button" fckLang="DlgFLVPlayerBtnBrowse" value="Browse Server" onclick="Lnk2BrowseServer();" id="btnLnk2Browse">
+													</td>
+												</tr>
+											</table>
+										</td>
+									</tr>
+
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" id="chkAutoplay">
+											<span fckLang="DlgFLVPlayerAutoplay">Autoplay</span>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" id="chkLoop">
+											<span fckLang="DlgFLVPlayerLoop">Loop</span>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" checked id="chkDownload">
+											<span fckLang="DlgFLVPlayerDownload">Downloadable</span>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" checked id="chkFullscreen">
+											<span fckLang="DlgFLVPlayerFullscreen">Allow Fullscreen</span>
+										</td>
+									</tr>
+									<tr>
+										<td><span fckLang="DlgFLVPlayerDispPlaylist">Display Playlist</span>&nbsp;</td>
+										<td>
+											<select name="selDispPlaylist" id="selDispPlaylist" style="width:120px;" disabled onchange="updatePlaylistOption();">
+												<option fckLang="DlgFLVPlayerDispPLNone" value="none" selected>None</option>
+												<option fckLang="DlgFLVPlayerDispPLRight" value="right">Right</option>
+												<option fckLang="DlgFLVPlayerDispPLBelow" value="below">Below</option>
+											</select>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top"><span id="spanDimText" fckLang="DlgFLVPlaylistDimText">Playlist Dimension</span><span id="spanDimWText" fckLang="DlgFLVPlaylistWidth" style="display: none;">Playlist Width (px)</span><span id="spanDimHText" fckLang="DlgFLVPlaylistHeight" style="display: none;">Playlist Height (px)</span>&nbsp;</td>
+										<td valign="top"><input type="text" size="5" id="txtPLDim" style="background:transparent;" disabled></td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" id="chkPLThumbs" disabled>
+											<span fckLang="DlgFLVPlayerPLThumbs">Display Thumbnails in Playlist</span>
+										</td>
+									</tr>
+
+								</table>
+						</fieldset>
+					</td>
+					<td valign="top">&nbsp;</td>
+					<td valign="top" width="50%">
+						<fieldset>
+							<legend><span fcklang="DlgFLVPlayerPlayerAttrs">Player Attributes</span></legend>
+								<table cellspacing="0" cellpadding="0" width="100%" border="0">
+									<tr>
+										<td valign="top"><span fckLang="DlgFLVPlayerWidth">Movie Width (px)</span>&nbsp;</td>
+										<td valign="top"><input type="text" size="5" id="txtWidth"></td>
+									</tr>
+									<tr>
+										<td valign="top"><span fckLang="DlgFLVPlayerHeight">Movie Height (px)</span>&nbsp;</td>
+										<td valign="top"><input type="text" size="5" id="txtHeight"></td>
+									</tr>
+									<tr> 
+										<td><span fckLang="DlgFLVPlayerBgColor">Bg Color</span>&nbsp;</td>
+										<td><input id="txtBgColor" type="text" size="8">
+										<input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor1()">
+										</td>
+									</tr>
+									<tr> 
+										<td><span fckLang="DlgFLVPlayerTBColor">Toolbar Color</span>&nbsp;</td>
+										<td><input id="txtToolbarColor" type="text" size="8">
+										<input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor2()">
+										</td>
+									</tr>
+									<tr> 
+										<td><span fckLang="DlgFLVPlayerTBTColor">Toolbar Text Color</span>&nbsp;</td>
+										<td><input id="txtToolbarTxtColor" type="text" size="8">
+										<input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor3()">
+										</td>
+									</tr>
+									<tr> 
+										<td><span fckLang="DlgFLVPlayerTBTRColor">Toolbar Text Rollover Color</span>&nbsp;</td>
+										<td><input id="txtToolbarTxtRColor" type="text" size="8">
+										<input type="button" fckLang="DlgFLVPlayerBtnSelect" value="Select..." onclick="SelectColor4()">
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" checked id="chkShowNavigation">
+											<span fckLang="DlgFLVPlayerShowNavigation">Display Navigation</span>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>
+											<input type="checkbox" class="CheckBox" checked id="chkShowDigits">
+											<span fckLang="DlgFLVPlayerShowDigits">Display Time</span>
+										</td>
+									</tr>
+									<tr>
+										<td><span fckLang="DlgFLVPlayerAlign">Align</span>&nbsp;</td>
+										<td>
+											<select name="selAlign" id="selAlign" style="width:120px;">
+												<option fckLang="DlgFLVPlayerAlignLeft" value="left" selected>Left</option>
+												<option fckLang="DlgFLVPlayerAlignCenter" value="center">Center</option>
+												<option fckLang="DlgFLVPlayerAlignRight" value="right">Right</option>
+											</select>
+										</td>
+									</tr>
+									<tr>
+										<td valign="top" colspan=2>&nbsp;</td>
+									</tr>
+								</table>
+						</fieldset>
+					</td>
+				</tr>
+		  </table>
+		</div>
+		<script type="text/javascript">window_onload();</script>
+	</body>
+</html>
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.swf
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/mediaplayer.swf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_recommendations_sample.xml
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_recommendations_sample.xml	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_recommendations_sample.xml	(revision 1199)
@@ -0,0 +1,33 @@
+<recommendations>
+
+	<recommendation>
+		<title>Reporting screenshot from Mint</title>
+		<image>http://www.jeroenwijering.com/upload/thumb1.jpg</image>
+		<link>http://www.haveamint.com</link>
+	</recommendation>
+
+	<recommendation>
+		<title>Joost introduction video</title>
+		<image>http://www.jeroenwijering.com/upload/thumb2.jpg</image>
+		<link>http://www.joost.com</link>
+	</recommendation>
+
+	<recommendation>
+		<title>The one and only VideoEgg egg</title>
+		<image>http://www.jeroenwijering.com/upload/thumb3.jpg</image>
+		<link>http://www.videoegg.com</link>
+	</recommendation>
+
+	<recommendation>
+		<title>Cool long-exposure video from Flickr</title>
+		<image>http://www.jeroenwijering.com/upload/thumb4.jpg</image>
+		<link>http://www.flickr.com</link>
+	</recommendation>
+
+	<recommendation>
+		<title>Extreme closeup of the MT logo</title>
+		<image>http://www.jeroenwijering.com/upload/thumb5.jpg</image>
+		<link>http://www.movabletype.com</link>
+	</recommendation>
+
+</recommendations>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_rss_sample.xml
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_rss_sample.xml	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/flvPlayer_rss_sample.xml	(revision 1199)
@@ -0,0 +1,52 @@
+<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">
+	<channel>
+		<title>RSS  Example Playlist</title>
+		<link>http://cyber.law.harvard.edu/rss/rss.html</link>
+
+		<item>
+			<title>Afraid of the dark</title>
+			<enclosure url="http://www.jeroenwijering.com/upload/afraid.flv" type="video/x-flv" />
+		</item>
+
+		<item>
+			<title>Sunshine up Ahead</title>
+			<author>Peter Jones</author>
+			<link>http://www.peterjonesmusic.net/</link>
+			<media:content url="http://www.jeroenwijering.com/upload/peterjones_sunshine_lofi.mp3" type="audio/mpeg"/>
+			<media:thumbnail href="http://www.jeroenwijering.com/upload/peterjones.jpg" />
+		</item>
+
+		<item>
+			<title>Aggressive Wallpaper</title>
+			<author>Jeroen Wijering</author>
+			<link>http://www.jeroenwijering.com/?item=Aggressive_Wallpaper</link>
+			<description>
+				This is an aggressive wallpaper for public spaces where you don't want 
+				people to linger around (eg. subway tunnels or parking lots). People 
+				feel offended by the aggressive wallpaper and make sure they get out 
+				of these places as soon as their business is done there.
+			</description>
+			<media:content url="http://www.jeroenwijering.com/upload/behang.jpg" type="image/jpeg" duration="12.5"/>
+		</item>
+
+		<item>
+			<title>ITV's Coronation Street</title>
+			<link>http://www.jeroenwijering.com/?item=Making_Video_Accessible</link>
+			<description>
+				Unfortunately, accessibility content cannot be included with the RSS file format. 
+				The SMIL format is more suitable for this type of playlists.
+			</description>
+			<media:content url="http://www.jeroenwijering.com/upload/corrie.flv" type="video/x-flv" duration="00:00:45"/>
+			<media:thumbnail url="http://www.jeroenwijering.com/upload/corrie.jpg"/>
+		</item>
+
+		<item>
+			<title>Bleed It Out</title>
+			<author>Linkin Park</author>
+			<link>http://www.linkinpark.com/</link>
+			<media:content url="upload/media/04 Bleed It Out.mp3" type="audio/mpeg"/>
+			<media:thumbnail href="upload/image/Sample_Preview.jpg" />
+		</item>
+
+	</channel>
+</rss>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/fckplugin.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/fckplugin.js	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/fckplugin.js	(revision 1199)
@@ -0,0 +1,12 @@
+﻿// Register the related commands.
+var dialogPath = FCKConfig.PluginsPath + 'flvPlayer/flvPlayer.html';
+var flvPlayerDialogCmd = new FCKDialogCommand( FCKLang["DlgFLVPlayerTitle"], FCKLang["DlgFLVPlayerTitle"], dialogPath, 600, 520 );
+FCKCommands.RegisterCommand( 'flvPlayer', flvPlayerDialogCmd ) ;
+
+// Create the Flash toolbar button.
+var oFlvPlayerItem		= new FCKToolbarButton( 'flvPlayer', FCKLang["DlgFLVPlayerTitle"]) ;
+oFlvPlayerItem.IconPath	= FCKPlugins.Items['flvPlayer'].Path + 'flvPlayer.gif' ;
+
+FCKToolbarItems.RegisterItem( 'flvPlayer', oFlvPlayerItem ) ;			
+// 'Flash' is the name used in the Toolbar config.
+
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/index.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/index.php	(nonexistent)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/flvPlayer/index.php	(revision 1199)
@@ -0,0 +1,28 @@
+<?php
+
+// $Id: index.php 1161 2009-10-11 16:45:19Z Luisehahne $
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2009, Ryan Djurovich
+
+ Website Baker is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ Website Baker is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Website Baker; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+*/
+
+header('Location: ../index.php');
+
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/browser.css
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/browser.css	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/browser/default/browser.css	(revision 1199)
@@ -75,15 +75,15 @@
 .PopupButtons
 {
 	border-top: #d5d59d 1px solid;
-	background-color: #e3e3c7;
+	background-color: #C1D3FB;
 	padding: 7px 10px 7px 10px;
 }
 
 .Button, button
 {
-	color: #3b3b1f;
-	border: #737357 1px solid;
-	background-color: #c7c78f;
+	color: #0000CD;
+	border: 1px solid #0000CD;
+	background-color: #B3C9FA;
 }
 
 .FolderListCurrentFolder img
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/connector.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/connector.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/connector.php	(revision 1199)
@@ -41,6 +41,8 @@
     if (!isset($_GET)) {
         global $_GET;
     }
+
+
 	if ( !isset( $_GET['Command'] ) || !isset( $_GET['Type'] ) || !isset( $_GET['CurrentFolder'] ) )
 		return ;
 
@@ -47,7 +49,7 @@
 	// Get the main request informaiton.
 	$sCommand		= $_GET['Command'] ;
 	$sResourceType	= $_GET['Type'] ;
-	$sCurrentFolder	= GetCurrentFolder() ;
+	print $sCurrentFolder	= GetCurrentFolder() ;
 
 	// Check if it is an allowed command
 	if ( ! IsAllowedCommand( $sCommand ) )
@@ -84,4 +86,4 @@
 
 	exit ;
 }
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/basexml.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/basexml.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/basexml.php	(revision 1199)
@@ -96,4 +96,4 @@
 	else
 		echo '<Error number="' . $number . '" />' ;
 }
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/phpcompat.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/phpcompat.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/phpcompat.php	(revision 1199)
@@ -15,3 +15,4 @@
         strtoupper(substr(PHP_OS, 0, 3) == 'WIN') ? '\\' : '/'
     ) ;
 }
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/util.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/util.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/util.php	(revision 1199)
@@ -217,4 +217,4 @@
 	return true;
 }
 
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/commands.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/commands.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/commands.php	(revision 1199)
@@ -232,8 +232,9 @@
 							break ;
 						}
 
-						$permissions = 0777;
+			                $permissions = defined('OCTAL_DIR_MODE') ? OCTAL_DIR_MODE : 0777;
 
+
 						if ( isset( $Config['ChmodOnUpload'] ) && $Config['ChmodOnUpload'] )
 						{
 							$permissions = $Config['ChmodOnUpload'] ;
@@ -277,4 +278,4 @@
 
 	exit ;
 }
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/upload.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/upload.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/upload.php	(revision 1199)
@@ -56,4 +56,4 @@
 
 FileUpload( $sType, $sCurrentFolder, $sCommand )
 
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php	(revision 1199)
@@ -38,9 +38,13 @@
 require_once('../../../../../../../config.php');
 require_once(WB_PATH .'/framework/class.admin.php');
 
+$wb_path = str_replace('\\','/', WB_PATH);
+$wb_path = str_replace('//','/', WB_PATH);
+
 // check if user is authenticated if WB and has permission to view MEDIA folder
 $admin = new admin('Media', 'media_view', false, false);
-if(($admin->get_permission('media_view') === true)) {
+if(($admin->get_permission('media_view') === true))
+{
 	// user allowed to view MEDIA folder -> enable PHP connector
 	$Config['Enabled'] = true ;
 	// allow actions to list folders and files
@@ -49,9 +53,9 @@
 
 // Path to user files relative to the document root.
 // $Config['UserFilesPath'] = '/userfiles/' ;
-$Config['UserFilesPath'] = WB_URL .MEDIA_DIRECTORY ;
+$Config['UserFilesPath'] = WB_URL.MEDIA_DIRECTORY.'/' ;
 // use home folder of current user as document root if available
-if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
+if(isset($_SESSION['HOME_FOLDER']) && file_exists($wb_path .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
    $Config['UserFilesPath'] = $Config['UserFilesPath'].$_SESSION['HOME_FOLDER'];
 }
 
@@ -60,10 +64,11 @@
 // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
 // Attention: The above 'UserFilesPath' must point to the same directory.
 // $Config['UserFilesAbsolutePath'] = '' ;
-$Config['UserFilesAbsolutePath'] = WB_PATH .MEDIA_DIRECTORY ;
+
+$Config['UserFilesAbsolutePath'] = $wb_path .MEDIA_DIRECTORY.'/' ;
 // use home folder of current user as document root if available
-if(isset($_SESSION['HOME_FOLDER']) && file_exists(WB_PATH .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
-   $Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath'].$_SESSION['HOME_FOLDER'];
+if(isset($_SESSION['HOME_FOLDER']) && file_exists($wb_path .MEDIA_DIRECTORY .$_SESSION['HOME_FOLDER'])){
+   $Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath'].$_SESSION['HOME_FOLDER'].'/';
 }
 // Due to security issues with Apache modules, it is recommended to leave the
 // following setting enabled.
@@ -104,11 +109,11 @@
 // If possible, it is recommended to set more restrictive permissions, like 0755.
 // Set to 0 to disable this feature.
 // Note: not needed on Windows-based servers.
-$Config['ChmodOnUpload'] = 0777 ;
+$Config['ChmodOnUpload'] = defined('OCTAL_FILE_MODE') ? OCTAL_FILE_MODE : 0777 ;
 
 // See comments above.
 // Used when creating folders that does not exist.
-$Config['ChmodOnFolderCreate'] = 0777 ;
+$Config['ChmodOnFolderCreate'] = defined('OCTAL_DIR_MODE') ? OCTAL_DIR_MODE : 0777 ;
 
 /*
 	Configuration settings for each Resource Type
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/io.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/io.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/io.php	(revision 1199)
@@ -72,8 +72,9 @@
 	$sResourceTypePath = GetResourceTypeDirectory( $resourceType, $sCommand ) ;
 
 	// Ensure that the directory exists.
-	$sErrorMsg = CreateServerFolder( $sResourceTypePath ) ;
+	 $sErrorMsg = CreateServerFolder( $sResourceTypePath ) ;
 	if ( $sErrorMsg != '' )
+   /* if (!file_exists($sResourceTypePath)) */
 		SendError( 1, "Error creating folder \"{$sResourceTypePath}\" ({$sErrorMsg})" ) ;
 
 	// Return the resource type directory combined with the required path.
@@ -125,7 +126,7 @@
 		}
 		else
 		{
-			$permissions = 0777 ;
+			$permissions = defined('OCTAL_DIR_MODE') ? OCTAL_DIR_MODE : 0777;
 			if ( isset( $Config['ChmodOnFolderCreate'] ) )
 			{
 				$permissions = $Config['ChmodOnFolderCreate'] ;
@@ -300,4 +301,4 @@
 	exit ;
 }
 
-?>
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/fckeditor/fckeditor_php5.php
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/fckeditor/fckeditor_php5.php	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/fckeditor/fckeditor_php5.php	(revision 1199)
@@ -255,3 +255,4 @@
 		return strtr( $valueToEncode,  $chars ) ;
 	}
 }
+?>
\ No newline at end of file
Index: branches/2.8.x/wb/modules/fckeditor/wb_config/wb_fckconfig.js
===================================================================
--- branches/2.8.x/wb/modules/fckeditor/wb_config/wb_fckconfig.js	(revision 1198)
+++ branches/2.8.x/wb/modules/fckeditor/wb_config/wb_fckconfig.js	(revision 1199)
@@ -15,8 +15,11 @@
 */
 
 // required settings to make FCKEditor work with Website Baker (do not change them)
-   FCKConfig.Plugins.Add( 'WBModules', 'en,nl,de' ) ;
-   FCKConfig.Plugins.Add( 'WBDroplets', 'en,nl,de' ) ;
+    FCKConfig.Plugins.Add( 'WBModules', 'en,nl,de' ) ;
+    FCKConfig.Plugins.Add( 'WBDroplets', 'en,nl,de' ) ;
+//  FCKConfig.Plugins.Add( 'youtube', 'en,ja,de' );
+    FCKConfig.Plugins.Add( 'swfobject', 'en,es') ;
+    FCKConfig.Plugins.Add( 'flvPlayer','en,de') ;
 
    // ----------------------
 // Configure Syntax highlighter for 2.0.x
@@ -99,7 +102,7 @@
    FCKConfig.ToolbarSets["WBToolbar"] = [
 	['Source','DocProps','-','NewPage','Preview','-','Templates'],
 	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
-    ['FitWindow','ShowBlocks', '-',/*'SyntaxHighLight2',*/'-','About'],
+    ['FitWindow','ShowBlocks', '-', 'SyntaxHighLight2', 'flvPlayer', '-','About'],
 	'/',
 	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
     ['TextColor','BGColor'],
@@ -153,7 +156,7 @@
    FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ;
    FCKConfig.TemplateReplaceAll = false;
    FCKConfig.TemplateReplaceCheckbox = true ;
-//    FCKConfig['StylesXmlPath'] = FCKConfig.BasePath+'/wb_config/wb_fckstyles.xml';
+   FCKConfig['StylesXmlPath'] = FCKConfig.BasePath+'/wb_config/wb_fckstyles.xml';
 
 /*
    -----------------------------------------------------------------------------------------
