Changeset 440 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 29 Aug 2006, 11:56:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/getContentInfo.py
r430 r440 187 187 info['url'] = utool.getUrlFromRpath(info['rpath']) 188 188 189 info['title_or_id'] = proxy. title_or_id()189 info['title_or_id'] = proxy.id 190 190 info['id'] = proxy.getId() 191 191 try: … … 193 193 except AttributeError: 194 194 raise AttributeError, 'invalid object: %s in %s' % (info['title_or_id'], 195 info['rpath']) 195 info['rpath']) 196 except TypeError: 197 info['title'] = proxy.getContent().id 198 196 199 info['icon'] = proxy.getIcon(relative_to_portal=1) 197 200 info['type'] = proxy.getPortalTypeName() … … 227 230 core = 'core' 228 231 if not doc.core_or_elective: 229 core = elective232 core = 'elective' 230 233 info['core_or_elective'] = core 231 234 info['time'] = doc.modified()
Note: See TracChangeset for help on using the changeset viewer.