- Timestamp:
- 1 Jan 2010, 16:14:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/pages.py
r4594 r4600 28 28 return 29 29 self.redirect(self.camefrom) 30 31 32 class LoginStaffPage(WAeUPPage): 33 """A login page for staff members. 34 """ 35 grok.context(IWAeUPObject) 36 grok.name('loginstaff') 37 grok.template('loginstaffpage') 38 39 title = u'Staff Login' 40 camefrom = None 41 42 def update(self, SUBMIT=None): 43 if SUBMIT is None: 44 return 45 self.flash('You logged in.') 46 self.redirect(self.url(grok.getSite())) 30 47 31 48
Note: See TracChangeset for help on using the changeset viewer.