X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=application%2Fship-simu%2Ftemplates%2Fde%2Fcode%2Faction_login_profile.ctp;h=4d8f3ddcefffb63e5e8c5d43014feac8f9988cc2;hb=0dd96b04cd8d0e95ec63bac5f3b391def4481140;hp=841d63f44b47055db583788c5a9115648a128a80;hpb=10ff7e023cc73d738b712ec7a5aeede1309d59cf;p=shipsimu.git
diff --git a/application/ship-simu/templates/de/code/action_login_profile.ctp b/application/ship-simu/templates/de/code/action_login_profile.ctp
index 841d63f..4d8f3dd 100644
--- a/application/ship-simu/templates/de/code/action_login_profile.ctp
+++ b/application/ship-simu/templates/de/code/action_login_profile.ctp
@@ -16,7 +16,7 @@ $helper->addFieldText('pass2', "Neues Passwort, Wiederholung:");
$helper->addInputPasswordField('pass2');
// Display current email
-$helper->addFormNote('current_email', "Derzeitige Email-Adresse: ".$helper->getField('email')."");
+$helper->addFormNote('current_email', "Derzeitige Email-Adresse: ".$helper->getValueField('email')."");
// Only for changing email address
if ($helper->ifEmailChangeAllowed()) {
@@ -36,6 +36,7 @@ if ($helper->ifEmailChangeAllowed()) {
} // END - Change requires confirmation
} // END - email change allowed
+// Add form group for user profile
$helper->addFormGroup('profile', "Hier kannst du deine Profildaten ändern.");
// Persoenliche Daten mit in der Anmeldung abfragen?
@@ -51,32 +52,39 @@ if ($helper->ifRegisterIncludesPersonaData()) {
$helper->addInputTextFieldWithDefault('city');
} // END - Persona data
+// Add su group for zip code
$helper->addFormSubGroup('zip', "Magst du uns auch deine Postleitzahl verraten?");
$helper->addFieldText('zip', "Postleitzahl:");
$helper->addInputTextFieldWithDefault('zip');
+// Add sub group for chat protocols
$helper->addFormSubGroup('chat', "Gebe hier deine Nicknames bzw. Nummern an:");
+// Add ICQ chat?
if ($helper->ifChatEnabled('icq')) {
$helper->addFieldText('icq', "ICQ-Nummer:");
$helper->addInputTextFieldWithDefault('icq');
} // END - if
+// Add Jabber chat?
if ($helper->ifChatEnabled('jabber')) {
$helper->addFieldText('jabber', "Jabber:");
$helper->addInputTextFieldWithDefault('jabber');
} // END - if
+// Add Yahoo! chat?
if ($helper->ifChatEnabled('yahoo')) {
$helper->addFieldText('yahoo', "Yahoo!:");
$helper->addInputTextFieldWithDefault('yahoo');
} // END - if
+// Add AOL chat?
if ($helper->ifChatEnabled('aol')) {
$helper->addFieldText('aol', "AOL-Screenname:");
$helper->addInputTextFieldWithDefault('aol');
} // END - if
+// Add MSN chat?
if ($helper->ifChatEnabled('msn')) {
$helper->addFieldText('msn', "MSN:");
$helper->addInputTextFieldWithDefault('msn');