Attachment 'PageEditor.py-1.9.3.patch'
Download 1 --- PageEditor.py.dist 2010-06-26 23:46:40.000000000 +0200
2 +++ PageEditor.py 2010-09-01 13:53:58.000000000 +0200
3 @@ -779,8 +779,11 @@
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 variables = {
9 'PAGE': self.page_name,
10 + 'PAGENAME': self.page_name[self.page_name.rfind('/')+1:],
11 + 'PARENT': (parent_page.page_name if parent_page is not None else ''),
12 'TIMESTAMP': now,
13 'TIME': "<<DateTime(%s)>>" % now,
14 'DATE': "<<Date(%s)>>" % now,
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.You are not allowed to attach a file to this page.