summaryrefslogtreecommitdiffstats
path: root/swat/install
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-23 10:58:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:59 -0500
commitfdb322876d573f7e18947e53667b3ee83e3ba226 (patch)
tree39fc9d05e8f0ce95b95b048433ad77a387342261 /swat/install
parent64f31e424b3db792a1edb909195eb592a9460aaf (diff)
downloadsamba-fdb322876d573f7e18947e53667b3ee83e3ba226.tar.gz
samba-fdb322876d573f7e18947e53667b3ee83e3ba226.tar.xz
samba-fdb322876d573f7e18947e53667b3ee83e3ba226.zip
r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js (This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
Diffstat (limited to 'swat/install')
-rw-r--r--swat/install/index.esp2
-rw-r--r--swat/install/menu.js5
-rw-r--r--swat/install/newuser.esp2
-rw-r--r--swat/install/provision.esp2
4 files changed, 3 insertions, 8 deletions
diff --git a/swat/install/index.esp b/swat/install/index.esp
index ee16bec34a..6e35a98fd4 100644
--- a/swat/install/index.esp
+++ b/swat/install/index.esp
@@ -1,4 +1,4 @@
-<% page_header("columns", "Server Installation", "/install/menu.js");
+<% page_header("columns", "Server Installation", "install");
%>
<h1>Installation</h1>
diff --git a/swat/install/menu.js b/swat/install/menu.js
deleted file mode 100644
index e8f99f7cac..0000000000
--- a/swat/install/menu.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/* show a menu for the esp test pages */
-simple_menu(
- "Installation",
- "Provisioning", session_uri("/install/provision.esp"),
- "New User", session_uri("/install/newuser.esp"));
diff --git a/swat/install/newuser.esp b/swat/install/newuser.esp
index afcd9e4d55..9baba7c6f4 100644
--- a/swat/install/newuser.esp
+++ b/swat/install/newuser.esp
@@ -1,4 +1,4 @@
-<% page_header("columns", "Add a user", "/install/menu.js");
+<% page_header("columns", "Add a user", "install");
include("/scripting/forms.js");
libinclude("base.js");
diff --git a/swat/install/provision.esp b/swat/install/provision.esp
index 12e378475a..d941fa0e61 100644
--- a/swat/install/provision.esp
+++ b/swat/install/provision.esp
@@ -1,4 +1,4 @@
-<% page_header("columns", "Provisioning", "/install/menu.js");
+<% page_header("columns", "Provisioning", "install");
include("/scripting/forms.js");
libinclude("base.js");