comparison src/server/constants.py @ 1075:ee1327eb2b84

pages: updated default menu
author Goffi <goffi@goffi.org>
date Sat, 24 Mar 2018 11:25:36 +0100
parents f2170536ba23
children 8d8b88bfddad
comparison
equal deleted inserted replaced
1074:2e1f7e78b147 1075:ee1327eb2b84
56 PAGES_ACCESS_PUBLIC = u"public" 56 PAGES_ACCESS_PUBLIC = u"public"
57 PAGES_ACCESS_PROFILE = u"profile" # a session with an existing profile must be started 57 PAGES_ACCESS_PROFILE = u"profile" # a session with an existing profile must be started
58 PAGES_ACCESS_ADMIN = u"admin" # only profiles set in admins_list can access the page 58 PAGES_ACCESS_ADMIN = u"admin" # only profiles set in admins_list can access the page
59 PAGES_ACCESS_ALL = (PAGES_ACCESS_NONE, PAGES_ACCESS_PUBLIC, PAGES_ACCESS_PROFILE, PAGES_ACCESS_ADMIN) 59 PAGES_ACCESS_ALL = (PAGES_ACCESS_NONE, PAGES_ACCESS_PUBLIC, PAGES_ACCESS_PROFILE, PAGES_ACCESS_ADMIN)
60 # names of the page to use for menu 60 # names of the page to use for menu
61 DEFAULT_MENU = ['login', 'blog_view', 'chat', 'app'] 61 DEFAULT_MENU = ['login', 'chat', 'blog_view', 'forums', 'photos', 'files', 'app']
62 62
63 ## Session flags ## 63 ## Session flags ##
64 FLAG_CONFIRM = u"CONFIRM" 64 FLAG_CONFIRM = u"CONFIRM"
65 65
66 ## Data post ## 66 ## Data post ##