source: trunk/plugins/Template/popups/template.html @ 239

Last change on this file since 239 was 239, checked in by gocher, 14 years ago

Ticket #353 make plugins /popups skinable
change editor.config.skin to _editor_skin

File size: 1.4 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">
8function Init() {
9  __dlg_translate("Template");
10  __dlg_init();
11  window.resizeTo(400, 200);
12};
13
14function onOK(sel) {
15  // pass data back to the calling window
16  var param = new Object();
17  param["templ"] = sel;
18  __dlg_close(param);
19  return false;
20};
21
22function onCancel() {
23  __dlg_close(null);
24  return false;
25};
26</script>
27</head>
28
29<body class="dialog" onload="Init()">
30<div class="title">Insert template</div>
31<form>
32  <table border="0" cellspacing="0" cellpadding="5">
33        <tr>
34    <td align="center" valign="top"><a href="javascript:;" onClick="onOK('1');">
35      <img src="../img/layout_01.gif" alt="" width="106" height="68" border="0" /></a>
36    </td>
37    <td align="center" valign="top"><a href="javascript:;" onClick="onOK('2');">
38      <img src="../img/layout_02.gif" alt="" width="106" height="68" border="0" /></a>
39    </td> 
40          <td align="center" valign="top"><a href="javascript:;" onClick="onOK('3');">
41            <img src="../img/layout_03.gif" alt="" width="106" height="68" border="0" /></a><br/>
42    </td>
43        </tr>
44  </table>
45
46  <div id="buttons">
47    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
48  </div>
49</form>
50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.