-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf.template
201 lines (201 loc) · 4.74 KB
/
site.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
name SITE_NAME
<Site>
organisms PLURAL_ORGANISM_NAME
organisms_singular SINGULAR_ORGANISM_NAME
<host>
enabled HOST_ENABLED
name PLURAL_HOST_NAME
name_singular SINGULAR_HOST_NAME
</host>
<map>
latitude MAP_LATITUDE
longitude MAP_LONGITUDE
zoom MAP_ZOOM
</map>
<characters>
defaultcharactertype DEFAULT_CHARACTER_TYPE
<specific>
<habitat>
enabled HABITAT_ENABLED
character_name HABITAT_CHARACTER
<types>
# Character type to search with habitat if enabled. Should be followed by the number 1.
ALL_HABITATS
</types>
</habitat>
<day_of_year>
# Is date searching enabled (1 for yes, 0 for no)
enabled DATE_SEARCH_ENABLED
character_name DATE_CHARACTER_TYPE
<types>
# Character type to search with date if enabled. Should be followed by the number 1.
ALL_CHARACTER_DATES
</types>
</day_of_year>
<rarity>
# Is rarity search enabled
enabled RARITY_ENABLED
character_name RARITY_CHARACTER
<types>
# Character type to search with rarity if enabled. Should be followed by the number 1.
ALL_RARITY
</types>
<order>
# Sample set of states for assigning order to. This is a sample list with generic values and should be changed to correspond to DB values.
RARITY_ORDER
</order>
</rarity>
#<observations>
# <types>
# The charactertype for which the user can observe the organism (currently only set for one type). Should be followed by the number 1.
# </types>
#</observations>
</specific>
<search>
<percent>
states STATE_SCORE
habitat HABITAT_SCORE
rarity RARITY_SCORE
day_range DATE_SCORE
observation_location LOCATION_SCORE
observation_points POINTS_SCORE
</percent>
<in_area>
check AREA_SEARCH
# city, state, country, postal
type AREA_SEARCH_TYPE
area AREA_SEARCH_KEY
fullname AREA_FULL_NAME
</in_area>
</search>
</characters>
<observationtypes>
# Add other icons for other observation types
<user>
name User
description Users in the field Observations
icon /static/images/icons/user.png
</user>
</observationtype>
<organisminfo>
<charactertypes>
# List all of the character types followed by a numerical order
CHARACTER_TYPES
</charactertypes>
<imagetypes>
# List all of the imagetypes
Field 1
</imagetypes>
<topimages>
# The type of image to display at the top of the organism info page
charactertype DEFAULT_CHARACTER_TYPE
imagetype Field
</topimages>
</organisminfo>
<images>
# Default image types for display
defaultimagetype Field
</images>
</Site>
<Layout>
<mobile>
# Use mobile layout (1 for yes, 0 for no)
enabled USE_MOBILE
</mobile>
<tablet>
# Use table layout (1 for yes, 0 for no)
enabled USE_TABLET
</tablet>
<kiosk>
# Use kiosk layout (1 for yes, 0 for no)
enabled USE_KIOSK
# Specify IP Addresses for kiosk layout
ip KIOSK_IP
</kiosk>
</Layout>
<Cache>
# Use site caching
enabled USE_CACHING
</Cache>
<DB>
name DB_NAME
dsn DB_STRING
user DB_USER
password DB_PASSWORD
</DB>
<Model::DB>
systemobservation System
defaultcharacter DEFAULT_CHARACTER_TYPE
systemcharactertype All
<no_image>
NO_IMAGE
</no_image>
</Model::DB>
<OAuth>
<facebook>
enabled USE_FACEBOOK
app_id FACEBOOK_APP_ID
consumer_key FACEBOOK_KEY
consumer_secret FACEBOOK_SECRET
</facebook>
<twitter>
enabled USE_TWITTER
app_id TWITTER_APP_ID
consumer_key TWITTER_APP_ID
consumer_secret TWITTER_SECRET
</twitter>
</OAuth>
<GoogleMaps>
api_key GMAP_KEY
</GoogleMaps>
<GoogleAnalytics>
enabled USE_ANALYTICS
analytics_id ANALYTICS_ID
</GoogleAnalytics>
<Webmaster>
<Google>
enabled USE_GOOGLE_WEBMASTER
key GOOGLE_WEBMASTER_KEY
</Google>
<Bing>
enabled USE_BING_WEBMASTER
key BING_WEBMASTER_KEY
</Bing>
</Webmaster>
<reCAPTCHA>
enabled enabled USE_RECAPTCHA
public_key RECAPTCHA_PUBLIC_KEY
private_key RECAPTCHA_PRIVATE_KEY
</reCAPTCHA>
<Picup>
enabled USE_PICUP
</Picup>
<ImageMagick>
file_separator IM_FILE_SEPARATOR
system_convert SYSTEM_CONVERT [[ PATH OR COMMAND FOR IMAGEMAGICK CONVERT (example could be /usr/bin/convert) ]]
system_mogrify SYSTEM_MOGRIFY [[ PATH OR COMMAND FOR IMAGEMAGICK MOGRIFY (example could be /usr/bin/mogrify) ]]
</ImageMagick>
<Email>
default_from DEFAULT_FROM_EMAIL
reply REPLY_EMAIL
</Email>
<View::Email>
stash_key email
template_prefix email
<default>
content_type text/html
charset utf-8
view EmailHTML
</default>
# If you need to use SMTP mailer, use the config options below, otherwise leave comments in place
#<sender>
# mailer SMTP
# <mailer_args>
# host [[ SMTP HOST ]]
# port [[ SMTP PORT ]]
# sasl_username [[ SMTP USERNAME ]]
# sasl_password [[ SMTP PASSWORD ]]
# ssl [[ USE SSL (1 for yes, 0 for no) ]]
# </mailer_args>
#</sender>
</View::Email>