Attachment 'form.py.diff'

Download

   1 File difference report generated by CSDiff by ComponentSoftware on 6/19/2004 7:44 PM
   2 
   3 Base file: C:\Documents and Settings\Owner\My Documents\Downloads\wikistuff\moinmoin\moin-1.2.2\build\lib\MoinMoin\macro\Form.py
   4 Compared file: C:\Program Files\Python23\Lib\site-packages\MoinMoin\macro\Form.py
   5 
   6 23a24,41
   7 > 
   8 >     cmd = args.split(',')
   9 >     if len(cmd) == 1:
  10 >         formpagename = cmd[0]
  11 >         formaction = 'formtest'
  12 >         addtopage = macro.formatter.page.page_name
  13 > 
  14 >     if len(cmd) == 2:
  15 >         formpagename = cmd[0]
  16 >         formaction = cmd[1]
  17 >         addtopage = macro.formatter.page.page_name
  18 > 
  19 >     if len(cmd) == 3:
  20 >         formpagename = cmd[0]
  21 >         formaction = cmd[1]
  22 >         addtopage = cmd[2]
  23 > 
  24 > 
  25 25c43
  26 <     pagename = args
  27 ---
  28 >     pagename = formpagename
  29 28c46,48
  30 <         return macro.formatter.sysmsg('Not a form page: %s' % args)
  31 ---
  32 >         return macro.formatter.sysmsg('Not a form page: %s' % formpagename)
  33 > 
  34 > 
  35 58c78,79
  36 <                 '<input type="hidden" name="action" value="formtest">\n' % 'action')
  37 ---
  38 >                 '<input type="hidden" name="action" value="%s">\n'
  39 > 				'<input type="hidden" name="addtopage" value="%s">\n' % ('action', formaction, addtopage))
  40 
  41 
  42 <---------------------  End of report  --------------------->

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] (2004-06-16 03:18:22, 2.1 KB) [[attachment:ViewTrackbacks.py]]
  • [get | view] (2004-06-19 23:54:48, 1.4 KB) [[attachment:blogpost.py]]
  • [get | view] (2004-06-28 00:47:23, 0.5 KB) [[attachment:footnotediff.txt]]
  • [get | view] (2004-06-19 23:45:08, 1.3 KB) [[attachment:form.py.diff]]
  • [get | view] (2004-06-28 00:47:09, 7.9 KB) [[attachment:formatInMemory.py]]
  • [get | view] (2004-06-16 03:18:15, 4.9 KB) [[attachment:trackback.py]]
 All files | Selected Files: delete move to page copy to page

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