Attachment 'line_anchor.diff'

Download

   1 --- multiconfig.py.orig	2005-12-06 23:11:26.000000000 +0000
   2 +++ multiconfig.py	2005-12-29 13:31:32.849060000 +0000
   3 @@ -231,6 +231,7 @@
   4      language_ignore_browser = False # ignore browser settings, use language_default
   5                                      # or user prefs
   6  
   7 +    line_anchors = 1
   8      lupy_search = False # disabled until lupy is finished
   9  
  10      mail_login = None # or "user pwd" if you need to use SMTP AUTH
  11 --- formatter\text_html.py.orig	2005-12-04 12:37:54.000000000 +0000
  12 +++ formatter\text_html.py	2005-12-29 13:36:10.340206400 +0000
  13 @@ -287,7 +287,10 @@
  14          return '<span id="%s" class="anchor"></span>' % (id, )
  15  
  16      def line_anchordef(self, lineno):
  17 -        return self.anchordef("line-%d" % lineno)
  18 +        if self.request.cfg.line_anchors:
  19 +            return self.anchordef("line-%d" % lineno)
  20 +        else:
  21 +            return ''
  22  
  23      def anchorlink(self, on, name='', id=None):
  24          extra = ''

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] (2005-12-29 13:39:46, 0.9 KB) [[attachment:line_anchor.diff]]
  • [get | view] (2005-12-13 18:03:46, 1.1 KB) [[attachment:moin-1.5.0beta5.diff]]
  • [get | view] (2006-01-10 11:55:40, 97.7 KB) [[attachment:newscreenshot.jpg]]
  • [get | view] (2005-12-12 14:45:18, 104.0 KB) [[attachment:screenshot.jpg]]
  • [get | view] (2005-12-13 20:46:22, 76.0 KB) [[attachment:screenshot_opera.png]]
 All files | Selected Files: delete move to page copy to page

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