source: trunk/plugins/EditTag/popups/edit_tag.html @ 156

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

new plugin EditTag?

to prepare parts of the editors contents in htmlmode

full_example-menue must be smaller for following plugins

File size: 1.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4  <title>Edit Tag By Peg</title>
5  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
6  <script type="text/javascript" src="../../../popups/popup.js"></script>
7<script language="javascript">
8
9function _CloseOnEsc() {
10  if ( event.keyCode == 27 ) {
11    window.close();
12    return;
13  }
14}
15
16function Init() {
17  __dlg_translate("EditTag");
18  __dlg_init();
19  window.resizeTo(600, 450);
20  document.body.onkeypress = _CloseOnEsc;
21  var param = window.dialogArguments;
22  document.getElementById("TAG").value = param["content"];
23}
24
25function onCancel() {
26  __dlg_close( null );
27  return false;
28}
29
30function onOK() {
31  var ret = document.getElementById("TAG").value;
32  __dlg_close( ret );
33}
34</script>
35</head>
36
37<body onLoad="Init();">
38<div class="title">Tag Editor</div>
39<textarea name="TAG" id="TAG" cols=22 rows=5 style="width: 100%; height: 315px; margin-top: 8px; margin-bottom: 4px; font-family: monospace; font-size: 11px;"></textarea>
40<div id="buttons">
41    <button type="submit" name="ok" onclick="return onOK();">OK</button>
42    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
43</div>
44</body>
45</html>
Note: See TracBrowser for help on using the repository browser.