Attachment 'userform.py.patch'

Download

   1 --- userform_orig.py	2006-04-18 20:56:56.000000000 +0200
   2 +++ userform.py	2006-04-22 09:12:29.340658000 +0200
   3 @@ -674,7 +674,19 @@
   4                  type="password", size="32", name="password",
   5              ),
   6          ])
   7 -
   8 +        
   9 +        txt="""
  10 +<form>
  11 +    <input type="radio" name="RememberFor" value="0.25">15min
  12 +    <input type="radio" name="RememberFor" value="2">2h
  13 +    <input type="radio" name="RememberFor" value="4">4h
  14 +    <input type="radio" name="RememberFor" value="10">10h
  15 +    <input type="radio" name="RememberFor" value="168">1 week
  16 +    <input type="radio" name="RememberFor" value="87600" checked="87600">always
  17 +</form>"""
  18 +        
  19 +        self.make_row(_('Remember me'), txt, valign="top")
  20 +        
  21          self.make_row('', [
  22              html.INPUT(
  23                  type="submit", name='login', value=_('Login')

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-04-22 07:59:00, 7.2 KB) [[attachment:cookie_lifetime.png]]
  • [get | view] (2006-04-22 07:59:10, 2.3 KB) [[attachment:login.py.patch]]
  • [get | view] (2006-04-22 07:59:21, 0.8 KB) [[attachment:userform.py.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.