[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_select.html
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_select.html, 1.2 fck_replace.html, 1.2 fck_smiley.html, 1.2 fck_specialchar.html, 1.2 fck_table.html, 1.2 fck_spellerpages.html, 1.2 fck_radiobutton.html, 1.2 fck_paste.html, 1.2 fck_hiddenfield.html, 1.2 fck_form.html, 1.2 fck_image.html, 1.2 fck_link.html, 1.2 fck_listprop.html, 1.2 fck_tablecell.html, 1.2 fck_textarea.html, 1.2 fck_universalkey.html, 1.2 fck_textfield.html, 1.2 fck_find.html, 1.2 fck_docprops.html, 1.2 fck_anchor.html, 1.2 fck_about.html, 1.2 fck_button.html, 1.2 fck_checkbox.html, 1.2 fck_colorselector.html, 1.2 |
Date: |
Thu, 4 Aug 2005 05:54:00 +0200 |
Update of news_admin/js/fckeditor/editor/dialog
Modified Files:
Branch: MAIN
fck_select.html lines: +1 -4
fck_replace.html lines: +3 -4
fck_smiley.html lines: +1 -4
fck_specialchar.html lines: +3 -4
fck_table.html lines: +5 -5
fck_spellerpages.html lines: +1 -4
fck_radiobutton.html lines: +2 -5
fck_paste.html lines: +145 -15
fck_hiddenfield.html lines: +1 -4
fck_form.html lines: +1 -4
fck_image.html lines: +68 -37
fck_link.html lines: +6 -9
fck_listprop.html lines: +1 -4
fck_tablecell.html lines: +1 -4
fck_textarea.html lines: +1 -4
fck_universalkey.html lines: +1 -4
fck_textfield.html lines: +1 -4
fck_find.html lines: +4 -7
fck_docprops.html lines: +23 -5
fck_anchor.html lines: +26 -9
fck_about.html lines: +3 -6
fck_button.html lines: +1 -4
fck_checkbox.html lines: +2 -5
fck_colorselector.html lines: +1 -4
Log Message:
new newsletter builder, updated FCK and a few other things
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_select.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_select.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_select.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_select.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_select.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
@@ -11,9 +11,6 @@
*
* File Name: fck_select.html
* Select dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-09 13:44:26
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_replace.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_replace.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_replace.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_replace.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_replace.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_replace.html
* "Replace" dialog box window.
*
- * Version: 2.0 RC3
- * Modified: 2004-11-30 10:26:37
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
* Abdul-Aziz A. Al-Oraij (aziz.oraij.com)
@@ -33,6 +30,8 @@
oEditor.FCKLanguageManager.TranslatePage( document ) ;
window.parent.SetAutoSize( true ) ;
+
+ oEditor.FCKUndo.SaveUndoStep() ;
}
function btnStat(frm)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_smiley.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_smiley.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_smiley.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_smiley.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_smiley.html Thu Aug 4
03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -10,9 +10,6 @@
*
* File Name: fck_smiley.html
* Smileys (emoticons) dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-08 13:23:07
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_specialchar.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_specialchar.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_specialchar.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_specialchar.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_specialchar.html Thu Aug 4
03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -11,15 +11,14 @@
* File Name: fck_specialchar.html
* Special Chars Selector dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-25 22:01:23
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
+ <meta name="robots" content="noindex, nofollow">
+ <meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<style type="text/css">
.HandIE { cursor: hand ; }
.HandMozilla { cursor: pointer ; }
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_table.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_table.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_table.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_table.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_table.html Thu Aug 4
03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -11,9 +11,6 @@
* File Name: fck_table.html
* Table dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-19 00:38:53
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -129,10 +126,13 @@
for ( var c = 0 ; c < iCols ; c++ )
{
var oCell = oRow.insertCell(-1) ;
- oCell.innerHTML = " " ;
+ if ( oEditor.FCKBrowserInfo.IsGecko )
+ oCell.innerHTML = '<br
_moz_editor_bogus_node="TRUE">' ;
+ //oCell.innerHTML = " " ;
}
}
+ oEditor.FCKUndo.SaveUndoStep() ;
oEditor.FCK.InsertElement( table ) ;
}
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_spellerpages.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_spellerpages.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_spellerpages.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_spellerpages.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_spellerpages.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
@@ -11,9 +11,6 @@
*
* File Name: fck_spellerpages.html
* Spell Check dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-19 14:45:46
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_radiobutton.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_radiobutton.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_radiobutton.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_radiobutton.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_radiobutton.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_radiobutton.html
* Radio Button dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-16 20:12:28
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -41,7 +38,7 @@
if ( oActiveEl && oActiveEl.tagName.toUpperCase() == 'INPUT' &&
oActiveEl.type == 'radio' )
{
GetE('txtName').value = oActiveEl.name ;
- GetE('txtValue').value = GetAttribute( oActiveEl,
'value' ) ;
+ GetE('txtValue').value = oActiveEl.value ;
GetE('txtSelected').checked = oActiveEl.checked ;
}
else
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_paste.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_paste.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_paste.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_paste.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_paste.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
@@ -14,9 +14,6 @@
* the user is not able to paste data from the clipboard to the editor
using
* the toolbar buttons or the context menu.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-19 14:45:24
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -38,45 +35,178 @@
{
var oFrame = document.getElementById('frmData')
oFrame.style.display = '' ;
+
+ if ( oFrame.contentDocument )
oFrame.contentDocument.designMode = 'on' ;
+ else
+ oFrame.contentWindow.document.body.contentEditable =
true ;
}
else
+ {
document.getElementById('txtData').style.display = '' ;
+ document.getElementById('oWordCommands').style.display = 'none'
;
+ }
}
function Ok()
{
+ var sHtml ;
+
if ( window.parent.dialogArguments.CustomValue == 'Word' )
{
- var sHtml =
document.getElementById('frmData').contentDocument.body.innerHTML ;
- oEditor.FCK.CleanAndPaste( sHtml ) ;
+ var oFrame = document.getElementById('frmData') ;
+
+ if ( oFrame.contentDocument )
+ sHtml = oFrame.contentDocument.body.innerHTML ;
+ else
+ sHtml = oFrame.contentWindow.document.body.innerHTML ;
+
+ sHtml = CleanWord( sHtml ) ;
}
else
{
- var sText = oEditor.FCKTools.HTMLEncode(
document.getElementById('txtData').value ) ;
- sText = sText.replace( /\n/g, '<BR>' ) ;
- oEditor.FCK.InsertHtml( sText ) ;
+ var sHtml = oEditor.FCKTools.HTMLEncode(
document.getElementById('txtData').value ) ;
+ sHtml = sHtml.replace( /\n/g, '<BR>' ) ;
}
+ oEditor.FCK.InsertHtml( sHtml ) ;
+
return true ;
}
+
+function CleanUpBox()
+{
+ var oFrame = document.getElementById('frmData') ;
+
+ if ( oFrame.contentDocument )
+ oFrame.contentDocument.body.innerHTML = '' ;
+ else
+ oFrame.contentWindow.document.body.innerHTML = '' ;
+}
+
+function CleanWord( html )
+{
+ var bIgnoreFont = document.getElementById('chkRemoveFont').checked ;
+ var bRemoveStyles = document.getElementById('chkRemoveStyles').checked ;
+
+ html = html.replace(/<o:p>\s*<\/o:p>/g, "") ;
+ html = html.replace(/<o:p>.*?<\/o:p>/g, " ") ;
+
+ // Remove mso-xxx styles.
+ html = html.replace( /\s*mso-[^:]+:[^;"]+;?/gi, "" ) ;
+
+ // Remove margin styles.
+ html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*;/gi, "" ) ;
+ html = html.replace( /\s*MARGIN: 0cm 0cm 0pt\s*"/gi, "\"" ) ;
+
+ html = html.replace( /\s*TEXT-INDENT: 0cm\s*;/gi, "" ) ;
+ html = html.replace( /\s*TEXT-INDENT: 0cm\s*"/gi, "\"" ) ;
+
+ html = html.replace( /\s*TEXT-ALIGN: [^\s;]+;?"/gi, "\"" ) ;
+
+ html = html.replace( /\s*PAGE-BREAK-BEFORE: [^\s;]+;?"/gi, "\"" ) ;
+
+ html = html.replace( /\s*FONT-VARIANT: [^\s;]+;?"/gi, "\"" ) ;
+
+ html = html.replace( /\s*tab-stops:[^;"]*;?/gi, "" ) ;
+ html = html.replace( /\s*tab-stops:[^"]*/gi, "" ) ;
+
+ // Remove FONT face attributes.
+ if ( bIgnoreFont )
+ {
+ html = html.replace( /\s*face="[^"]*"/gi, "" ) ;
+ html = html.replace( /\s*face=[^ >]*/gi, "" ) ;
+
+ html = html.replace( /\s*FONT-FAMILY:[^;"]*;?/gi, "" ) ;
+ }
+
+ // Remove Class attributes
+ html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ;
+
+ // Remove styles.
+ if ( bRemoveStyles )
+ html = html.replace( /<(\w[^>]*) style="([^\"]*)"([^>]*)/gi,
"<$1$3" ) ;
+
+ // Remove empty styles.
+ html = html.replace( /\s*style="\s*"/gi, '' ) ;
+
+ html = html.replace( /<SPAN\s*[^>]*>\s* \s*<\/SPAN>/gi, ' ' )
;
+
+ html = html.replace( /<SPAN\s*[^>]*><\/SPAN>/gi, '' ) ;
+
+ // Remove Lang attributes
+ html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ;
+
+ html = html.replace( /<SPAN\s*>(.*?)<\/SPAN>/gi, '$1' ) ;
+
+ html = html.replace( /<FONT\s*>(.*?)<\/FONT>/gi, '$1' ) ;
+
+ // Remove XML elements and declarations
+ html = html.replace(/<\\?\?xml[^>]*>/gi, "") ;
+
+ // Remove Tags with XML namespace declarations: <o:p></o:p>
+ html = html.replace(/<\/?\w+:[^>]*>/gi, "") ;
+
+ html = html.replace( /<H\d>\s*<\/H\d>/gi, '' ) ;
+
+ html = html.replace( /<H1([^>]*)>/gi, '<div$1><b><font size="6">' ) ;
+ html = html.replace( /<H2([^>]*)>/gi, '<div$1><b><font size="5">' ) ;
+ html = html.replace( /<H3([^>]*)>/gi, '<div$1><b><font size="4">' ) ;
+ html = html.replace( /<H4([^>]*)>/gi, '<div$1><b><font size="3">' ) ;
+ html = html.replace( /<H5([^>]*)>/gi, '<div$1><b><font size="2">' ) ;
+ html = html.replace( /<H6([^>]*)>/gi, '<div$1><b><font size="1">' ) ;
+
+ html = html.replace( /<\/H\d>/gi, '</font></b></div>' ) ;
+
+ html = html.replace( /<(U|I|STRIKE)> <\/\1>/g, ' ' ) ;
+
+ // Remove empty tags (three times, just to be sure).
+ html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
+ html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
+ html = html.replace( /<([^\s>]+)[^>]*>\s*<\/\1>/g, '' ) ;
+
+ // Transform <P> to <DIV>
+ var re = new RegExp("(<P)([^>]*>.*?)(<\/P>)","gi") ; // Different
because of a IE 5.0 error
+ html = html.replace( re, "<div$2</div>" ) ;
+
+ return html ;
+}
+
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<table height="98%" cellspacing="0" cellpadding="0"
width="100%" border="0">
<tr>
<td>
- <span fckLang="DlgPasteMsg">The editor
was not able to automaticaly execute pasting
- because of the <STRONG>security
settings</STRONG> of your browser.
- <BR>
- Please paste inside the
following box using the keyboard (<STRONG>Ctrl+V</STRONG>)
- and hit
<STRONG>OK</STRONG>.</span>
+ <span fckLang="DlgPasteMsg2">Please
paste inside the following box using the
+ keyboard
(<STRONG>Ctrl+V</STRONG>) and hit <STRONG>OK</STRONG>.</span>
+ <br>
+
</td>
</tr>
<tr>
<td valign="top" height="100%"
style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;
BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid">
<textarea id="txtData"
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; DISPLAY: none;
BORDER-LEFT: #000000 1px; WIDTH: 99%; BORDER-BOTTOM: #000000 1px; HEIGHT:
98%"></textarea>
- <iframe id="frmData"
src="../fckblank.html" height="98%" width="99%" frameborder="no"
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; DISPLAY: none;
BORDER-LEFT: #000000 1px; BORDER-BOTTOM: #000000 1px; BACKGROUND-COLOR:
#ffffff"></iframe>
+ <iframe id="frmData"
src="../fckblank.html" height="98%" width="99%" frameborder="no"
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; DISPLAY: none;
BORDER-LEFT: #000000 1px; BORDER-BOTTOM: #000000 1px; BACKGROUND-COLOR:
#ffffff">
+ </iframe>
+ </td>
+ </tr>
+ <tr id="oWordCommands">
+ <td>
+ <table border="0" cellpadding="0"
cellspacing="0" width="100%">
+ <tr>
+ <td nowrap>
+ <input
id="chkRemoveFont" type="checkbox" checked="checked"> <label
for="chkRemoveFont" fckLang="DlgPasteIgnoreFont">
+ Ignore
Font Face definitions</label>
+ <br>
+ <input
id="chkRemoveStyles" type="checkbox"> <label for="chkRemoveStyles"
fckLang="DlgPasteRemoveStyles">
+ Remove
Styles definitions</label>
+ </td>
+ <td align="right"
valign="top">
+ <input
type="button" fckLang="DlgPasteCleanBox" value="Clean Up Box"
onclick="CleanUpBox()">
+ </td>
+ </tr>
+ </table>
</td>
</tr>
</table>
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_hiddenfield.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_hiddenfield.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_hiddenfield.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_hiddenfield.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_hiddenfield.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
@@ -11,9 +11,6 @@
*
* File Name: fck_hiddenfield.html
* Hidden Field dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-08 19:18:19
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_form.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_form.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_form.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_form.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_form.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
@@ -11,9 +11,6 @@
*
* File Name: fck_form.html
* Checkbox dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-09 18:27:10
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_image.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_image.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_image.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_image.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_image.html Thu Aug 4
03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -11,9 +11,6 @@
* File Name: fck_image.html
* Image Properties dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-18 23:54:52
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -38,9 +35,7 @@
<span
fckLang="DlgImgURL">URL</span>
</td>
<td
id="tdBrowse" style="DISPLAY: none" nowrap rowspan="2">
-
- <input
id="btnBrowse" onclick="BrowseServer();" type="button"
-
value="Browse Server" fckLang="DlgBtnBrowseServer" NAME="btnBrowse">
+
<input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse
Server" fckLang="DlgBtnBrowseServer">
</td>
</tr>
<tr>
@@ -53,8 +48,8 @@
</tr>
<tr>
<td>
- <span fckLang="DlgImgAlt">Short
Description</span><br>
- <input id="txtAlt"
style="WIDTH: 100%" type="text"><br>
+ <span fckLang="DlgImgAlt">Short
Description</span><br />
+ <input id="txtAlt"
style="WIDTH: 100%" type="text"><br />
</td>
</tr>
<tr height="100%">
@@ -62,17 +57,18 @@
<table cellspacing="0"
cellpadding="0" width="100%" border="0" height="100%">
<tr>
<td
valign="top">
- <br>
+ <br />
<table
cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap><span fckLang="DlgImgWidth">Width</span> </td>
<td>
<input type="text" size="3" id="txtWidth"
onkeyup="OnSizeChanged('Width',this.value);"></td>
<td nowrap rowspan="2">
-
<div id="btnLockSizes" class="BtnLocked"
onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + '
BtnOver';" onmouseout="this.className = (bLockRatio ? 'BtnLocked' :
'BtnUnlocked' );"
-
title="Lock Sizes" onclick="SwitchLock(this);"></div>
-
<div id="btnResetSize" class="BtnReset"
onmouseover="this.className='BtnReset BtnOver';"
onmouseout="this.className='BtnReset';"
-
title="Reset Size" onclick="ResetSizes();"></div>
+
<div id="btnLockSizes" class="BtnLocked"
onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + '
BtnOver';"
+
onmouseout="this.className = (bLockRatio ? 'BtnLocked'
: 'BtnUnlocked' );" title="Lock Sizes"
+
onclick="SwitchLock(this);"></div>
+
<div id="btnResetSize" class="BtnReset"
onmouseover="this.className='BtnReset BtnOver';"
+
onmouseout="this.className='BtnReset';" title="Reset
Size" onclick="ResetSizes();"></div>
</td>
</tr>
<tr>
@@ -81,7 +77,7 @@
<input type="text" size="3" id="txtHeight"
onkeyup="OnSizeChanged('Height',this.value);"></td>
</tr>
</table>
- <br>
+ <br />
<table
cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap><span fckLang="DlgImgBorder">Border</span> </td>
@@ -125,21 +121,22 @@
<tr>
<td valign="top">
<div class="ImagePreviewArea">
-
<img id="imgPreview" style="DISPLAY: none">Magnus es,
domine, et laudabilis
-
valde: magna virtus tua, et sapientiae tuae non est
numerus. et laudare te vult
-
homo, aliqua portio creaturae tuae, et homo
circumferens mortalitem suam,
-
circumferens testimonium peccati sui et testimonium,
quia superbis resistis: et
-
tamen laudare te vult homo, aliqua portio creaturae
tuae.tu excitas, ut laudare
-
te delectet, quia fecisti nos ad te et inquietum est
cor nostrum, donec
-
requiescat in te. da mihi, domine, scire et
intellegere, utrum sit prius
-
invocare te an laudare te, et scire te prius sit an
invocare te. sed quis te
-
invocat nesciens te? aliud enim pro alio potest
invocare nesciens. an potius
-
invocaris, ut sciaris? quomodo autem invocabunt, in
quem non crediderunt? aut
-
quomodo credent sine praedicante? et laudabunt dominum
qui requirunt eum.
-
quaerentes enim inveniunt eum et invenientes laudabunt
eum. quaeram te, domine,
-
invocans te, et invocem te credens in te: praedicatus
enim es nobis. invocat
-
te, domine, fides mea, quam dedisti mihi, quam
inspirasti mihi per humanitatem
-
filii tui, per ministerium praedicatoris tui.
+
<a id="lnkPreview" onclick="return false;"
style="CURSOR: default"><img id="imgPreview" style="DISPLAY: none"></a>Magnus
+
es, domine, et laudabilis valde: magna virtus tua, et
sapientiae tuae non est
+
numerus. et laudare te vult homo, aliqua portio
creaturae tuae, et homo
+
circumferens mortalitem suam, circumferens testimonium
peccati sui et
+
testimonium, quia superbis resistis: et tamen laudare
te vult homo, aliqua
+
portio creaturae tuae.tu excitas, ut laudare te
delectet, quia fecisti nos ad
+
te et inquietum est cor nostrum, donec requiescat in
te. da mihi, domine, scire
+
et intellegere, utrum sit prius invocare te an laudare
te, et scire te prius
+
sit an invocare te. sed quis te invocat nesciens te?
aliud enim pro alio potest
+
invocare nesciens. an potius invocaris, ut sciaris?
quomodo autem invocabunt,
+
in quem non crediderunt? aut quomodo credent sine
praedicante? et laudabunt
+
dominum qui requirunt eum. quaerentes enim inveniunt
eum et invenientes
+
laudabunt eum. quaeram te, domine, invocans te, et
invocem te credens in te:
+
praedicatus enim es nobis. invocat te, domine, fides
mea, quam dedisti mihi,
+
quam inspirasti mihi per humanitatem filii tui, per
ministerium praedicatoris
+
tui.
</div>
</td>
</tr>
@@ -151,11 +148,45 @@
</tr>
</table>
</div>
+ <div id="divUpload" style="DISPLAY: none">
+ <form id="frmUpload" method="post"
target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return
CheckUpload();">
+ <span fckLang="DlgLnkUpload">Upload</span><br />
+ <input id="txtUploadFile" style="WIDTH: 100%"
type="file" size="40" name="NewFile" /><br />
+ <br />
+ <input id="btnUpload" type="submit" value="Send
it to the Server" fckLang="DlgLnkBtnUpload" />
+ <iframe name="UploadWindow" style="DISPLAY:
none"></iframe>
+ </form>
+ </div>
+ <div id="divLink" style="DISPLAY: none">
+ <table cellspacing="1" cellpadding="1" border="0"
width="100%">
+ <tr>
+ <td>
+ <div>
+ <span
fckLang="DlgLnkURL">URL</span><br />
+ <input id="txtLnkUrl"
style="WIDTH: 100%" type="text" onblur="UpdatePreview();" />
+ </div>
+ <div id="divLnkBrowseServer"
align="right">
+ <input type="button"
value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="LnkBrowseServer();"
/>
+ </div>
+ <div>
+ <span
fckLang="DlgLnkTarget">Target</span><br />
+ <select
id="cmbLnkTarget">
+ <option
value="" fckLang="DlgGenNotSet" selected="selected"><not set></option>
+ <option
value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option>
+ <option
value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option>
+ <option
value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option>
+ <option
value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option>
+ </select>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </div>
<div id="divAdvanced" style="DISPLAY: none">
<table cellspacing="0" cellpadding="0" width="100%"
align="center" border="0">
<tr>
<td valign="top" width="50%">
- <span
fckLang="DlgGenId">Id</span><br>
+ <span
fckLang="DlgGenId">Id</span><br />
<input id="txtAttId"
style="WIDTH: 100%" type="text">
</td>
<td width="1"> </td>
@@ -163,7 +194,7 @@
<table cellspacing="0"
cellpadding="0" width="100%" align="center" border="0">
<tr>
<td width="60%">
- <span
fckLang="DlgGenLangDir">Language Direction</span><br>
+ <span
fckLang="DlgGenLangDir">Language Direction</span><br />
<select
id="cmbAttLangDir" style="WIDTH: 100%">
<option value="" fckLang="DlgGenNotSet" selected><not set></option>
<option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option>
@@ -172,7 +203,7 @@
</td>
<td
width="1%"> </td>
<td nowrap>
- <span
fckLang="DlgGenLangCode">Language Code</span><br>
+ <span
fckLang="DlgGenLangCode">Language Code</span><br />
<input
id="txtAttLangCode" style="WIDTH: 100%" type="text">
</td>
</tr>
@@ -184,7 +215,7 @@
</tr>
<tr>
<td colspan="3">
- <span
fckLang="DlgGenLongDescr">Long Description URL</span><br>
+ <span
fckLang="DlgGenLongDescr">Long Description URL</span><br />
<input id="txtLongDesc"
style="WIDTH: 100%" type="text">
</td>
</tr>
@@ -193,16 +224,16 @@
</tr>
<tr>
<td valign="top">
- <span
fckLang="DlgGenClass">Stylesheet Classes</span><br>
+ <span
fckLang="DlgGenClass">Stylesheet Classes</span><br />
<input id="txtAttClasses"
style="WIDTH: 100%" type="text">
</td>
<td></td>
- <td valign="top"> <span
fckLang="DlgGenTitle">Advisory Title</span><br>
+ <td valign="top"> <span
fckLang="DlgGenTitle">Advisory Title</span><br />
<input id="txtAttTitle"
style="WIDTH: 100%" type="text">
</td>
</tr>
</table>
- <span fckLang="DlgGenStyle">Style</span><br>
+ <span fckLang="DlgGenStyle">Style</span><br />
<input id="txtAttStyle" style="WIDTH: 100%" type="text">
</div>
</body>
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_link.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_link.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_link.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_link.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_link.html Thu Aug 4 03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -11,9 +11,6 @@
* File Name: fck_link.html
* Link dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-18 23:55:22
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -37,7 +34,7 @@
<br />
<br />
<div id="divLinkTypeUrl">
- <table cellspacing="0" cellpadding="0"
width="100%" border="0">
+ <table cellspacing="0" cellpadding="0"
width="100%" border="0" dir="ltr">
<tr>
<td nowrap="nowrap">
<span
fckLang="DlgLnkProto">Protocol</span><br />
@@ -100,12 +97,12 @@
</div>
</div>
<div id="divUpload" style="DISPLAY: none">
- <form method="post" target="UploadWindow"
enctype="multipart/form-data" action="">
+ <form id="frmUpload" method="post"
target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return
CheckUpload();">
<span fckLang="DlgLnkUpload">Upload</span><br />
- <input style="WIDTH: 100%" type="file"
size="40" /><br />
+ <input id="txtUploadFile" style="WIDTH: 100%"
type="file" size="40" name="NewFile" /><br />
<br />
- <input id="btnUpload" onclick="uploadFile();"
type="button" value="Send it to the Server"
- fckLang="DlgLnkBtnUpload" />
+ <input id="btnUpload" type="submit" value="Send
it to the Server" fckLang="DlgLnkBtnUpload" />
+ <iframe name="UploadWindow" style="DISPLAY:
none"></iframe>
</form>
</div>
<div id="divTarget" style="DISPLAY: none">
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_listprop.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_listprop.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_listprop.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_listprop.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_listprop.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
@@ -11,9 +11,6 @@
*
* File Name: fck_listprop.html
* Bulleted List dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-16 20:29:05
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_tablecell.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_tablecell.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_tablecell.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_tablecell.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_tablecell.html Thu Aug 4
03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -10,9 +10,6 @@
*
* File Name: fck_tablecell.html
* Cell properties dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-09 13:48:22
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_textarea.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_textarea.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_textarea.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_textarea.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_textarea.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
@@ -11,9 +11,6 @@
*
* File Name: fck_textarea.html
* Text Area dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-19 00:16:07
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_universalkey.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_universalkey.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_universalkey.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_universalkey.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_universalkey.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
@@ -11,9 +11,6 @@
*
* File Name: fck_universalkey.html
* Unicode Keyboard dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-10 18:13:36
*
* File Authors:
* Abdul-Aziz Al-Oraij (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_textfield.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_textfield.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_textfield.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_textfield.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_textfield.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
@@ -11,9 +11,6 @@
*
* File Name: fck_textfield.html
* Text field dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-16 20:13:50
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_find.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_find.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_find.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_find.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_find.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_find.html
* "Find" dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-09 13:52:09
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -140,11 +137,11 @@
<label for="txtFind"
fckLang="DlgReplaceFindLbl">Find what:</label>
</td>
<td width="100%">
- <input id="txtFind"
onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
+ <input id="txtFind" style="WIDTH: 100%"
tabIndex="1" type="text">
</td>
<td>
- <input id="btnFind" style="WIDTH: 100%;
PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
- onclick="Ok();" type="button"
value="Find" fckLang="DlgFindFindBtn">
+ <input id="btnFind" style="WIDTH: 100%;
PADDING-RIGHT: 5px; PADDING-LEFT: 5px" onclick="Ok();"
+ type="button" value="Find"
fckLang="DlgFindFindBtn">
</td>
</tr>
<tr>
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_docprops.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_docprops.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_docprops.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_docprops.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_docprops.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_docprops.html
* Link dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-19 00:11:20
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -29,6 +26,7 @@
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKLang = oEditor.FCKLang ;
+var FCKConfig = oEditor.FCKConfig ;
//#### Dialog Tabs
@@ -370,6 +368,26 @@
}
}
+function BrowseServerBack()
+{
+ var iLeft = (screen.width - FCKConfig.ImageBrowserWindowWidth) / 2 ;
+ var iTop = (screen.height - FCKConfig.ImageBrowserWindowHeight) / 2 ;
+
+ var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ;
+ sOptions += ",width=" + FCKConfig.LinkBrowserWindowWidth ;
+ sOptions += ",height=" + FCKConfig.LinkBrowserWindowHeight ;
+ sOptions += ",left=" + iLeft ;
+ sOptions += ",top=" + iTop ;
+
+ var oWindow = window.open( FCKConfig.ImageBrowserURL,
"FCKBrowseWindow", sOptions ) ;
+}
+
+function SetUrl( url )
+{
+ GetE('txtBackImage').value = url ;
+ UpdatePreview() ;
+}
+
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
@@ -469,7 +487,7 @@
<table cellSpacing="0"
cellPadding="0" width="100%" border="0">
<tr>
<td
width="100%"><input id="txtBackImage" style="WIDTH: 100%" type="text"
onchange="UpdatePreview();" onkeyup="UpdatePreview();"></td>
- <td
nowrap> <input id="btnBrowse" onclick="BrowseServer();" type="button"
fckLang="DlgBtnBrowseServer" value="Browse Server"
fckLang="DlgBtnBrowseServer"></td>
+ <td
nowrap> <input id="btnBrowse" onclick="BrowseServerBack();" type="button"
fckLang="DlgBtnBrowseServer" value="Browse Server"
fckLang="DlgBtnBrowseServer"></td>
</tr>
</table>
<input id="chkBackNoScroll"
type="checkbox" onclick="UpdatePreview();"> <label for="chkBackNoScroll"
fckLang="DlgDocBgNoScroll">Nonscrolling
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_anchor.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_anchor.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_anchor.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_anchor.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_anchor.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_anchor.html
* Anchor dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-16 19:13:27
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -27,21 +24,31 @@
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
+var FCK = oEditor.FCK ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
-var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
+var oFakeImage = FCK.Selection.GetSelectedElement() ;
+var oAnchor ;
+
+if ( oFakeImage )
+{
+ if ( oFakeImage.tagName == 'IMG' &&
oFakeImage.getAttribute('_fckanchor') )
+ oAnchor = FCK.GetRealElement( oFakeImage ) ;
+ else
+ oFakeImage = null ;
+}
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
- if ( oActiveEl && oActiveEl.tagName == 'A' && oActiveEl.name.length > 0
&& oActiveEl.getAttribute('href').length == 0 )
- GetE('txtName').value = oActiveEl.name ;
+ if ( oAnchor )
+ GetE('txtName').value = oAnchor.name ;
else
- oActiveEl = null ;
+ oAnchor = null ;
window.parent.SetOkButton( true ) ;
}
@@ -54,7 +61,17 @@
return false ;
}
- oEditor.FCK.InsertHtml( '<a name="' + GetE('txtName').value + '"></a>'
) ;
+ oEditor.FCKUndo.SaveUndoStep() ;
+
+ oAnchor = FCK.EditorDocument.createElement( 'DIV' ) ;
+ oAnchor.innerHTML = '<a name="' + GetE('txtName').value + '"><\/a>' ;
+ oAnchor = oAnchor.firstChild ;
+
+ oFakeImage = oEditor.FCKDocumentProcessors_CreateFakeImage(
'FCK__Anchor', oAnchor ) ;
+ oFakeImage.setAttribute( '_fckanchor', 'true', 0 ) ;
+ oFakeImage = FCK.InsertElementAndGetIt( oFakeImage ) ;
+
+// oEditor.FCK.InsertHtml( '<a name="' + GetE('txtName').value + '"><\/a>'
) ;
return true ;
}
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_about.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_about.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_about.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_about.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_about.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_about.html
* "About" dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-03-02 10:56:09
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -71,7 +68,7 @@
<td
align="center" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px
solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid">
<span
fckLang="DlgAboutVersion">version</span>
<br>
- <b>2.0
RC3</b></td>
+
<b>2.0</b></td>
</tr>
</table>
</td>
@@ -99,7 +96,7 @@
</tr>
</table>
</div>
- <div id="divInfo" style="DISPLAY: none">
+ <div id="divInfo" style="DISPLAY: none" dir="ltr">
<table align="center" width="80%" border="0">
<tr>
<td>
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_button.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_button.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_button.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_button.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_button.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
@@ -11,9 +11,6 @@
*
* File Name: fck_button.html
* Button dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2005-02-09 20:14:46
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_checkbox.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_checkbox.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_checkbox.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_checkbox.html:1.1 Tue May 24
14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_checkbox.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_checkbox.html
* Checkbox dialog window.
*
- * Version: 2.0 RC3
- * Modified: 2005-02-16 20:12:02
- *
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
@@ -41,7 +38,7 @@
if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type ==
'checkbox' )
{
GetE('txtName').value = oActiveEl.name ;
- GetE('txtValue').value = GetAttribute( oActiveEl,
'value' ) ;
+ GetE('txtValue').value = oActiveEl.value ;
GetE('txtSelected').checked = oActiveEl.checked ;
}
else
====================================================
Index: news_admin/js/fckeditor/editor/dialog/fck_colorselector.html
diff -u news_admin/js/fckeditor/editor/dialog/fck_colorselector.html:1.1
news_admin/js/fckeditor/editor/dialog/fck_colorselector.html:1.2
--- news_admin/js/fckeditor/editor/dialog/fck_colorselector.html:1.1 Tue May
24 14:32:53 2005
+++ news_admin/js/fckeditor/editor/dialog/fck_colorselector.html Thu Aug
4 03:54:31 2005
@@ -1,6 +1,6 @@
<!--
* 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
@@ -10,9 +10,6 @@
*
* File Name: fck_colorselector.html
* Color Selection dialog window.
- *
- * Version: 2.0 RC3
- * Modified: 2004-12-19 23:16:57
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_select.html, 1.2 fck_replace.html, 1.2 fck_smiley.html, 1.2 fck_specialchar.html, 1.2 fck_table.html, 1.2 fck_spellerpages.html, 1.2 fck_radiobutton.html, 1.2 fck_paste.html, 1.2 fck_hiddenfield.html, 1.2 fck_form.html, 1.2 fck_image.html, 1.2 fck_link.html, 1.2 fck_listprop.html, 1.2 fck_tablecell.html, 1.2 fck_textarea.html, 1.2 fck_universalkey.html, 1.2 fck_textfield.html, 1.2 fck_find.html, 1.2 fck_docprops.html, 1.2 fck_anchor.html, 1.2 fck_about.html, 1.2 fck_button.html, 1.2 fck_checkbox.html, 1.2 fck_colorselector.html, 1.2,
skwashd <=
- Prev by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/connectors/php basexml.php, 1.2 config.php, 1.2 commands.php, 1.2 connector.php, 1.2 io.php, 1.2 util.php, 1.2
- Next by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_universalkey multihexa.js, 1.2 fck_universalkey.css, 1.2 dialogue.js, 1.2 diacritic.js, 1.2 data.js, 1.2
- Previous by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/connectors/php basexml.php, 1.2 config.php, 1.2 commands.php, 1.2 connector.php, 1.2 io.php, 1.2 util.php, 1.2
- Next by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_universalkey multihexa.js, 1.2 fck_universalkey.css, 1.2 dialogue.js, 1.2 diacritic.js, 1.2 data.js, 1.2
- Index(es):