update address standardization for cust_location changes
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / _source / classes / fckicon.js
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckicon.js b/rt/share/html/NoAuth/RichText/FCKeditor/editor/_source/classes/fckicon.js
deleted file mode 100644 (file)
index be1bde0..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- *  - GNU General Public License Version 2 or later (the "GPL")\r
- *    http://www.gnu.org/licenses/gpl.html\r
- *\r
- *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- *    http://www.gnu.org/licenses/lgpl.html\r
- *\r
- *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
- *    http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * FCKIcon Class: renders an icon from a single image, a strip or even a\r
- * spacer.\r
- */\r
-\r
-var FCKIcon = function( iconPathOrStripInfoArray )\r
-{\r
-       var sTypeOf = iconPathOrStripInfoArray ? typeof( iconPathOrStripInfoArray ) : 'undefined' ;\r
-       switch ( sTypeOf )\r
-       {\r
-               case 'number' :\r
-                       this.Path = FCKConfig.SkinPath + 'fck_strip.gif' ;\r
-                       this.Size = 16 ;\r
-                       this.Position = iconPathOrStripInfoArray ;\r
-                       break ;\r
-\r
-               case 'undefined' :\r
-                       this.Path = FCK_SPACER_PATH ;\r
-                       break ;\r
-\r
-               case 'string' :\r
-                       this.Path = iconPathOrStripInfoArray ;\r
-                       break ;\r
-\r
-               default :\r
-                       // It is an array in the format [ StripFilePath, IconSize, IconPosition ]\r
-                       this.Path               = iconPathOrStripInfoArray[0] ;\r
-                       this.Size               = iconPathOrStripInfoArray[1] ;\r
-                       this.Position   = iconPathOrStripInfoArray[2] ;\r
-       }\r
-}\r
-\r
-FCKIcon.prototype.CreateIconElement = function( document )\r
-{\r
-       var eIcon, eIconImage ;\r
-\r
-       if ( this.Position )            // It is using an icons strip image.\r
-       {\r
-               var sPos = '-' + ( ( this.Position - 1 ) * this.Size ) + 'px' ;\r
-\r
-               if ( FCKBrowserInfo.IsIE )\r
-               {\r
-                       // <div class="TB_Button_Image"><img src="strip.gif" style="top:-16px"></div>\r
-\r
-                       eIcon = document.createElement( 'DIV' ) ;\r
-\r
-                       eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;\r
-                       eIconImage.src = this.Path ;\r
-                       eIconImage.style.top = sPos ;\r
-               }\r
-               else\r
-               {\r
-                       // <img class="TB_Button_Image" src="spacer.gif" style="background-position: 0px -16px;background-image: url(strip.gif);">\r
-\r
-                       eIcon = document.createElement( 'IMG' ) ;\r
-                       eIcon.src = FCK_SPACER_PATH ;\r
-                       eIcon.style.backgroundPosition  = '0px ' + sPos ;\r
-                       eIcon.style.backgroundImage             = 'url("' + this.Path + '")' ;\r
-               }\r
-       }\r
-       else                                    // It is using a single icon image.\r
-       {\r
-               if ( FCKBrowserInfo.IsIE )\r
-               {\r
-                       // IE makes the button 1px higher if using the <img> directly, so we\r
-                       // are changing to the <div> system to clip the image correctly.\r
-                       eIcon = document.createElement( 'DIV' ) ;\r
-\r
-                       eIconImage = eIcon.appendChild( document.createElement( 'IMG' ) ) ;\r
-                       eIconImage.src = this.Path ? this.Path : FCK_SPACER_PATH ;\r
-               }\r
-               else\r
-               {\r
-                       // This is not working well with IE. See notes above.\r
-                       // <img class="TB_Button_Image" src="smiley.gif">\r
-                       eIcon = document.createElement( 'IMG' ) ;\r
-                       eIcon.src = this.Path ? this.Path : FCK_SPACER_PATH ;\r
-               }\r
-       }\r
-\r
-       eIcon.className = 'TB_Button_Image' ;\r
-\r
-       return eIcon ;\r
-}\r