import mtweb.0.4.1
[mtweb] / web / libs / tiny_mce / plugins / example / dialog.htm
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
2 <html xmlns="http://www.w3.org/1999/xhtml">\r
3 <head>\r
4         <title>{#example_dlg.title}</title>\r
5         <script type="text/javascript" src="../../tiny_mce_popup.js"></script>\r
6         <script type="text/javascript" src="js/dialog.js"></script>\r
7 </head>\r
8 <body>\r
9 \r
10 <form onsubmit="ExampleDialog.insert();return false;" action="#">\r
11         <p>Here is a example dialog.</p>\r
12         <p>Selected text: <input id="someval" name="someval" type="text" class="text" /></p>\r
13         <p>Custom arg: <input id="somearg" name="somearg" type="text" class="text" /></p>\r
14 \r
15         <div class="mceActionPanel">\r
16                 <input type="button" id="insert" name="insert" value="{#insert}" onclick="ExampleDialog.insert();" />\r
17                 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />\r
18         </div>\r
19 </form>\r
20 \r
21 </body>\r
22 </html>\r