<?php /* --- SSL erwzingen --- */
$fns_conf_force["ssl"] = 1;
?>
<?php $version="1.0"; $encoding="UTF-8"; ?>
<?php include_once($_SERVER['DOCUMENT_ROOT'].'/wGlobal/wGlobal/scripts/pre.php'); ?>
<?php exit; ?>
<wd:document xmlns:wsl="http://weblication.de/5.0/wsl" xmlns:wd="http://weblication.de/5.0/wd" version="1.0" type="page.standard">
  <wd:extension type="weblication" version="5.0" uid="cad95657094197ea451c49f355e0e433">
    <wd:meta>
      <wd:title>Benutzerregistrierung</wd:title>
      <wd:description/>
      <wd:categories/>
      <wd:keywords/>
      <wd:thumbnail src="" area=""/>
      <wd:language/>
      <wd:navpoint id="" src=""/>
      <wd:robots value="noindex"/>
      <wd:modification name="talus" time="1698843578"/>
      <wd:creation name="admin" time="1253261593"/>
      <wd:publication time="2008-08-27 14:57:51"/>
      <wd:alternate/>
      <wd:canonical/>
      <wd:redirect type="abTest"/>
    </wd:meta>
    <wd:object type="default">
      <wd:data id="enableClickAnalyzer" type="char.default">no</wd:data>
      <wd:data id="pageDisplayType" type="char.default">FullRight</wd:data>
      <wd:data id="pageLayout" type="char.default">0</wd:data>
    <wd:data id="hideTitlePrefixPostfix" type="char.default"/></wd:object>
    <wd:status>
      <wd:online from="" status="on" to=""/>
      <wd:type value=""/>
    </wd:status>
    <wd:permissions getUsersOfDefaultExtension="1" getGroupsOfDefaultExtension="1">
      <wd:owner name="admin" role="{wGetValueOfDefaultExtension()}"/>
      <wd:others role="{wGetValueOfDefaultExtension()}"/>
    </wd:permissions>
    <wd:personalization getUsersOfDefaultExtension="1" getGroupsOfDefaultExtension="1"/>
    <wd:protocol>
        </wd:protocol>
    <wd:events>
        </wd:events>
    <wd:templates>
      <wd:master path="{wGetValueOfDefaultExtension()}"/>
      <wd:edit path="{wGetValueOfDefaultExtension()}"/>
      <wd:view path="{wGetValueOfDefaultExtension()}"/>
      <wd:editExt path="{wGetValueOfDefaultExtension()}"/>
    </wd:templates>
    <wd:version value="22"/>
    <wd:language nodeID="d5268c3f3e0bc5a2a801c637707dc503/f49d8fa023fe1a5292ed3eb412ca7ab8.php"/>
    <wd:cache expires=""/>
  </wd:extension>
  <wd:group id="content1" name="Inhaltsbereich">
    <wd:item type="info.standard" uid="a826e38e58fdd59e2f5e0f8d88542870">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display">info</wd:fragment>
      <wd:fragment id="text" type="text.standard"><![CDATA[Wenn Sie wollen, dass die E-Mail Adresse der Benutzername ist, löschen Sie einfach das Feld Benutzername aus dem Formular.

                Sie können die Benutzerregistrierung um zusätzliche Felder erweitern. In diesem Fall müssen Sie die gewünschten Daten in den erweiterten Formulareinstellungen über PHP direkt in die Benutzerdatei schreiben. Achten Sie dabei zur Sicherheit darauf, dass die Daten maskiert werden.]]></wd:fragment>
      <wd:fragment id="showOnlyInEditor" type="char.default">all</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="516bfd5db0af816407e5fc56cd63b4bb">
      <wd:fragment id="type" type="char.type">select</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">hasToActivateUser</wd:fragment>
      <wd:fragment id="selectableValues" type="char.default">1|0</wd:fragment>
      <wd:fragment id="selectableTexts" type="char.default">Ja|Nein</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[0]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">Muss der Benutzer freigegeben werden?</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="516bfd5db0af816407e5fc56cd63b4bt">
      <wd:fragment id="type" type="char.type">select</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">checkUserExistsOnRegistration</wd:fragment>
      <wd:fragment id="selectableValues" type="char.default">1|0</wd:fragment>
      <wd:fragment id="selectableTexts" type="char.default">Ja|Nein</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[1]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">Bei der Registrierung bereits prüfen, ob der Benutzer schon besteht</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="2afb554c596d2eb46f47bbb864937d81">
      <wd:fragment id="type" type="char.type">char</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">emailSystem</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[mhagi@talus.ch]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">E-Mail Adresse, von der die System-Mails verschickt werden</wd:fragment>
      <wd:fragment id="validator" type="char.default">emailOrEmpty</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="fd3f86005b88d7cd3cb2398a308176f6">
      <wd:fragment id="type" type="char.type">char</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">emailActivatorUser</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">E-Mail Adresse des Benutzers, der den registrierten Benutzer freischalten muss</wd:fragment>
      <wd:fragment id="validator" type="char.default">emailOrEmpty</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="a27ca63ff5f54282d48b272672ef65dc">
      <wd:fragment id="type" type="char.type">group</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">groupUser</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[guests]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">Gruppe des registrierten Benutzers</wd:fragment>
      <wd:fragment id="validator" type="char.default"/>
    </wd:item>
    <wd:item type="script.variable" uid="4938d14a97c49faab9fcf273e80bf66e">
      <wd:fragment id="type" type="char.type">text</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">mailStrConfirmRegistration</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[From: [!--emailSystem--]
To: [!--email--]
Content-Type: text/plain; charset=UTF-8
Subject: Ihre Registrierung ist fast abgeschlossen

Bitte klicken Sie auf diesen Link, um Ihre Registrierung abzuschließen.

Benutzername: [!--username--]
Vorname: [!--firstname--]
Nachname: [!--lastname--]
E-Mail: [!--email--]

[!--urlToConfirmRegistration--]]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">E-Mail an den Benutzer, der sich registriert</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="fa3efbfbbbec7172cc50a1a7f32b9b66">
      <wd:fragment id="type" type="char.type">text</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">mailStrActivateUser</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[From: [!--emailSystem--]
To: [!--emailActivatorUser--]
Content-Type: text/plain; charset=UTF-8
Subject: Benutzerregistrierung: Benutzer [!--username--] freischalten

Benutzername: [!--username--]
Vorname: [!--firstname--]
Nachname: [!--lastname--]
E-Mail: [!--email--]

Bitte klicken Sie auf diesen Link, um den Benutzer [!--username--] freizuschalten
[!--urlToActivateUser--]]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">E-Mail an den Benutzer, der die Registrierung freischalten muss</wd:fragment>
    </wd:item>
    <wd:item type="script.variable" uid="e76659158c6f83ad9dbaccf152537711">
      <wd:fragment id="type" type="char.type">text</wd:fragment>
      <wd:fragment id="execute" type="char.execute"/>
      <wd:fragment id="name" type="char.default">mailStrInformAfterActivation</wd:fragment>
      <wd:fragment id="value" type="text.variable"><![CDATA[From: [!--emailSystem--]
                To: [!--emailActivatedUser--]
                Content-Type: text/plain; charset=UTF-8
                Subject: Ihr Benutzer [!--username--] wurde freigeschaltet

                Bitte klicken Sie auf diesen Link, um sich anzumelden.
                [!--domain--]/weblication]]></wd:fragment>
      <wd:fragment id="comment" type="char.default">E-Mail an den Benutzer, dass seine Registrierung erfolgreich war</wd:fragment>
    </wd:item>
    <wd:item type="container.conditionalPageVariable" uid="f97c0681486777ac9c2de17c97fa4132">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionPageVariableName" type="char.default">emailSystem</wd:fragment>
      <wd:fragment id="conditionPageVariableOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionPageVariableValue" type="char.default"/>
      <wd:group id="pageVariableTrue" name="items">
        <wd:item type="info.standard" uid="be0b6107bde1a5722f5346d4ea1abd2d">
          <wd:fragment id="title" type="char.text"/>
          <wd:fragment id="display" type="char.display">error</wd:fragment>
          <wd:fragment id="text" type="text.standard"><![CDATA[Sie müssen noch eine E-Mail Adresse angeben, von der die System E-Mails verschickt werden!]]></wd:fragment>
          <wd:fragment id="showOnlyInEditor" type="char.default"/>
        </wd:item>
      </wd:group>
      <wd:group id="pageVariableFalse">
            </wd:group>
      <wd:fragment id="wslphp" type="char.default"/>
    </wd:item>
    <wd:item type="container.conditionalPageVariable" uid="360cfaad7a7ef82c3c8447ff5fcbfac9">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionPageVariableName" type="char.default">hasToActivateUser</wd:fragment>
      <wd:fragment id="conditionPageVariableOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionPageVariableValue" type="char.default">1</wd:fragment>
      <wd:group id="pageVariableTrue" name="items">
        <wd:item type="container.conditionalPageVariable" uid="1d3ac910cd2966e64fcb9de84483f79c">
          <wd:fragment id="title" type="char.text"/>
          <wd:fragment id="display" type="char.display"/>
          <wd:fragment id="conditionPageVariableName" type="char.default">emailActivatorUser</wd:fragment>
          <wd:fragment id="conditionPageVariableOperator" type="char.default">==</wd:fragment>
          <wd:fragment id="conditionPageVariableValue" type="char.default"/>
          <wd:group id="pageVariableTrue" name="items">
            <wd:item type="info.standard" uid="f9392dde0d719b3357864111dbbf0d40">
              <wd:fragment id="title" type="char.text"/>
              <wd:fragment id="display" type="char.display">error</wd:fragment>
              <wd:fragment id="text" type="text.standard"><![CDATA[Sie müssen noch die E-Mail Adresse des Benutzers angeben, der die registrierten Benutzer freischalten muss.]]></wd:fragment>
              <wd:fragment id="showOnlyInEditor" type="char.default"/>
            </wd:item>
          </wd:group>
          <wd:group id="pageVariableFalse">
                    </wd:group>
          <wd:fragment id="wslphp" type="char.default"/>
        </wd:item>
      </wd:group>
      <wd:group id="pageVariableFalse">
            </wd:group>
      <wd:fragment id="wslphp" type="char.default"/>
    </wd:item>
    <wd:item type="container.conditionalParameter" uid="f654b6aeb11bbc969ae9c9b8831cbedc">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionParameterName" type="char.default">status</wd:fragment>
      <wd:fragment id="conditionParameterOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionParameterValue" type="char.default"/>
      <wd:group id="parameterTrue" name="items">
        <wd:item id="headline" name="Überschrift" type="headline.text" refresh="0" uid="62dac85cc5e4aa40a5b35da45092fe8c">
          <wd:fragment id="title" type="char.text">Benutzerregistrierung</wd:fragment>
          <wd:fragment id="text" type="text.standard"><![CDATA[Benutzerregistrierung]]></wd:fragment>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="isNavAnchor" type="char.default"/>
          <wd:fragment id="layoutAlign" type="char.default"/>
          <wd:fragment id="layoutColor" type="char.default"/>
          <wd:fragment id="icon" type="src.default"/>
          <wd:fragment id="layoutLevel" type="char.default">auto</wd:fragment>
          <wd:fragment id="layoutSize" type="char.default"/>
        <wd:fragment id="layoutBackgroundColor" type="char.default"/><wd:fragment id="layoutFontWeight" type="char.default"/></wd:item><wd:item type="formular.generator" uid="4f0fcb6798b9af7a478ec57f12f5e267">
          <wd:fragment id="display" type="char.default"/>
          <wd:fragment id="class" type="char.default"/>
          <wd:fragment id="resetIfHasBeenCalledWithStatus" type="char.default">1</wd:fragment>
          <wd:fragment id="addStarForMandatoryField" type="char.default">1</wd:fragment>
          <wd:fragment id="serverEventOnBeforeBuild" type="text.script"><![CDATA[$db = new wDB('default');
                        foreach($db->query("SELECT * FROM fns_tor_tarif_typ") as $recordset){
                        $this->elements['tariftyp']->addOption($recordset['id_tarif_typ'],utf8_encode($recordset['name']));
                        }]]></wd:fragment>
          <wd:fragment id="serverEventOnSubmit" type="text.script"><![CDATA[if(wRequest::getParameter("wFormAction") == "reset"){
                        $this->reset();
                        wResponse::redirect($this->url);
                        }

                        $this->setFormData(wRequest::getParameters());

                        if($this->validate()){
                        $mailData = $this->getFormData();
                        $mailData["wFormData"] = $this->getMailDataStr();

                        $validation = true;

                        $elementUsername = 'username';

                        if(!$this->elements['username']){
                        $elementUsername = 'email';
                        $mailData["username"] = $mailData["email"];
                        }

                        $username = $mailData[$elementUsername];

                        if(!preg_match('/^[a-zA-Z0-9_@\.-]+$/', $username)){
                        $_SESSION["wFormData"][$this->id]["elements"][$elementUsername]["isInvalid"]    = true;
                        $_SESSION["wFormData"][$this->id]["elements"][$elementUsername]["errorMessage"] = $this->elements[$elementUsername]->validators[0]["errorMessage"];
                        $_SESSION["wFormData"][$this->id]["isValid"] = false;
                        $validation = false;
                        }

                        if($this->getVarPage('checkUserExistsOnRegistration') == '1'){
                        if(wUsers::userExists($username)){
                        $_SESSION["wFormData"][$this->id]["elements"][$elementUsername]["isInvalid"]    = true;
                        $_SESSION["wFormData"][$this->id]["elements"][$elementUsername]["errorMessage"] = 'Der Benutzer existiert bereits! Bitte wählen Sie einen anderen Namen aus.';
                        $_SESSION["wFormData"][$this->id]["isValid"] = false;
                        $validation = false;
                        }
                        }

                        if($mailData['password'] != $mailData['password_confirmation']){
                        $_SESSION["wFormData"][$this->id]["elements"]["password_confirmation"]["isInvalid"]    = true;
                        $_SESSION["wFormData"][$this->id]["elements"]["password_confirmation"]["errorMessage"] = $this->elements["password_confirmation"]->validators[0]["errorMessage"];
                        $_SESSION["wFormData"][$this->id]["isValid"] = false;
                        $validation = false;
                        }

                        if(!$validation){
                        $this->setStatus("failed");
                        wResponse::redirect($this->url);
                        }

                        $optInID      = md5(time().rand(100000, 999999));
                        $activationID = md5(time().rand(100000, 999999));

                        $company     = wStringconverter::convertToXml($mailData["company"]);
                        $phone       = wStringconverter::convertToXml($mailData["phone"]);
                        $mobilephone = wStringconverter::convertToXml($mailData["mobilephone"]);
                        $street      = wStringconverter::convertToXml($mailData["street"]);
                        $zipcode     = wStringconverter::convertToXml($mailData["zipcode"]);
                        $town        = wStringconverter::convertToXml($mailData["town"]);
                        $web         = wStringconverter::convertToXml($mailData["web"]);
                        $state       = wStringconverter::convertToXml($mailData["state"]);
                        $country     = wStringconverter::convertToXml($mailData["country"]);
                        $fax         = wStringconverter::convertToXml($mailData["fax"]);
                        $email       = wStringconverter::convertToXml($mailData["email"]);
                        $firstname   = wStringconverter::convertToXml($mailData['firstname']);
                        $lastname    = wStringconverter::convertToXml($mailData['lastname']);
                        $title       = wStringconverter::convertToXml($mailData['title']);
                        $geburt      = wStringconverter::convertToXml($mailData['geburt']);
                        $tariftyp    = wStringconverter::convertToXml($mailData['tariftyp']);
                        $hausnummer  = wStringconverter::convertToXml($mailData['hausnummer']);
                        $hausnummerzusatz  = wStringconverter::convertToXml($mailData['hausnummerzusatz']);
                        $verein      = wStringconverter::convertToXml($mailData['verein']);
                        $abteilung   = wStringconverter::convertToXml($mailData['abteilung']);
                        $funktion    = wStringconverter::convertToXml($mailData['funktion']);

                        $password    = wUserData::encryptPasswort($mailData['password']);

                        //Nestcheck
                        /*
                        include_once($_SERVER['DOCUMENT_ROOT'].'/format/lib/php/shared.lib.php');
                        include_once($_SERVER['DOCUMENT_ROOT'].'/format/conf/global.configuration.php');

                        function formatAutoload($className){
                        if (file_exists($_SERVER['DOCUMENT_ROOT'].'/format/lib/php/'.strtolower($className).'.php')) {
                        require_once($_SERVER['DOCUMENT_ROOT'] . '/format/lib/php/' . strtolower($className) . '.php');
                        }
                        }

                        spl_autoload_register("formatAutoload");

                        $parameters = new stdClass();
                        $parameters->req->Name = $lastname;
                        $parameters->req->Vorname = $firstname;
                        $parameters->req->Geburtsdatum = $geburt;
                        $req = nestiseConnector::request("BasisService", "FindSubjekt", $parameters);
                        $subjectId = "";
                        if (count($req->FindSubjektResult->SubjektListenEintrag) == 1) {
                        $subjectId = (string)$req->FindSubjektResult->SubjektListenEintrag[0]->ID_Subjekt;
                        }
                        */
                        // Anlegen der Benutzerdatei
                        $userStr = '<'.'?'.'php $version="1.0"; $encoding="UTF-8"; '.'?'.'>';
                        $userStr .= "\n<"."?"."php exit; "."?".">\n";
                        $userStr .= '<wUser xmlns:de="/de" xmlns:en="/en" xmlns:fr="/fr">
                            <status online="off" activationID="'.$activationID.'" />
                            <username value="'.$username.'"/>
                            <gender value=""/>
                            <degree value=""/>
                            <title value="'.$title.'"/>
                            <initials value=""/>
                            <firstname value="'.$firstname.'"/>
                            <surname value="'.$lastname.'"/>
                            <displayname value=""/>
                            <type value="public"/>
                            <email value="'.$email.'"/>
                            <birthdate value="" string=""/>
                            <language value="de"/>
                            <password value="'.$password.'" expires="" interval="" new="" level="'.wApplication::getOptionPath('/wConf/user/password/@saltLevel').'" sessionId="" date="'.time().'"/>
                            <company class="business" value="'.$company.'"/>
                            <department class="business" value=""/>
                            <phone class="business" value="'.$phone.'"/>
                            <mobilephone class="business" value="'.$mobilephone.'"/>
                            <fax class="business" value="'.$fax.'"/>
                            <email class="business" value=""/>
                            <web class="business" value="'.$web.'"/>
                            <ipphone class="business" value=""/>
                            <street class="business" value="'.$street.'"/>
                            <town class="business" value="'.$town.'"/>
                            <zipcode class="business" value="'.$zipcode.'"/>
                            <state class="business" value="'.$state.'"/>
                            <country class="business" value="'.$country.'"/>
                            <countrycode class="business" value=""/>
                            <phone class="private" value="'.$phone.'"/>
                            <mobilephone class="private" value="'.$mobilephone.'"/>
                            <fax class="private" value="'.$fax.'"/>
                            <email class="private" value=""/>
                            <web class="private" value="'.$web.'"/>
                            <ipphone class="private" value=""/>
                            <street class="private" value="'.$street.'"/>
                            <town class="private" value="'.$town.'"/>
                            <zipcode class="private" value="'.$zipcode.'"/>
                            <state class="private" value="'.$state.'"/>
                            <country class="private" value="'.$country.'"/>
                            <countrycode class="private" value=""/>
                            <msn class="standard" value=""/>
                            <icq class="standard" value=""/>
                            <skype class="standard" value=""/>
                            <wysiwyg role="admin"/>
                            <start path=""/>
                            <group name="'.wStringconverter::convertToXml($this->getVarPage("groupUser")).'" type="standard"/>
                            <description/>
                            <creation value=""/>
                            <modification value=""/>
                            <lastLogin value=""/>
                            <meta name="tariftyp" value="'.$tariftyp.'"/>
                            <meta name="geburt" value="'.$geburt.'"/>
                            <meta name="subjectId" value="'.$subjectId.'"/>
                            <meta name="hausnummer" value="'.$hausnummer.'"/>
                            <meta name="hausnummerzusatz" value="'.$hausnummerzusatz.'"/>
                            <meta name="verein" value="'.$verein.'"/>
                            <meta name="abteilung" value="'.$abteilung.'"/>
                            <meta name="funktion" value="'.$funktion.'"/>
                        </wUser>';

                        wReadWrite::writeFile('/weblication/grid5/tmp/'.$username.'_wUserToRegister_'.$optInID.'.xml', $userStr);

                        $mailData["emailSystem"]              = $this->getVarPage("emailSystem");
                        $mailData["urlToConfirmRegistration"] = wURL::setParameter(wURL::setParameter(wURL::setParameter($this->url, 'status', 'confirmRegistration'), 'optInID', $optInID), 'user', $username);

                        wMailer::sendMailStr($this->getVarPage("mailStrConfirmRegistration"), $mailData);

                        $this->initFormData();
                        $this->setStatus("sent");
                        if($this->getVar("redirectSuccess") == ""){
                        wResponse::redirect($this->url);
                        }
                        else{
                        wResponse::redirect(preg_match('/^\?/', $this->getVar("redirectSuccess")) ? preg_replace('/\?.*/', '', $this->url).$this->getVar("redirectSuccess") : $this->getVar("redirectSuccess"));
                        }
                        }
                        else{
                        $this->setStatus("failed");
                        wResponse::redirect($this->url.'#wFormErrorMessages');
                        }
                        ]]></wd:fragment>
          <wd:group id="variables">
            <wd:item id="text" name="Variable" type="formular.variable" uid="cd37e3116cf01346afcbb5f400ebf7bd">
              <wd:fragment id="name" type="char.text">redirectSuccess</wd:fragment>
              <wd:fragment id="value" type="src.standard">?status=sent</wd:fragment>
            </wd:item>
            <wd:item id="text" name="Variable" type="formular.variable" uid="35d46e93bcf9f98af6abad7fe838edd5">
              <wd:fragment id="name" type="char.text">redirectFailed</wd:fragment>
              <wd:fragment id="value" type="src.standard"/>
            </wd:item>
            <wd:item type="formular.variable" uid="00684b2175424a1dcdbe7fa75bf710cf">
              <wd:fragment id="name" type="char.default">dateFormat</wd:fragment>
              <wd:fragment id="value" type="text.select"><![CDATA[dd.mm.yyyy]]></wd:fragment>
              <wd:fragment id="values" type="char.default">dd.mm.yyyy|yyyy-mm-dd|mm/dd/yyyy</wd:fragment>
              <wd:fragment id="info" type="char.default">Datumsformat</wd:fragment>
            </wd:item>
          </wd:group>
          <wd:group id="formular">
            <wd:item id="radio" icon="/wGlobal/wGlobal/layout/images/element-icons/element_radio.gif" name="Schaltknöpfe" type="formular.element.radio" uid="2fc838d3799591e3ec9a65dce075b3ca">
              <wd:fragment id="name" type="char.text">title</wd:fragment>
              <wd:fragment id="label" type="char.text">Anrede</wd:fragment>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text"/>
              <wd:fragment id="options" type="text.standard"><![CDATA[mr|Herr
ms|Frau]]></wd:fragment>
              <wd:fragment id="value" type="text.standard"><![CDATA[]]></wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="className" type="char.text">wglRadioFloat</wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="size" type="char.text"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="displayFull" type="char.default"/>
              <wd:fragment id="hideLabel" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="showLabelIfFull" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            </wd:item>
            <wd:item id="inputDouble" icon="/wGlobal/wGlobal/layout/images/element-icons/element_input_double.gif" name="Zwei einzeilige Eingabefelder" type="formular.element.inputDouble" uid="c7896b09e35e39eb673b34524c3104cd">
              <wd:group name="inputDouble">
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="64768922cdfeb6964d9aa00281014623">
                  <wd:fragment id="name" type="char.text">firstname</wd:fragment>
                  <wd:fragment id="label" type="char.text">Vorname</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text">required</wd:fragment>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text"/>
                  <wd:fragment id="size" type="char.text">S</wd:fragment>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="maxlength" type="char.default"/>
                  <wd:fragment id="className" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="25353b484584a8e780dcd07d2f326fcd">
                  <wd:fragment id="name" type="char.text">lastname</wd:fragment>
                  <wd:fragment id="label" type="char.text">Nachname</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text">required</wd:fragment>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text"/>
                  <wd:fragment id="size" type="char.text">L</wd:fragment>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.default"/>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="maxlength" type="char.default"/>
                  <wd:fragment id="className" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
              </wd:group>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            </wd:item>
            <wd:item id="input" icon="/wGlobal/wGlobal/layout/images/element-icons/element_input.gif" name="Einzeiliges Eingabefeld" type="formular.element.input" uid="8c18af97de11194335011af935774e75">
              <wd:fragment id="name" type="char.text">email</wd:fragment>
              <wd:fragment id="label" type="char.text">E-Mail</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">email</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text"/>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="initialValueHasToBeChanged" type="char.default"/>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.input" uid="153058bf8b2097c3e2c0b5e96ea6708a">
              <wd:fragment id="name" type="char.text">street</wd:fragment>
              <wd:fragment id="label" type="char.text">Strasse</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.inputDouble" uid="e26e4216e01abcd70efc20eb2c8831f4">
              <wd:group name="inputDouble">
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="b59d56b211c621cef3c79fb7fe7f5f2f">
                  <wd:fragment id="name" type="char.text">hausnummer</wd:fragment>
                  <wd:fragment id="label" type="char.text">Hausnummer</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text">pregMatch('^(|[\d\.\,]+)$')</wd:fragment>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
                  <wd:fragment id="maxlength" type="char.text"/>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
                  <wd:fragment id="className" type="char.text"/>
                  <wd:fragment id="size" type="char.text">S</wd:fragment>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="a2fa57d496dc54158ef456d3e411f295">
                  <wd:fragment id="name" type="char.text">hausnummerzusatz</wd:fragment>
                  <wd:fragment id="label" type="char.text">Hausnummerzusatz</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text"/>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
                  <wd:fragment id="maxlength" type="char.text"/>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
                  <wd:fragment id="className" type="char.text"/>
                  <wd:fragment id="size" type="char.text">L</wd:fragment>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
              </wd:group>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.inputDouble" uid="11239adf260b9300fb8e30bc21a2c870">
              <wd:group name="inputDouble">
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="f7dfb7693f6258e147a56f5953eaa3d4">
                  <wd:fragment id="name" type="char.text">zipcode</wd:fragment>
                  <wd:fragment id="label" type="char.text">PLZ</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text">pregMatch('^\d{4,5}$')</wd:fragment>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
                  <wd:fragment id="maxlength" type="char.text"/>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
                  <wd:fragment id="className" type="char.text"/>
                  <wd:fragment id="size" type="char.text">S</wd:fragment>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
                <wd:item id="input" name="Eingabefeld" type="formular.element.input" uid="efe0b84011aeeb8a89bfe80b72e7632f">
                  <wd:fragment id="name" type="char.text">town</wd:fragment>
                  <wd:fragment id="label" type="char.text">Ort</wd:fragment>
                  <wd:fragment id="value" type="char.text"/>
                  <wd:fragment id="validator" type="char.text">required</wd:fragment>
                  <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
                  <wd:fragment id="maxlength" type="char.text"/>
                  <wd:fragment id="errorMessage" type="char.text"/>
                  <wd:fragment id="type" type="char.text">text</wd:fragment>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
                  <wd:fragment id="className" type="char.text"/>
                  <wd:fragment id="size" type="char.text">L</wd:fragment>
                  <wd:fragment id="readonly" type="char.default"/>
                  <wd:fragment id="placeholder" type="char.default"/>
                  <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
                  <wd:fragment id="autofocus" type="char.default"/>
                  <wd:fragment id="validatorStr" type="char.default"/>
                  <wd:fragment id="inputType" type="char.default">text</wd:fragment>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="title" type="char.default"/>
                  <wd:fragment id="httpParamIfEmpty" type="char.default"/>
                  <wd:fragment id="autocapitalize" type="char.default"/>
                  <wd:fragment id="rowClass" type="char.default"/>
                </wd:item>
              </wd:group>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.input" uid="6041d604ebd26868da521688530056d4">
              <wd:fragment id="name" type="char.text">phone</wd:fragment>
              <wd:fragment id="label" type="char.text">Telefonnummer</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.input" uid="26b4d77000e22cb56dcf6089649cdd8e">
              <wd:fragment id="name" type="char.text">verein</wd:fragment>
              <wd:fragment id="label" type="char.text">Firma / Verein / Organisation</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text"/>
              <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.input" uid="7f07fe9cf39804d2502777635c3d2fa8">
              <wd:fragment id="name" type="char.text">abteilung</wd:fragment>
              <wd:fragment id="label" type="char.text">Abteilung</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text"/>
              <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.input" uid="6bba46e5aff1d8f0c6519818452eaa68">
              <wd:fragment id="name" type="char.text">funktion</wd:fragment>
              <wd:fragment id="label" type="char.text">Funktion / Büro</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text"/>
              <wd:fragment id="initialValueHasToBeChanged" type="char.text"/>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.inputDate" uid="698761c8fdbf45e2004e0eda09c49729">
              <wd:fragment id="name" type="char.text">geburt</wd:fragment>
              <wd:fragment id="label" type="char.text">Geburtsdatum</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="startDate" type="char.dateISO">1910-01-01</wd:fragment>
              <wd:fragment id="endDate" type="char.dateISO">today</wd:fragment>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">date</wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">S</wd:fragment>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="adaptInputToThisDate" type="char.default"/>
              <wd:fragment id="format" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="limitSelectedDays" type="char.default"/>
              <wd:fragment id="excludeSelectedDays" type="char.default"/>
              <wd:fragment id="quickSelection" type="char.default"/>
              <wd:fragment id="showInline" type="char.default"/>
              <wd:fragment id="allowManualInput" type="char.default"/>
            <wd:fragment id="placeholderToLabelAfterSelect" type="char.default"/><wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.select" uid="70f51a51577b634322e356db01ee8644">
              <wd:fragment id="name" type="char.text">tariftyp</wd:fragment>
              <wd:fragment id="label" type="char.text">TOR Tariftyp</wd:fragment>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text"/>
              <wd:fragment id="options" type="text.standard"><![CDATA[]]></wd:fragment>
              <wd:fragment id="value" type="text.standard"/>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="size" type="char.text"/>
              <wd:fragment id="hideLabel" type="char.default"/>
              <wd:fragment id="categoriesToSelect" type="src.default"/>
              <wd:fragment id="categoriesToSelectValueSource" type="char.default"/>
              <wd:fragment id="categoriesToSelectSort" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="categoriesToSelectChildsOf" type="char.default"/>
              <wd:fragment id="allowInput" type="char.default"/>
              <wd:fragment id="deepCategories" type="char.default"/>
              <wd:fragment id="optgroupsCategories" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.formSpacer" uid="2e416ce400f177a8b008531e168228e7">
              <wd:fragment id="display" type="char.text"/>
              <wd:fragment id="label" type="text.standard"><![CDATA[Bezeichnung]]></wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text"/>
              <wd:fragment id="text" type="text.standard"><![CDATA[Abstand]]></wd:fragment>
            </wd:item>
            <wd:item type="formular.element.input" uid="f0214def7046bc55a3660e136b210791">
              <wd:fragment id="name" type="char.text">username</wd:fragment>
              <wd:fragment id="label" type="char.text">Benutzername</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text">Bitte geben Sie einen gültigen Benutzernamen (ohne Sonderzeichen) ein!</wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="initialValueHasToBeChanged" type="char.default"/>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="readonly" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="validatorStr" type="char.default"/>
              <wd:fragment id="inputType" type="char.default">text</wd:fragment>
              <wd:fragment id="showLabelIfHasPlaceholder" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="autocapitalize" type="char.default"/>
              <wd:fragment id="httpParamIfEmpty" type="char.default"/>
            <wd:fragment id="autocomplete" type="char.default"/></wd:item><wd:item type="formular.element.inputPwd" uid="f19cf6990f52c1ecac03abed345bfa21">
              <wd:fragment id="name" type="char.text">password</wd:fragment>
              <wd:fragment id="label" type="char.text">Passwort</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">password(8, 'a1')</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text">Das Passwort ist nicht sicher genug. Bitte beachten Sie die unten stehenden Regeln!</wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="showValidationOfPasswordPolicy" type="char.default"/>
              <wd:fragment id="textPasswordPolicyHeadline" type="char.default"/>
              <wd:fragment id="textPasswordPolicyl" type="char.default"/>
              <wd:fragment id="textPasswordPolicya" type="char.default"/>
              <wd:fragment id="textPasswordPolicyA" type="char.default"/>
              <wd:fragment id="textPasswordPolicy1" type="char.default"/>
              <wd:fragment id="textPasswordPolicyDollar" type="char.default"/>
              <wd:fragment id="allowVisiblePassword" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.formText" uid="f6e53840cfa723955f5c207afe5f1671">
              <wd:fragment id="name" type="char.text">element_141151</wd:fragment>
              <wd:fragment id="display" type="char.text"/>
              <wd:fragment id="label" type="text.standard"><![CDATA[]]></wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="className" type="char.text"/>
              <wd:fragment id="text" type="text.standard"><![CDATA[<p>Das Passwort muss mindestens folgende Sicherheitsvorschriften einhalten:<br /><br />Mindestanzahl von Zeichen "8"<br />Kleinbuchstaben müssen enthalten sein "a"<br />Grossbuchstaben müssen enthalten sein "A"<br />Ziffern müssen enthalten sein "1"<br />Sonderzeichen müssen enthalten sein "$"<br /></p>]]></wd:fragment>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="displayFull" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.inputPwd" uid="03836767e64b09b630a839c3277ac7ce">
              <wd:fragment id="name" type="char.text">password_confirmation</wd:fragment>
              <wd:fragment id="label" type="char.text">Passwort Bestätigung</wd:fragment>
              <wd:fragment id="value" type="char.text"/>
              <wd:fragment id="required" type="char.text"/>
              <wd:fragment id="type" type="char.text">text</wd:fragment>
              <wd:fragment id="validator" type="char.text">required</wd:fragment>
              <wd:fragment id="errorMessage" type="char.text"/>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text">elementInput</wd:fragment>
              <wd:fragment id="size" type="char.text">XXL</wd:fragment>
              <wd:fragment id="maxlength" type="char.default"/>
              <wd:fragment id="rowClass" type="char.default"/>
              <wd:fragment id="placeholder" type="char.default"/>
              <wd:fragment id="autofocus" type="char.default"/>
              <wd:fragment id="tabindex" type="char.default"/>
              <wd:fragment id="title" type="char.default"/>
              <wd:fragment id="showValidationOfPasswordPolicy" type="char.default"/>
              <wd:fragment id="textPasswordPolicyHeadline" type="char.default"/>
              <wd:fragment id="textPasswordPolicyl" type="char.default"/>
              <wd:fragment id="textPasswordPolicya" type="char.default"/>
              <wd:fragment id="textPasswordPolicyA" type="char.default"/>
              <wd:fragment id="textPasswordPolicy1" type="char.default"/>
              <wd:fragment id="textPasswordPolicyDollar" type="char.default"/>
              <wd:fragment id="allowVisiblePassword" type="char.default"/>
            </wd:item>
            <wd:item type="formular.element.honeypot" uid="01a7ce41b13e84028c5c3f76a2ae8009">
              <wd:fragment id="name" type="char.text">dyn-subject-of-request</wd:fragment>
              <wd:fragment id="label" type="char.text">Bitte nicht ausfüllen</wd:fragment>
              <wd:fragment id="style" type="char.text"/>
              <wd:fragment id="class" type="char.text"/>
              <wd:fragment id="display" type="char.default"/>
              <wd:fragment id="errorMessage" type="char.default">Bitte lassen Sie das letzte Feld leer!</wd:fragment>
            </wd:item>
            <wd:item id="button" icon="/wGlobal/wGlobal/layout/images/element-icons/element_submitReset.gif" name="Absenden und Zurücksetzen-Schaltflächen" type="formular.element.submitReset" uid="96bc8b10dcea16d4130262370152d910">
              <wd:group name="inputDouble">
                <wd:item id="input" name="Absenden-Schaltfläche" type="formular.element.submit" uid="db7337543d88de6ee2701fb836d77432">
                  <wd:fragment id="name" type="char.text">1000</wd:fragment>
                  <wd:fragment id="icon" type="char.text"/>
                  <wd:fragment id="label" type="char.text">Abschicken</wd:fragment>
                  <wd:fragment id="onclick" type="text.standard"/>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text"/>
                  <wd:fragment id="attributeClass" type="char.default"/>
                  <wd:fragment id="attributeID" type="char.default"/>
                </wd:item>
                <wd:item id="input" name="Zurücksetzen-Schaltfläche" type="formular.element.reset" uid="15719c7b6f229b712191893da7e5d36c">
                  <wd:fragment id="name" type="char.text">2000</wd:fragment>
                  <wd:fragment id="icon" type="char.text"/>
                  <wd:fragment id="label" type="char.text">Löschen</wd:fragment>
                  <wd:fragment id="onclick" type="text.standard"/>
                  <wd:fragment id="style" type="char.text"/>
                  <wd:fragment id="class" type="char.text"/>
                  <wd:fragment id="tabindex" type="char.default"/>
                  <wd:fragment id="attributeClass" type="char.default"/>
                  <wd:fragment id="attributeID" type="char.default"/>
                </wd:item>
              </wd:group>
            </wd:item>
          </wd:group>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="preventAutocomplete" type="char.default"/>
          <wd:fragment id="inlineValidationType" type="char.default"/>
          <wd:fragment id="addValidatorsToHTML" type="char.default"/>
          <wd:fragment id="onlyWithJS" type="char.default"/>
          <wd:fragment id="textOnlyWithJS" type="char.default"/>
          <wd:fragment id="hideErrors" type="char.default"/>
          <wd:fragment id="showInlineValidationAferFailed" type="char.default"/>
        <wd:fragment id="doNotAllowRenderFormToken" type="char.default">0</wd:fragment><wd:fragment id="saveInCsv" type="char.default"/><wd:fragment id="filepathCSV" type="src.default"/></wd:item>
      </wd:group>
      <wd:group id="parameterFalse">
            </wd:group>
    </wd:item>
    <wd:item type="container.conditionalParameter" uid="e9eb82e9ffa5e37124d078f4894832ba">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionParameterName" type="char.default">status</wd:fragment>
      <wd:fragment id="conditionParameterOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionParameterValue" type="char.default">sent</wd:fragment>
      <wd:group id="parameterTrue" name="items">
        <wd:item type="headline.text" uid="053ca2a630353640416b66c71bd82702">
          <wd:fragment id="title" type="char.text">Ihre Registrierung ist fast abgeschlossen</wd:fragment>
          <wd:fragment id="text" type="text.standard"><![CDATA[Ihre Registrierung ist fast abgeschlossen]]></wd:fragment>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="isNavAnchor" type="char.default"/>
          <wd:fragment id="layoutAlign" type="char.default"/>
          <wd:fragment id="layoutColor" type="char.default"/>
          <wd:fragment id="icon" type="src.default"/>
          <wd:fragment id="layoutLevel" type="char.default">auto</wd:fragment>
          <wd:fragment id="layoutSize" type="char.default"/>
        <wd:fragment id="layoutBackgroundColor" type="char.default"/><wd:fragment id="layoutFontWeight" type="char.default"/></wd:item><wd:item id="text" type="text.wysiwyg" uid="f196930a8e8edc8debcac886985a72c6">
          <wd:fragment id="title" type="char.text"/>
          <wd:fragment id="display" type="char.display"/>
          <wd:fragment id="text" type="text.standard"><![CDATA[<p>Sie erhalten in Kürze eine E-Mail, in der Sie die Registrierung noch bestätigen müssen.<br /></p>]]></wd:fragment>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="layoutListStyle" type="char.default"/>
          <wd:fragment id="author" type="char.default"/>
          <wd:fragment id="layoutColor" type="char.default"/>
          <wd:fragment id="layoutSize" type="char.default"/>
        <wd:fragment id="layoutBackgroundColor" type="char.default"/></wd:item>
      </wd:group>
      <wd:group id="parameterFalse">
            </wd:group>
    </wd:item>
    <wd:item type="container.conditionalParameter" uid="ab83370ea9b92189742c8634c9b5e471">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionParameterName" type="char.default">status</wd:fragment>
      <wd:fragment id="conditionParameterOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionParameterValue" type="char.default">confirmRegistration</wd:fragment>
      <wd:group id="parameterTrue" name="items">
        <wd:item type="headline.text" uid="9348f6649ed9da5cd0123ace47469ab9">
          <wd:fragment id="title" type="char.text">Bestätigung Ihrer Registrierung</wd:fragment>
          <wd:fragment id="text" type="text.standard"><![CDATA[Bestätigung Ihrer Registrierung]]></wd:fragment>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="isNavAnchor" type="char.default"/>
          <wd:fragment id="layoutAlign" type="char.default"/>
          <wd:fragment id="layoutColor" type="char.default"/>
          <wd:fragment id="icon" type="src.default"/>
          <wd:fragment id="layoutLevel" type="char.default">auto</wd:fragment>
          <wd:fragment id="layoutSize" type="char.default"/>
        <wd:fragment id="layoutBackgroundColor" type="char.default"/><wd:fragment id="layoutFontWeight" type="char.default"/></wd:item><wd:item type="script.php" uid="2c973f64e6b525aa73535f5845063674">
          <wd:fragment id="title" type="char.text"/>
          <wd:fragment id="display" type="char.display"/>
          <wd:fragment id="text" type="text.standard"><![CDATA[$userName = wRequest::getParameterSecure('user');
                        $optInID  = wRequest::getParameterSecure('optInID');

                        if(wRepository::documentExists('/weblication/grid5/tmp/'.$userName.'_wUserToRegister_'.$optInID.'.xml')){
                        if(!wUsers::userExists($userName)){
                        $userStr = wReadWrite::readFile('/weblication/grid5/tmp/'.$userName.'_wUserToRegister_'.$optInID.'.xml');
                        wUsers::setUserStr($userName, $userStr);
                        if(wPageCur::getVar('hasToActivateUser') == '1'){
                        print '<p>Ihre Registrierung wurde erfolgreich durchgeführt.</p><p><strong>Sie erhalten eine E-Mail, sobald Ihr Benutzer freigeschaltet wurde!</strong></p>';

                        $mailData["emailSystem"]        = wPageCur::getVar('emailSystem');
                        $mailData['emailActivatorUser'] = wPageCur::getVar('emailActivatorUser');
                        $mailData['username']           = $userName;
                        $mailData['firstname']          = wUserData::getData($userName, 'firstname');
                        $mailData['lastname']           = wUserData::getData($userName, 'lastname');
                        $mailData['email']              = wUserData::getData($userName, 'email');
                        $mailData['urlToActivateUser']  = wURL::setParameter(wURL::setParameter(wURL::setParameter(wRequest::getUrl(), 'status', 'activateUser'), 'optInID', ''), 'activationID', wUserData::getData($userName, '/status/@activationID'));
                        wMailer::sendMailStr(wPageCur::getVar('mailStrActivateUser'), $mailData);
                        }
                        else{
                        wUsers::setUserOnline($userName);
                        print 'Ihre Registrierung wurde erfolgreich durchgeführt. Sie können Sich nun anmelden!';
                        }
                        }
                        else{
                        print 'Ihre Registrierung konnte nicht durchgeführt werden.';
                        }
                        }
                        else{
                        print 'Ihre Registrierung konnte nicht abgeschlossen werden. Versuchen Sie es erneut.';
                        }
                        ]]></wd:fragment>
          <wd:fragment id="execution" type="char.default"/>
          <wd:fragment id="showStandardInEditor" type="char.default"/>
        </wd:item>
      </wd:group>
      <wd:group id="parameterFalse">
            </wd:group>
    </wd:item>
    <wd:item type="container.conditionalParameter" uid="1d037652009eba64cd75d4fb6c7edc47">
      <wd:fragment id="title" type="char.text"/>
      <wd:fragment id="display" type="char.display"/>
      <wd:fragment id="conditionParameterName" type="char.default">status</wd:fragment>
      <wd:fragment id="conditionParameterOperator" type="char.default">==</wd:fragment>
      <wd:fragment id="conditionParameterValue" type="char.default">activateUser</wd:fragment>
      <wd:group id="parameterTrue" name="items">
        <wd:item type="headline.text" uid="e04c18853feb6735f9f9013d53181b11">
          <wd:fragment id="title" type="char.text">Benutzer freischalten</wd:fragment>
          <wd:fragment id="text" type="text.standard"><![CDATA[Benutzer freischalten]]></wd:fragment>
          <wd:fragment id="layout" type="char.default">0</wd:fragment>
          <wd:fragment id="isNavAnchor" type="char.default"/>
          <wd:fragment id="layoutAlign" type="char.default"/>
          <wd:fragment id="layoutColor" type="char.default"/>
          <wd:fragment id="icon" type="src.default"/>
          <wd:fragment id="layoutLevel" type="char.default">auto</wd:fragment>
          <wd:fragment id="layoutSize" type="char.default"/>
        <wd:fragment id="layoutBackgroundColor" type="char.default"/><wd:fragment id="layoutFontWeight" type="char.default"/></wd:item><wd:item type="script.php" uid="d3764b26671ad2c4eccdb6676cdaabd7">
          <wd:fragment id="title" type="char.text"/>
          <wd:fragment id="display" type="char.display"/>
          <wd:fragment id="text" type="text.standard"><![CDATA[$userName      = wRequest::getParameterSecure('user');
                        $activationID  = wRequest::getParameterSecure('activationID');
                        if(wUsers::userExists($userName)){
                        if($activationID != '' && $activationID == wUserData::getData($userName, '/status/@activationID')){
                        wUsers::setUserOnline($userName);
                        wUserData::setData($userName, '/status/@activationID', '');

                        print 'Der Benutzer <strong>'.$userName.'</strong> wurde freigeschaltet und per E-Mail über die Freischaltung informiert. Er kann sich nun <a href="/weblication">anmelden</a>.';

                        $mailData["emailSystem"]        = wPageCur::getVar('emailSystem');
                        $mailData['emailActivatedUser'] = wUserData::getData($userName, '/email/@value');
                        $mailData['domain']             = wEnv::getUrlHost();
                        $mailData['username']           = $userName;
                        wMailer::sendMailStr(wPageCur::getVar('mailStrInformAfterActivation'), $mailData);
                        }
                        else{
                        print 'Der Benutzer konnte nicht freigeschaltet werden. Möglicherweise ist er bereits aktiv!';
                        }
                        }
                        else{
                        print 'Der Benutzer existiert nicht!';
                        }
                        ]]></wd:fragment>
          <wd:fragment id="execution" type="char.default"/>
          <wd:fragment id="showStandardInEditor" type="char.default"/>
        </wd:item>
      </wd:group>
      <wd:group id="parameterFalse">
            </wd:group>
    </wd:item>
  </wd:group>
  <wd:group id="content2" name="Inhaltsbereich"/>
  <wd:group id="content3" name="Inhaltsbereich"/>
  <wd:group id="content4" name="Inhaltsbereich"/>
</wd:document>
