Attachment 'PageEditor.py-1.8-1.9.patch'

Download

   1 --- PageEditor.py.orig	2009-03-14 14:22:44.000000000 +0100
   2 +++ PageEditor.py	2009-03-27 04:17:51.000000000 +0100
   3 @@ -765,8 +765,12 @@
   4          u = request.user
   5          obfuscated_email_address = encodeSpamSafeEmail(u.email)
   6          signature = u.signature()
   7 +        parent_page = Page(self.request, self.page_name).getParentPage() 
   8 +
   9          variables = {
  10 +            'PARENT': (parent_page.page_name if parent_page is not None else ''),
  11              'PAGE': self.page_name,
  12 +            'PAGENAME': self.page_name[self.page_name.rfind('/')+1:],
  13              'TIME': "<<DateTime(%s)>>" % now,
  14              'DATE': "<<Date(%s)>>" % now,
  15              'ME': u.name,

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] (2009-03-27 03:22:44, 0.7 KB) [[attachment:PageEditor.py-1.8-1.9.patch]]
  • [get | view] (2010-09-01 15:44:13, 0.7 KB) [[attachment:PageEditor.py-1.9.3.patch]]
 All files | Selected Files: delete move to page copy to page

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