source: trunk/plugins/PasteText/popups/paste_text.html @ 334

Last change on this file since 334 was 334, checked in by niko, 14 years ago

#485 - new plugin PasteText?

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}
22
23function onCancel() {
24  __dlg_close( null );
25  return false;
26}
27
28function onOK() {
29  var ret = document.getElementById("SCREEN").value;
30  __dlg_close( ret );
31}
32</script>
33</head>
34
35<body class="dialog" onLoad="Init(); SCREEN.focus();">
36<div class="title">Paste as Plain Text</div>
37<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>
38<div id="buttons">
39    <button type="submit" name="ok" onclick="return onOK();">OK</button>
40    <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
41</div>
42</body>
43</html>
Note: See TracBrowser for help on using the repository browser.