source: releases/0.91beta/plugins/PasteText/popups/paste_text.html @ 652

Last change on this file since 652 was 652, checked in by ray, 12 years ago

release 0.91beta with changed namespace

File size: 1.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4  <title>Paste Text</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(event) {
10  if ( event.keyCode == 27 ) {
11    window.close();
12    return;
13  }
14}
15
16function Init() {
17  __dlg_translate("PasteText");
18  __dlg_init();
19  window.resizeTo(600, 450);
20  var param = window.dialogArguments;
21  document.getElementById("SCREEN").focus();
22}
23
24function onCancel() {
25  __dlg_close( null );
26  return false;
27}
28
29function onOK() {
30  var ret = document.getElementById("SCREEN").value;
31  __dlg_close( ret );
32}
33</script>
34</head>
35
36<body class="dialog" onload="Init();">
37<div class="title">Paste as Plain Text</div>
38<textarea name="SCREEN" id="SCREEN" cols=22 rows=5 style="width: 100%; height: 315px; margin-top: 8px; margin-bottom: 4px; font-family: monospace; font-size: 11px;"></textarea>
39<div id="buttons">
40    <button type="submit" name="ok" onclick="return onOK();">OK</button>
41    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
42</div>
43</body>
44</html>
Note: See TracBrowser for help on using the repository browser.