Fixed some links and config entries
[shipsimu.git] / application / ship-simu / config.php
index b2f3f3236ef2780f7ac67b39dce0ff050d289cf1..27ccf6352084e56ddc119933d5f2d5bfa3edc888 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -34,11 +34,8 @@ $cfg->setConfigEntry('default_web_command', "home");
 // CFG: DEFAULT-IMAGE-COMMAND
 $cfg->setConfigEntry('default_image_command', "build");
 
-// CFG: PAGE-WITH-NEWS
-$cfg->setConfigEntry('page_with_news', "home");
-
 // CFG: FORM-ACTION
-$cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&amp;page=do_form");
+$cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&page=do_form");
 
 // CFG: FORM-METHOD
 $cfg->setConfigEntry('form_method', "post");
@@ -58,6 +55,9 @@ $cfg->setConfigEntry('register_personal_data', "Y");
 // CFG: REGISTER-EMAIL-UNIQUE
 $cfg->setConfigEntry('register_email_unique', "Y");
 
+// CFG: PROFILE-INCLUDES-BIRTHDAY
+$cfg->setConfigEntry('profile_includes_birthday', "Y");
+
 // CFG: CHAT-ENABLED-ICQ
 $cfg->setConfigEntry('chat_enabled_icq', "Y");
 
@@ -121,11 +121,68 @@ $cfg->setConfigEntry('confirm_code_invalid_url', "index.php?app={?app_short_name
 // CFG: USER-NOT-FOUND-URL
 $cfg->setConfigEntry('user_not_found_url', "index.php?app={?app_short_name?}&page=status&status=user_not_found");
 
+// CFG: LOGIN-GOVERNMENT-STARTUP-FAILED-URL
+$cfg->setConfigEntry('login_government_startup_failed_url', "index.php?app={?app_short_name?}&page=government_failed&failed=startup");
+
+// CFG: LOGIN-GOVERNMENT-TRAINING-FAILED-URL
+$cfg->setConfigEntry('login_government_training_failed_url', "index.php?app={?app_short_name?}&page=government_failed&failed=training");
+
+// CFG: REFILL-PAGE-CURRENCY-DONE-URL
+$cfg->setConfigEntry('refill_page_done_url', "index.php?app={?app_short_name?}&page=login_area&action=refill_done&done={?refill_done?}&amount={?amount?}");
+
 // CFG: LOGIN-DEFAULT-ACTION
 $cfg->setConfigEntry('login_default_action', "welcome");
 
-// CFG: NEWS-READER-CLASS
-$cfg->setConfigEntry('news_reader_class', "DefaultNewsReader");
+// CFG: LOGIN-AREA-LOGOUT-ACTION
+$cfg->setConfigEntry('login_area_logout_action', "index.php?app={?app_short_name?}&page=login_area&action=logout");
+
+// CFG: LOGIN-AREA-PROFILE-ACTION
+$cfg->setConfigEntry('login_area_profile_action', "index.php?app={?app_short_name?}&page=login_area&action=profile");
+
+// CFG: LOGIN-AREA-COMPANY-ACTION
+$cfg->setConfigEntry('login_area_company_action', "index.php?app={?app_short_name?}&page=login_area");
+
+// CFG: LOGIN-AREA-LIST-COMPANIES-ACTION
+$cfg->setConfigEntry('login_area_list_companies_action', "index.php?app={?app_short_name?}&page=login_area");
+
+// CFG: LOGIN-AREA-LOGOUT-NOW-ACTION
+$cfg->setConfigEntry('login_area_logout_now_action', "index.php?app={?app_short_name?}&page=logout");
+
+// CFG: LOGIN-AREA-RETURN-LOGIN-ACTION
+$cfg->setConfigEntry('login_area_return_login_action', "index.php?app={?app_short_name?}&page=login_area");
+
+// CFG: LOGOUT_DONE-RELOGIN-ACTION
+$cfg->setConfigEntry('logout_done_relogin_action', "index.php?app={?app_short_name?}&page=login");
+
+// CFG: LOGIN-REGISTER-ACTION
+$cfg->setConfigEntry('login_register_action', "index.php?app={?app_short_name?}&page=register");
+
+// CFG: NEWS-READER-HOME-CLASS
+$cfg->setConfigEntry('news_reader_home_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-CLASS
+$cfg->setConfigEntry('news_reader_login_area_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-LOGOUT-CLASS
+$cfg->setConfigEntry('news_reader_login_area_logout_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-COMPANY-CLASS
+$cfg->setConfigEntry('news_reader_login_area_company_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-REFILL-CLASS
+$cfg->setConfigEntry('news_reader_login_area_refill_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-PROFILE-CLASS
+$cfg->setConfigEntry('news_reader_login_area_profile_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-TRAINING-CLASS
+$cfg->setConfigEntry('news_reader_login_area_government_training_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-LOGIN-AREA-GOVERNMENT-STARTUP-HELP-CLASS
+$cfg->setConfigEntry('news_reader_login_area_government_startup_help_class', "DefaultNewsReader");
+
+// CFG: NEWS-READER-GOVERNMENT-FAILED-CLASS
+$cfg->setConfigEntry('news_reader_government_failed_class', "DefaultNewsReader");
 
 // CFG: NEWS-DOWNLOAD-FILTER
 $cfg->setConfigEntry('news_download_filter', "NewsDownloadFilter");
@@ -160,24 +217,42 @@ $cfg->setConfigEntry('captcha_register_verifier_filter', "GraphicalCodeCaptchaVe
 // CFG: CAPTCHA-REFILL-VERFIER-FILTER
 $cfg->setConfigEntry('captcha_refill_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
 
+// CFG: CAPTCHA-PROFILE-VERFIER-FILTER
+$cfg->setConfigEntry('captcha_profile_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
+
 // CFG: CONFIRM-CODE-VERIFIER-FILTER
 $cfg->setConfigEntry('confirm_code_verifier_filter', "ConfirmCodeVerifierFilter");
 
+// CFG: BIRTHDAY-REGISTER-VERIFIER-FILTER
+$cfg->setConfigEntry('birthday_register_verifier_filter', "BirthdayVerifierFilter");
+
+// CFG: BIRTHDAY-PROFILE-VERIFIER-FILTER
+$cfg->setConfigEntry('birthday_profile_verifier_filter', "BirthdayVerifierFilter");
+
 // CFG: REFILL-PAGE-FILTER
 $cfg->setConfigEntry('refill_page_filter', "RefillPageFilter");
 
 // CFG: REFILL-REQUEST-CURRENCY-BOOK-FILTER
-$cfg->setConfigEntry('refill_request_currency_book_filter', "RefillRequestCurrencyBookFilter");
+$cfg->setConfigEntry('refill_request_currency_test_book_filter', "RefillRequestCurrencyTestBookFilter");
 
 // CFG: PAYMENT-DISCOVERY-FILTER
 $cfg->setConfigEntry('payment_discovery_filter', "PaymentDiscoveryFilter");
 
+// CFG: GOVERNMENT-PAYS-TRAINING-FILTER
+$cfg->setConfigEntry('government_pays_training_filter', "ShipSimuGovernmentPaysTrainingFilter");
+
+// CFG: GOVERNMENT-PAYS-STARTUP-HELP-FILTER
+$cfg->setConfigEntry('government_pays_startup_help_filter', "ShipSimuGovernmentPaysStartupHelpFilter");
+
 // CFG: NEWS-HOME-LIMIT
 $cfg->setConfigEntry('news_home_limit', 10);
 
 // CFG: NEWS-LOGIN-AREA-LIMIT
 $cfg->setConfigEntry('news_login_area_limit', 15);
 
+// CFG: NEWS-GOVERNMENT-FAILED-LIMIT
+$cfg->setConfigEntry('news_government_failed_limit', 15);
+
 // CFG: LOGIN-ENABLED
 $cfg->setConfigEntry('login_enabled', "Y");
 
@@ -223,8 +298,17 @@ $cfg->setConfigEntry('shipsimu_user_login_captcha', "GraphicalCodeCaptcha");
 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
 $cfg->setConfigEntry('shipsimu_guest_login_captcha', "GraphicalCodeCaptcha");
 
-// CFG: REFILL-FORM-CAPTCHA
-$cfg->setConfigEntry('refill_form_captcha', "GraphicalCodeCaptcha");
+// CFG: SHIPSIMU-PROFILE-CAPTCHA
+$cfg->setConfigEntry('shipsimu_profile_captcha', "GraphicalCodeCaptcha");
+
+// CFG: SHIPSIMU-REFILL-CAPTCHA
+$cfg->setConfigEntry('shipsimu_refill_captcha', "GraphicalCodeCaptcha");
+
+// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA
+$cfg->setConfigEntry('shipsimu_government_startup_captcha', "GraphicalCodeCaptcha");
+
+// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA
+$cfg->setConfigEntry('shipsimu_government_training_captcha', "GraphicalCodeCaptcha");
 
 // CFG: CAPTCHA-STRING-LENGTH
 $cfg->setConfigEntry('captcha_string_length', 5);
@@ -244,8 +328,17 @@ $cfg->setConfigEntry('shipsimu_user_login_captcha_secured', "Y");
 // CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-SECURED
 $cfg->setConfigEntry('shipsimu_guest_login_captcha_secured', "Y");
 
-// CFG: REFILL-FORM-CAPTCHA-SECURED
-$cfg->setConfigEntry('refill_form_captcha_secured', "Y");
+// CFG: SHIPSIMU-PROFILE-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_profile_captcha_secured', "Y");
+
+// CFG: SHIPSIMU-REFILL-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_refill_captcha_secured', "Y");
+
+// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_government_startup_captcha_secured', "Y");
+
+// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA-SECURED
+$cfg->setConfigEntry('shipsimu_government_training_captcha_secured', "Y");
 
 // CFG: BLOCK-SHOWS-REGISTRATION
 $cfg->setConfigEntry('block_shows_registration', "Y");
@@ -259,8 +352,8 @@ $cfg->setConfigEntry('company_db_wrapper_class', "CompanyDatabaseWrapper");
 // CFG: USER-POINTS-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('user_points_db_wrapper_class', "UserPointsDatabaseWrapper");
 
-// CFG: USER-GOVERMENT-WRAPPER-CLASS
-$cfg->setConfigEntry('user_gov_wrapper_class', "UserGovermentDatabaseWrapper");
+// CFG: USER-GOVERNMENT-WRAPPER-CLASS
+$cfg->setConfigEntry('user_gov_wrapper_class', "UserGovernmentDatabaseWrapper");
 
 // CFG: PAYMENT-DB-WRAPPER-CLASS
 $cfg->setConfigEntry('payment_db_wrapper_class', "PaymentsDatabaseWrapper");
@@ -293,10 +386,10 @@ $cfg->setConfigEntry('found_new_company_action_points', 1000000);
 $cfg->setConfigEntry('write_applications_action_points', 10000);
 
 // CFG: USER-POINTS-CLASS
-$cfg->setConfigEntry('user_ppints_class', "UserPoints");
+$cfg->setConfigEntry('user_points_class', "UserPoints");
 
-// CFG: GOVERMENT-CLASS
-$cfg->setConfigEntry('goverment_class', "SimplifiedGoverment");
+// CFG: GOVERNMENT-CLASS
+$cfg->setConfigEntry('government_class', "SimplifiedGovernment");
 
 // CFG: BANK-CLASS
 $cfg->setConfigEntry('bank_class', "MoneyBank");
@@ -310,8 +403,44 @@ $cfg->setConfigEntry('refill_page_min_currency_amount', 1000);
 // CFG: SHIP-SIMU-LOGIN-FILL-PAYMENT-DISCOVERY
 $cfg->setConfigEntry('ship_simu_login_refill_payment_discovery', "LocalPaymentDiscovery");
 
-// CFG: GOVERMENT-STARTUP-HELP-LIMIT
-$cfg->setConfigEntry('goverment_startup_help_limit', 3);
+// CFG: GOVERNMENT-STARTUP-HELP-LIMIT
+$cfg->setConfigEntry('government_startup_help_limit', 3);
+
+// CFG: WEB-BLOCK-HELPER
+$cfg->setConfigEntry('web_block_helper', "WebBlockHelper");
+
+// CFG: WEB-FORM-HELPER
+$cfg->setConfigEntry('web_form_helper', "WebFormHelper");
+
+// CFG: WEB-LINK-HELPER
+$cfg->setConfigEntry('web_link_helper', "WebLinkHelper");
+
+// CFG: WEB-CMD-GOVERNMENT-FAILED-RESOLVER-CLASS
+$cfg->setConfigEntry('web_cmd_government_failed_resolver_class', "WebGovernmentFailedCommandResolver");
+
+// CFG: WEB-CMD-COMPANY-RESOLVER-CLASS
+$cfg->setConfigEntry('web_cmd_company_resolver_class', "WebCompanyCommandResolver");
+
+// CFG: REFILL-REQUEST-CURRENCY-PAYMENT-TYPE
+$cfg->setConfigEntry('refill_request_currency_payment_type', "test");
+
+// CFG: LOGIN-REGISTER-LOGIN-FORM
+$cfg->setConfigEntry('login_register_login_form', "index.php?app={?app_short_name?}&amp;page=register");
+
+// CFG: HOME-MENU-CLASS
+$cfg->setConfigEntry('home_menu_class', "ShipSimuHomeMenu");
+
+// CFG: LOGIN-MENU-CLASS
+$cfg->setConfigEntry('login_menu_class', "ShipSimuLoginMenu");
+
+// CFG: LOGOUT-MENU-CLASS
+$cfg->setConfigEntry('logout_menu_class', "ShipSimuLogoutMenu");
+
+// CFG: REGISTER-MENU-CLASS
+$cfg->setConfigEntry('register_menu_class', "ShipSimuRegisterMenu");
+
+// CFG: LOGIN-AREA-MENU-CLASS
+$cfg->setConfigEntry('login_area_menu_class', "ShipSimuLoginAreaMenu");
 
 // [EOF]
 ?>