Changeset 7833 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 10 Mar 2012, 09:45:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r7819 r7833 290 290 @property 291 291 def frontpage(self): 292 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 293 lang = self.request.cookies.get('kofa.language', portal_language) 292 lang = self.request.cookies.get('kofa.language') 294 293 html = self.context['configuration'].frontpage_dict.get(lang,'') 295 294 if html =='': 295 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 296 296 html = self.context[ 297 297 'configuration'].frontpage_dict.get(portal_language,'')
Note: See TracChangeset for help on using the changeset viewer.