pagination on the top as well
[onlineproject.git] / online / config / initializers / constants.rb
blob356515b234ec30b326bd01526c22da7df580e531
1 c = YAML.load_file(File.join(Rails.root, "config", "online.yml"))
2 Jawaker_link  = c[Rails.env]["current_site"]
4 FBlogin = "admin"
5 FBpassword = "friendS33"
7 FROM_FB_ADS         = 1
8 FROM_PLAY_ADS       = 2
9 FROM_PLAY_SITE      = 3
10 FROM_STATUS         = 4
11 FROM_FEEDS          = 5
12 FROM_NOTIFICATIONS  = 6
13 FROM_OTHER1         = 7
14 FROM_OTHER2         = 8
17 Months = {
18           "January" => 1,
19           "February" => 2, 
20           "March" => 3,
21           "April" => 4,
22           "May" => 5,
23           "June" => 6,
24           "July" => 7,
25           "August" => 8,
26           "September" => 9,
27           "October" => 10,
28           "November" => 11,
29           "December" => 12
30           }
33 Person_per_page = 20
35 Debug_message_on = true
36 UnDeleted = 0
37 Deleted = 1
38 UnInvited = 2
40 INSTALLED = 0
41 PERMISSION = 1
42 ANSWERED_1QUESTION = 2
43 DELETED = 3
44 INVITED_NUMBER = 4
45 VISITED = 5 
46 PUBLISHED = 6
47 ATTEMPT = 7
48 STATUS_LOG = 8
50 Current_site = c[Rails.env]["current_site"]
51 FB_app_link = c[Rails.env]["facebook_app"]
53 Debug_message_on = true
56 SHIFT = 100
58 STAT_START_DATE = "2010-03-03"