Attachment 'theme_patch.txt'

Download

   1 --- __init__.py	2007-01-09 21:56:09.000000000 +0100
   2 +++ /usr/lib/python2.4/site-packages/MoinMoin/theme/__init__.py	2007-01-10 21:04:04.000000000 +0100
   3 @@ -1053,8 +1053,13 @@
   4          This is separate method to make it easy to customize the
   5          edtibar in sub classes.
   6          """
   7 +        sub_page_name = self.request.cfg.supplementation_page_name
   8 +        editorlink = self.editorLink(page)
   9 +        if page.page_name.endswith(sub_page_name):
  10 +            editorlink = editorlink.replace('action=edit','action=editsupplementation')
  11 +            editorlink = editorlink.replace(sub_page_name,'')
  12  
  13 -        editbar_items = {'Edit': self.editorLink(page),
  14 +        editbar_items = {'Edit': editorlink,
  15                            self.request.cfg.supplementation_page_name:
  16                            self.supplementation_page_nameLink(page),
  17                            'Info': self.infoLink(page),

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-08-25 14:32:36, 1.5 KB) [[attachment:Discussion.py]]
  • [get | view] (2006-08-27 23:37:26, 5.6 KB) [[attachment:complete_discussion_patch.txt]]
  • [get | view] (2006-12-02 10:28:16, 3.7 KB) [[attachment:edit_bar.png]]
  • [get | view] (2007-01-10 20:46:57, 0.6 KB) [[attachment:editsupplementation.py]]
  • [get | view] (2006-08-26 16:54:52, 23.9 KB) [[attachment:proposal_buttom.png]]
  • [get | view] (2006-08-26 16:55:05, 21.2 KB) [[attachment:proposal_item.png]]
  • [get | view] (2006-08-26 16:55:18, 103.4 KB) [[attachment:proposal_menu.png]]
  • [get | view] (2006-08-26 16:55:29, 20.9 KB) [[attachment:proposal_tab.png]]
  • [get | view] (2007-01-10 20:46:43, 2.1 KB) [[attachment:supplementation.py]]
  • [get | view] (2006-12-02 10:11:48, 5.5 KB) [[attachment:supplementation_20061202_patch.txt]]
  • [get | view] (2006-08-31 11:03:34, 5.8 KB) [[attachment:supplementation_page_patch.txt]]
  • [get | view] (2007-01-10 20:48:51, 0.9 KB) [[attachment:theme_patch.txt]]
 All files | Selected Files: delete move to page copy to page

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