aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2010-03-06 13:44:34 -0800
committerMark Sapiro <mark@msapiro.net>2010-03-06 13:44:34 -0800
commitb1be1934722264aea4bbc25868b3cb5818b8ddd6 (patch)
treeb59a851d3ed56391e96b7e22ffb09d5ef725d82a /Mailman/Cgi
parent7a1e07a9289a8bba9cf5a7749ab2a36e70ce9708 (diff)
downloadmailman2-b1be1934722264aea4bbc25868b3cb5818b8ddd6.tar.gz
mailman2-b1be1934722264aea4bbc25868b3cb5818b8ddd6.tar.xz
mailman2-b1be1934722264aea4bbc25868b3cb5818b8ddd6.zip
Reordered the 'cancel' and 'subscribe' buttons on the subscription
confirmation web page so the default action upon 'enter' will be the subscribe button in browsers that pick the first button. Bug #530654.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r--Mailman/Cgi/confirm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py
index 214d1b3f..95b33dca 100644
--- a/Mailman/Cgi/confirm.py
+++ b/Mailman/Cgi/confirm.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -300,8 +300,8 @@ def subscription_prompt(mlist, doc, cookie, userdesc):
table.AddRow([Hidden('cookie', cookie)])
table.AddCellInfo(table.GetCurrentRowIndex(), 0, colspan=2)
table.AddRow([
- Label(SubmitButton('cancel', _('Cancel my subscription request'))),
- SubmitButton('submit', _('Subscribe to list %(listname)s'))
+ Label(SubmitButton('submit', _('Subscribe to list %(listname)s'))),
+ SubmitButton('cancel', _('Cancel my subscription request'))
])
form.AddItem(table)
doc.AddItem(form)