- Timestamp:
- 13 Nov 2005, 22:23:03 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/temporary_view_all.py
r167 r169 2 2 # $Id$ 3 3 4 """ Default view for the forum. If post_id is not None, post with id = <post_id>5 will be displayed, otherwise first post will be displayed."""4 """ 5 """ 6 6 7 7 member = context.portal_membership.getAuthenticatedMember() … … 13 13 #return context.temporary_view_all_form(psm=psm) 14 14 if context.portal_membership.isAnonymousUser(): 15 return context. temporary_view_all_form(psm=psm)15 return context.students.student_view_all_form(psm=psm) 16 16 else: 17 17 if url0.find(uname) > 0 or 'UniversityManager' in roles or 'Manager' in roles: … … 21 21 for r in res: 22 22 if r.getPath().endswith("students/%s" % uname): 23 return r.getObject(). temporary_view_all_form(psm=psm)24 return context. temporary_view_all_form(psm=psm)23 return r.getObject().student_view_student_form(psm=psm) 24 return context.students.student_view_all_form(psm=psm)
Note: See TracChangeset for help on using the changeset viewer.