comparison MoinMoin/userprefs/suid.py @ 5144:12d27670e274

merged moin/1.8
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Sep 2009 02:47:11 +0200
parents 6c8aa68b803c df2301035a3c
children cded5f776bc1
comparison
equal deleted inserted replaced
5113:b7c8c6eb7690 5144:12d27670e274
78 _ = self._ 78 _ = self._
79 form = self.make_form(html.Text(_('As a superuser, you can temporarily ' 79 form = self.make_form(html.Text(_('As a superuser, you can temporarily '
80 'assume the identity of another user.'))) 80 'assume the identity of another user.')))
81 81
82 ticket = wikiutil.createTicket(self.request) 82 ticket = wikiutil.createTicket(self.request)
83 self.make_row('Select User', [self._user_select()], valign="top") 83 self.make_row(_('Select User'), [self._user_select()], valign="top")
84 form.append(html.INPUT(type="hidden", name="ticket", value="%s" % ticket)) 84 form.append(html.INPUT(type="hidden", name="ticket", value="%s" % ticket))
85 if not self._only: 85 if not self._only:
86 buttons = [html.INPUT(type="submit", name="select_user", 86 buttons = [html.INPUT(type="submit", name="select_user",
87 value=_('Select User')), 87 value=_('Select User')),
88 ' ', ] 88 ' ', ]