// 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, "resend_link");
+$helperInstance = WebFormHelper::createWebFormHelper($this, "resend");
// Pre-fetch field data with a given registry key
-$helper->prefetchValueInstance('user');
+$helperInstance->prefetchValueInstance('user');
// Add submit button or notice
-if ($helper->ifUserAccountUnconfirmed()) {
+if ($helperInstance->ifUserAccountUnconfirmed()) {
// Add submit button
- $helper->addInputHiddenFieldWithDefault('email');
- $helper->addInputSubmitButton("Bestätigungslink erneut aussenden");
-} elseif ($helper->ifUserAccountLocked()) {
+ $helperInstance->addInputHiddenFieldWithDefault('email');
+ $helperInstance->addInputSubmitButton("Bestätigungslink erneut aussenden");
+} elseif ($helperInstance->ifUserAccountLocked()) {
// Account is locked
- $helper->addFormNote('status_locked', "Dein Account wurde gesperrt! Grund der Sperre:
- <span id=\"lock_reason\">".$helper->getValueField('lock_reason')."</span>
+ $helperInstance->addFormNote('status_locked', "Dein Account wurde gesperrt! Grund der Sperre:
+ <span id=\"lock_reason\">".$helperInstance->getValueField('lock_reason')."</span>
Bitte melde dich beim Support, damit dieser dir weiterhelfen kann."
);
}
// Flush content and automatically close the form
-$helper->flushContent();
+$helperInstance->flushContent();
-if ($helper->ifUserAccountUnconfirmed()) {
+if ($helperInstance->ifUserAccountUnconfirmed()) {
// Build the form for confirmation
- $helper = WebFormHelper::createWebFormHelper($this, "confirm_code");
+ $helperInstance = WebFormHelper::createWebFormHelper($this, "confirm_code");
// Add code box
- $helper->addFormGroup('code', "Bitte gebe hier den Bestätigungscode aus der Willkommensemail ein. Solltest du diese nicht erhalten haben, kannst du dir diesen jetzt zusenden lassen.");
- $helper->addFieldText('code', "Bestätigungscode aus der Mail:");
- $helper->addInputTextField('code');
+ $helperInstance->addFormGroup('code', "Bitte gebe hier den Bestätigungscode aus der Willkommensemail ein. Solltest du diese nicht erhalten haben, kannst du dir diesen jetzt zusenden lassen.");
+ $helperInstance->addFieldText('code', "Bestätigungscode aus der Mail:");
+ $helperInstance->addInputTextField('code');
// Add submit button
- $helper->addFormGroup('buttons', "Bitte einmal abschicken und das Ergebnis abwarten!");
- $helper->addInputResetButton("Nochmal eingeben");
- $helper->addInputSubmitButton("Bestätigungscode absenden");
+ $helperInstance->addFormGroup('buttons', "Bitte einmal abschicken und das Ergebnis abwarten!");
+ $helperInstance->addInputResetButton("Nochmal eingeben");
+ $helperInstance->addInputSubmitButton("Bestätigungscode absenden");
// Flush content and automatically close the form
- $helper->flushContent();
+ $helperInstance->flushContent();
} // END - if
?>
<div id="content_header">
kannst dir nun den Bestätigungslink erneut aussenden lassen, oder den
Bestätigungscode unten eingeben.
- <div id="resend_link_box">
- {?resend_link?}
+ <div id="resend_box">
+ {?resend?}
</div>
<div id="confirm_code_box">