Signed-off-by: Roland Haeder <roland@mxchange.org>
$this->setResponseInstance($responseInstance);
// Get the parameter from the request
$this->setResponseInstance($responseInstance);
// Get the parameter from the request
- $commandName = $requestInstance->getRequestElement('page');
+ $commandName = $requestInstance->getRequestElement('command');
// If it is null then get default command
if (is_null($commandName)) {
// Get default command
// If it is null then get default command
if (is_null($commandName)) {
// Get default command
- $commandName = $responseInstance->getDefaultCommand();
+ $commandName = $responseInstance->determineDefaultCommand();
- $requestInstance->setRequestElement('page', $commandName);
+ $requestInstance->setRequestElement('command', $commandName);
} // END - if
// Get a controller resolver
} // END - if
// Get a controller resolver
$cfg->setConfigEntry('default_image_command', 'build');
// CFG: FORM-ACTION
$cfg->setConfigEntry('default_image_command', 'build');
// CFG: FORM-ACTION
-$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&page=do_form');
+$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&command=do_form');
// CFG: FORM-METHOD
$cfg->setConfigEntry('form_method', 'post');
// CFG: FORM-METHOD
$cfg->setConfigEntry('form_method', 'post');
$this->setResponseInstance($responseInstance);
// Get the parameter from the request
$this->setResponseInstance($responseInstance);
// Get the parameter from the request
- $commandName = $requestInstance->getRequestElement('page');
+ $commandName = $requestInstance->getRequestElement('command');
// If it is null then get default command
if (is_null($commandName)) {
// Get default command
// If it is null then get default command
if (is_null($commandName)) {
// Get default command
- $commandName = $responseInstance->getDefaultCommand();
+ $commandName = $responseInstance->determineDefaultCommand();
- $requestInstance->setRequestElement('page', $commandName);
+ $requestInstance->setRequestElement('command', $commandName);
} // END - if
// Get a controller resolver
} // END - if
// Get a controller resolver
$cfg->setConfigEntry('default_image_command', 'build');
// CFG: FORM-ACTION
$cfg->setConfigEntry('default_image_command', 'build');
// CFG: FORM-ACTION
-$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&page=do_form');
+$cfg->setConfigEntry('form_action', 'index.php?app={?app_short_name?}&command=do_form');
// CFG: FORM-METHOD
$cfg->setConfigEntry('form_method', 'post');
// CFG: FORM-METHOD
$cfg->setConfigEntry('form_method', 'post');
$cfg->setConfigEntry('auth_method_class', 'CookieAuth');
// CFG: APP-LOGIN-URL
$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->setConfigEntry('app_login_url', 'index.php?app={?app_short_name?}&command=login_area');
-$cfg->setConfigEntry('login_failed_url', 'index.php?app={?app_short_name?}&page=login_failed');
+$cfg->setConfigEntry('login_failed_url', 'index.php?app={?app_short_name?}&command=login_failed');
// CFG: LOGIN-FAILED-LOGIN-RETRY-ACTION-URL
// 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->setConfigEntry('login_failed_login_retry_action_url', 'index.php?app={?app_short_name?}&command=login&note=login_failed');
-$cfg->setConfigEntry('logout_done_url', 'index.php?app={?app_short_name?}&page=logout_done');
+$cfg->setConfigEntry('logout_done_url', 'index.php?app={?app_short_name?}&command=logout_done');
// CFG: ACTION-STATUS-PROBLEM
$cfg->setConfigEntry('action_status_problem', 'status_problem');
// CFG: LOGIN-USER-STATUS-URL
// 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->setConfigEntry('login_user_status_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=status_problem&status=general');
// CFG: LOGIN-USER-STATUS-GUEST-URL
// 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->setConfigEntry('login_user_status_guest_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=status_problem&status=guest');
// CFG: USER-NOT-UNCONFIRMED-URL
// 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->setConfigEntry('user_not_unconfirmed_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=unconfirmed_problem');
// CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
// 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->setConfigEntry('user_unconfirmed_email_missing_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=unconfirmed_email_missing');
// CFG: CONFIRM-CODE-INVALID-URL
// 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->setConfigEntry('confirm_code_invalid_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=confirm_code_invalid');
// CFG: USER-NOT-FOUND-URL
// 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->setConfigEntry('user_not_found_url', 'index.php?app={?app_short_name?}&command=login_area&action=status_problem&status=user_not_found');
// CFG: LOGIN-GOVERNMENT-STARTUP-FAILED-URL
// 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->setConfigEntry('login_government_startup_failed_url', 'index.php?app={?app_short_name?}&command=government_failed&failed=startup');
// CFG: LOGIN-GOVERNMENT-TRAINING-FAILED-URL
// 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->setConfigEntry('login_government_training_failed_url', 'index.php?app={?app_short_name?}&command=government_failed&failed=training');
// CFG: REFILL-PAGE-CURRENCY-DONE-URL
// 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->setConfigEntry('refill_page_done_url', 'index.php?app={?app_short_name?}&command=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: 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->setConfigEntry('login_area_logout_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: GOVERNMENT-FAILED-LOGOUT-ACTION-URL
// CFG: GOVERNMENT-FAILED-LOGOUT-ACTION-URL
-$cfg->setConfigEntry('government_failed_logout_action_url', 'index.php?app={?app_short_name?}&page=login_area');
+$cfg->setConfigEntry('government_failed_logout_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: LOGIN-AREA-PROFILE-ACTION-URL
// 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->setConfigEntry('login_area_profile_action_url', 'index.php?app={?app_short_name?}&command=login_area&status=profile');
// CFG: GOVERNMENT-FAILED-PROFILE-ACTION-URL
// CFG: GOVERNMENT-FAILED-PROFILE-ACTION-URL
-$cfg->setConfigEntry('government_failed_profile_action_url', 'index.php?app={?app_short_name?}&page=login_area&status=profile');
+$cfg->setConfigEntry('government_failed_profile_action_url', 'index.php?app={?app_short_name?}&command=login_area&status=profile');
// CFG: LOGIN-AREA-COMPANY-ACTION-URL
// CFG: LOGIN-AREA-COMPANY-ACTION-URL
-$cfg->setConfigEntry('login_area_company_action_url', 'index.php?app={?app_short_name?}&page=login_area');
+$cfg->setConfigEntry('login_area_company_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: GOVERNMENT-FAILED-COMPANY-ACTION-URL
// CFG: GOVERNMENT-FAILED-COMPANY-ACTION-URL
-$cfg->setConfigEntry('government_failed_company_action_url', 'index.php?app={?app_short_name?}&page=login_area');
+$cfg->setConfigEntry('government_failed_company_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: LOGIN-AREA-LIST-COMPANIES-ACTION-URL
// CFG: LOGIN-AREA-LIST-COMPANIES-ACTION-URL
-$cfg->setConfigEntry('login_area_list_companies_action_url', 'index.php?app={?app_short_name?}&page=login_area');
+$cfg->setConfigEntry('login_area_list_companies_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: LOGIN-AREA-LOGOUT-NOW-ACTION-URL
// CFG: LOGIN-AREA-LOGOUT-NOW-ACTION-URL
-$cfg->setConfigEntry('login_area_logout_now_action_url', 'index.php?app={?app_short_name?}&page=logout');
+$cfg->setConfigEntry('login_area_logout_now_action_url', 'index.php?app={?app_short_name?}&command=logout');
// CFG: LOGIN-AREA-RETURN-LOGIN-ACTION-URL
// 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->setConfigEntry('login_area_return_login_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: LOGIN-AREA-SHIPSIMU-PROFILE-ACTION-URL
// CFG: LOGIN-AREA-SHIPSIMU-PROFILE-ACTION-URL
-$cfg->setConfigEntry('login_area_shipsimu_profile_action_url', 'index.php?app={?app_short_name?}&page=login_area&action=profile');
+$cfg->setConfigEntry('login_area_shipsimu_profile_action_url', 'index.php?app={?app_short_name?}&command=login_area&action=profile');
// CFG: LOGOUT_DONE-RELOGIN-ACTION-URL
// CFG: LOGOUT_DONE-RELOGIN-ACTION-URL
-$cfg->setConfigEntry('logout_done_relogin_action_url', 'index.php?app={?app_short_name?}&page=login');
+$cfg->setConfigEntry('logout_done_relogin_action_url', 'index.php?app={?app_short_name?}&command=login');
// CFG: LOGIN-REGISTER-ACTION-URL
// CFG: LOGIN-REGISTER-ACTION-URL
-$cfg->setConfigEntry('login_register_action_url', 'index.php?app={?app_short_name?}&page=register');
+$cfg->setConfigEntry('login_register_action_url', 'index.php?app={?app_short_name?}&command=register');
// CFG: CONFIRM-DIRECT-LOGIN-ACTION-URL
// CFG: CONFIRM-DIRECT-LOGIN-ACTION-URL
-$cfg->setConfigEntry('confirm_direct_login_action_url', 'index.php?app={?app_short_name?}&page=login_area');
+$cfg->setConfigEntry('confirm_direct_login_action_url', 'index.php?app={?app_short_name?}&command=login_area');
// CFG: HTML-CMD-USER-IS-NULL-URL
// CFG: HTML-CMD-USER-IS-NULL-URL
-$cfg->setConfigEntry('html_cmd_user_is_null_url', 'index.php?app={?app_short_name?}&page=problem&problem=user_null');
+$cfg->setConfigEntry('html_cmd_user_is_null_url', 'index.php?app={?app_short_name?}&command=problem&problem=user_null');
// CFG: NEWS-READER-HOME-CLASS
$cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader');
// CFG: NEWS-READER-HOME-CLASS
$cfg->setConfigEntry('news_reader_home_class', 'DefaultNewsReader');
$cfg->setConfigEntry('refill_request_currency_payment_type', 'test');
// CFG: LOGIN-REGISTER-LOGIN-FORM
$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->setConfigEntry('login_register_login_form', 'index.php?app={?app_short_name?}&command=register');
// CFG: HOME-MENU-CLASS
$cfg->setConfigEntry('home_menu_class', 'ShipSimuHomeMenu');
// CFG: HOME-MENU-CLASS
$cfg->setConfigEntry('home_menu_class', 'ShipSimuHomeMenu');
$templateInstance->loadCodeTemplate($masterTemplate);
// Set title
$templateInstance->loadCodeTemplate($masterTemplate);
// Set title
- $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage($requestInstance->getRequestElement('page') . '_' . $requestInstance->getRequestElement('failed') . '_title'));
+ $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage($requestInstance->getRequestElement('command') . '_' . $requestInstance->getRequestElement('failed') . '_title'));
// Construct the menu in every command. We could do this in BaseCommand class. But this means
// *every* command has a navigation system and that is want we don't want.
// Construct the menu in every command. We could do this in BaseCommand class. But this means
// *every* command has a navigation system and that is want we don't want.
// [EOC]
?>
<div class="captcha_image">
// [EOC]
?>
<div class="captcha_image">
- <img src="{?base_url?}/index.php?app={?app_short_name?}&page=code_captcha&encrypt={?encrypted_code?}&request=image"
+ <img src="{?base_url?}/index.php?app={?app_short_name?}&command=code_captcha&encrypt={?encrypted_code?}&request=image"
alt="CAPTCHA-Bild" title="CAPTCHA-Bild" class="captcha_img" />
</div>
<div class="captcha_code">
alt="CAPTCHA-Bild" title="CAPTCHA-Bild" class="captcha_img" />
</div>
<div class="captcha_code">
Hier ist nun dein Bestätigungslink. Der alte aus der Anmeldemail ist somit nicht mehr gültig!
Hier ist nun dein Bestätigungslink. Der alte aus der Anmeldemail ist somit nicht mehr gültig!
-{?base_url?}/index.php?app={?app_short_name?}&page=confirm&username={?username?}&confirm={?confirm_hash?}
+{?base_url?}/index.php?app={?app_short_name?}&command=confirm&username={?username?}&confirm={?confirm_hash?}
Solltest du die URL nicht anklicken können, versuche diese in die Adresszeile deines Browsers zu kopieren.
Solltest du die URL nicht anklicken können, versuche diese in die Adresszeile deines Browsers zu kopieren.
<anchor-id><![CDATA[menu_login]]></anchor-id>
<anchor-text><![CDATA[Einloggen]]></anchor-text>
<anchor-title><![CDATA[Zum Spiel {?app_name?} einloggen]]></anchor-title>
<anchor-id><![CDATA[menu_login]]></anchor-id>
<anchor-text><![CDATA[Einloggen]]></anchor-text>
<anchor-title><![CDATA[Zum Spiel {?app_name?} einloggen]]></anchor-title>
- <anchor-href><![CDATA[index.php?app={?app_short_name?}&page=login]]></anchor-href>
+ <anchor-href><![CDATA[index.php?app={?app_short_name?}&command=login]]></anchor-href>
</anchor>
</entry>
<entry>
</anchor>
</entry>
<entry>
<anchor-id><![CDATA[menu_register]]></anchor-id>
<anchor-text><![CDATA[Anmeldung]]></anchor-text>
<anchor-title><![CDATA[Zur Anmeldeseite]]></anchor-title>
<anchor-id><![CDATA[menu_register]]></anchor-id>
<anchor-text><![CDATA[Anmeldung]]></anchor-text>
<anchor-title><![CDATA[Zur Anmeldeseite]]></anchor-title>
- <anchor-href><![CDATA[index.php?app={?app_short_name?}&page=register]]></anchor-href>
+ <anchor-href><![CDATA[index.php?app={?app_short_name?}&command=register]]></anchor-href>
</anchor>
</entry>
<entry>
</anchor>
</entry>
<entry>
<anchor-id><![CDATA[menu_pillory]]></anchor-id>
<anchor-text><![CDATA[Pranger]]></anchor-text>
<anchor-title><![CDATA[Zum Pranger]]></anchor-title>
<anchor-id><![CDATA[menu_pillory]]></anchor-id>
<anchor-text><![CDATA[Pranger]]></anchor-text>
<anchor-title><![CDATA[Zum Pranger]]></anchor-title>
- <anchor-href><![CDATA[index.php?app={?app_short_name?}&page=pillory]]></anchor-href>
+ <anchor-href><![CDATA[index.php?app={?app_short_name?}&command=pillory]]></anchor-href>
</anchor>
</entry>
</entry-list>
</anchor>
</entry>
</entry-list>
<anchor-id><![CDATA[menu_imprint]]></anchor-id>
<anchor-text><![CDATA[Impressum]]></anchor-text>
<anchor-title><![CDATA[Impressum]]></anchor-title>
<anchor-id><![CDATA[menu_imprint]]></anchor-id>
<anchor-text><![CDATA[Impressum]]></anchor-text>
<anchor-title><![CDATA[Impressum]]></anchor-title>
- <anchor-href><![CDATA[index.php?app={?app_short_name?}&page=imprint]]></anchor-href>
+ <anchor-href><![CDATA[index.php?app={?app_short_name?}&command=imprint]]></anchor-href>
</anchor>
</entry>
<entry>
</anchor>
</entry>
<entry>
<anchor-id><![CDATA[menu_terms]]></anchor-id>
<anchor-text><![CDATA[ANBs]]></anchor-text>
<anchor-title><![CDATA[Allgemeine Nutzungsbedingungen]]></anchor-title>
<anchor-id><![CDATA[menu_terms]]></anchor-id>
<anchor-text><![CDATA[ANBs]]></anchor-text>
<anchor-title><![CDATA[Allgemeine Nutzungsbedingungen]]></anchor-title>
- <anchor-href><![CDATA[index.php?app={?app_short_name?}&page=terms]]></anchor-href>
+ <anchor-href><![CDATA[index.php?app={?app_short_name?}&command=terms]]></anchor-href>
</anchor>
</entry>
</entry-list>
</anchor>
</entry>
</entry-list>
-Subproject commit 5577e5acf2839a1bfa9778c3c70381e44e196b19
+Subproject commit 3b3947b86b38904aa1100b54846c14d3b31cb97d