Even more conflicting calls fixed
authorRoland Häder <roland@mxchange.org>
Sun, 29 Jun 2008 10:21:19 +0000 (10:21 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 29 Jun 2008 10:21:19 +0000 (10:21 +0000)
application/ship-simu/templates/de/code/action_login_profile.ctp
application/ship-simu/templates/de/code/action_login_status_problem.ctp

index 841d63f..db9afe3 100644 (file)
@@ -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->getField('email')."</span>");
+$helper->addFormNote('current_email', "Derzeitige Email-Adresse: <span id=\"displayed_field\">".$helper->getValueField('email')."</span>");
 
 // Only for changing email address
 if ($helper->ifEmailChangeAllowed()) {
index 016dc89..88a47b1 100644 (file)
@@ -15,7 +15,7 @@ if ($helper->ifUserAccountUnconfirmed()) {
 } elseif ($helper->ifUserAccountLocked()) {
        // Account is locked
        $helper->addFormNote('status_locked', "Dein Account wurde gesperrt! Grund der Sperre:
-               <span id=\"lock_reason\">".$helper->getField('lock_reason')."</span>
+               <span id=\"lock_reason\">".$helper->getValueField('lock_reason')."</span>
                Bitte melde dich beim Support, damit dieser dir weiterhelfen kann."
        );
 } elseif ($helper->ifUserAccountGuest()) {