]> git.mxchange.org Git - shipsimu.git/commitdiff
Fixed a lot more 'web' to 'html' + updated 'core'.
authorRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:50:12 +0000 (00:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 6 Apr 2015 22:50:12 +0000 (00:50 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
20 files changed:
application/selector/config.php
application/shipsimu/config.php
application/shipsimu/templates/de/code/action_ship_simu_login_company.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_government_startup_help.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_government_training.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_logout.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_profile.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_refill.ctp
application/shipsimu/templates/de/code/action_ship_simu_login_status_problem.ctp
application/shipsimu/templates/de/code/block_company_data.ctp
application/shipsimu/templates/de/code/block_persona_data.ctp
application/shipsimu/templates/de/code/captch_graphic_code.ctp
application/shipsimu/templates/de/code/confirm_link.ctp
application/shipsimu/templates/de/code/government_failed_main.ctp
application/shipsimu/templates/de/code/login_failed.ctp
application/shipsimu/templates/de/code/login_form.ctp
application/shipsimu/templates/de/code/login_main.ctp
application/shipsimu/templates/de/code/logout_done.ctp
application/shipsimu/templates/de/code/register_form.ctp
core

index 2770167216faf9fb49185daedd34b5acf5bef725..49fe491d6a9599aef4c47877003aa541c0d67906 100644 (file)
@@ -31,9 +31,6 @@ $cfg->setConfigEntry('header_charset', 'utf-8');
 // 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?}&amp;command=do_form');
 
index e71abb754d466746a820046cfc0926b147623211..5c39891a945cde30d2f9944750ed525937766726 100644 (file)
@@ -34,9 +34,6 @@ $cfg->setConfigEntry('default_ship_simu_html_command', 'home');
 // 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?}&amp;command=do_form');
 
@@ -331,26 +328,26 @@ $cfg->setConfigEntry('login_logout_action_class', 'ShipSimuLogoutAction');
 // 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);
index b9df5fc39985b7f1980efdc88632e4101e09c853..2fe6d33dbef5c69c617d9193535bafc98decf263 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index e300a0158496d5c2b297102a41bd4694cf5f8f64..6a7e31c249ca6d8b5a2d1ba7541766d70384af36 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
@@ -41,7 +41,7 @@ $helperInstance->addFormNote('data_protection', "Deine Daten werden nach den g&u
 $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');
index 7c921fff49061d00b283f0ec680f539e266a6e81..4a188e95907b8309d9e593f6b4df02cdf48083b9 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
@@ -41,7 +41,7 @@ $helperInstance->addFormNote('data_protection', "Deine Daten werden nach den g&u
 $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');
index 5443af247b7f6ca2636fd73ae9b4562cecdf167b..c8c0c3b7cfe13b75e1d55130cfd52bae876d3dc4 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
@@ -9,7 +9,7 @@ $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');
index 8037a4ec096d706ad6724c804bffb45d009d9439..d8bccdecfe49205b92dd8278e599174967828da8 100644 (file)
@@ -2,7 +2,7 @@
 // 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');
index fdc7c4e379bc6d09ae74480966f9da83ee256f24..743674012f47151663cb927cc2ca3c94a79ba695 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index df4a8de462ee70f597608d0081d51daf4969a295..39ad0a56f74d19fa1143ed635a661a6751fa7ba9 100644 (file)
@@ -2,7 +2,7 @@
 // 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');
@@ -30,7 +30,7 @@ if ($helperInstance->ifUserAccountUnconfirmed()) {
 $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');
index 9752acf9b942b5520edde65a10cc56ee6e6b6c67..bb52c0a04050240e3f478a0e1b100e6016a87dbb 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index bff6bfafb29668019b68b906515ba610e53f967e..ae725dc5bd6f386485e89e836a353832ff9ab76c 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index 3cb8a40a2b2aa92276134deb6847da708255d55d..942d94c6e1a9a26850605d7802c8c4ee9916c1c6 100644 (file)
@@ -1,6 +1,6 @@
 <?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:");
index 25f6e674f5ef98f4e0bdafc8801bf2ca4459f088..c1dbfb52368133ffbb872600ac2e0c0c157824d4 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index b07313280524ae863c7dab0d7fd4b64e0d38621d..ca56ceae08f2d392aa85329bf3f432bc0bff1c08 100644 (file)
@@ -4,7 +4,7 @@
 ///////////////////////////////
 
 // 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');
@@ -27,7 +27,7 @@ $blockInstance->flushContent();
 //////////////////////////////////////
 
 // 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');
@@ -63,7 +63,7 @@ if ($blockInstance->getValueInstance()->ifUserIsFounder()) {
 $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');
index 166c48ee5216b7bf4e0770d295b0450b8151c32c..12257fc9ec18c85e762d5825f257d5f4ef2e9b38 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index ae600484dbb044eaec59338d750f5d26605b68c5..db7858307ac3458df63451cdcc4aaea20e133e1e 100644 (file)
@@ -2,7 +2,7 @@
 // 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()) {
@@ -53,7 +53,7 @@ $helperInstance->flushContent();
 // 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');
 
@@ -70,7 +70,7 @@ if ($helperInstance->ifGuestLoginAllowed()) {
 }
 
 // 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');
index 56adbab9a194936144e0488ca9e22ef1c17bda21..e555eac191e6d4bc46904635ae5920737f079037 100644 (file)
@@ -4,7 +4,7 @@
 ///////////////////////////////
 
 // 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');
@@ -28,7 +28,7 @@ $blockInstance->flushContent();
 //////////////////////////////////////
 
 // 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');
@@ -64,7 +64,7 @@ if ($blockInstance->getValueInstance()->ifUserIsFounder()) {
 $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');
index 9843f5040bb10601ac9c2045e66cf88821b58cc6..9b4551142ebc87b22d69a0d6be74f68c75b4619e 100644 (file)
@@ -1,6 +1,6 @@
 <?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');
index 90dca57ba2d61f9e2fd1356de9f91745bda97953..7860f3bb227319c4164d83dcc259694e680d7c26 100644 (file)
@@ -2,7 +2,7 @@
 // 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&uuml;nschten Nickname und dein Zugangspasswort ein.");
diff --git a/core b/core
index 3b3947b86b38904aa1100b54846c14d3b31cb97d..7b1fd34316273e96f97816746a071d509e7ca085 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 3b3947b86b38904aa1100b54846c14d3b31cb97d
+Subproject commit 7b1fd34316273e96f97816746a071d509e7ca085