Hallo!
Ich habe folgendes Script (typo3.org Anmeldung) in meiner Seite eingebaut. Funktioniert alles prima, aber die Sprache wird nicht übergeben. hidden Feld habe ich eingebaut aber schon alles mögliche probiert die VAriable rein zu bekommen. Leider ohne Erfolg! :-(
#Wenn eine Anmeldung erfolgt ist, wird der folgende Part angezeigt
[usergroup = *]
temp.LoginForm = TEXT
temp.LoginForm.data = TSFE : id
temp.LoginForm.wrap (
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="index.php?id= | " method="post">
<tr>
<td width=12 height="10"><img src="fileadmin/template/images/sub-arrow.gif" width="12" height="8"></td>
<td class="box-desc"><b><!--###USERNAME###--></b> ist angemeldet</td>
</tr>
<tr>
<td><img src="fileadmin/template/images/s.gif" width="1" height="2"></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="submit" name="senden" value="abmelden" class="box-frmbttnbig"><input type="hidden" name="logintype" value="logout"></td>
</tr>
</form>
</table>
)
#Ansonsten wird der [else] Zweig angezeigt
[else]
temp.LoginForm = TEXT
temp.LoginForm.data = TSFE : id
temp.LoginForm.wrap (
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form action="index.php?id=77" method="post">
<tr>
<td><img src="images/s.gif" width="1" height="5"></td>
</tr>
<tr>
<td width=12 height="10"><img src="fileadmin/template/images/s.gif" width="1" height="1"></td>
<td width=60 class="box-desc">Benutzername</td>
<td width=100%><input type="text" name="user" id="username" class="box-frm" onfocus="if (this.value==this.defaultValue) this.value=''" value=""></td>
</tr>
<tr>
<td width=12 height="10"><img src="fileadmin/template/images/s.gif" width="1" height="1"></td>
<td width=60 class="box-desc">Passwort<font color="#FFFFFF">_</font></td>
<td width=100%><input type="password" name="pass" id="pwfield" class="box-frm" onfocus="if (this.value==this.defaultValue) this.value=''" value=""></td>
</tr>
<tr>
<td colspan="3"><img src="fileadmin/template/images/s.gif" width="1" height="2"></td>
</tr>
<tr>
<td colspan="3">
<div align="right"><input type="submit" name="Abschicken" value="OK" class="box-frmbttn"></div></td>
<input type="hidden" name="redirect_url" value="index.php?id= | " />
<input type="hidden" name="L" value="hier_soll_der_wert_uebergeben_werden" />
</tr>
<input type="hidden" name="logintype" value="login">
<input type="hidden" name="pid" value="76">
</form>
</table>
)
[global]
Vielen Dank vorab!
Chris