comparison MoinMoin/action/LikePages.py @ 1068:ecece5db5288

use emit_http_headers
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 27 Jul 2006 01:18:14 +0200
parents cbbde07e00c4
children ed44b93599b5
comparison
equal deleted inserted replaced
1067:5bf357a720e7 1068:ecece5db5288
39 msg=_('Exactly one page like "%s" found, redirecting to page.') % ( 39 msg=_('Exactly one page like "%s" found, redirecting to page.') % (
40 pagename,)) 40 pagename,))
41 return 41 return
42 42
43 # more than one match, list 'em 43 # more than one match, list 'em
44 request.http_headers() 44 request.emit_http_headers()
45 45
46 # This action generate data using the user language 46 # This action generate data using the user language
47 request.setContentLanguage(request.lang) 47 request.setContentLanguage(request.lang)
48 48
49 request.theme.send_title(_('Pages like "%s"') % (pagename), pagename=pagename) 49 request.theme.send_title(_('Pages like "%s"') % (pagename), pagename=pagename)