// CFG: DEFAULT-SELECTOR-HTML-COMMAND
$cfg->setConfigEntry('default_selector_html_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?}&command=do_form');
// CFG: DEFAULT-HTML-COMMAND
$cfg->setConfigEntry('default_html_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?}&command=do_form');
// CFG: LOGIN-PROFILE-ACTION-CLASS
$cfg->setConfigEntry('login_profile_action_class', 'ShipSimuProfileAction');
-// CFG: SHIPSIMU-REGISTER-CAPTCHA
-$cfg->setConfigEntry('shipsimu_register_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-REGISTER-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_register_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA
-$cfg->setConfigEntry('shipsimu_user_login_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-USER-LOGIN-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_user_login_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA
-$cfg->setConfigEntry('shipsimu_guest_login_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-GUEST-LOGIN-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_guest_login_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-PROFILE-CAPTCHA
-$cfg->setConfigEntry('shipsimu_profile_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-PROFILE-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_profile_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-REFILL-CAPTCHA
-$cfg->setConfigEntry('shipsimu_refill_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-REFILL-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_refill_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA
-$cfg->setConfigEntry('shipsimu_government_startup_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-GOVERNMENT-STARTUP-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_government_startup_captcha_class', 'GraphicalCodeCaptcha');
-// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA
-$cfg->setConfigEntry('shipsimu_government_training_captcha', 'GraphicalCodeCaptcha');
+// CFG: SHIPSIMU-GOVERNMENT-TRAINING-CAPTCHA-CLASS
+$cfg->setConfigEntry('shipsimu_government_training_captcha_class', 'GraphicalCodeCaptcha');
// CFG: CAPTCHA-STRING-LENGTH
$cfg->setConfigEntry('captcha_string_length', 5);
<?php
// Get a link helper instance
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'list_companies'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'list_companies'));
// Prefetch the user data
$linkInstance->prefetchValueInstance('user');
<?php
// Get form helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_government_startup'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_government_startup'));
// Prefetch user instance
$helperInstance->prefetchValueInstance('user');
$helperInstance->flushContent();
// Get link helper for profile link
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'shipsimu_profile'));
// Add action
$linkInstance->addActionLinkById('profile', 'profile');
<?php
// Get form helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_government_training'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_government_training'));
// Prefetch user instance
$helperInstance->prefetchValueInstance('user');
$helperInstance->flushContent();
// Get link helper for profile link
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'shipsimu_profile'));
// Add action
$linkInstance->addActionLinkById('profile', 'profile');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout_now'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'logout_now'));
// Set link text
$helperInstance->addLinkWithTextById('logout_now');
$helperInstance->flushContent();
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'return_login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'return_login'));
// Set link text
$helperInstance->addLinkWithTextById('return_login');
// Get helper instance for web forms. This will add the opening form-tag to
// the helper's render cache which is simply a small variable in the class
// BaseHelper.
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "shipsimu_profile"));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, "shipsimu_profile"));
// Pre-fetch field data with a given registry key
$helperInstance->prefetchValueInstance('user');
<?php
// Neue Helper-Instanz holen
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_refill'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_refill'));
// Pre-fetch payment types
$helperInstance->prefetchValueInstance('payments');
// Get helper instance for web forms. This will add the opening form-tag to
// the helper's render cache which is simply a small variable in the class
// BaseHelper.
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'resend_link'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'resend_link'));
// Pre-fetch field data with a given registry key
$helperInstance->prefetchValueInstance('user');
$helperInstance->flushContent();
// Build the form for confirmation
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'confirm_code'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'confirm_code'));
// Pre-fetch field data with a given registry key
$helperInstance->prefetchValueInstance('user');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'company'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'company'));
// Set link text
$helperInstance->addActionLinkById('company', 'company');
<?php
// Get a helper instance for the profile link (and maybe later more!)
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'profile'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'profile'));
// Prefetch user instance
$helperInstance->prefetchValueInstance('user');
<?php
// Get a helper instance without a form tag
-$captchaHelper = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'captcha_code', false, false));
+$captchaHelper = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'captcha_code', false, false));
// Add input field with text for CAPTCHA code
$captchaHelper->addFieldText('captcha_code', "Bitte wiederhole den Code:");
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'direct_login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'direct_login'));
// Set link text
$helperInstance->addLinkWithTextById('direct_login');
///////////////////////////////
// Get a new instance for personal data
-$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'persona_data'));
+$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'persona_data'));
// Set the data source instance which must exist in registry
$blockInstance->prefetchValueInstance('user');
//////////////////////////////////////
// Get a new instance for personal data
-$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'company_data'));
+$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'company_data'));
// Set the data source instance
$blockInstance->prefetchValueInstance('company', 'user');
$blockInstance->flushContent();
// Get helper instance
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'logout'));
// Add action
$linkInstance->addActionLinkById('logout', 'logout');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'login_retry'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'login_retry'));
// Set link text
$helperInstance->addLinkWithTextById('login_retry');
// Get helper instance for web forms. This will add the opening form-tag to
// the helper's render cache which is simply a small variable in the class
// BaseHelper.
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_user_login'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_user_login'));
// Formular deaktiviert?
if ($helperInstance->ifLoginIsEnabled()) {
// Ist Gastlogin erlaubt?
if ($helperInstance->ifGuestLoginAllowed()) {
// Neue Helper-Instanz holen
- $helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_guest_login'));
+ $helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_guest_login'));
$helperInstance->addInputHiddenConfiguredField('user', 'guest_login');
$helperInstance->addInputHiddenConfiguredField('passwd', 'guest_login');
}
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'register'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'register'));
// Set link text
$helperInstance->addLinkWithTextById('register_login');
///////////////////////////////
// Get a new instance for personal data
-$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'persona_data'));
+$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'persona_data'));
// Set the data source instance which must exist in registry
$blockInstance->prefetchValueInstance('user', 'user_points');
//////////////////////////////////////
// Get a new instance for personal data
-$blockInstance = ObjectFactory::createObjectByConfiguredName('web_block_helper', array($this, 'company_data'));
+$blockInstance = ObjectFactory::createObjectByConfiguredName('html_block_helper', array($this, 'company_data'));
// Set the data source instance
$blockInstance->prefetchValueInstance('company', 'user');
$blockInstance->flushContent();
// Get helper instance
-$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'logout'));
+$linkInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'logout'));
// Add action
$linkInstance->addActionLinkById('logout', 'logout');
<?php
// Get helper instance
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'relogin'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_link_helper', array($this, 'relogin'));
// Set link text
$helperInstance->addLinkWithTextById('relogin');
// Get helper instance for web forms. This will add the opening form-tag to
// the helper's render cache which is simply a small variable in the class
// BaseHelper.
-$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_register'));
+$helperInstance = ObjectFactory::createObjectByConfiguredName('html_form_helper', array($this, 'shipsimu_register'));
// Always ask at least for nickname and password
$helperInstance->addFormGroup('login', "Bitte gebe hier gewünschten Nickname und dein Zugangspasswort ein.");
-Subproject commit 3b3947b86b38904aa1100b54846c14d3b31cb97d
+Subproject commit 7b1fd34316273e96f97816746a071d509e7ca085