comparison MoinMoin/PageGraphicalEditor.py @ 1784:2668d470091f

wikiutil.getSysPage renamed to getLocalizedPage
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 18 Feb 2007 23:50:31 +0100
parents 224e2106ab89
children 6dd2e29acffe
comparison
equal deleted inserted replaced
1783:4cfb61592fe4 1784:2668d470091f
258 request.write('<p><em>', _( 258 request.write('<p><em>', _(
259 """By hitting '''%(save_button_text)s''' you put your changes under the %(license_link)s. 259 """By hitting '''%(save_button_text)s''' you put your changes under the %(license_link)s.
260 If you don't want that, hit '''%(cancel_button_text)s''' to cancel your changes.""") % { 260 If you don't want that, hit '''%(cancel_button_text)s''' to cancel your changes.""") % {
261 'save_button_text': save_button_text, 261 'save_button_text': save_button_text,
262 'cancel_button_text': cancel_button_text, 262 'cancel_button_text': cancel_button_text,
263 'license_link': wikiutil.getSysPage(request, self.cfg.page_license_page).link_to(request), 263 'license_link': wikiutil.getLocalizedPage(request, self.cfg.page_license_page).link_to(request),
264 }, '</em></p>') 264 }, '</em></p>')
265 265
266 request.write(''' 266 request.write('''
267 <input class="button" type="submit" name="button_save" value="%s"> 267 <input class="button" type="submit" name="button_save" value="%s">
268 <input class="button" type="submit" name="button_preview" value="%s"> 268 <input class="button" type="submit" name="button_preview" value="%s">