summaryrefslogtreecommitdiff
path: root/Mailman/htmlformat.py
diff options
context:
space:
mode:
authorbwarsaw2001-04-09 04:27:39 +0000
committerbwarsaw2001-04-09 04:27:39 +0000
commit2c58f445f4df5de02202b4a5a5b20831cb20e7fd (patch)
treea3244b905fec1e55a346f0abfb6b33708a498101 /Mailman/htmlformat.py
parent28dd488c2725f8dd816433b65662990ccf7b897e (diff)
downloadmailman-2c58f445f4df5de02202b4a5a5b20831cb20e7fd.tar.gz
mailman-2c58f445f4df5de02202b4a5a5b20831cb20e7fd.tar.zst
mailman-2c58f445f4df5de02202b4a5a5b20831cb20e7fd.zip
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