summaryrefslogtreecommitdiff
path: root/swat.obsolete/esptest/registry.esp
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2006-12-31 20:12:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:35:23 -0500
commitd1e09e2e6f9db62bbab84abb53e23ee73764178a (patch)
tree18e57f756611c9d3e10fb41bf7c09eeb795028dd /swat.obsolete/esptest/registry.esp
parent710dfce70ca9024d2f026518638bb193e914f4a0 (diff)
downloadsamba-d1e09e2e6f9db62bbab84abb53e23ee73764178a.tar.gz
samba-d1e09e2e6f9db62bbab84abb53e23ee73764178a.tar.bz2
samba-d1e09e2e6f9db62bbab84abb53e23ee73764178a.zip
r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it.
(This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b)
Diffstat (limited to 'swat.obsolete/esptest/registry.esp')
-rw-r--r--swat.obsolete/esptest/registry.esp50
1 files changed, 50 insertions, 0 deletions
diff --git a/swat.obsolete/esptest/registry.esp b/swat.obsolete/esptest/registry.esp
new file mode 100644
index 0000000000..efdfefc37e
--- /dev/null
+++ b/swat.obsolete/esptest/registry.esp
@@ -0,0 +1,50 @@
+<%
+ page_header("columns", "ESP registry edit", "esptest");
+%>
+
+<script type="text/javascript" src="/scripting/client/encoder.js"></script>
+<script type="text/javascript" src="/scripting/client/call.js"></script>
+<script type="text/javascript" src="/scripting/client/regedit.js"></script>
+
+<h1>Registry Editor</h1>
+
+<script type="text/javascript">
+
+/*** init the page for qooxdoo ***/
+window.application.main = function()
+{
+ var doc = this.getClientWindow().getDocument();
+ var inlineWidget = new QxInline;
+ var qwidget = new QxWidget;
+ qwidget.setHeight(800);
+ qwidget.setWidth("100%");
+ qwidget.setBorder(QxBorder.presets.groove);
+
+ var btn1 = new QxButton("Registry Editor");
+ btn1.set({ top: 20, left : 30 });
+ btn1.addEventListener("click", function() {
+ var regWindow = new QxWindow("Registry Editor");
+ with(regWindow) {
+ setTop(50);
+ setLeft(50);
+ setMinWidth(600);
+ setMinHeight(600);
+ setResizeMethod("frame");
+ }
+
+ var regedit = regedit_widget("ncalrpc:");
+ regWindow.add(regedit);
+ qwidget.add(regWindow);
+ regWindow.setVisible(true);
+
+ });
+ qwidget.add(btn1);
+ inlineWidget.add(qwidget);
+ doc.add(inlineWidget, "canvas");
+}
+
+</script>
+
+<div id="canvas" style="overflow:hidden;position:static;margin-top:38px;margin-left:10px;margin-right:700px;width:700px"></div>
+
+<% page_footer(); %>