+++ /dev/null
-<!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
- * Form dialog window.\r
--->\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-<head>\r
- <title></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.GetSelection().MoveToAncestorNode( 'FORM' ) ;\r
-\r
-window.onload = function()\r
-{\r
- // First of all, translate the dialog box texts\r
- oEditor.FCKLanguageManager.TranslatePage(document) ;\r
-\r
- if ( oActiveEl )\r
- {\r
- GetE('txtName').value = oActiveEl.name ;\r
- GetE('txtAction').value = oActiveEl.getAttribute( 'action', 2 ) ;\r
- GetE('txtMethod').value = oActiveEl.method ;\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
- if ( !oActiveEl )\r
- {\r
- oActiveEl = oEditor.FCK.InsertElement( 'form' ) ;\r
-\r
- if ( oEditor.FCKBrowserInfo.IsGeckoLike )\r
- oEditor.FCKTools.AppendBogusBr( oActiveEl ) ;\r
- }\r
-\r
- oActiveEl.name = GetE('txtName').value ;\r
- SetAttribute( oActiveEl, 'action', GetE('txtAction').value ) ;\r
- oActiveEl.method = GetE('txtMethod').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 cellspacing="0" cellpadding="0" width="80%" border="0">\r
- <tr>\r
- <td>\r
- <span fcklang="DlgFormName">Name</span><br />\r
- <input style="width: 100%" type="text" id="txtName" />\r
- </td>\r
- </tr>\r
- <tr>\r
- <td>\r
- <span fcklang="DlgFormAction">Action</span><br />\r
- <input style="width: 100%" type="text" id="txtAction" />\r
- </td>\r
- </tr>\r
- <tr>\r
- <td>\r
- <span fcklang="DlgFormMethod">Method</span><br />\r
- <select id="txtMethod">\r
- <option value="get" selected="selected">GET</option>\r
- <option value="post">POST</option>\r
- </select>\r
- </td>\r
- </tr>\r
- </table>\r
- </td>\r
- </tr>\r
- </table>\r
-</body>\r
-</html>\r