3 * Additional/overwritten configuration parts
5 * @author Roland Haeder <webmaster@ship-simu.org>
7 * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
8 * @license GNU GPL 3.0 or any newer version
9 * @link http://www.ship-simu.org
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.
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.
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/>.
25 // Get a configuration instance for shorter lines
26 $cfg = FrameworkConfiguration::getInstance();
28 // CFG: DEFAULT-COMMAND
29 $cfg->setConfigEntry('default_command', "home");
31 // CFG: PAGE-WITH-NEWS
32 $cfg->setConfigEntry('page_with_news', "home");
35 $cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&page=do_form");
38 $cfg->setConfigEntry('form_method', "post");
41 $cfg->setConfigEntry('form_target', "_self");
43 // CFG: REGISTER-REQUIRES-EMAIL
44 $cfg->setConfigEntry('register_requires_email', "Y");
46 // CFG: REGISTER-INCLUDES-PROFILE
47 $cfg->setConfigEntry('register_includes_profile', "Y");
49 // CFG: REGISTER-PERSONAL-DATA
50 $cfg->setConfigEntry('register_personal_data', "Y");
52 // CFG: REGISTER-EMAIL-UNIQUE
53 $cfg->setConfigEntry('register_email_unique', "Y");
55 // CFG: CHAT-ENABLED-ICQ
56 $cfg->setConfigEntry('chat_enabled_icq', "Y");
58 // CFG: CHAT-ENABLED-JABBER
59 $cfg->setConfigEntry('chat_enabled_jabber', "Y");
61 // CFG: CHAT-ENABLED-YAHOO
62 $cfg->setConfigEntry('chat_enabled_yahoo', "Y");
64 // CFG: CHAT-ENABLED-AOL
65 $cfg->setConfigEntry('chat_enabled_aol', "Y");
67 // CFG: CHAT-ENABLED-MSN
68 $cfg->setConfigEntry('chat_enabled_msn', "Y");
70 // CFG: USER-REGISTRATION
71 $cfg->setConfigEntry('user_registration_class', "ShipSimuRegistration");
74 $cfg->setConfigEntry('user_login_class', "ShipSimuUserLogin");
76 // CFG: USER-STATUS-REGISTER
77 $cfg->setConfigEntry('user_status_register', "UNCONFIRMED");
80 $cfg->setConfigEntry('login_helper_class', "ShipSimuLoginHelper");
83 $cfg->setConfigEntry('auth_method_class', "CookieAuth");
86 $cfg->setConfigEntry('app_login_url', "index.php?app=ship-simu&page=login_area");
88 // CFG: LOGIN-FAILED-URL
89 $cfg->setConfigEntry('login_failed_url', "index.php?app=ship-simu&page=login_failed");
91 // CFG: LOGIN-DEFAULT-ACTION
92 $cfg->setConfigEntry('login_default_action', "welcome");
94 // CFG: NEWS-READER-CLASS
95 $cfg->setConfigEntry('news_reader_class', "DefaultNewsReader");
97 // CFG: NEWS-DOWNLOAD-CLASS
98 $cfg->setConfigEntry('news_download_class', "NewsDownloadFilter");
100 // CFG: NEWS-PROCESS-CLASS
101 $cfg->setConfigEntry('news_process_class', "NewsProcessFilter");
103 // CFG: USER-AUTH-CLASS
104 $cfg->setConfigEntry('user_auth_class', "UserAuthFilter");
106 // CFG: USER-UPDATE-CLASS
107 $cfg->setConfigEntry('user_update_class', "UserUpdateFilter");
109 // CFG: NEWS-HOME-LIMIT
110 $cfg->setConfigEntry('news_home_limit', 10);
112 // CFG: NEWS-LOGIN-AREA-LIMIT
113 $cfg->setConfigEntry('news_login_area_limit', 15);
115 // CFG: LOGIN-ENABLED
116 $cfg->setConfigEntry('login_enabled', "Y");
118 // CFG: LOGIN-DISABLED-REASON
119 $cfg->setConfigEntry('login_disabled_reason', "Loginbereich befindet sich noch im Aufbau.");
122 $cfg->setConfigEntry('login_type', "username"); // username, email, both
124 // CFG: GUEST-LOGIN-ALLOWED
125 $cfg->setConfigEntry('guest_login_allowed', "Y");
127 // CFG: GUEST-LOGIN-USERNAME
128 $cfg->setConfigEntry('guest_login_username', "guest");
130 // CFG: GUEST-LOGIN-PASSWORD
131 $cfg->setConfigEntry('guest_login_password', "guest");
133 // CFG: LOGIN-WELCOME-ACTION-CLASS
134 $cfg->setConfigEntry('login_welcome_action_class', "ShipSimuLoginAction");