summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-02 15:14:32 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-02 15:14:32 +0000
commit7a17e0136d32d2a53484cea4eaf8a7731825ee60 (patch)
tree6d5219fa190c43be7185384e49b8450b3de12ff5 /roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm
parente7d1f50210a049d275bb0430c7d811159b0ba2d4 (diff)
fix path/structure (my bad)
git-svn-id: https://svn.roundcube.net/trunk@5383 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm')
-rw-r--r--roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm22
1 files changed, 22 insertions, 0 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm b/roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm
new file mode 100644
index 000000000..50b2b3445
--- /dev/null
+++ b/roundcubemail/program/js/tiny_mce/plugins/example/dialog.htm
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>{#example_dlg.title}</title>
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
+ <script type="text/javascript" src="js/dialog.js"></script>
+</head>
+<body>
+
+<form onsubmit="ExampleDialog.insert();return false;" action="#">
+ <p>Here is a example dialog.</p>
+ <p>Selected text: <input id="someval" name="someval" type="text" class="text" /></p>
+ <p>Custom arg: <input id="somearg" name="somearg" type="text" class="text" /></p>
+
+ <div class="mceActionPanel">
+ <input type="button" id="insert" name="insert" value="{#insert}" onclick="ExampleDialog.insert();" />
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
+ </div>
+</form>
+
+</body>
+</html>