comparison MoinMoin/action/DeletePage.py @ 5205:bc5d4e7072ea

action CopyPage, RenamePage, DeletePage: subpages_checked needs request.args.getfor reading this url param
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 10 Oct 2009 15:42:17 +0200
parents 162002d5b148
children
comparison
equal deleted inserted replaced
5204:03086aa93c85 5205:bc5d4e7072ea
72 if self.subpages: 72 if self.subpages:
73 subpages = ' '.join(self.subpages) 73 subpages = ' '.join(self.subpages)
74 74
75 d = { 75 d = {
76 'subpage': subpages, 76 'subpage': subpages,
77 'subpages_checked': ('', 'checked')[self.request.form.get('subpages_checked', '0') == '1'], 77 'subpages_checked': ('', 'checked')[self.request.args.get('subpages_checked', '0') == '1'],
78 'subpage_label': _('Delete all /subpages too?'), 78 'subpage_label': _('Delete all /subpages too?'),
79 'comment_label': _("Optional reason for the deletion"), 79 'comment_label': _("Optional reason for the deletion"),
80 'buttons_html': buttons_html, 80 'buttons_html': buttons_html,
81 'querytext': _('Really delete this page?'), 81 'querytext': _('Really delete this page?'),
82 } 82 }