<?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');
$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: <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
$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');
// Flush the finished form
$linkInstance->flushContent();
+// [EOC]
?>
<div id="goverment_frame">
<div id="goverment_header">