upgrade fckeditor to ckeditor, for IE10 compatibility, RT#22014
[freeside.git] / httemplate / elements / fckeditor / editor / dialog / fck_button.html
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_button.html b/httemplate/elements/fckeditor/editor/dialog/fck_button.html
deleted file mode 100644 (file)
index 9351013..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r
-<!--\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2010 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
- * Button dialog window.\r
--->\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-<head>\r
-       <title>Button Properties</title>\r
-       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r
-       <meta content="noindex, nofollow" name="robots" />\r
-       <script src="common/fck_dialog_common.js" type="text/javascript"></script>\r
-       <script type="text/javascript">\r
-\r
-var dialog     = window.parent ;\r
-var oEditor    = dialog.InnerDialogLoaded() ;\r
-\r
-// Gets the document DOM\r
-var oDOM = oEditor.FCK.EditorDocument ;\r
-\r
-var oActiveEl = dialog.Selection.GetSelectedElement() ;\r
-\r
-window.onload = function()\r
-{\r
-       // First of all, translate the dialog box texts\r
-       oEditor.FCKLanguageManager.TranslatePage(document) ;\r
-\r
-       if ( oActiveEl && oActiveEl.tagName.toUpperCase() == "INPUT" && ( oActiveEl.type == "button" || oActiveEl.type == "submit" || oActiveEl.type == "reset" ) )\r
-       {\r
-               GetE('txtName').value   = oActiveEl.name ;\r
-               GetE('txtValue').value  = oActiveEl.value ;\r
-               GetE('txtType').value   = oActiveEl.type ;\r
-       }\r
-       else\r
-               oActiveEl = null ;\r
-\r
-       dialog.SetOkButton( true ) ;\r
-       dialog.SetAutoSize( true ) ;\r
-       SelectField( 'txtName' ) ;\r
-}\r
-\r
-function Ok()\r
-{\r
-       oEditor.FCKUndo.SaveUndoStep() ;\r
-\r
-       oActiveEl = CreateNamedElement( oEditor, oActiveEl, 'INPUT', {name: GetE('txtName').value, type: GetE('txtType').value } ) ;\r
-\r
-       SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;\r
-\r
-       return true ;\r
-}\r
-\r
-       </script>\r
-</head>\r
-<body style="overflow: hidden">\r
-       <table width="100%" style="height: 100%">\r
-               <tr>\r
-                       <td align="center">\r
-                               <table border="0" cellpadding="0" cellspacing="0" width="80%">\r
-                                       <tr>\r
-                                               <td colspan="">\r
-                                                       <span fcklang="DlgCheckboxName">Name</span><br />\r
-                                                       <input type="text" size="20" id="txtName" style="width: 100%" />\r
-                                               </td>\r
-                                       </tr>\r
-                                       <tr>\r
-                                               <td>\r
-                                                       <span fcklang="DlgButtonText">Text (Value)</span><br />\r
-                                                       <input type="text" id="txtValue" style="width: 100%" />\r
-                                               </td>\r
-                                       </tr>\r
-                                       <tr>\r
-                                               <td>\r
-                                                       <span fcklang="DlgButtonType">Type</span><br />\r
-                                                       <select id="txtType">\r
-                                                               <option fcklang="DlgButtonTypeBtn" value="button" selected="selected">Button</option>\r
-                                                               <option fcklang="DlgButtonTypeSbm" value="submit">Submit</option>\r
-                                                               <option fcklang="DlgButtonTypeRst" value="reset">Reset</option>\r
-                                                       </select>\r
-                                               </td>\r
-                                       </tr>\r
-                               </table>\r
-                       </td>\r
-               </tr>\r
-       </table>\r
-</body>\r
-</html>\r