|
@@ -0,0 +1,68 @@
|
|
|
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
+<!--
|
|
|
+ * Dokeos - elearning and course management software
|
|
|
+ *
|
|
|
+ * Copyright (c) 2008-2009 Dokeos SPRL
|
|
|
+ * Copyright (c) 2009 Ivan Tcholakov <ivantcholakov@gmail.com>
|
|
|
+ *
|
|
|
+ * For a full list of contributors, see "credits.txt".
|
|
|
+ * The full license can be read in "license.txt".
|
|
|
+ *
|
|
|
+ * This program is free software; you can redistribute it and/or
|
|
|
+ * modify it under the terms of the GNU General Public License
|
|
|
+ * as published by the Free Software Foundation; either version 2
|
|
|
+ * of the License, or (at your option) any later version.
|
|
|
+ *
|
|
|
+ * See the GNU General Public License for more details.
|
|
|
+ *
|
|
|
+ * Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
|
|
|
+ * Mail: info@dokeos.com
|
|
|
+-->
|
|
|
+<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
+ <head>
|
|
|
+ <title></title>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
+ <meta name="robots" content="noindex, nofollow" />
|
|
|
+ <script src="../../dialog/common/fck_dialog_common.js" type="text/javascript"></script>
|
|
|
+ <script type="text/javascript">
|
|
|
+
|
|
|
+var dialog = window.parent ;
|
|
|
+var oEditor = dialog.InnerDialogLoaded() ;
|
|
|
+var FCK = oEditor.FCK ;
|
|
|
+var FCKConfig = oEditor.FCKConfig ;
|
|
|
+var FCKTools = oEditor.FCKTools ;
|
|
|
+var FCKLang = oEditor.FCKLang ;
|
|
|
+
|
|
|
+window.document.dir = FCKLang.Dir ;
|
|
|
+document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
|
|
|
+
|
|
|
+function Ok()
|
|
|
+{
|
|
|
+ if ( typeof(window.parent.Args().CustomValue.action ) == 'function' )
|
|
|
+ {
|
|
|
+ window.parent.Args().CustomValue.action( document.getElementById('inputfield').value ) ;
|
|
|
+ }
|
|
|
+
|
|
|
+ return true ;
|
|
|
+}
|
|
|
+
|
|
|
+window.onload = function()
|
|
|
+{
|
|
|
+ message = dialog.Args().CustomValue.message ;
|
|
|
+ default_value = dialog.Args().CustomValue.default_value ;
|
|
|
+ document.getElementById( 'message' ).innerHTML = message ;
|
|
|
+ document.getElementById( 'inputfield' ).value = default_value ;
|
|
|
+
|
|
|
+ window.parent.SetOkButton( true ) ;
|
|
|
+ window.parent.SetAutoSize( true ) ;
|
|
|
+}
|
|
|
+
|
|
|
+ </script>
|
|
|
+ </head>
|
|
|
+ <body scroll="no" style="overflow: hidden;">
|
|
|
+ <div style="margin-top: 30px; margin-bottom: 30px; margin-right: auto; margin-left: auto; width: 90%;" align="center">
|
|
|
+ <span id="message"></span><br />
|
|
|
+ <input id="inputfield" type="text" style="width: 100%;"/>
|
|
|
+ </div>
|
|
|
+ </body>
|
|
|
+</html>
|