X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Faction_ship_simu_login_goverment_training.ctp;h=6be1c9bfad5275a1ee1b51ea36e67128c7f214be;hb=fc50e3805a154eca3330aeae911cd6b75c967e9f;hp=e168ef9cb7cbca5e60347bf7f30663d70e68ff7d;hpb=d0fec7e5d36612e80b0cf5cbc9af08909664bb0c;p=shipsimu.git diff --git a/application/ship-simu/templates/de/code/action_ship_simu_login_goverment_training.ctp b/application/ship-simu/templates/de/code/action_ship_simu_login_goverment_training.ctp index e168ef9..6be1c9b 100644 --- a/application/ship-simu/templates/de/code/action_ship_simu_login_goverment_training.ctp +++ b/application/ship-simu/templates/de/code/action_ship_simu_login_goverment_training.ctp @@ -1,6 +1,6 @@ prefetchValueInstance('user'); @@ -12,7 +12,8 @@ $helperInstance->addFormNote('reality_warning', "WARNUNG: Bitte dieses Formular $helperInstance->addFormGroup('persona_data', "Deine persönliche Daten, die für die Kursusteilnahme nötig sind:"); // Display email, surname and family name -$helperInstance->addFormNote('name', "Dein Name: ".$helperInstance->getValueField('surname')." ".$helperInstance->getValueField('family').""); +$helperInstance->addFormNote('surname', "Vorname: ".$helperInstance->getValueField('surname').""); +$helperInstance->addFormNote('family', "Nachname: ".$helperInstance->getValueField('family').""); $helperInstance->addFormNote('email', "Email-Adresse: ".$helperInstance->getValueField('email').""); // 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?}&page=login_area'); +$linkInstance = ObjectFactory::createObjectByConfiguredName('web_link_helper', array($this, 'shipsimu_profile_link', 'index.php?app={?app_short_name?}&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] ?>