summaryrefslogtreecommitdiff
path: root/swat/login.esp
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-31 02:57:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:20 -0500
commit580b5bb8ef24f950581545425b4fee23a6e1c6ab (patch)
tree27556d261de98263b6e585acd008e14662afa311 /swat/login.esp
parentb8b680f3aaa84d61d3ac008cf7a121c29f9edddb (diff)
downloadsamba-580b5bb8ef24f950581545425b4fee23a6e1c6ab.tar.gz
samba-580b5bb8ef24f950581545425b4fee23a6e1c6ab.tar.bz2
samba-580b5bb8ef24f950581545425b4fee23a6e1c6ab.zip
r7132: - start a convention of making object constructors end in Obj, so we
now have FormObj(). This follows the style in the ejs manual - make a new MenuObj object type, with a display_menu() to display it. This will make it easier to make different types of menus. Currently only veritical simple menus are supported. (This used to be commit ac978d4124f773d872dd15205d90a41dcec8a38f)
Diffstat (limited to 'swat/login.esp')
-rw-r--r--swat/login.esp2
1 files changed, 1 insertions, 1 deletions
diff --git a/swat/login.esp b/swat/login.esp
index fba1c544dc..f662492511 100644
--- a/swat/login.esp
+++ b/swat/login.esp
@@ -6,7 +6,7 @@ if (request['SESSION_EXPIRED'] == "True") {
write("<b>Your session has expired - please authenticate again<br>\n");
}
-var f = Form("login", 2, 1);
+var f = FormObj("login", 2, 1);
f.element[0].label = "Username";
f.element[0].value = form['Username'];
f.element[1].label = "Password";