Attachment '__init__.patch'
Download 1 --- __init__.py 2005-12-21 18:41:23.000000000 +0100
2 +++ __init__.py.reimar 2005-12-21 19:23:24.702670384 +0100
3 @@ -177,7 +177,7 @@
4 segments = d['page_name'].split('/') # was: title_text
5 for s in segments[:-1]:
6 curpage += s
7 - content.append("<li>%s</li>" % Page(self.request, curpage).link_to(self.request, s))
8 + content.append("<span>%s</span>" % Page(self.request, curpage).link_to(self.request, s))
9 curpage += '/'
10 content.append(('<li><a class="backlink" title="%(title)s" href="%(href)s">%(text)s</a></li>') % {
11 'title': _('Click to do a full-text search for this title'),
12 @@ -185,7 +185,7 @@
13 'text': wikiutil.escape(segments[-1]),
14 })
15 else:
16 - content.append('<li>%s</li>' % wikiutil.escape(d['title_text']))
17 + content.append('<span>%s</span>' % wikiutil.escape(d['title_text']))
18
19 html = '''
20 <ul id="pagelocation">
21 @@ -525,7 +525,7 @@
22 True, interwiki, page) +
23 self.shortenPagename(page) +
24 self.request.formatter.interwikilink(False))
25 - items.append('<li>%s</li>' % link)
26 + items.append('<span>%s</span>' % link)
27 continue
28 else:
29 pagename = page
30 @@ -536,7 +536,7 @@
31 title = page.split_title(request)
32 title = self.shortenPagename(title)
33 link = page.link_to(request, title)
34 - items.append('<li>%s</li>' % link)
35 + items.append('<span>%s</span>' % link)
36 html = '''
37 <ul id="pagetrail">
38 %s
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.