From ffc2df0e3a4acd3d02235676dee2fb618ade8a91 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 9 Dec 2009 20:34:24 +0000 Subject: [PATCH] Initial import of menu classes, very basic code templates and menu XMLs --- .gitattributes | 18 + application/mailer/config.php | 416 +++++++++++++++++- application/mailer/main/menu/.htaccess | 1 + application/mailer/main/menu/class_Mailer | 50 +++ .../main/menu/class_MailerConfirmMenu.php | 50 +++ .../mailer/main/menu/class_MailerHomeMenu.php | 50 +++ .../main/menu/class_MailerLoginAreaMenu.php | 50 +++ .../main/menu/class_MailerLoginFailedMenu.php | 50 +++ .../main/menu/class_MailerLoginMenu.php | 50 +++ .../main/menu/class_MailerLogoutMenu.php | 50 +++ .../main/menu/class_MailerRegisterMenu.php | 50 +++ .../main/menu/class_MailerStatusMenu.php | 50 +++ .../mailer/templates/de/code/footer.ctp | 4 + .../mailer/templates/de/code/header.ctp | 21 + application/mailer/templates/de/code/home.ctp | 7 + .../mailer/templates/de/code/mailer_main.ctp | 27 ++ .../mailer/templates/de/menu/.htaccess | 1 + .../mailer/templates/de/menu/base_menu.xml | 52 +++ .../de/menu/generic_menu_entries.xml | 104 +++++ db/news/.htaccess | 1 + 20 files changed, 1101 insertions(+), 1 deletion(-) create mode 100644 application/mailer/main/menu/.htaccess create mode 100644 application/mailer/main/menu/class_Mailer create mode 100644 application/mailer/main/menu/class_MailerConfirmMenu.php create mode 100644 application/mailer/main/menu/class_MailerHomeMenu.php create mode 100644 application/mailer/main/menu/class_MailerLoginAreaMenu.php create mode 100644 application/mailer/main/menu/class_MailerLoginFailedMenu.php create mode 100644 application/mailer/main/menu/class_MailerLoginMenu.php create mode 100644 application/mailer/main/menu/class_MailerLogoutMenu.php create mode 100644 application/mailer/main/menu/class_MailerRegisterMenu.php create mode 100644 application/mailer/main/menu/class_MailerStatusMenu.php create mode 100644 application/mailer/templates/de/code/footer.ctp create mode 100644 application/mailer/templates/de/code/header.ctp create mode 100644 application/mailer/templates/de/code/home.ctp create mode 100644 application/mailer/templates/de/code/mailer_main.ctp create mode 100644 application/mailer/templates/de/menu/.htaccess create mode 100644 application/mailer/templates/de/menu/base_menu.xml create mode 100644 application/mailer/templates/de/menu/generic_menu_entries.xml create mode 100644 db/news/.htaccess diff --git a/.gitattributes b/.gitattributes index d8922e93d6..875000e035 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,14 +12,32 @@ application/mailer/init.php -text application/mailer/interfaces/.htaccess -text application/mailer/loader.php -text application/mailer/main/.htaccess -text +application/mailer/main/menu/.htaccess -text +application/mailer/main/menu/class_Mailer -text +application/mailer/main/menu/class_MailerConfirmMenu.php -text +application/mailer/main/menu/class_MailerHomeMenu.php -text +application/mailer/main/menu/class_MailerLoginAreaMenu.php -text +application/mailer/main/menu/class_MailerLoginFailedMenu.php -text +application/mailer/main/menu/class_MailerLoginMenu.php -text +application/mailer/main/menu/class_MailerLogoutMenu.php -text +application/mailer/main/menu/class_MailerRegisterMenu.php -text +application/mailer/main/menu/class_MailerStatusMenu.php -text application/mailer/starter.php -text application/mailer/templates/.htaccess -text application/mailer/templates/de/.htaccess -text application/mailer/templates/de/code/.htaccess -text application/mailer/templates/de/code/emergency_exit.ctp -text +application/mailer/templates/de/code/footer.ctp -text application/mailer/templates/de/code/footer_msg.ctp -text +application/mailer/templates/de/code/header.ctp -text +application/mailer/templates/de/code/home.ctp -text +application/mailer/templates/de/code/mailer_main.ctp -text +application/mailer/templates/de/menu/.htaccess -text +application/mailer/templates/de/menu/base_menu.xml -text +application/mailer/templates/de/menu/generic_menu_entries.xml -text /clear-cache.sh -text db/.htaccess -text +db/news/.htaccess -text docs/COPYING -text docs/COPYING.documents -text docs/COPYING.software -text diff --git a/application/mailer/config.php b/application/mailer/config.php index d5cedbdf4d..99304ca556 100644 --- a/application/mailer/config.php +++ b/application/mailer/config.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright(c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.mxchange.org * @@ -22,5 +22,419 @@ * along with this program. If not, see . */ +// Get a configuration instance for shorter lines +$cfg = FrameworkConfiguration::getInstance(); + +// CFG: HEADER-CHARSET +$cfg->setConfigEntry('header_charset', 'utf-8'); + +// CFG: DEFAULT-WEB-COMMAND +$cfg->setConfigEntry('default_web_command', 'home'); + +// CFG: DEFAULT-IMAGE-COMMAND +$cfg->setConfigEntry('default_image_command', 'build'); + +// CFG: FORM-ACTION +$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&page=do_form'); + +// CFG: FORM-METHOD +$cfg->setConfigEntry('form_method', 'post'); + +// CFG: FORM-TARGET +$cfg->setConfigEntry('form_target', '_self'); + +// CFG: REGISTER-REQUIRES-EMAIL +$cfg->setConfigEntry('register_requires_email', 'Y'); + +// CFG: REGISTER-INCLUDES-PROFILE +$cfg->setConfigEntry('register_includes_profile', 'Y'); + +// CFG: REGISTER-PERSONAL-DATA +$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'); + +// CFG: CHAT-ENABLED-JABBER +$cfg->setConfigEntry('chat_enabled_jabber', 'Y'); + +// CFG: CHAT-ENABLED-YAHOO +$cfg->setConfigEntry('chat_enabled_yahoo', 'Y'); + +// CFG: CHAT-ENABLED-AOL +$cfg->setConfigEntry('chat_enabled_aol', 'Y'); + +// CFG: CHAT-ENABLED-MSN +$cfg->setConfigEntry('chat_enabled_msn', 'Y'); + +// CFG: USER-REGISTRATION +$cfg->setConfigEntry('user_registration_class', 'MailerRegistration'); + +// CFG: USER-LOGIN-CLASS +$cfg->setConfigEntry('user_login_class', 'MailerUserLogin'); + +// CFG: GUEST-LOGIN-CLASS +$cfg->setConfigEntry('guest_login_class', 'MailerGuestLogin'); + +// CFG: USER-STATUS-REGISTER +$cfg->setConfigEntry('user_status_unconfirmed', 'UNCONFIRMED'); + +// CFG: USER-STATUS-GUEST +$cfg->setConfigEntry('user_status_guest', 'GUEST'); + +// CFG: USER-STATUS-CONFIRMED +$cfg->setConfigEntry('user_status_confirmed', 'CONFIRMED'); + +// CFG: USER-STATUS-LOCKED +$cfg->setConfigEntry('user_status_locked', 'LOCKED'); + +// CFG: LOGIN-HELPER-CLASS +$cfg->setConfigEntry('login_helper_class', 'MailerLoginHelper'); + +// CFG: AUTH-METHOD-CLASS +$cfg->setConfigEntry('auth_method_class', 'CookieAuth'); + +// CFG: APP-LOGIN-URL +$cfg->setConfigEntry('app_login_url', 'index.php?app={?app_short_name?}&page=login_area'); + +// CFG: LOGIN-FAILED-URL +$cfg->setConfigEntry('login_failed_url', 'index.php?app={?app_short_name?}&page=login_failed'); + +// CFG: LOGIN-FAILED-LOGIN-RETRY-ACTION-URL +$cfg->setConfigEntry('login_failed_login_retry_action_url', 'index.php?app={?app_short_name?}&page=login&note=login_failed'); + +// CFG: LOGOUT-DONE-URL +$cfg->setConfigEntry('logout_done_url', 'index.php?app={?app_short_name?}&page=logout_done'); + +// CFG: ACTION-STATUS-PROBLEM +$cfg->setConfigEntry('action_status_problem', 'status_problem'); + +// CFG: LOGIN-USER-STATUS-URL +$cfg->setConfigEntry('login_user_status_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=status_problem&status=general'); + +// CFG: LOGIN-USER-STATUS-GUEST-URL +$cfg->setConfigEntry('login_user_status_guest_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=status_problem&status=guest'); + +// CFG: USER-NOT-UNCONFIRMED-URL +$cfg->setConfigEntry('user_not_unconfirmed_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=unconfirmed_problem'); + +// CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL +$cfg->setConfigEntry('user_unconfirmed_email_missing_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=unconfirmed_email_missing'); + +// CFG: CONFIRM-CODE-INVALID-URL +$cfg->setConfigEntry('confirm_code_invalid_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=confirm_code_invalid'); + +// CFG: USER-NOT-FOUND-URL +$cfg->setConfigEntry('user_not_found_url', 'index.php?app={?app_short_name?}&page=login_area&action=status_problem&status=user_not_found'); + +// CFG: REFILL-PAGE-CURRENCY-DONE-URL +$cfg->setConfigEntry('refill_page_done_url', 'index.php?app={?app_short_name?}&page=login_area&status=refill_done&done={?refill_done?}&amount={?amount?}'); + +// CFG: LOGIN-DEFAULT-ACTION +$cfg->setConfigEntry('login_default_action', 'welcome'); + +// CFG: LOGIN-AREA-LOGOUT-ACTION-URL +$cfg->setConfigEntry('login_area_logout_action_url', 'index.php?app={?app_short_name?}&page=login_area'); + +// CFG: LOGIN-AREA-PROFILE-ACTION-URL +$cfg->setConfigEntry('login_area_profile_action_url', 'index.php?app={?app_short_name?}&page=login_area&status=profile'); + +// CFG: LOGIN-AREA-LOGOUT-NOW-ACTION-URL +$cfg->setConfigEntry('login_area_logout_now_action_url', 'index.php?app={?app_short_name?}&page=logout'); + +// CFG: LOGIN-AREA-RETURN-LOGIN-ACTION-URL +$cfg->setConfigEntry('login_area_return_login_action_url', 'index.php?app={?app_short_name?}&page=login_area'); + +// CFG: LOGIN-AREA-Mailer-PROFILE-ACTION-URL +$cfg->setConfigEntry('login_area_Mailer_profile_action_url', 'index.php?app={?app_short_name?}&page=login_area&action=profile'); + +// CFG: LOGOUT_DONE-RELOGIN-ACTION-URL +$cfg->setConfigEntry('logout_done_relogin_action_url', 'index.php?app={?app_short_name?}&page=login'); + +// CFG: LOGIN-REGISTER-ACTION-URL +$cfg->setConfigEntry('login_register_action_url', 'index.php?app={?app_short_name?}&page=register'); + +// CFG: CONFIRM-DIRECT-LOGIN-ACTION-URL +$cfg->setConfigEntry('confirm_direct_login_action_url', 'index.php?app={?app_short_name?}&page=login_area'); + +// CFG: WEB-CMD-USER-IS-NULL-URL +$cfg->setConfigEntry('web_cmd_user_is_null_url', 'index.php?app={?app_short_name?}&page=problem&problem=user_null'); + +// 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-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-STATUS-PROBLEM-CLASS +$cfg->setConfigEntry('news_reader_login_area_status_problem_class', 'DefaultNewsReader'); + +// CFG: NEWS-DOWNLOAD-FILTER +$cfg->setConfigEntry('news_download_filter', 'NewsDownloadFilter'); + +// CFG: NEWS-PROCESS-FILTER +$cfg->setConfigEntry('news_process_filter', 'NewsProcessFilter'); + +// CFG: USER-AUTH-FILTER +$cfg->setConfigEntry('user_auth_filter', 'UserAuthFilter'); + +// CFG: USER-UPDATE-FILTER +$cfg->setConfigEntry('user_update_filter', 'UserUpdateFilter'); + +// CFG: USER-STATUS-CONFIRMED-FILTER +$cfg->setConfigEntry('user_status_confirmed_filter', 'UserStatusConfimedUpdateFilter'); + +// CFG: CAPTCHA-ENCRYPT-VALIDATOR-FILTER +$cfg->setConfigEntry('captcha_encrypt_validator_filter', 'CaptchaEncryptFilter'); + +// CFG: REFILL-REQUEST-VALIDATOR-FILTER +$cfg->setConfigEntry('refill_request_validator_filter', 'RefillRequestValidatorFilter'); + +// CFG: CAPTCHA-GUEST-VERIFIER-FILTER +$cfg->setConfigEntry('captcha_guest_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter'); + +// CFG: CAPTCHA-USER-VERIFIER-FILTER +$cfg->setConfigEntry('captcha_user_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter'); + +// CFG: CAPTCHA-REGISTER-VERIFIER-FILTER +$cfg->setConfigEntry('captcha_register_verifier_filter', 'GraphicalCodeCaptchaVerifierFilter'); + +// 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_test_book_filter', 'RefillRequestCurrencyTestBookFilter'); + +// CFG: PAYMENT-DISCOVERY-FILTER +$cfg->setConfigEntry('payment_discovery_filter', 'PaymentDiscoveryFilter'); + +// CFG: USER-STATUS-GUEST-FILTER +$cfg->setConfigEntry('user_status_guest_filter', 'MailerUserStatusGuestFilter'); + +// CFG: NEWS-HOME-LIMIT +$cfg->setConfigEntry('news_home_limit', 10); + +// CFG: NEWS-LOGIN-AREA-LIMIT +$cfg->setConfigEntry('news_login_area_limit', 15); + +// CFG: LOGIN-ENABLED +$cfg->setConfigEntry('login_enabled', 'Y'); + +// CFG: CONFIRM-EMAIL-ENABLED +$cfg->setConfigEntry('confirm_email_enabled', 'Y'); + +// CFG: LOGIN-DISABLED-REASON +$cfg->setConfigEntry('login_disabled_reason', 'Loginbereich befindet sich noch im Aufbau.'); + +// CFG: LOGIN-TYPE +$cfg->setConfigEntry('login_type', 'username'); // username, email, both + +// CFG: EMAIL-CHANGE-ALLOWED +$cfg->setConfigEntry('email_change_allowed', 'Y'); + +// CFG: EMAIL-CHANGE-CONFIRMATION +$cfg->setConfigEntry('email_change_confirmation', 'Y'); + +// CFG: GUEST-LOGIN-ALLOWED +$cfg->setConfigEntry('guest_login_allowed', 'Y'); + +// CFG: GUEST-LOGIN-USERNAME +$cfg->setConfigEntry('guest_login_user', 'guest'); + +// CFG: GUEST-LOGIN-PASS +$cfg->setConfigEntry('guest_login_passwd', 'guest'); + +// CFG: LOGIN-WELCOME-ACTION-CLASS +$cfg->setConfigEntry('login_welcome_action_class', 'MailerLoginAction'); + +// CFG: LOGIN-LOGOUT-ACTION-CLASS +$cfg->setConfigEntry('login_logout_action_class', 'MailerLogoutAction'); + +// CFG: LOGIN-PROFILE-ACTION-CLASS +$cfg->setConfigEntry('login_profile_action_class', 'MailerProfileAction'); + +// CFG: Mailer-REGISTER-CAPTCHA +$cfg->setConfigEntry('mailer_register_captcha', 'GraphicalCodeCaptcha'); + +// CFG: Mailer-USER-LOGIN-CAPTCHA +$cfg->setConfigEntry('mailer_user_login_captcha', 'GraphicalCodeCaptcha'); + +// CFG: Mailer-GUEST-LOGIN-CAPTCHA +$cfg->setConfigEntry('mailer_guest_login_captcha', 'GraphicalCodeCaptcha'); + +// CFG: Mailer-PROFILE-CAPTCHA +$cfg->setConfigEntry('mailer_profile_captcha', 'GraphicalCodeCaptcha'); + +// CFG: Mailer-REFILL-CAPTCHA +$cfg->setConfigEntry('mailer_refill_captcha', 'GraphicalCodeCaptcha'); + +// CFG: CAPTCHA-STRING-LENGTH +$cfg->setConfigEntry('captcha_string_length', 5); + +// CFG: CAPTCHA-SEARCH-CHARS +$cfg->setConfigEntry('captcha_search_chars', '+/='); + +// CFG: RANDOM-STRING-LENGTH +$cfg->setConfigEntry('random_string_length', 100); + +// CFG: Mailer-REGISTER-CAPTCHA-SECURED +$cfg->setConfigEntry('mailer_register_captcha_secured', 'Y'); + +// CFG: Mailer-USER-LOGIN-CAPTCHA-SECURED +$cfg->setConfigEntry('mailer_user_login_captcha_secured', 'Y'); + +// CFG: Mailer-GUEST-LOGIN-CAPTCHA-SECURED +$cfg->setConfigEntry('mailer_guest_login_captcha_secured', 'Y'); + +// CFG: Mailer-PROFILE-CAPTCHA-SECURED +$cfg->setConfigEntry('mailer_profile_captcha_secured', 'Y'); + +// CFG: Mailer-REFILL-CAPTCHA-SECURED +$cfg->setConfigEntry('mailer_refill_captcha_secured', 'Y'); + +// CFG: BLOCK-SHOWS-REGISTRATION +$cfg->setConfigEntry('block_shows_registration', 'Y'); + +// CFG: USER-POINTS-DB-WRAPPER-CLASS +$cfg->setConfigEntry('user_points_db_wrapper_class', 'UserPointsDatabaseWrapper'); + +// CFG: PAYMENT-DB-WRAPPER-CLASS +$cfg->setConfigEntry('payment_db_wrapper_class', 'PaymentsDatabaseWrapper'); + +// CFG EMAIl-TPL-RESEND-LINK +$cfg->setConfigEntry('email_tpl_resend_link', 'text'); + +// CFG: MAIL-TEMPLATE-CLASS +$cfg->setConfigEntry('mail_template_class', 'MailTemplateEngine'); + +// CFG: IMAGE-TEMPLATE-CLASS +$cfg->setConfigEntry('image_template_class', 'ImageTemplateEngine'); + +// CFG: MENU-TEMPLATE-CLASS +$cfg->setConfigEntry('menu_template_class', 'MenuTemplateEngine'); + +// CFG: MENU-TEMPLATE-EXTENSION +$cfg->setConfigEntry('menu_template_extension', '.xml'); + +// CFG: ADMIN-EMAIL +$cfg->setConfigEntry('admin_email', 'you@some-hoster.invalid'); + +// CFG: USER-CLASS +$cfg->setConfigEntry('user_class', 'MailerMember'); + +// CFG: GUEST-CLASS +$cfg->setConfigEntry('guest_class', 'MailerGuest'); + +// CFG: WRITE-APPLICATION-ACTION-POINTS +$cfg->setConfigEntry('write_applications_action_points', 10000); + +// CFG: USER-POINTS-CLASS +$cfg->setConfigEntry('user_points_class', 'UserPoints'); + +// CFG: REFILL-PAGE-ACTIVE +$cfg->setConfigEntry('refill_page_active', 'Y'); + +// CFG: REFILL-PAGE-MIN-CURRENCY-AMOUNT +$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: 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-LOGIN-FAILED-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_login_failed_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-HOME-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-REGISTER-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_register_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-DO-FORM-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_do_form_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-LOGIN-AREA-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_login_area_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-CONFIRM-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_confirm_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-PROBLEM-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_problem_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-LOGOUT-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_logout_resolver_class', 'WebCommandResolver'); + +// CFG: WEB-CMD-LOGOUT-DONE-RESOLVER-CLASS +$cfg->setConfigEntry('web_cmd_logout_done_resolver_class', 'WebCommandResolver'); + +// 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?}&page=register'); + +// CFG: HOME-MENU-CLASS +$cfg->setConfigEntry('home_menu_class', 'MailerHomeMenu'); + +// CFG: LOGIN-FAILED-MENU-CLASS +$cfg->setConfigEntry('login_failed_menu_class', 'MailerLoginFailedMenu'); + +// CFG: STATUS-MENU-CLASS +$cfg->setConfigEntry('status_menu_class', 'MailerStatusMenu'); + +// CFG: LOGIN-MENU-CLASS +$cfg->setConfigEntry('login_menu_class', 'MailerLoginMenu'); + +// CFG: LOGOUT-MENU-CLASS +$cfg->setConfigEntry('logout_menu_class', 'MailerLogoutMenu'); + +// CFG: REGISTER-MENU-CLASS +$cfg->setConfigEntry('register_menu_class', 'MailerRegisterMenu'); + +// CFG: CONFIRM-MENU-CLASS +$cfg->setConfigEntry('confirm_menu_class', 'MailerConfirmMenu'); + +// CFG: LOGIN-AREA-MENU-CLASS +$cfg->setConfigEntry('login_area_menu_class', 'MailerLoginAreaMenu'); + // [EOF] ?> diff --git a/application/mailer/main/menu/.htaccess b/application/mailer/main/menu/.htaccess new file mode 100644 index 0000000000..3a42882788 --- /dev/null +++ b/application/mailer/main/menu/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/mailer/main/menu/class_Mailer b/application/mailer/main/menu/class_Mailer new file mode 100644 index 0000000000..93970dece6 --- /dev/null +++ b/application/mailer/main/menu/class_Mailer @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @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 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class ShipSimu???Menu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createShipSimu???Menu () { + // Get a new instance + $menuInstance = new ShipSimu???Menu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerConfirmMenu.php b/application/mailer/main/menu/class_MailerConfirmMenu.php new file mode 100644 index 0000000000..f242d91113 --- /dev/null +++ b/application/mailer/main/menu/class_MailerConfirmMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerConfirmMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerConfirmMenu () { + // Get a new instance + $menuInstance = new MailerConfirmMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerHomeMenu.php b/application/mailer/main/menu/class_MailerHomeMenu.php new file mode 100644 index 0000000000..c8c63816f3 --- /dev/null +++ b/application/mailer/main/menu/class_MailerHomeMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerHomeMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerHomeMenu () { + // Get a new instance + $menuInstance = new MailerHomeMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerLoginAreaMenu.php b/application/mailer/main/menu/class_MailerLoginAreaMenu.php new file mode 100644 index 0000000000..4d24cde524 --- /dev/null +++ b/application/mailer/main/menu/class_MailerLoginAreaMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerLoginAreaMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerLoginAreaMenu () { + // Get a new instance + $menuInstance = new MailerLoginAreaMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerLoginFailedMenu.php b/application/mailer/main/menu/class_MailerLoginFailedMenu.php new file mode 100644 index 0000000000..79706f6650 --- /dev/null +++ b/application/mailer/main/menu/class_MailerLoginFailedMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerLoginFailedMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerLoginFailedMenu () { + // Get a new instance + $menuInstance = new MailerLoginFailedMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerLoginMenu.php b/application/mailer/main/menu/class_MailerLoginMenu.php new file mode 100644 index 0000000000..1e57a173a0 --- /dev/null +++ b/application/mailer/main/menu/class_MailerLoginMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerLoginMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerLoginMenu () { + // Get a new instance + $menuInstance = new MailerLoginMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerLogoutMenu.php b/application/mailer/main/menu/class_MailerLogoutMenu.php new file mode 100644 index 0000000000..4d785e3193 --- /dev/null +++ b/application/mailer/main/menu/class_MailerLogoutMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerLogoutMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerLogoutMenu () { + // Get a new instance + $menuInstance = new MailerLogoutMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerRegisterMenu.php b/application/mailer/main/menu/class_MailerRegisterMenu.php new file mode 100644 index 0000000000..6eba208555 --- /dev/null +++ b/application/mailer/main/menu/class_MailerRegisterMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerRegisterMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerRegisterMenu () { + // Get a new instance + $menuInstance = new MailerRegisterMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/main/menu/class_MailerStatusMenu.php b/application/mailer/main/menu/class_MailerStatusMenu.php new file mode 100644 index 0000000000..75468c80c4 --- /dev/null +++ b/application/mailer/main/menu/class_MailerStatusMenu.php @@ -0,0 +1,50 @@ + + * @version 0.0.0 + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Mailer Developer Team + * @license GNU GPL 3.0 or any newer version + * @link http://www.mxchange.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +class MailerStatusMenu extends BaseMenu implements RenderableMenu { + /** + * Protected constructor + * + * @return void + */ + protected function __construct () { + // Call parent constructor + parent::__construct(__CLASS__); + } + + /** + * Creates an instance of this class + * + * @return $menuInstance An instance of this class + */ + public final static function createMailerStatusMenu () { + // Get a new instance + $menuInstance = new MailerStatusMenu(); + + // Return the prepared instance + return $menuInstance; + } +} + +// [EOF] +?> diff --git a/application/mailer/templates/de/code/footer.ctp b/application/mailer/templates/de/code/footer.ctp new file mode 100644 index 0000000000..aa82e68171 --- /dev/null +++ b/application/mailer/templates/de/code/footer.ctp @@ -0,0 +1,4 @@ + + + + diff --git a/application/mailer/templates/de/code/header.ctp b/application/mailer/templates/de/code/header.ctp new file mode 100644 index 0000000000..ed67731ff5 --- /dev/null +++ b/application/mailer/templates/de/code/header.ctp @@ -0,0 +1,21 @@ + + + + + {?app_full_name?} - {?title?} + + + + + + + + + + + + {?header_extras_hook?} + + + +
diff --git a/application/mailer/templates/de/code/home.ctp b/application/mailer/templates/de/code/home.ctp new file mode 100644 index 0000000000..38f409a7d8 --- /dev/null +++ b/application/mailer/templates/de/code/home.ctp @@ -0,0 +1,7 @@ +
+ Willkommen zum {?app_full_name?} +
+ +
+ {?mailer_news?} +
diff --git a/application/mailer/templates/de/code/mailer_main.ctp b/application/mailer/templates/de/code/mailer_main.ctp new file mode 100644 index 0000000000..1ee9db5976 --- /dev/null +++ b/application/mailer/templates/de/code/mailer_main.ctp @@ -0,0 +1,27 @@ +{?header?} + +
+ {?mailer_header?} +
+ + + + + +
+ {?language_selector?} +
+ +
+ {?content?} +
+ + + +{?footer?} diff --git a/application/mailer/templates/de/menu/.htaccess b/application/mailer/templates/de/menu/.htaccess new file mode 100644 index 0000000000..3a42882788 --- /dev/null +++ b/application/mailer/templates/de/menu/.htaccess @@ -0,0 +1 @@ +Deny from all diff --git a/application/mailer/templates/de/menu/base_menu.xml b/application/mailer/templates/de/menu/base_menu.xml new file mode 100644 index 0000000000..b317e47471 --- /dev/null +++ b/application/mailer/templates/de/menu/base_menu.xml @@ -0,0 +1,52 @@ + + + + + + + + <title-id>{?menu_title_id?}</title-id> + <title-class>{!menu_title_class?}</title-class> + <title-text>{?menu_title?}</title-text> + + + + + {?entry_id?} + + {?anchor_id?} + {?anchor_text?} + {?anchor_title?} + {?anchor_href?} + + + + + {!footer_id?} + {?footer_design_class?} + {?menu_footer?} + + + + diff --git a/application/mailer/templates/de/menu/generic_menu_entries.xml b/application/mailer/templates/de/menu/generic_menu_entries.xml new file mode 100644 index 0000000000..cf31003970 --- /dev/null +++ b/application/mailer/templates/de/menu/generic_menu_entries.xml @@ -0,0 +1,104 @@ + + + + + + + + <title-id><![CDATA[home_menu_title]]></title-id> + <title-class><![CDATA[menu_title]]></title-class> + <title-text><![CDATA[Home:]]></title-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <title-id><![CDATA[law_menu_title]]></title-id> + <title-class><![CDATA[menu_title]]></title-class> + <title-text><![CDATA[Rechtliches:]]></title-text> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/db/news/.htaccess b/db/news/.htaccess new file mode 100644 index 0000000000..3a42882788 --- /dev/null +++ b/db/news/.htaccess @@ -0,0 +1 @@ +Deny from all -- 2.39.5