comparison MoinMoin/PageGraphicalEditor.py @ 3037:c0d62e7f4fbc

PageGraphicalEditor: fixed deprecation of send_page(msg=)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 03 Feb 2008 21:21:52 +0100
parents b545446562a0
children 5cb80bd604b4
comparison
equal deleted inserted replaced
3036:fe0263c5d64c 3037:c0d62e7f4fbc
201 status = [kw.get('msg', ''), conflict_msg, edit_lock_message, draft_message] 201 status = [kw.get('msg', ''), conflict_msg, edit_lock_message, draft_message]
202 status = [msg for msg in status if msg] 202 status = [msg for msg in status if msg]
203 status = ' '.join(status) 203 status = ' '.join(status)
204 status = Status(request, content=status) 204 status = Status(request, content=status)
205 205
206 request.theme.add_msg(status, "error")
206 request.theme.send_title( 207 request.theme.send_title(
207 title % {'pagename': self.split_title(), }, 208 title % {'pagename': self.split_title(), },
208 page=self, 209 page=self,
209 msg=status,
210 html_head=self.lock.locktype and ( 210 html_head=self.lock.locktype and (
211 PageEditor._countdown_js % { 211 PageEditor._countdown_js % {
212 'countdown_script': request.theme.externalScript('countdown'), 212 'countdown_script': request.theme.externalScript('countdown'),
213 'lock_timeout': lock_timeout, 213 'lock_timeout': lock_timeout,
214 'lock_expire': lock_expire, 214 'lock_expire': lock_expire,