Updated domain without a dash :(
[admin.git] / application / admin / config.php
1 <?php
2 /**
3  * Additional/overwritten configuration parts
4  *
5  * @author              Roland Haeder <webmaster@shipsimu.org>
6  * @version             0.0.0
7  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, 2009 Admin-Area Developer Team
8  * @license             GNU GPL 3.0 or any newer version
9  * @link                http://www.shipsimu.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::getSelfInstance();
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?}&amp;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: CHAT-ENABLED-ICQ
59 $cfg->setConfigEntry('chat_enabled_icq', 'Y');
60
61 // CFG: CHAT-ENABLED-JABBER
62 $cfg->setConfigEntry('chat_enabled_jabber', 'Y');
63
64 // CFG: CHAT-ENABLED-YAHOO
65 $cfg->setConfigEntry('chat_enabled_yahoo', 'Y');
66
67 // CFG: CHAT-ENABLED-AOL
68 $cfg->setConfigEntry('chat_enabled_aol', 'Y');
69
70 // CFG: CHAT-ENABLED-MSN
71 $cfg->setConfigEntry('chat_enabled_msn', 'Y');
72
73 // CFG: USER-REGISTRATION
74 $cfg->setConfigEntry('user_registration_class', 'AdminRegistration');
75
76 // CFG: USER-LOGIN-CLASS
77 $cfg->setConfigEntry('user_login_class', 'AdminUserLogin');
78
79 // CFG: GUEST-LOGIN-CLASS
80 $cfg->setConfigEntry('guest_login_class', 'AdminGuestLogin');
81
82 // CFG: USER-STATUS-REGISTER
83 $cfg->setConfigEntry('user_status_unconfirmed', 'UNCONFIRMED');
84
85 // CFG: USER-STATUS-GUEST
86 $cfg->setConfigEntry('user_status_guest', 'GUEST');
87
88 // CFG: USER-STATUS-CONFIRMED
89 $cfg->setConfigEntry('user_status_confirmed', 'CONFIRMED');
90
91 // CFG: LOGIN-HELPER-CLASS
92 $cfg->setConfigEntry('login_helper_class', 'AdminLoginHelper');
93
94 // CFG: AUTH-METHOD-CLASS
95 $cfg->setConfigEntry('auth_method_class', 'CookieAuth');
96
97 // CFG: APP-LOGIN-URL
98 $cfg->setConfigEntry('app_login_url', 'index.php?app={?app_short_name?}&amp;page=login_area');
99
100 // CFG: LOGIN-FAILED-URL
101 $cfg->setConfigEntry('login_failed_url', 'index.php?app={?app_short_name?}&amp;page=login_failed');
102
103 // CFG: LOGOUT-DONE-URL
104 $cfg->setConfigEntry('logout_done_url', 'index.php?app={?app_short_name?}&amp;page=logout_done');
105
106 // CFG: LOGIN-USER-STATUS-URL
107 $cfg->setConfigEntry('login_user_status_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=status_problem');
108
109 // CFG: USER-NOT-UNCONFIRMED-URL
110 $cfg->setConfigEntry('user_not_unconfirmed_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=unconfirmed_problem');
111
112 // CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
113 $cfg->setConfigEntry('user_unconfirmed_email_missing_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=unconfirmed_email_missing');
114
115 // CFG: CONFIRM-CODE-INVALID-URL
116 $cfg->setConfigEntry('confirm_code_invalid_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=confirm_code_invalid');
117
118 // CFG: USER-NOT-FOUND-URL
119 $cfg->setConfigEntry('user_not_found_url', 'index.php?app={?app_short_name?}&amp;page=login_area&amp;action=status_problem&amp;status=user_not_found');
120
121 // CFG: LOGIN-DEFAULT-ACTION
122 $cfg->setConfigEntry('login_default_action', 'welcome');
123
124 // CFG: NEWS-READER-HOME-CLASS
125 $cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader');
126
127 // CFG: NEWS-DOWNLOAD-FILTER
128 $cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter');
129
130 // CFG: NEWS-PROCESS-FILTER
131 $cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter');
132
133 // CFG: USER-AUTH-FILTER
134 $cfg->setConfigEntry('user_auth_filter', 'UserAuthFilter');
135
136 // CFG: USER-UPDATE-FILTER
137 $cfg->setConfigEntry('user_update_filter', 'UserUpdateFilter');
138
139 // CFG: USER-STATUS-CONFIRMED-FILTER
140 $cfg->setConfigEntry('user_status_confirmed_filter', 'UserStatusConfimedUpdateFilter');
141
142 // CFG: CAPTCHA-ENCRYPT-VALIDATOR-FILTER
143 $cfg->setConfigEntry('captcha_encrypt_validator_filter', 'CaptchaEncryptFilter');
144
145 // CFG: CAPTCHA-GUEST-VERIFIER-FILTER
146 $cfg->setConfigEntry('captcha_guest_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
147
148 // CFG: CAPTCHA-USER-VERIFIER-FILTER
149 $cfg->setConfigEntry('captcha_user_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
150
151 // CFG: CAPTCHA-REGISTER-VERIFIER-FILTER
152 $cfg->setConfigEntry('captcha_register_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter');
153
154 // CFG: CONFIRM-CODE-VALIDATOR-FILTER
155 $cfg->setConfigEntry('confirm_code_verifier_filter', 'ConfirmCodeVerifierFilter');
156
157 // CFG: NEWS-HOME-LIMIT
158 $cfg->setConfigEntry('news_home_limit', 10);
159
160 // CFG: NEWS-LOGIN-AREA-LIMIT
161 $cfg->setConfigEntry('news_login_area_limit', 15);
162
163 // CFG: LOGIN-ENABLED
164 $cfg->setConfigEntry('login_enabled', 'Y');
165
166 // CFG: CONFIRM-EMAIL-ENABLED
167 $cfg->setConfigEntry('confirm_email_enabled', 'Y');
168
169 // CFG: LOGIN-DISABLED-REASON
170 $cfg->setConfigEntry('login_disabled_reason', 'Loginbereich befindet sich noch im Aufbau.');
171
172 // CFG: LOGIN-TYPE
173 $cfg->setConfigEntry('login_type', 'username'); // username, email, both
174
175 // CFG: EMAIL-CHANGE-ALLOWED
176 $cfg->setConfigEntry('email_change_allowed', 'N');
177
178 // CFG: EMAIL-CHANGE-CONFIRMATION
179 $cfg->setConfigEntry('email_change_confirmation', 'Y');
180
181 // CFG: GUEST-LOGIN-ALLOWED
182 $cfg->setConfigEntry('guest_login_allowed', 'N');
183
184 // CFG: GUEST-LOGIN-USERNAME
185 $cfg->setConfigEntry('guest_login_user', 'guest');
186
187 // CFG: GUEST-LOGIN-PASS
188 $cfg->setConfigEntry('guest_login_passwd', 'guest');
189
190 // CFG: LOGIN-WELCOME-ACTION-CLASS
191 $cfg->setConfigEntry('login_welcome_action_class', 'AdminLoginAction');
192
193 // CFG: LOGIN-LOGOUT-ACTION-CLASS
194 $cfg->setConfigEntry('login_logout_action_class', 'AdminLogoutAction');
195
196 // CFG: LOGIN-PROFILE-ACTION-CLASS
197 $cfg->setConfigEntry('login_profile_action_class', 'AdminProfileAction');
198
199 // CFG: ADMIN-REGISTER-CAPTCHA
200 $cfg->setConfigEntry('admin_register_captcha', 'GraphicalCodeCaptcha');
201
202 // CFG: ADMIN-USER-LOGIN-CAPTCHA
203 $cfg->setConfigEntry('admin_user_login_captcha', 'GraphicalCodeCaptcha');
204
205 // CFG: ADMIN-GUEST-LOGIN-CAPTCHA
206 $cfg->setConfigEntry('admin_guest_login_captcha', 'GraphicalCodeCaptcha');
207
208 // CFG: CAPTCHA-STRING-LENGTH
209 $cfg->setConfigEntry('captcha_string_length', 5);
210
211 // CFG: CAPTCHA-SEARCH-CHARS
212 $cfg->setConfigEntry('captcha_search_chars', '+/=');
213
214 // CFG: RANDOM-STRING-LENGTH
215 $cfg->setConfigEntry('random_string_length', 100);
216
217 // CFG: ADMIN-REGISTER-CAPTCHA-SECURED
218 $cfg->setConfigEntry('admin_register_captcha_secured', 'Y');
219
220 // CFG: ADMIN-USER-LOGIN-CAPTCHA-SECURED
221 $cfg->setConfigEntry('admin_user_login_captcha_secured', 'Y');
222
223 // CFG: ADMIN-GUEST-LOGIN-CAPTCHA-SECURED
224 $cfg->setConfigEntry('admin_guest_login_captcha_secured', 'Y');
225
226 // CFG: BLOCK-SHOWS-REGISTRATION
227 $cfg->setConfigEntry('block_shows_registration', 'Y');
228
229 // CFG EMAIl-TPL-RESEND-LINK
230 $cfg->setConfigEntry('email_tpl_resend_link', 'text');
231
232 // CFG: MAIL-TEMPLATE-ENGINE
233 $cfg->setConfigEntry('mail_template_class', 'MailTemplateEngine');
234
235 // CFG: IMAGE-TEMPLATE-ENGINE
236 $cfg->setConfigEntry('image_template_class', 'ImageTemplateEngine');
237
238 // CFG: ADMIN-EMAIL
239 $cfg->setConfigEntry('admin_email', 'you@some-hoster.invalid');
240
241 // CFG: WEB-BLOCK-HELPER
242 $cfg->setConfigEntry('web_block_helper', 'WebBlockHelper');
243
244 // CFG: WEB-FORM-HELPER
245 $cfg->setConfigEntry('web_form_helper', 'WebFormHelper');
246
247 // CFG: WEB-LINK-HELPER
248 $cfg->setConfigEntry('web_link_helper', 'WebLinkHelper');
249
250 // CFG: WEB-CMD-HOME-RESOLVER-CLASS
251 $cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver');
252
253 // CFG: HOME-MENU-CLASS
254 $cfg->setConfigEntry('home_menu_class', 'AdminHomeMenu');
255
256 // [EOF]
257 ?>