From: Thyamad c. <th...@us...> - 2005-09-29 19:50:26
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/dialog/fck_docprops In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv563/thywidgets/external/fckeditor/editor/dialog/fck_docprops Modified Files: fck_document_preview.html Log Message: Commiting file additions and modification from SVN revision 2028 to 2029... Changes made by frank on 2005-09-29 21:42:57 +0200 (Thu, 29 Sep 2005) corresponding to SVN revision 2029 with message: updating fckeditor in dynapi Index: fck_document_preview.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** fck_document_preview.html 1 Sep 2005 18:15:42 -0000 1.1 --- fck_document_preview.html 29 Sep 2005 19:49:17 -0000 1.2 *************** *** 1,6 **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: --- 1,6 ---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ! <!-- * FCKeditor - The text editor for internet ! * Copyright (C) 2003-2005 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: *************** *** 13,22 **** * Preview shown in the "Document Properties" dialog window. * - * Version: 2.0 RC3 - * Modified: 2005-01-12 16:05:41 - * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <html> <head> --- 13,19 ---- * Preview shown in the "Document Properties" dialog window. * * File Authors: ! * Frederico Caldeira Knabben (fr...@fc...) ! --> <html> <head> *************** *** 26,29 **** --- 23,32 ---- <script language="javascript"> + var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ; + if ( eBase.length > 0 && eBase[0].href.length > 0 ) + { + document.write( '<base href="' + eBase[0].href + '">' ) ; + } + window.onload = function() { *************** *** 32,35 **** --- 35,47 ---- } + function SetBaseHRef( baseHref ) + { + var eBase = document.createElement( 'BASE' ) ; + eBase.href = baseHref ; + + var eHead = document.getElementsByTagName( 'HEAD' )[0] ; + eHead.appendChild( eBase ) ; + } + function SetLinkColor( color ) { |