Changeset 1179
- Timestamp:
- 2007-12-05 10:28:42 (10 months ago)
- Location:
- FCKeditor/branches/features/floating_dialog
- Files:
-
- 54 modified
-
editor/css/fck_editorarea.css (modified) (1 diff)
-
editor/dialog/fck_anchor.html (modified) (2 diffs)
-
editor/dialog/fck_button.html (modified) (1 diff)
-
editor/dialog/fck_checkbox.html (modified) (1 diff)
-
editor/dialog/fck_form.html (modified) (1 diff)
-
editor/dialog/fck_hiddenfield.html (modified) (1 diff)
-
editor/dialog/fck_listprop.html (modified) (1 diff)
-
editor/dialog/fck_radiobutton.html (modified) (1 diff)
-
editor/dialog/fck_replace.html (modified) (6 diffs)
-
editor/dialog/fck_select.html (modified) (2 diffs)
-
editor/dialog/fck_smiley.html (modified) (2 diffs)
-
editor/dialog/fck_specialchar.html (modified) (2 diffs)
-
editor/dialog/fck_textarea.html (modified) (2 diffs)
-
editor/dialog/fck_textfield.html (modified) (1 diff)
-
editor/fckdialog.html (modified) (1 diff)
-
editor/filemanager/connectors/php/config.php (modified) (1 diff)
-
editor/lang/ar.js (modified) (6 diffs)
-
editor/lang/es.js (modified) (13 diffs)
-
editor/lang/et.js (modified) (10 diffs)
-
editor/lang/pl.js (modified) (21 diffs)
-
editor/lang/_translationstatus.txt (modified) (4 diffs)
-
editor/lang/zh-cn.js (modified) (1 diff)
-
editor/_source/classes/fckdomrange_gecko.js (modified) (1 diff)
-
editor/_source/classes/fckdomrange_ie.js (modified) (2 diffs)
-
editor/_source/classes/fckdomrangeiterator.js (modified) (2 diffs)
-
editor/_source/classes/fckdomrange.js (modified) (2 diffs)
-
editor/_source/classes/fckeditingarea.js (modified) (3 diffs)
-
editor/_source/classes/fckenterkey.js (modified) (11 diffs)
-
editor/_source/classes/fckevents.js (modified) (1 diff)
-
editor/_source/classes/fckmenublock.js (modified) (1 diff)
-
editor/_source/classes/fckpanel.js (modified) (4 diffs)
-
editor/_source/classes/fckspecialcombo.js (modified) (1 diff)
-
editor/_source/classes/fckstyle.js (modified) (1 diff)
-
editor/_source/commandclasses/fckblockquotecommand.js (modified) (2 diffs)
-
editor/_source/commandclasses/fck_othercommands.js (modified) (1 diff)
-
editor/_source/commandclasses/fckshowblocks.js (modified) (1 diff)
-
editor/_source/commandclasses/fcktextcolorcommand.js (modified) (5 diffs)
-
editor/_source/internals/fckcommands.js (modified) (1 diff)
-
editor/_source/internals/fckdocumentprocessor.js (modified) (2 diffs)
-
editor/_source/internals/fckdomtools.js (modified) (7 diffs)
-
editor/_source/internals/fck_gecko.js (modified) (6 diffs)
-
editor/_source/internals/fck_ie.js (modified) (2 diffs)
-
editor/_source/internals/fck.js (modified) (10 diffs)
-
editor/_source/internals/fckregexlib.js (modified) (1 diff)
-
editor/_source/internals/fckselection_gecko.js (modified) (1 diff)
-
editor/_source/internals/fcktoolbarset.js (modified) (1 diff)
-
editor/_source/internals/fckundo.js (modified) (2 diffs)
-
editor/_source/internals/fckxhtml_ie.js (modified) (2 diffs)
-
editor/_source/internals/fckxhtml.js (modified) (6 diffs)
-
fckconfig.js (modified) (4 diffs)
-
fckeditor.cfc (modified) (1 diff)
-
fckeditor.cfm (modified) (1 diff)
-
_whatsnew_history.html (modified) (1 diff)
-
_whatsnew.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/branches/features/floating_dialog/editor/css/fck_editorarea.css
r961 r1179 47 47 a[href] 48 48 { 49 color: -moz-hyperlinktext !important; /* For Firefox... mark as important, otherwise it becomes black */ 49 color: -moz-hyperlinktext !important; /* For Firefox... mark as important, otherwise it becomes black */ 50 text-decoration: -moz-anchor-decoration; /* For Firefox 3, otherwise no underline will be used */ 50 51 } 51 52 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_anchor.html
r669 r1179 69 69 70 70 window.parent.SetOkButton( true ) ; 71 window.parent.SetAutoSize( true ) ; 71 72 } 72 73 … … 189 190 </script> 190 191 </head> 191 <body style=" OVERFLOW: hidden" scroll="no">192 <body style="overflow: hidden"> 192 193 <table height="100%" width="100%"> 193 194 <tr> -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_button.html
r1054 r1179 56 56 57 57 window.parent.SetOkButton( true ) ; 58 window.parent.SetAutoSize( true ) ; 58 59 } 59 60 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_checkbox.html
r1054 r1179 54 54 55 55 window.parent.SetOkButton( true ) ; 56 window.parent.SetAutoSize( true ) ; 56 57 } 57 58 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_form.html
r1054 r1179 54 54 55 55 window.parent.SetOkButton( true ) ; 56 window.parent.SetAutoSize( true ) ; 56 57 } 57 58 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_hiddenfield.html
r778 r1179 60 60 61 61 window.parent.SetOkButton( true ) ; 62 window.parent.SetAutoSize( true ) ; 62 63 } 63 64 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_listprop.html
r1054 r1179 67 67 68 68 window.parent.SetOkButton( true ) ; 69 window.parent.SetAutoSize( true ) ; 69 70 } 70 71 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_radiobutton.html
r1054 r1179 54 54 55 55 window.parent.SetOkButton( true ) ; 56 window.parent.SetAutoSize( true ) ; 56 57 } 57 58 -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_replace.html
r1054 r1179 45 45 idMap['CheckCase'] = 'chkCase' + tabCode ; 46 46 idMap['CheckWord'] = 'chkWord' + tabCode ; 47 48 if ( tabCode == 'Replace' ) 49 window.parent.SetAutoSize( true ) ; 47 50 } 48 51 … … 61 64 62 65 // Show the appropriate tab at startup. 63 if ( dialogArguments.CustomValue == 'Find' ) 66 if ( window.parent.name.search( 'Replace' ) == -1 ) 67 { 64 68 window.parent.SetSelectedTab( 'Find' ) ; 69 window.parent.SetAutoSize( true ) ; 70 } 65 71 else 66 72 window.parent.SetSelectedTab( 'Replace' ) ; … … 108 114 function GetData( bookmark ) 109 115 { 110 var cur rentNode = oEditor.FCK.EditorDocument.documentElement;111 for ( var i = 0 ; i < bookmark.length ; i++ )112 { 113 if ( currentNode.childNodes.length > bookmark[i] )114 currentNode = currentNode.childNodes.item( bookmark[i] );115 else if ( currentNode.nodeType == 3 ) // text node116 var cursor = oEditor.FCK.EditorDocument.documentElement ; 117 for ( var i = 0 ; i < bookmark.length ; i++ ) 118 { 119 var target = bookmark[i] ; 120 var currentIndex = -1 ; 121 if ( cursor.nodeType != 3 ) 116 122 { 117 var c = currentNode.nodeValue.charAt( bookmark[i] ) ; 118 if ( i == bookmark.length - 1 ) 119 return c != "" ? c : null ; 120 else 123 for (var j = 0 ; j < cursor.childNodes.length ; j++ ) 124 { 125 var candidate = cursor.childNodes[j] ; 126 if ( candidate.nodeType == 3 && 127 candidate.previousSibling && 128 candidate.previousSibling.nodeType == 3 ) 129 continue ; 130 currentIndex++ ; 131 if ( currentIndex == target ) 132 { 133 cursor = candidate ; 134 break ; 135 } 136 } 137 if ( currentIndex < target ) 121 138 return null ; 122 139 } 123 140 else 124 return null; 125 } 126 return currentNode ; 141 { 142 if ( i != bookmark.length - 1 ) 143 return null ; 144 while ( target >= cursor.length && cursor.nextSibling && cursor.nextSibling.nodeType == 3 ) 145 { 146 target -= cursor.length ; 147 cursor = cursor.nextSibling ; 148 } 149 cursor = cursor.nodeValue.charAt( target ) ; 150 if ( cursor == "" ) 151 cursor = null ; 152 } 153 } 154 return cursor ; 127 155 } 128 156 … … 132 160 // See if there's anything further down the tree. 133 161 var next = bookmark.concat( [0] ) ; 134 135 162 if ( GetData( next ) != null ) 136 163 return next ; … … 253 280 { 254 281 if ( oEditor.FCKListsLib.BlockElements[ data.tagName.toLowerCase() ] ) 282 { 255 283 matcher.Reset(); 284 matchBookmark = null ; 285 } 256 286 } 257 287 else if ( data.charAt != undefined ) … … 324 354 while ( focus && focus.nodeType != 1 ) 325 355 focus = focus.parentNode ; 356 326 357 if ( focus ) 327 focus.scrollIntoView( false ) ; 358 { 359 if ( oEditor.FCKBrowserInfo.IsSafari ) 360 oEditor.FCKDomTools.ScrollIntoView( focus, false ) ; 361 else 362 focus.scrollIntoView( false ) ; 363 } 364 328 365 return true; 329 366 } -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_select.html
r1054 r1179 72 72 73 73 window.parent.SetOkButton( true ) ; 74 window.parent.SetAutoSize( true ) ; 74 75 } 75 76 … … 116 117 </script> 117 118 </head> 118 <body style= 'OVERFLOW: hidden' scroll='no'>119 <body style="overflow: hidden"> 119 120 <table width="100%" height="100%"> 120 121 <tr> -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_smiley.html
r1071 r1179 42 42 // First of all, translate the dialog box texts 43 43 oEditor.FCKLanguageManager.TranslatePage(document) ; 44 45 window.parent.SetAutoSize( true ) ; 44 46 } 45 47 … … 73 75 </script> 74 76 </head> 75 <body s croll="no">77 <body style="overflow: hidden"> 76 78 <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%"> 77 79 <script type="text/javascript"> -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_specialchar.html
r715 r1179 70 70 // First of all, translates the dialog box texts. 71 71 oEditor.FCKLanguageManager.TranslatePage(document) ; 72 73 window.parent.SetAutoSize( true ) ; 72 74 } 73 75 74 76 </script> 75 </ HEAD>76 < BODY onload="setDefaults()" scroll="no">77 </head> 78 <body onload="setDefaults()" style="overflow: hidden"> 77 79 <table cellpadding="0" cellspacing="0" width="100%" height="100%"> 78 80 <tr> … … 115 117 </tr> 116 118 </table> 117 </ BODY>118 </ HTML>119 </body> 120 </html> -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_textarea.html
r1054 r1179 54 54 55 55 window.parent.SetOkButton( true ) ; 56 window.parent.SetAutoSize( true ) ; 56 57 } 57 58 … … 74 75 </script> 75 76 </head> 76 <body style= 'OVERFLOW: hidden' scroll='no'>77 <body style="overflow: hidden"> 77 78 <table height="100%" width="100%"> 78 79 <tr> -
FCKeditor/branches/features/floating_dialog/editor/dialog/fck_textfield.html
r1054 r1179 58 58 59 59 window.parent.SetOkButton( true ) ; 60 window.parent.SetAutoSize( true ) ; 60 61 } 61 62 -
FCKeditor/branches/features/floating_dialog/editor/fckdialog.html
r1177 r1179 40 40 // Sets the language direction. 41 41 window.document.dir = oEditor.FCKLang.Dir ; 42 43 // IE does not set the window name in showModalDialog(), let's set it here. 44 if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE ) 45 window.name = window.dialogArguments.DialogName ; 42 46 43 47 var sTitle = window.dialogArguments.Title ; -
FCKeditor/branches/features/floating_dialog/editor/filemanager/connectors/php/config.php
r1041 r1179 26 26 27 27 // SECURITY: You must explicitly enable this "connector". (Set it to "true"). 28 // WARNING: don't just set " ConfigIsEnabled = true", you must be sure that only28 // WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only 29 29 // authenticated users can access this file or use some kind of session checking. 30 30 $Config['Enabled'] = false ; -
FCKeditor/branches/features/floating_dialog/editor/lang/ar.js
r992 r1179 46 46 RemoveLink : "إزالة رابط", 47 47 Anchor : "إدراج/تحرير إشارة مرجعية", 48 AnchorDelete : " Remove Anchor", //MISSING48 AnchorDelete : "إزالة إشارة مرجعية", 49 49 InsertImageLbl : "صورة", 50 50 InsertImage : "إدراج/تحرير صورة", … … 72 72 DecreaseIndent : "إنقاص المسافة البادئة", 73 73 IncreaseIndent : "زيادة المسافة البادئة", 74 Blockquote : " Blockquote", //MISSING74 Blockquote : "اقتباس", 75 75 Undo : "تراجع", 76 76 Redo : "إعادة", … … 106 106 107 107 FitWindow : "تكبير حجم المحرر", 108 ShowBlocks : " Show Blocks", //MISSING108 ShowBlocks : "مخطط تفصيلي", 109 109 110 110 // Context Menu … … 113 113 RowCM : "صف", 114 114 ColumnCM : "عمود", 115 InsertRowAfter : " Insert Row After", //MISSING116 InsertRowBefore : " Insert Row Before", //MISSING115 InsertRowAfter : "إدراج صف بعد", 116 InsertRowBefore : "إدراج صف قبل", 117 117 DeleteRows : "حذف صفوف", 118 InsertColumnAfter : " Insert Column After", //MISSING119 InsertColumnBefore : " Insert Column Before", //MISSING118 InsertColumnAfter : "إدراج عمود بعد", 119 InsertColumnBefore : "إدراج عمود قبل", 120 120 DeleteColumns : "حذف أعمدة", 121 InsertCellAfter : " Insert Cell After", //MISSING122 InsertCellBefore : " Insert Cell Before", //MISSING121 InsertCellAfter : "إدراج خلية بعد", 122 InsertCellBefore : "إدراج خلية قبل", 123 123 DeleteCells : "حذف خلايا", 124 124 MergeCells : "دمج خلايا", 125 MergeRight : " Merge Right", //MISSING126 MergeDown : " Merge Down", //MISSING127 HorizontalSplitCell : " Split Cell Horizontally", //MISSING128 VerticalSplitCell : " Split Cell Vertically", //MISSING125 MergeRight : "دمج لليمين", 126 MergeDown : "دمج للأسفل", 127 HorizontalSplitCell : "تقسيم الخلية أفقياً", 128 VerticalSplitCell : "تقسيم الخلية عمودياً", 129 129 TableDelete : "حذف الجدول", 130 130 CellProperties : "خصائص الخلية", … … 333 333 334 334 // Find and Replace Dialog 335 DlgFindAndReplaceTitle : " Find and Replace", //MISSING335 DlgFindAndReplaceTitle : "بحث واستبدال", 336 336 337 337 // Find Dialog … … 357 357 358 358 DlgPasteMsg2 : "الصق داخل الصندوق بإستخدام زرّي (<STRONG>Ctrl+V</STRONG>) في لوحة المفاتيح، ثم اضغط زر <STRONG>موافق</STRONG>.", 359 DlgPasteSec : " Because of your browser security settings, the editor is not able to access your clipboard data directly. You are required to paste it again in this window.", //MISSING359 DlgPasteSec : "نظراً لإعدادات الأمان الخاصة بمتصفحك، لن يتمكن هذا المحرر من الوصول لمحتوى حافظتك، لذا وجب عليك لصق المحتوى مرة أخرى في هذه النافذة.", 360 360 DlgPasteIgnoreFont : "تجاهل تعريفات أسماء الخطوط", 361 361 DlgPasteRemoveStyles : "إزالة تعريفات الأنماط", -
FCKeditor/branches/features/floating_dialog/editor/lang/es.js
r992 r1179 46 46 RemoveLink : "Eliminar Vínculo", 47 47 Anchor : "Referencia", 48 AnchorDelete : " Remove Anchor", //MISSING48 AnchorDelete : "Eliminar Referencia", 49 49 InsertImageLbl : "Imagen", 50 50 InsertImage : "Insertar/Editar Imagen", … … 72 72 DecreaseIndent : "Disminuir Sangría", 73 73 IncreaseIndent : "Aumentar Sangría", 74 Blockquote : " Blockquote", //MISSING74 Blockquote : "Cita", 75 75 Undo : "Deshacer", 76 76 Redo : "Rehacer", … … 106 106 107 107 FitWindow : "Maximizar el tamaño del editor", 108 ShowBlocks : " Show Blocks", //MISSING108 ShowBlocks : "Mostrar bloques", 109 109 110 110 // Context Menu … … 113 113 RowCM : "Fila", 114 114 ColumnCM : "Columna", 115 InsertRowAfter : "Insert Row After", //MISSING116 InsertRowBefore : "Insert Row Before", //MISSING115 InsertRowAfter : "Insertar fila en la parte inferior", 116 InsertRowBefore : "Insertar fila en la parte superior", 117 117 DeleteRows : "Eliminar Filas", 118 InsertColumnAfter : "Insert Column After", //MISSING119 InsertColumnBefore : "Insert Column Before", //MISSING118 InsertColumnAfter : "Insertar columna a la derecha", 119 InsertColumnBefore : "Insertar columna a la izquierda", 120 120 DeleteColumns : "Eliminar Columnas", 121 InsertCellAfter : "Insert Cell After", //MISSING122 InsertCellBefore : "Insert Cell Before", //MISSING121 InsertCellAfter : "Insertar celda a la derecha", 122 InsertCellBefore : "Insertar celda a la izquierda", 123 123 DeleteCells : "Eliminar Celdas", 124 124 MergeCells : "Combinar Celdas", 125 MergeRight : " Merge Right", //MISSING126 MergeDown : " Merge Down", //MISSING127 HorizontalSplitCell : " Split Cell Horizontally", //MISSING128 VerticalSplitCell : " Split Cell Vertically", //MISSING125 MergeRight : "Combinar a la derecha", 126 MergeDown : "Combinar hacia abajo", 127 HorizontalSplitCell : "Dividir la celda horizontalmente", 128 VerticalSplitCell : "Dividir la celda verticalmente", 129 129 TableDelete : "Eliminar Tabla", 130 130 CellProperties : "Propiedades de Celda", … … 172 172 DlgGenNotSet : "<No definido>", 173 173 DlgGenId : "Id", 174 DlgGenLangDir : "Orientación de idioma",174 DlgGenLangDir : "Orientación", 175 175 DlgGenLangDirLtr : "Izquierda a Derecha (LTR)", 176 176 DlgGenLangDirRtl : "Derecha a Izquierda (RTL)", 177