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_spellerpag


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

Update of news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages

Modified Files:
     Branch: MAIN
            spellchecker.html lines: +6 -6
            wordWindow.js lines: +6 -7

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

====================================================
Index: 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
diff -u 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html:1.1
 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html:1.2
--- 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html:1.1
   Tue May 24 14:32:53 2005
+++ 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html
       Thu Aug  4 03:54:31 2005
@@ -42,19 +42,19 @@
        if (opener) {
                var speller = opener.speller;
                bodyDoc.write('<body class="normalText" 
onLoad="document.forms[0].submit();">');
-               bodyDoc.write('<p>' + window.parent.FCKLang.DlgSpellProgress + 
'</p>');         // by FredCK
+               bodyDoc.write('<p>' + window.parent.FCKLang.DlgSpellProgress + 
'<\/p>');                // by FredCK
                bodyDoc.write('<form action="'+speller.spellCheckScript+'" 
method="post">');
                for( var i = 0; i < speller.textInputs.length; i++ ) {
                        bodyDoc.write('<input type="hidden" name="textinputs[]" 
value="'+encodeForPost(speller.textInputs[i].value)+'">');
                }
-               bodyDoc.write('</form>');
-               bodyDoc.write('</body>');
+               bodyDoc.write('<\/form>');
+               bodyDoc.write('<\/body>');
        } else {
                bodyDoc.write('<body class="normalText">');
-               bodyDoc.write('<p><b>This page cannot be 
displayed</b></p><p>The window was not opened from another window.</p>');
-               bodyDoc.write('</body>');
+               bodyDoc.write('<p><b>This page cannot be 
displayed<\/b><\/p><p>The window was not opened from another window.<\/p>');
+               bodyDoc.write('<\/body>');
        }
-       bodyDoc.write('</html>');
+       bodyDoc.write('<\/html>');
        bodyDoc.close();
 }
 </script>

====================================================
Index: 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js
diff -u 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js:1.1
 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js:1.2
--- 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js:1.1
       Tue May 24 14:32:53 2005
+++ 
news_admin/js/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js
   Thu Aug  4 03:54:31 2005
@@ -18,8 +18,8 @@
        this.windowType = "wordWindow";
        this.originalSpellings = new Array();
        this.suggestions = new Array();
-       this.checkWordBorderColor = '#f00';
-       this.normWordBorderColor = '#fff';
+       this.checkWordBgColor = "pink";
+       this.normWordBgColor = "white";
        this.text = "";
        this.textInputs = new Array();
        this.indexes = new Array();
@@ -91,8 +91,7 @@
        if( word ) {
                if( word.type == "text" ) {
                        word.focus();
-                       word.style.borderBottomWidth = '1px';
-                       word.style.borderColor = this.checkWordBorderColor;
+                       word.style.backgroundColor = this.checkWordBgColor;
                }
        }
 }
@@ -102,7 +101,7 @@
        if( word ) {
                if( word.type == "text" ) {
                        word.blur();
-                       word.style.borderColor = this.normWordBorderColor;
+                       word.style.backgroundColor = this.normWordBgColor;
                }
        }
 }
@@ -235,8 +234,8 @@
                }
                return htmlstr;
        } else {
-               htmlstr = htmlstr.replace( /</g, '&lt;' );
-               htmlstr = htmlstr.replace( />/g, '&gt;' );
+               htmlstr = htmlstr.replace( /</g, '&lt' );
+               htmlstr = htmlstr.replace( />/g, '&gt' );
                htmlstr = htmlstr.replace( /\n/g, '<br/>' );
                return htmlstr;
        }






reply via email to

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