summaryrefslogtreecommitdiff
path: root/swat/docs/menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'swat/docs/menu.js')
-rw-r--r--swat/docs/menu.js29
1 files changed, 21 insertions, 8 deletions
diff --git a/swat/docs/menu.js b/swat/docs/menu.js
index 4a39497fd9..b57b454a32 100644
--- a/swat/docs/menu.js
+++ b/swat/docs/menu.js
@@ -1,9 +1,22 @@
/* show a menu for the docs directory */
-simple_menu(
- "Samba Information",
- "Samba4 development", "http://devel.samba.org/",
- "Recent Checkins", "http://build.samba.org/?tree=samba4&function=Recent+Checkins",
- "Recent Builds", "http://build.samba.org/?tree=samba4&function=Recent+Builds",
- "EJS Information", "http://www.appwebserver.org/products/ejs/ejs.html",
- "ESP Information", "http://www.appwebserver.org/products/esp/esp.html",
- "HTML 4.01 Spec", "http://www.w3.org/TR/html401/");
+var m = MenuObj("Samba Information", 8);
+
+m.element[0].label = "Samba4 development";
+m.element[0].link = "http://devel.samba.org/";
+m.element[1].label = "Recent Checkins";
+m.element[1].link = "http://build.samba.org/?tree=samba4&function=Recent+Checkins";
+m.element[2].label = "Recent Builds";
+m.element[2].link = "http://build.samba.org/?tree=samba4&function=Recent+Builds";
+m.element[3].label = "EJS Information";
+m.element[3].link = "http://www.appwebserver.org/products/ejs/ejs.html";
+m.element[4].label = "ESP Information";
+m.element[4].link = "http://www.appwebserver.org/products/esp/esp.html";
+m.element[5].label = "HTML 4.01 Spec";
+m.element[5].link = "http://www.w3.org/TR/html401/";
+m.element[6].label = "JavaScript Spec";
+m.element[6].link = "http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf";
+m.element[7].label = "CSS2 Reference";
+m.element[7].link = "http://www.w3schools.com/css/css_reference.asp";
+
+display_menu(m);
+