Changeset 176 for waeup_product/trunk
- Timestamp:
- 16 Nov 2005, 07:52:57 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Faculty.py
r174 r176 82 82 security = ClassSecurityInfo() 83 83 84 security.declareProtected(View,"Title")85 def Title(self):86 """compose title"""87 reg_nr = self.getId()[1:]88 return "Faculty of %s" % (self.title)84 ## security.declareProtected(View,"Title") 85 ## def Title(self): 86 ## """compose title""" 87 ## reg_nr = self.getId()[1:] 88 ## return "Faculty of %s" % (self.title) 89 89 90 90 InitializeClass(Faculty) … … 118 118 security = ClassSecurityInfo() 119 119 120 security.declareProtected(View,"Title")121 def Title(self):122 """compose title"""123 reg_nr = self.getId()[1:]124 return "Department of %s" % (self.title)120 ## security.declareProtected(View,"Title") 121 ## def Title(self): 122 ## """compose title""" 123 ## reg_nr = self.getId()[1:] 124 ## return "Department of %s" % (self.title) 125 125 126 126 InitializeClass(Department) -
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r175 r176 829 829 'middlename': middlename, 830 830 'lastname': lastname, 831 'email': email, 831 832 'sex': sex, 832 833 'birthday': { … … 861 862 [{'widget_id': 'middlename', 'ncols': 1},], 862 863 [{'widget_id': 'lastname', 'ncols': 1},], 864 [{'widget_id': 'email', 'ncols': 1},], 863 865 [{'widget_id': 'sex', 'ncols': 1},], 864 866 [{'widget_id': 'birthday', 'ncols': 1},], -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r175 r176 415 415 }, 416 416 }, 417 'email': { 418 'type': 'CPS String Field', 419 'data': { 420 'is_searchabletext': 1, 421 }, 422 }, 417 423 'sex': { 418 424 'type': 'CPS Boolean Field', 419 425 'default_expr': 'python:True', 420 426 'data': { 421 'is_searchabletext': 1,427 'is_searchabletext': 0, 422 428 }, 423 429 }, … … 425 431 'type': 'CPS DateTime Field', 426 432 'data': { 427 'is_searchabletext': 1,433 'is_searchabletext': 0, 428 434 }, 429 435 }, … … 431 437 'type': 'CPS DateTime Field', 432 438 'data': { 433 'is_searchabletext': 1,439 'is_searchabletext': 0, 434 440 }, 435 441 }, … … 871 877 ## }, 872 878 ##} 879 ###) 880 873 881 schemas = {} 874 ###)875 882 876 883 schemas['university'] = university_schema -
waeup_product/trunk/skins/waeup_student/eligibility.py
r175 r176 46 46 #pw = REQUEST.get("widget__pw") 47 47 #pm.setPassword(pw) 48 psm = 'Email ha ybeen successfully set.'48 psm = 'Email has been successfully set.' 49 49 return context.REQUEST.RESPONSE.redirect('%s' % context.portal_url.getUrlFromRpath('/students')) 50 50
Note: See TracChangeset for help on using the changeset viewer.