summaryrefslogtreecommitdiff
path: root/Mailman/htmlformat.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/htmlformat.py')
-rw-r--r--Mailman/htmlformat.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py
index c14730fd7..f952d613e 100644
--- a/Mailman/htmlformat.py
+++ b/Mailman/htmlformat.py
@@ -364,6 +364,9 @@ class Form(Container):
self.method = method
self.encoding = encoding
+ def set_action(self, action):
+ self.action = action
+
def Format(self, indent=0):
spaces = ' ' * indent
encoding = ''
@@ -407,6 +410,10 @@ class TextBox(InputObj):
def __init__(self, name, value='', size=10):
InputObj.__init__(self, name, "TEXT", value, checked=0, size=size)
+class Hidden(InputObj):
+ def __init__(self, name, value=''):
+ InputObj.__init__(self, name, 'HIDDEN', value, checked=0)
+
class TextArea:
def __init__(self, name, text='', rows=None, cols=None, wrap='soft'):
self.name = name