nach langer Zeit muss ich mich notgedrungen mal wieder mit einer kleinen Frage an euch wenden. Diesmal geht es um die profiledit.htm, die ich ein wenig umstrukturiert habe.
Ansich klappt die auch ganz gut, nur mit der kleinen Einschränkung, dass wenn man sein Profil geändert hat und auf "Speichern" klickt die Meldung "Bitte die eMail bestätigen" anstatt "erfolgreich geändert" kommt. Daraus resultiert ebenfalls, dass man jedesmal eine E-Mail erhält, in der die angebliche E-Mail-Änderung bestätigt werden soll.
Nun frag ich mich, wo in der profil_edit.htm der kleine feine Fehler steckt. Vielleicht kann mir einer von euch da weiterhelfen.
Die htm sieht folgendermaßen aus:
<script type="text/javascript"> <!-- function showhide(name) { var menge = 3; var i = 1; while(menge >= i){ var e = document.getElementById('aF00'+i); e.style.display = 'none'; i++; } var e = document.getElementById(name); e.style.display = 'block'; } --> </script> <form action="index.php?user-profil" method="POST" enctype="multipart/form-data"> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="33%"> <span style="padding-bottom:10px;display:block;"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF001')"><span class="normalheadline_strong">» {_lang_Profildaten}</span></a> </td> <td width="33%"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF002')"><span class="normalheadline_strong">» {_lang_Forumdaten}</span></a> </td> <td width="33%"> <a title="Anzeigen/Verstecken" href="javascript:showhide('aF003')"><span class="normalheadline_strong">» {_lang_Accountdaten}</span></a> </tr> </table> <div style="display:block;" id="aF001"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Profildaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Profilbild}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {userbild} </td> <td width="60%"> <span class="normalfont_strongunderline">{_lang_Es} {_lang_gilt} {_lang_zu} {_lang_beachten}:</span> <p> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Breite} {_lang_beträgt} {Fabreite}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Höhe} {_lang_beträgt} {Fahohe}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Größe} {_lang_beträgt} {Fasize} bytes</span> </p> <span class="normalfont_strong">⇒ {_lang_sonst} {_lang_keine} {_lang_Aktion} !!!</span> </td> <tr> <td width="40%"> {_lang_Profilbild} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="userpictloeschen" /> </td> </tr> <tr> <td width="40%"> {_lang_Profilbild} {_lang_hochladen}? </td> <td width="60%"> <input style="margin-bottom:2px;" type="file" name="userpictfile" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Grunddaten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Clantag} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clantag" value="{clantag}" /> <br style="clear:both;" /> </td> <tr> <td width="40%"> {_lang_Clanname} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clanname" value="{clanname}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Clan-Page} </td> <td width="60%"> <input style="margin-bottom:2px;" name="clanpage" value="{clanpage}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Status} </td> <td width="60%"> <input id="status_aktiv" type="radio" value="1" name="status" {status1} /><label for="status_aktiv"> {_lang_aktiv}</label> <input id="status_inaktiv" type="radio" value="0" name="status" {status0} /><label for="status_inaktiv"> {_lang_inaktiv}</label> <br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Persönliche} {_lang_Daten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Vorname} </td> <td width="60%"> <input style="margin-bottom:2px;" name="realname" value="{realname}" /> <br style="clear:both;" /> </td> <tr> <td width="40%"> {_lang_Geschlecht} </td> <td width="60%"> <input style="margin-bottom:2px;" type="radio" value="1" id="geschlecht1" name="geschlecht" {geschlecht1} /><label for="geschlecht1"> {_lang_männlich}</label> <input id="geschlecht2" type="radio" value="2" name="geschlecht" {geschlecht2} /><label for="geschlecht2"> {_lang_weiblich}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Geburtsdatum} </td> <td width="60%"> <input style="margin-bottom:2px;" name="gebdatum" value="{gebdatum}" /> <span class="smallfont_strong"> (Format: JJJJ-MM-TT)</span> </td> </tr> <tr> <td width="40%"> {_lang_Wohnort} </td> <td width="60%"> <input style="margin-bottom:2px;" name="wohnort" value="{wohnort}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Bundesland} </td> <td width="60%"> <select style="margin-bottom:2px;" name="province">{_list_province@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Land} </td> <td width="60%"> <select style="margin-bottom:2px;" name="land">{_list_land@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Nationalität} </td> <td width="60%"> <select style="margin-bottom:2px;" name="staat">{_list_staat@<option%1 value="%2">%3</option>}</select> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Beruf} </td> <td width="60%"> <input style="margin-bottom:2px;" name="beruf" value="{beruf}" /> <br style="clear:both;" /> </td> </tr> {_if_{forum_usergallery}=='1'} <tr> <td width="40%"> {_lang_Benutzergallerie} </td> <td width="60%"> <a href="index.php?user-usergallery-{uid}">bearbeiten</a> <a href="index.php?user-remove"/></a> <br style="clear:both;" /> </td> </tr> {/_endif} </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Kontaktdaten}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_E-Mail} </td> <td width="60%"> <input style="margin-bottom:2px;" name="email" value="{email}" /><input type="hidden" name="email" value="{email}" /> <span class="smallfont_strong">({_lang_muss} {_lang_per} {_lang_E-Mail} {_lang_bestätigt} {_lang_werden})</span> </td> <tr> <td width="40%"> {_lang_E-Mail-Erhalt}? </td> <td width="60%"> <input id="opt_mail1" type="radio" value="1" name="opt_mail" {opt_mail1} /><label for="opt_mail1"> {_lang_aktiviert}</label> <input id="opt_mail0" type="radio" value="0" name="opt_mail" {opt_mail0} /><label for="opt_mail0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Private Messages-Erhalt}? </td> <td width="60%"> <input id="opt_pm1" type="radio" value="1" name="opt_pm" {opt_pm1} /><label for="opt_pm1"> {_lang_aktiviert}</label> <input id="opt_pm0" type="radio" value="0" name="opt_pm" {opt_pm0} /><label for="opt_pm0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Pop Up} {_lang_bei} {_lang_Private Messages-Erhalt}? </td> <td width="60%"> <input id="opt_pm_popup1" type="radio" value="1" name="opt_pm_popup" {opt_pm_popup1} /><label for="opt_pm_popup1"> {_lang_aktiviert}</label> <input id="opt_pm_popup0" type="radio" value="0" name="opt_pm_popup" {opt_pm_popup0} /><label for="opt_pm_popup0"> {_lang_deaktiviert}</label> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_ICQ} </td> <td width="60%"> <input style="margin-bottom:2px;" name="icq" value="{icq}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_MSN} </td> <td width="60%"> <input style="margin-bottom:2px;" name="msn" value="{msn}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_Skype} </td> <td width="60%"> <input style="margin-bottom:2px;" name="skype" value="{skype}" /> <span class="smallfont_strong">({_lang_nur} {_lang_eintragen} {_lang_falls} {_lang_vorhanden})</span> </td> </tr> <tr> <td width="40%"> {_lang_Xfire} </td> <td width="60%"> <input style="margin-bottom:2px;" name="xfire" value="{xfire}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> <tr> <td width="40%"> {_lang_private} {_lang_Homepage} </td> <td width="60%"> <input style="margin-bottom:2px;" name="homepage" value="{homepage}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Steam} {_lang_Community} </td> <td width="60%"> <input style="margin-bottom:2px;" name="steam2" value="{steam2}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> <tr> <td width="40%"> {_lang_ESL} </td> <td width="60%"> <input style="margin-bottom:2px;" name="esl" value="{esl}" /> <span class="smallfont_strong">({_lang_Bitte} {_lang_kompletten} {_lang_Link} {_lang_angeben})</span> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Game}-{_lang_Equipment}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Prozessor} </td> <td width="60%"> <input style="margin-bottom:2px;" name="cpu" value="{cpu}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Arbeitsspeicher} </td> <td width="60%"> <input style="margin-bottom:2px;" name="ram" value="{ram}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Grafikkarte} </td> <td width="60%"> <input style="margin-bottom:2px;" name="graka" value="{graka}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Monitor} </td> <td width="60%"> <input style="margin-bottom:2px;" name="monitor" value="{monitor}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Tastatur} </td> <td width="60%"> <input style="margin-bottom:2px;" name="keyboard" value="{keyboard}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Maus} </td> <td width="60%"> <input style="margin-bottom:2px;" name="mouse" value="{mouse}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Unterlage} </td> <td width="60%"> <input style="margin-bottom:2px;" name="pad" value="{pad}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Headset} </td> <td width="60%"> <input style="margin-bottom:2px;" name="headset" value="{headset}" /> <br style="clear:both;" /> </td> </tr> <tr> <td width="40%"> {_lang_Internetverbindung} </td> <td width="60%"> <input style="margin-bottom:2px;" name="internet" value="{internet}" /> <br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Playercards}</legend> <fieldset> <legend class ="normalfont_strong">{_lang_CSS}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Ingame}-{_lang_Name} </td> <td width="60%"> <input style="margin-bottom:2px;" name="ingame" value="{ingame}" /> </td> </tr> <tr> <td width="40%"> {_lang_Steam}-{_lang_ID} </td> <td width="60%"> <input style="margin-bottom:2px;" name="steam1" value="{steam1}" /> </td> </tr> </table> </fieldset> </fieldset> </div> <div style="display:none;" id="aF002"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Forumdaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Avatar} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {avatarbild} </td> <td width="60%"> <span class="normalfont_strongunderline">{_lang_Es} {_lang_gilt} {_lang_zu} {_lang_beachten}:</span> <p> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Breite} {_lang_beträgt} {Fabreite}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Höhe} {_lang_beträgt} {Fahohe}px</span> <span class="normalfont_strong">• {_lang_die} {_lang_maximale} {_lang_Größe} {_lang_beträgt} {Fasize} bytes</span> </p> <span class="normalfont_strong">⇒ {_lang_sonst} {_lang_keine} {_lang_Aktion} !!!</span> </td> </tr> <tr> <td width="40%"> {_lang_Avatar} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="avatarloeschen" /> </td> </tr> <tr> <td width="40%"> {_lang_Avatar} {_lang_hochladen}? </td> <td width="60%"> <input style="margin-bottom:2px;" type="file" name="avatarfile" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Signatur} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="100%"> <p> <span class="normalfont_strong">• {_lang_maximal} {_lang_sind} {forum_max_sig} {_lang_Zeichen} {_lang_erlaubt}</span> <span class="normalfont_strong">• {_lang_die} {_lang_Verwendung} {_lang_von} {_lang_BB}{_lang_Code} {_lang_ist} {_lang_möglich}</font> </p> </td> </tr> <tr> <td width="100%"> <textarea style="margin-bottom:2px;" cols="95" rows="6" name="sig">{sig}</textarea><br /> </td> </tr> </table> </fieldset> </fieldset> </div> <div style="display:none;" id="aF003"> <fieldset> <legend class ="bigfont_strongunderline">{_lang_Accountdaten}</legend> <br /> <fieldset> <legend class ="bigfont_strong">{_lang_Design} {_lang_ändern}</legend> <table width="100%" border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Design} {_lang_auswählen} </td> <td width="60%"> <select style="margin-bottom:2px;" name="template">{_list_template@<option%1 value="%2">%3</option>}</select><br style="clear:both;" /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Passwort} {_lang_ändern}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_aktuelles} {_lang_Passwort} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="op" maxlength="20"><br /> </td> </tr> <tr> <td width="40%"> {_lang_neues} {_lang_Passwort} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="np1" maxlength="20"><br /> </td> </tr> <tr> <td width="40%"> {_lang_neues} {_lang_Passwort} {_lang_wiederholen} </td> <td width="60%"> <input style="margin-bottom:2px;" type="password" name="np2" maxlength="20"><br /> </td> </tr> </table> </fieldset> <fieldset> <legend class ="bigfont_strong">{_lang_Account} {_lang_löschen}</legend> <table width="100%"t border="0" cellspacing="0"> <tr> <td width="40%"> {_lang_Account} {_lang_löschen}? </td> <td width="60%"> <input type="checkbox" value="yes" name="removeaccount" /> <span class="smallfont_strong">({_lang_muss} {_lang_per} {_lang_E-Mail} {_lang_bestätigt} {_lang_werden})</span> </td> </tr> </table> </fieldset> </fieldset> </div> <table width="100%"t border="0" cellspacing="0"> <tr> <td colspan="3" align="center"> <input style="margin-bottom:2px;" type="submit" value="{_lang_Speichern}" name="submit"> </td> </tr> </table> </form>
betroffene Homepage: externer Link