phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_docprops f


From: skwashd
Subject: [Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_docprops fck_document_preview.html, 1.2
Date: Thu, 4 Aug 2005 05:54:00 +0200

Update of news_admin/js/fckeditor/editor/dialog/fck_docprops

Modified Files:
     Branch: MAIN
            fck_document_preview.html lines: +16 -4

Log Message:
new newsletter builder, updated FCK and a few other things

====================================================
Index: 
news_admin/js/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html
diff -u 
news_admin/js/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html:1.1
 
news_admin/js/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html:1.2
--- 
news_admin/js/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html:1.1
    Tue May 24 14:32:53 2005
+++ 
news_admin/js/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html    
    Thu Aug  4 03:54:31 2005
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <!--
  * FCKeditor - The text editor for internet
- * Copyright (C) 2003-2004 Frederico Caldeira Knabben
+ * Copyright (C) 2003-2005 Frederico Caldeira Knabben
  *
  * Licensed under the terms of the GNU Lesser General Public License:
  *             http://www.opensource.org/licenses/lgpl-license.php
@@ -12,9 +12,6 @@
  * File Name: fck_document_preview.html
  *     Preview shown in the "Document Properties" dialog window.
  *
- * Version:  2.0 RC3
- * Modified: 2005-01-12 16:05:41
- *
  * File Authors:
  *             Frederico Caldeira Knabben (address@hidden)
 -->
@@ -25,10 +22,25 @@
                <meta name="robots" content="noindex, nofollow">
                <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()
 {
        if ( typeof( parent.OnPreviewLoad ) == 'function' )
                parent.OnPreviewLoad( window, document.body ) ;
+}
+
+function SetBaseHRef( baseHref )
+{
+       var eBase = document.createElement( 'BASE' ) ;
+       eBase.href = baseHref ;
+
+       var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
+       eHead.appendChild( eBase ) ;
 }

 function SetLinkColor( color )






reply via email to

[Prev in Thread] Current Thread [Next in Thread]