]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/action_ship_simu_login_goverment_training.ctp
EOF->EOC in code templates replaced, training form extended
[shipsimu.git] / application / ship-simu / templates / de / code / action_ship_simu_login_goverment_training.ctp
index e168ef9cb7cbca5e60347bf7f30663d70e68ff7d..6be1c9bfad5275a1ee1b51ea36e67128c7f214be 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Get form helper instance
-$helperInstance = WebFormHelper::createWebFormHelper($this, 'shipsimu_training_form');
+$helperInstance = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, 'shipsimu_training_form'));
 
 // Prefetch user instance
 $helperInstance->prefetchValueInstance('user');
@@ -12,7 +12,8 @@ $helperInstance->addFormNote('reality_warning', "WARNUNG: Bitte dieses Formular
 $helperInstance->addFormGroup('persona_data', "Deine pers&ouml;nliche Daten, die f&uuml;r die Kursusteilnahme n&ouml;tig sind:");
 
 // Display email, surname and family name
-$helperInstance->addFormNote('name', "Dein Name: <span class=\"persona_data\">".$helperInstance->getValueField('surname')." ".$helperInstance->getValueField('family')."</span>");
+$helperInstance->addFormNote('surname', "Vorname: <span class=\"persona_data\">".$helperInstance->getValueField('surname')."</span>");
+$helperInstance->addFormNote('family', "Nachname: <span class=\"persona_data\">".$helperInstance->getValueField('family')."</span>");
 $helperInstance->addFormNote('email', "Email-Adresse: <span class=\"persona_data\">".$helperInstance->getValueField('email')."</span>");
 
 // Add link placeholder for profile page
@@ -22,7 +23,7 @@ $helperInstance->addFormNote('profile', "Stimmen die Daten noch? {?shipsimu_prof
 $helperInstance->flushContent();
 
 // Get link helper for profile link
-$linkInstance = WebLinkHelper::createWebLinkHelper($this, 'shipsimu_profile_link', 'index.php?app={?app_short_name?}&amp;page=login_area');
+$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile_link', 'index.php?app={?app_short_name?}&amp;page=login_area'));
 
 // Add action
 $linkInstance->addActionLinkById('profile', 'goto_profile_link');
@@ -30,6 +31,7 @@ $linkInstance->addActionLinkById('profile', 'goto_profile_link');
 // Flush the finished form
 $linkInstance->flushContent();
 
+// [EOC]
 ?>
 <div id="goverment_frame">
        <div id="goverment_header">