]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shoutbox/templates/de/code/action_shoutbox_login_profile.ctp
External core repository finally set
[shipsimu.git] / application / shoutbox / templates / de / code / action_shoutbox_login_profile.ctp
index 3babf81a1da54141478bf0b9da52d5d6522d8b79..dd27e8a90d7bccc38c7075af79c3ba7f3da74634 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.
-$helper = WebFormHelper::createWebFormHelper($this, "shoutbox_profile");
+$helper = ObjectFactory::createObjectByConfiguredName('web_form_helper', array($this, "shoutbox_profile"));
 
 // Pre-fetch field data with a given registry key
 $helper->prefetchValueInstance('user');
@@ -16,7 +16,7 @@ $helper->addFieldText('pass2', "Neues Passwort, Wiederholung:");
 $helper->addInputPasswordField('pass2');
 
 // Display current email
-$helper->addFormNote('current_email', "Derzeitige Email-Adresse: <span id=\"displayed_field\">".$helper->getValueField('email')."</span>");
+$helper->addFormNote('current_email', "Derzeitige Email-Adresse: <span class=\"persona_data\">".$helper->getValueField('email')."</span>");
 
 // Only for changing email address
 if ($helper->ifEmailChangeAllowed()) {
@@ -107,6 +107,8 @@ $helper->addInputResetButton("Alles nochmal eingeben");
 $helper->addInputSubmitButton("Accountdaten aktualisieren");
 $helper->addFormNote('data_protection', "Deine Daten werden nach den g&uuml;ltigen Datenschutzgesetzten gespeichert und werden nicht an Dritte weitergegeben. Weiteres dazu siehe Link &quot;Datenschutz&quot;.");
 $helper->flushContent();
+
+// [EOC]
 ?>
 <div id="content_header">
        Deine Profildaten bearbeiten