source: trunk/plugins/Forms/popups/fieldset.html @ 967

Last change on this file since 967 was 854, checked in by gocher, 12 years ago

change htmlarea to Xinha in plugin Forms and some formating

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 1.2 KB
Line 
1<html>
2
3<head>
4  <title>Insert/Edit Form Element FIELDSET</title>
5  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
6  <script type="text/javascript" src="../../../popups/popup.js"></script>
7
8<script type="text/javascript">
9function Init() {
10  __dlg_translate("Forms");
11  __dlg_init(null,{width:260, height:150});
12  var param = window.dialogArguments;
13  document.getElementById("f_text").value = param["f_text"];
14  document.getElementById("f_text").focus();
15}
16
17function onOK() {
18  // pass data back to the calling window
19  var param = new Object();
20  param["f_text"] = document.getElementById("f_text").value;
21  __dlg_close(param);
22  return false;
23}
24
25function onCancel() {
26  __dlg_close(null);
27  return false;
28}
29
30</script>
31</head>
32
33<body class="dialog" onload="Init()">
34  <div id="f_type" class="title">Form Element: FIELDSET</div>
35  <form action="" method="get">
36    <div class="fr">Legend:</div>
37    <input type="text" name="text" id="f_text" />
38    <p />
39    <div id="buttons">
40      <button type="button" name="ok" onclick="return onOK();">OK</button>
41      <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
42    </div>
43  </form>
44</body>
45</html>
Note: See TracBrowser for help on using the repository browser.