+<?php
+$helper = HtmlFormHelper::createHtmlFormHelper($this, "register_form");
+ $helper->addFormArea("login", "Bitte gebe hier gewünschten Nickname und dein Zugangspasswort ein.");
+ $helper->addInputArea("username", "Nickname im Spiel:");
+ $helper->addInputTextField("username", 10, 255);
+ $helper->addInputArea("pass1", "Passwort:");
+ $helper->addInputPasswordField("pass1", 5, 255);
+ $helper->addInputArea("pass2", "Passwortwiederholung:");
+ $helper->addInputPasswordField("pass2", 5, 255);
+if ($helper->registrationRequiresEmailVerification()) {
+ $helper->addFormArea("email", "Bitte gebe deine Email zweimal (ein zweites Mal zur Bestätigung) ein, damit wir dir deinen Freischaltlink zusenden können.");
+ $helper->addInputArea("email1", "Email-Adresse:");
+ $helper->addInputTextField("email1", 15, 255);
+ $helper->addInputArea("email2", "Wiederholung Email-Adresse:");
+ $helper->addInputTextField("email2", 15, 255);
+}
+ $helper->addFormArea("profile", "Hier kannst du zusätzlich deine Profildaten vorweg eingeben, du kannst sie aber auch nach dem Login vervollständigen!");
+if (!$helper->registrationRequiresEmailVerification()) {
+ $helper->addInputArea("email1", "Email-Adresse:");
+ $helper->addInputTextField("email1", 15, 255);
+}
+ $helper->addInputArea("surname", "Dein Vorname:");
+ $helper->addInputTextField("surname", 10, 255);
+ $helper->addInputArea("family", "Dein Nachname:");
+ $helper->addInputTextField("family", 10, 255);
+$helper->addFormTag();
+$helper->flushContent();
+?>
<div id="content_header">
Anmeldung bei <span class="app_name">{?app_full_name?}</span>
</div>
<div id="register_box">
- <form id="register_form" action="{register_action}" method="post">
- <!-- You really should have at least nickname, password and email //-->
- <!-- required for registration. If you don't think so please //-->
- <!-- contact me and we can talk about it. The rest is optional to //-->
- <!-- your own taste. //-->
- <?php $this->addTextInputForm("username", 10, 255, true); ?>
- </form>
+ {?register_form?}
</div>