1 | from Permissions import * |
---|
2 | from Products.Archetypes.public import DisplayList |
---|
3 | |
---|
4 | PROJECTNAME = "SimpleBlog" |
---|
5 | SKINS_DIR = 'skins' |
---|
6 | |
---|
7 | GLOBALS = globals() |
---|
8 | |
---|
9 | DISPLAY_MODE = DisplayList(( |
---|
10 | ('full', 'Full', 'display_full'), |
---|
11 | ('descriptionOnly', 'Description only', 'display_description_only'), |
---|
12 | ('titleOnly', 'Title only', 'display_title_only') )) |
---|
13 | |
---|
14 | DIGG_TOPICS = DisplayList(( \ |
---|
15 | ('apple', 'Technology:Apple') \ |
---|
16 | ,('design', 'Technology:Design') \ |
---|
17 | ,('gadgets', 'Technology:Gadgets') \ |
---|
18 | ,('hardware', 'Technology:Hardware') \ |
---|
19 | ,('tech_news', 'Technology:Industry News') \ |
---|
20 | ,('linux_unix', 'Technology:Linux/Unix') \ |
---|
21 | ,('mods', 'Technology:Mods') \ |
---|
22 | ,('programming', 'Technology:Programming') \ |
---|
23 | ,('security', 'Technology:Security') \ |
---|
24 | ,('software', 'Technology:Software') \ |
---|
25 | ,('tech_deals', 'Technology:Tech Deals') \ |
---|
26 | ,('space', 'Science:Space') \ |
---|
27 | ,('environment', 'Science:Environment') \ |
---|
28 | ,('health', 'Science:Health') \ |
---|
29 | ,('general_sciences', 'Science:General Sciences') \ |
---|
30 | ,('business_finance', 'World & Business:Business Finance') \ |
---|
31 | ,('politics', 'World & Business:Political News') \ |
---|
32 | ,('political_opinion', 'World & Business:Political Opinion') \ |
---|
33 | ,('world_news', 'World & Business:World News') \ |
---|
34 | ,('offbeat_news', 'World & Business:Offbeat News') \ |
---|
35 | ,('baseball', 'Sports:Baseball') \ |
---|
36 | ,('basketball', 'Sports:Basketball') \ |
---|
37 | ,('extreme_sports', 'Sports:Extreme Sports') \ |
---|
38 | ,('football', 'Sports:Football - US/Canada') \ |
---|
39 | ,('golf', 'Sports:Golf') \ |
---|
40 | ,('hockey', 'Sports:Hockey') \ |
---|
41 | ,('motorsport', 'Sports:Motorsport') \ |
---|
42 | ,('soccer', 'Sports:Soccer') \ |
---|
43 | ,('tennis', 'Sports:Tennis') \ |
---|
44 | ,('other_sports', 'Sports:Other Sports') \ |
---|
45 | ,('videos_animation', 'Videos:Animation') \ |
---|
46 | ,('videos_comedy', 'Videos:Comedy') \ |
---|
47 | ,('videos_educational', 'Videos:Educational') \ |
---|
48 | ,('videos_gaming', 'Videos:Gaming') \ |
---|
49 | ,('videos_music', 'Videos:Music') \ |
---|
50 | ,('videos_people', 'Videos:People') \ |
---|
51 | ,('videos_sports', 'Videos:Sports') \ |
---|
52 | ,('celebrity', 'Entertainment:Celebrity') \ |
---|
53 | ,('movies', 'Entertainment:Movies') \ |
---|
54 | ,('music', 'Entertainment:Music') \ |
---|
55 | ,('television', 'Entertainment:Television') \ |
---|
56 | ,('gaming_news', 'Gaming:Gaming News') \ |
---|
57 | ,('playable_web_games', 'Gaming:Playable Web Games') \ |
---|
58 | )).sortedByValue() |
---|