news_reader_class is deprecated
[shipsimu.git] / application / ship-simu / config.php
1 <?php
2 /**
3  * Additional/overwritten configuration parts
4  *
5  * @author              Roland Haeder <webmaster@ship-simu.org>
6  * @version             0.0.0
7  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
8  * @license             GNU GPL 3.0 or any newer version
9  * @link                http://www.ship-simu.org
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24
25 // Get a configuration instance for shorter lines
26 $cfg = FrameworkConfiguration::getInstance();
27
28 // CFG: HEADER-CHARSET
29 $cfg->setConfigEntry('header_charset', "utf-8");
30
31 // CFG: DEFAULT-WEB-COMMAND
32 $cfg->setConfigEntry('default_web_command', "home");
33
34 // CFG: DEFAULT-IMAGE-COMMAND
35 $cfg->setConfigEntry('default_image_command', "build");
36
37 // CFG: FORM-ACTION
38 $cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&page=do_form");
39
40 // CFG: FORM-METHOD
41 $cfg->setConfigEntry('form_method', "post");
42
43 // CFG: FORM-TARGET
44 $cfg->setConfigEntry('form_target', "_self");
45
46 // CFG: REGISTER-REQUIRES-EMAIL
47 $cfg->setConfigEntry('register_requires_email', "Y");
48
49 // CFG: REGISTER-INCLUDES-PROFILE
50 $cfg->setConfigEntry('register_includes_profile', "Y");
51
52 // CFG: REGISTER-PERSONAL-DATA
53 $cfg->setConfigEntry('register_personal_data', "Y");
54
55 // CFG: REGISTER-EMAIL-UNIQUE
56 $cfg->setConfigEntry('register_email_unique', "Y");
57
58 // CFG: PROFILE-INCLUDES-BIRTHDAY
59 $cfg->setConfigEntry('profile_includes_birthday', "Y");
60
61 // CFG: CHAT-ENABLED-ICQ
62 $cfg->setConfigEntry('chat_enabled_icq', "Y");
63
64 // CFG: CHAT-ENABLED-JABBER
65 $cfg->setConfigEntry('chat_enabled_jabber', "Y");
66
67 // CFG: CHAT-ENABLED-YAHOO
68 $cfg->setConfigEntry('chat_enabled_yahoo', "Y");
69
70 // CFG: CHAT-ENABLED-AOL
71 $cfg->setConfigEntry('chat_enabled_aol', "Y");
72
73 // CFG: CHAT-ENABLED-MSN
74 $cfg->setConfigEntry('chat_enabled_msn', "Y");
75
76 // CFG: USER-REGISTRATION
77 $cfg->setConfigEntry('user_registration_class', "ShipSimuRegistration");
78
79 // CFG: USER-LOGIN-CLASS
80 $cfg->setConfigEntry('user_login_class', "ShipSimuUserLogin");
81
82 // CFG: GUEST-LOGIN-CLASS
83 $cfg->setConfigEntry('guest_login_class', "ShipSimuGuestLogin");
84
85 // CFG: USER-STATUS-REGISTER
86 $cfg->setConfigEntry('user_status_unconfirmed', "UNCONFIRMED");
87
88 // CFG: USER-STATUS-GUEST
89 $cfg->setConfigEntry('user_status_guest', "GUEST");
90
91 // CFG: USER-STATUS-CONFIRMED
92 $cfg->setConfigEntry('user_status_confirmed', "CONFIRMED");
93
94 // CFG: LOGIN-HELPER-CLASS
95 $cfg->setConfigEntry('login_helper_class', "ShipSimuLoginHelper");
96
97 // CFG: AUTH-METHOD-CLASS
98 $cfg->setConfigEntry('auth_method_class', "CookieAuth");
99
100 // CFG: APP-LOGIN-URL
101 $cfg->setConfigEntry('app_login_url', "index.php?app={?app_short_name?}&page=login_area");
102
103 // CFG: LOGIN-FAILED-URL
104 $cfg->setConfigEntry('login_failed_url', "index.php?app={?app_short_name?}&page=login_failed");
105
106 // CFG: LOGOUT-DONE-URL
107 $cfg->setConfigEntry('logout_done_url', "index.php?app={?app_short_name?}&page=logout_done");
108
109 // CFG: LOGIN-USER-STATUS-URL
110 $cfg->setConfigEntry('login_user_status_url', "index.php?app={?app_short_name?}&page=login_area&action=status_problem");
111
112 // CFG: USER-NOT-UNCONFIRMED-URL
113 $cfg->setConfigEntry('user_not_unconfirmed_url', "index.php?app={?app_short_name?}&page=status&status=unconfirmed_problem");
114
115 // CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
116 $cfg->setConfigEntry('user_unconfirmed_email_missing_url', "index.php?app={?app_short_name?}&page=status&status=unconfirmed_email_missing");
117
118 // CFG: CONFIRM-CODE-INVALID-URL
119 $cfg->setConfigEntry('confirm_code_invalid_url', "index.php?app={?app_short_name?}&page=status&status=confirm_code_invalid");
120
121 // CFG: USER-NOT-FOUND-URL
122 $cfg->setConfigEntry('user_not_found_url', "index.php?app={?app_short_name?}&page=status&status=user_not_found");
123
124 // CFG: LOGIN-GOVERNMENT-STARTUP-FAILED-URL
125 $cfg->setConfigEntry('login_government_startup_failed_url', "index.php?app={?app_short_name?}&page=government_failed&failed=startup");
126
127 // CFG: LOGIN-GOVERNMENT-TRAINING-FAILED-URL
128 $cfg->setConfigEntry('login_government_training_failed_url', "index.php?app={?app_short_name?}&page=government_failed&failed=training");
129
130 // CFG: REFILL-PAGE-CURRENCY-DONE-URL
131 $cfg->setConfigEntry('refill_page_done_url', "index.php?app={?app_short_name?}&page=login_area&action=refill_done&done={?refill_done?}&amount={?amount?}");
132
133 // CFG: LOGIN-DEFAULT-ACTION
134 $cfg->setConfigEntry('login_default_action', "welcome");
135
136 // CFG: NEWS-READER-HOME-CLASS
137 $cfg->setConfigEntry('news_reader_home_class', "DefaultNewsReader");
138
139 // CFG: NEWS-READER-LOGIN-AREA-CLASS
140 $cfg->setConfigEntry('news_reader_login_area_class', "DefaultNewsReader");
141
142 // CFG: NEWS-READER-LOGIN-AREA-LOGOUT-CLASS
143 $cfg->setConfigEntry('news_reader_login_area_logout_class', "DefaultNewsReader");
144
145 // CFG: NEWS-READER-LOGIN-AREA-COMPANY-CLASS
146 $cfg->setConfigEntry('news_reader_login_area_company_class', "DefaultNewsReader");
147
148 // CFG: NEWS-READER-LOGIN-AREA-REFILL-CLASS
149 $cfg->setConfigEntry('news_reader_login_area_refill_class', "DefaultNewsReader");
150
151 // CFG: NEWS-READER-LOGIN-AREA-PROFILE-CLASS
152 $cfg->setConfigEntry('news_reader_login_area_profile_class', "DefaultNewsReader");
153
154 // CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-TRAINING-CLASS
155 $cfg->setConfigEntry('news_reader_login_area_government_training_class', "DefaultNewsReader");
156
157 // CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-STARTUP-HELP-CLASS
158 $cfg->setConfigEntry('news_reader_login_area_government_startup_help_class', "DefaultNewsReader");
159
160 // CFG: NEWS-READER-GOVERNMENT-FAILED-CLASS
161 $cfg->setConfigEntry('news_reader_government_failed_class', "DefaultNewsReader");
162
163 // CFG: NEWS-DOWNLOAD-FILTER
164 $cfg->setConfigEntry('news_download_filter', "NewsDownloadFilter");
165
166 // CFG: NEWS-PROCESS-FILTER
167 $cfg->setConfigEntry('news_process_filter', "NewsProcessFilter");
168
169 // CFG: USER-AUTH-FILTER
170 $cfg->setConfigEntry('user_auth_filter', "UserAuthFilter");
171
172 // CFG: USER-UPDATE-FILTER
173 $cfg->setConfigEntry('user_update_filter', "UserUpdateFilter");
174
175 // CFG: USER-STATUS-CONFIRMED-FILTER
176 $cfg->setConfigEntry('user_status_confirmed_filter', "UserStatusConfimedUpdateFilter");
177
178 // CFG: CAPTCHA-ENCRYPT-VALIDATOR-FILTER
179 $cfg->setConfigEntry('captcha_encrypt_validator_filter', "CaptchaEncryptFilter");
180
181 // CFG: REFILL-REQUEST-VALIDATOR-FILTER
182 $cfg->setConfigEntry('refill_request_validator_filter', "RefillRequestValidatorFilter");
183
184 // CFG: CAPTCHA-GUEST-VERIFIER-FILTER
185 $cfg->setConfigEntry('captcha_guest_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
186
187 // CFG: CAPTCHA-USER-VERIFIER-FILTER
188 $cfg->setConfigEntry('captcha_user_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
189
190 // CFG: CAPTCHA-REGISTER-VERIFIER-FILTER
191 $cfg->setConfigEntry('captcha_register_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
192
193 // CFG: CAPTCHA-REFILL-VERFIER-FILTER
194 $cfg->setConfigEntry('captcha_refill_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
195
196 // CFG: CAPTCHA-PROFILE-VERFIER-FILTER
197 $cfg->setConfigEntry('captcha_profile_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
198
199 // CFG: CONFIRM-CODE-VERIFIER-FILTER
200 $cfg->setConfigEntry('confirm_code_verifier_filter', "ConfirmCodeVerifierFilter");
201
202 // CFG: BIRTHDAY-REGISTER-VERIFIER-FILTER
203 $cfg->setConfigEntry('birthday_register_verifier_filter', "BirthdayVerifierFilter");
204
205 // CFG: BIRTHDAY-PROFILE-VERIFIER-FILTER
206 $cfg->setConfigEntry('birthday_profile_verifier_filter', "BirthdayVerifierFilter");
207
208 // CFG: REFILL-PAGE-FILTER
209 $cfg->setConfigEntry('refill_page_filter', "RefillPageFilter");
210
211 // CFG: REFILL-REQUEST-CURRENCY-BOOK-FILTER
212 $cfg->setConfigEntry('refill_request_currency_test_book_filter', "RefillRequestCurrencyTestBookFilter");
213
214 // CFG: PAYMENT-DISCOVERY-FILTER
215 $cfg->setConfigEntry('payment_discovery_filter', "PaymentDiscoveryFilter");
216
217 // CFG: GOVERNMENT-PAYS-TRAINING-FILTER
218 $cfg->setConfigEntry('government_pays_training_filter', "ShipSimuGovernmentPaysTrainingFilter");
219
220 // CFG: GOVERNMENT-PAYS-STARTUP-HELP-FILTER
221 $cfg->setConfigEntry('government_pays_startup_help_filter', "ShipSimuGovernmentPaysStartupHelpFilter");
222
223 // CFG: NEWS-HOME-LIMIT
224 $cfg->setConfigEntry('news_home_limit', 10);
225
226 // CFG: NEWS-LOGIN-AREA-LIMIT
227 $cfg->setConfigEntry('news_login_area_limit', 15);
228
229 // CFG: NEWS-GOVERNMENT-FAILED-LIMIT
230 $cfg->setConfigEntry('news_government_failed_limit', 15);
231
232 // CFG: LOGIN-ENABLED
233 $cfg->setConfigEntry('login_enabled', "Y");
234
235 // CFG: CONFIRM-EMAIL-ENABLED
236 $cfg->setConfigEntry('confirm_email_enabled', "Y");
237
238 // CFG: LOGIN-DISABLED-REASON
239 $cfg->setConfigEntry('login_disabled_reason', "Loginbereich befindet sich noch im Aufbau.");
240
241 // CFG: LOGIN-TYPE
242 $cfg->setConfigEntry('login_type', "username"); // username, email, both
243
244 // CFG: EMAIL-CHANGE-ALLOWED
245 $cfg->setConfigEntry('email_change_allowed', "Y");
246
247 // CFG: EMAIL-CHANGE-CONFIRMATION
248 $cfg->setConfigEntry('email_change_confirmation', "Y");
249
250 // CFG: GUEST-LOGIN-ALLOWED
251 $cfg->setConfigEntry('guest_login_allowed', "Y");
252
253 // CFG: GUEST-LOGIN-USERNAME
254 $cfg->setConfigEntry('guest_login_user', "guest");
255
256 // CFG: GUEST-LOGIN-PASS
257 $cfg->setConfigEntry('guest_login_passwd', "guest");
258
259 // CFG: LOGIN-WELCOME-ACTION-CLASS
260 $cfg->setConfigEntry('login_welcome_action_class', "ShipSimuLoginAction");
261
262 // CFG: LOGIN-LOGOUT-ACTION-CLASS
263 $cfg->setConfigEntry('login_logout_action_class', "ShipSimuLogoutAction");
264
265 // CFG: LOGIN-PROFILE-ACTION-CLASS
266 $cfg->setConfigEntry('login_profile_action_class', "ShipSimuProfileAction");
267
268 // CFG: SHIPSIMU-REGISTER-CAPTCHA
269 $cfg->setConfigEntry('shipsimu_register_captcha', "GraphicalCodeCaptcha");
270
271 // CFG: SHIPSIMU-USER-LOGIN-CAPTCHA
272 $cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha");
273
274 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
275 $cfg->setConfigEntry('shipsimu_guest_login_captcha', "GraphicalCodeCaptcha");
276
277 // CFG: SHIPSIMU-PROFILE-CAPTCHA
278 $cfg->setConfigEntry('shipsimu_profile_captcha', "GraphicalCodeCaptcha");
279
280 // CFG: SHIPSIMU-REFILL-CAPTCHA
281 $cfg->setConfigEntry('shipsimu_refill_captcha', "GraphicalCodeCaptcha");
282
283 // CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA
284 $cfg->setConfigEntry('shipsimu_government_startup_captcha', "GraphicalCodeCaptcha");
285
286 // CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA
287 $cfg->setConfigEntry('shipsimu_government_training_captcha', "GraphicalCodeCaptcha");
288
289 // CFG: CAPTCHA-STRING-LENGTH
290 $cfg->setConfigEntry('captcha_string_length', 5);
291
292 // CFG: CAPTCHA-SEARCH-CHARS
293 $cfg->setConfigEntry('captcha_search_chars', "+/=");
294
295 // CFG: RANDOM-STRING-LENGTH
296 $cfg->setConfigEntry('random_string_length', 100);
297
298 // CFG: SHIPSIMU-REGISTER-CAPTCHA-SECURED
299 $cfg->setConfigEntry('shipsimu_register_captcha_secured', "Y");
300
301 // CFG: SHIPSIMU-USER-LOGIN-CAPTCHA-SECURED
302 $cfg->setConfigEntry('shipsimu_user_login_captcha_secured', "Y");
303
304 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED
305 $cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', "Y");
306
307 // CFG: SHIPSIMU-PROFILE-CAPTCHA-SECURED
308 $cfg->setConfigEntry('shipsimu_profile_captcha_secured', "Y");
309
310 // CFG: SHIPSIMU-REFILL-CAPTCHA-SECURED
311 $cfg->setConfigEntry('shipsimu_refill_captcha_secured', "Y");
312
313 // CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA-SECURED
314 $cfg->setConfigEntry('shipsimu_government_startup_captcha_secured', "Y");
315
316 // CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA-SECURED
317 $cfg->setConfigEntry('shipsimu_government_training_captcha_secured', "Y");
318
319 // CFG: BLOCK-SHOWS-REGISTRATION
320 $cfg->setConfigEntry('block_shows_registration', "Y");
321
322 // CFG: COMPANY-CLASS
323 $cfg->setConfigEntry('company_class', "ShippingCompany");
324
325 // CFG: COMPANY-DB-WRAPPER-CLASS
326 $cfg->setConfigEntry('company_db_wrapper_class', "CompanyDatabaseWrapper");
327
328 // CFG: USER-POINTS-DB-WRAPPER-CLASS
329 $cfg->setConfigEntry('user_points_db_wrapper_class', "UserPointsDatabaseWrapper");
330
331 // CFG: USER-GOVERNMENT-WRAPPER-CLASS
332 $cfg->setConfigEntry('user_gov_wrapper_class', "UserGovernmentDatabaseWrapper");
333
334 // CFG: PAYMENT-DB-WRAPPER-CLASS
335 $cfg->setConfigEntry('payment_db_wrapper_class', "PaymentsDatabaseWrapper");
336
337 // CFG EMAIl-TPL-RESEND-LINK
338 $cfg->setConfigEntry('email_tpl_resend_link', "text");
339
340 // CFG: MAIL-TEMPLATE-CLASS
341 $cfg->setConfigEntry('mail_template_class', "MailTemplateEngine");
342
343 // CFG: IMAGE-TEMPLATE-CLASS
344 $cfg->setConfigEntry('image_template_class', "ImageTemplateEngine");
345
346 // CFG: ADMIN-EMAIL
347 $cfg->setConfigEntry('admin_email', "you@some-hoster.invalid");
348
349 // CFG: USER-CLASS
350 $cfg->setConfigEntry('user_class', "ShipSimuMember");
351
352 // CFG: GUEST-CLASS
353 $cfg->setConfigEntry('guest_class', "ShipSimuGuest");
354
355 // CFG: MAX-ALLOWED-COMPANIES-FOUND
356 $cfg->setConfigEntry('max_allowed_companies_found', 10);
357
358 // CFG: FOUND-NEW-COMPANY-ACTION-POINTS
359 $cfg->setConfigEntry('found_new_company_action_points', 1000000);
360
361 // CFG: WRITE-APPLICATION-ACTION-POINTS
362 $cfg->setConfigEntry('write_applications_action_points', 10000);
363
364 // CFG: USER-POINTS-CLASS
365 $cfg->setConfigEntry('user_points_class', "UserPoints");
366
367 // CFG: GOVERNMENT-CLASS
368 $cfg->setConfigEntry('government_class', "SimplifiedGovernment");
369
370 // CFG: BANK-CLASS
371 $cfg->setConfigEntry('bank_class', "MoneyBank");
372
373 // CFG: REFILL-PAGE-ACTIVE
374 $cfg->setConfigEntry('refill_page_active', "Y");
375
376 // CFG: REFILL-PAGE-MIN-CURRENCY-AMOUNT
377 $cfg->setConfigEntry('refill_page_min_currency_amount', 1000);
378
379 // CFG: SHIP-SIMU-LOGIN-FILL-PAYMENT-DISCOVERY
380 $cfg->setConfigEntry('ship_simu_login_refill_payment_discovery', "LocalPaymentDiscovery");
381
382 // CFG: GOVERNMENT-STARTUP-HELP-LIMIT
383 $cfg->setConfigEntry('government_startup_help_limit', 3);
384
385 // CFG: WEB-BLOCK-HELPER
386 $cfg->setConfigEntry('web_block_helper', "WebBlockHelper");
387
388 // CFG: WEB-FORM-HELPER
389 $cfg->setConfigEntry('web_form_helper', "WebFormHelper");
390
391 // CFG: WEB-LINK-HELPER
392 $cfg->setConfigEntry('web_link_helper', "WebLinkHelper");
393
394 // CFG: WEB-CMD-GOVERNMENT-FAILED-RESOLVER-CLASS
395 $cfg->setConfigEntry('web_cmd_government_failed_resolver_class', "WebGovernmentFailedCommandResolver");
396
397 // CFG: REFILL-REQUEST-CURRENCY-PAYMENT-TYPE
398 $cfg->setConfigEntry('refill_request_currency_payment_type', "test");
399
400 // CFG: LOGIN-REGISTER-LOGIN-FORM
401 $cfg->setConfigEntry('login_register_login_form', "index.php?app={?app_short_name?}&amp;page=register");
402
403 // CFG: HOME-MENU-CLASS
404 $cfg->setConfigEntry('home_menu_class', "ShipSimuHomeMenu");
405
406 // CFG: LOGIN-MENU-CLASS
407 $cfg->setConfigEntry('login_menu_class', "ShipSimuLoginMenu");
408
409 // [EOF]
410 ?>