Last change
on this file since 310 was
310,
checked in by gocher, 14 years ago
|
Make ESC work and make the Equation plugin skinable.
|
File size:
1.5 KB
|
Line | |
---|
1 | <html>
|
---|
2 | <head>
|
---|
3 | <title>Insert template</title>
|
---|
4 | <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
|
---|
5 | <script type="text/javascript" src="../../../popups/popup.js"></script>
|
---|
6 |
|
---|
7 | <script type="text/javascript">
|
---|
8 | function Init() {
|
---|
9 | __dlg_translate("Template");
|
---|
10 | __dlg_init();
|
---|
11 | window.resizeTo(400, 200);
|
---|
12 | document.getElementById("cancel").focus();
|
---|
13 | };
|
---|
14 |
|
---|
15 | function onOK(sel) {
|
---|
16 | // pass data back to the calling window
|
---|
17 | var param = new Object();
|
---|
18 | param["templ"] = sel;
|
---|
19 | __dlg_close(param);
|
---|
20 | return false;
|
---|
21 | };
|
---|
22 |
|
---|
23 | function onCancel() {
|
---|
24 | __dlg_close(null);
|
---|
25 | return false;
|
---|
26 | };
|
---|
27 | </script>
|
---|
28 | </head>
|
---|
29 |
|
---|
30 | <body class="dialog" onload="Init()">
|
---|
31 | <div class="title">Insert template</div>
|
---|
32 | <form>
|
---|
33 | <table border="0" cellspacing="0" cellpadding="5">
|
---|
34 | <tr>
|
---|
35 | <td align="center" valign="top"><a href="javascript:;" onClick="onOK('1');">
|
---|
36 | <img src="../img/layout_01.gif" alt="" width="106" height="68" border="0" /></a>
|
---|
37 | </td>
|
---|
38 | <td align="center" valign="top"><a href="javascript:;" onClick="onOK('2');">
|
---|
39 | <img src="../img/layout_02.gif" alt="" width="106" height="68" border="0" /></a>
|
---|
40 | </td>
|
---|
41 | <td align="center" valign="top"><a href="javascript:;" onClick="onOK('3');">
|
---|
42 | <img src="../img/layout_03.gif" alt="" width="106" height="68" border="0" /></a><br/>
|
---|
43 | </td>
|
---|
44 | </tr>
|
---|
45 | </table>
|
---|
46 |
|
---|
47 | <div id="buttons">
|
---|
48 | <button type="button" name="cancel" id="cancel" onclick="return onCancel();">Cancel</button>
|
---|
49 | </div>
|
---|
50 | </form>
|
---|
51 | </body>
|
---|
52 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.