diff --git a/COPYRIGHT b/COPYRIGHT index bc9de2f9a95..20ad88706d5 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -10,12 +10,12 @@ Composant Version License Compatible GPL Usage ---------------------------------------------------------------------------- In alphabetical order of external-lib directory: ArtiChow 1.07 Public Domain Yes Graphics -Smarty 2.6.0 LGPL 2.1 Yes Some pages templates +Smarty 2.6.0 LGPL 2.1 Yes Some pages templates In alphabetical order of includes directory: AdoDb-Date 0.21 Modified BSD License Yes Date convertion Php-barcode 0.3pl1 GPL 2.0 Yes Bar code generation -FCKEditor 2.6 LGPL 2.1 or Mozilla PL 1.0 Yes Editor WYSIWYG +FCKEditor 2.6.4 LGPL 2.1 or Mozilla PL 1.0 Yes Editor WYSIWYG FPDF 1.53 Public domain Yes PDF generation (original code is modified) FPDF_TPL 1.1.2 Apache Software License 2.0 No GPL3 only PDF templates management FPDI 1.2.1 Apache Software License 2.0 No GPL3 only PDF templates management diff --git a/htdocs/includes/fckeditor/_documentation.html b/htdocs/includes/fckeditor/_documentation.html index 6546e598bde..2c551b007d2 100644 --- a/htdocs/includes/fckeditor/_documentation.html +++ b/htdocs/includes/fckeditor/_documentation.html @@ -1,7 +1,7 @@ TH, and TH --> TD. +* input: the original node, and the new tag name +* http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode +*/ +function RenameNode( oNode , newTag ) +{ + // TODO: if the browser natively supports document.renameNode call it. + // does any browser currently support it in order to test? + + // Only rename element nodes. + if ( oNode.nodeType != 1 ) + return null ; + + // If it's already correct exit here. + if ( oNode.nodeName == newTag ) + return oNode ; + + var oDoc = oNode.ownerDocument ; + // Create the new node + var newNode = oDoc.createElement( newTag ) ; + + // Copy all attributes + CopyAttributes( oNode, newNode, {} ) ; + + // Move children to the new node + FCKDomTools.MoveChildren( oNode, newNode ) ; + + // Finally replace the node and return the new one + oNode.parentNode.replaceChild( newNode, oNode ) ; + + return newNode ; } diff --git a/htdocs/includes/fckeditor/editor/dialog/fck_about.html b/htdocs/includes/fckeditor/editor/dialog/fck_about.html index 34133a9901b..151a4a28272 100644 --- a/htdocs/includes/fckeditor/editor/dialog/fck_about.html +++ b/htdocs/includes/fckeditor/editor/dialog/fck_about.html @@ -1,7 +1,7 @@ + +
+|
+ Style + + |
+ + |
+ Stylesheet Classes + + |
+
to
]*>.*?)(<\/P>)', 'gi' ) ; // Different because of a IE 5.0 error + var re = new RegExp( '(
]*>[\\s\\S]*?)(<\/P>)', 'gi' ) ; // Different because of a IE 5.0 error html = html.replace( re, '