comparison MoinMoin/macro/Include.py @ 3234:a739558ca3dc

Page.url() default changed to relative=False
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 10 Mar 2008 00:21:21 +0100
parents 2a3a6cb34e45
children
comparison
equal deleted inserted replaced
3233:5e120e903ad5 3234:a739558ca3dc
185 if print_mode: 185 if print_mode:
186 result.append(macro.formatter.heading(1, level) + 186 result.append(macro.formatter.heading(1, level) +
187 macro.formatter.text(heading) + 187 macro.formatter.text(heading) +
188 macro.formatter.heading(0, level)) 188 macro.formatter.heading(0, level))
189 else: 189 else:
190 url = inc_page.url(request, relative=False) 190 url = inc_page.url(request)
191 result.extend([ 191 result.extend([
192 macro.formatter.heading(1, level, id=heading), 192 macro.formatter.heading(1, level, id=heading),
193 macro.formatter.url(1, url, css="include-heading-link"), 193 macro.formatter.url(1, url, css="include-heading-link"),
194 macro.formatter.text(heading), 194 macro.formatter.text(heading),
195 macro.formatter.url(0), 195 macro.formatter.url(0),