comparison src/core/constants.py @ 1092:0eefc74c346b

core (menus): constants are used for menu types
author Goffi <goffi@goffi.org>
date Wed, 25 Jun 2014 20:54:15 +0200
parents 8e0072754413
children 490a8a4536b6
comparison
equal deleted inserted replaced
1091:2d035aaea13b 1092:0eefc74c346b
55 STATIC_BLOG_KEY = "Blog page" 55 STATIC_BLOG_KEY = "Blog page"
56 STATIC_BLOG_PARAM_TITLE = "Title" 56 STATIC_BLOG_PARAM_TITLE = "Title"
57 STATIC_BLOG_PARAM_BANNER = "Banner" 57 STATIC_BLOG_PARAM_BANNER = "Banner"
58 STATIC_BLOG_PARAM_KEYWORDS = "Keywords" 58 STATIC_BLOG_PARAM_KEYWORDS = "Keywords"
59 STATIC_BLOG_PARAM_DESCRIPTION = "Description" 59 STATIC_BLOG_PARAM_DESCRIPTION = "Description"
60
61 ## Menus ##
62
63 MENU_GLOBAL = "GLOBAL"
64 MENU_ROOM = "ROOM"
65 MENU_SINGLE = "SINGLE"
66 MENU_JID_CONTEXT = "JID_CONTEXT"
67 MENU_ROSTER_JID_CONTEXT = "ROSTER_JID_CONTEXT"
68 MENU_ROSTER_GROUP_CONTEXT = "MENU_ROSTER_GROUP_CONTEXT"
60 69
61 ## Profile and entities ## 70 ## Profile and entities ##
62 PROF_KEY_NONE = '@NONE@' 71 PROF_KEY_NONE = '@NONE@'
63 PROF_KEY_DEFAULT = '@DEFAULT@' 72 PROF_KEY_DEFAULT = '@DEFAULT@'
64 ENTITY_ALL = '@ALL@' 73 ENTITY_ALL = '@ALL@'