Seite 1 von 1

Login fehler duch Code schnippsel

Verfasst: 16.06.2006 00:33
von Malz
Hallo

Ich habe eine Sucheleiste auf dem Foren Index plaziert nun habe ich das Problem das wenn ich mich mit dem IE anmelden möchte er mich auf die search.php statt in den Index wirft, aber ohne mich eingeloggt zu haben.
Der fehler muss irgendwo in diesem Code schnippsel aus der Overall_header.tpl liegen.

Code: Alles auswählen

		</tr>
		</table></td>
	</tr>
	<tr height="20">
		<td align="center" valign="middle" width="100%" height="20"><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="1" height="18" border="0" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
  <tr>
    <td style="vertical-align:top;">
      <table width="100%" cellpadding="2" cellspacing="1">
<tr>
	     <th width="126px" cellspacing="2" cellpadding="2" class="thCornerL" height="25" nowrap="nowrap">Suchen</th>  
</tr>
<form method="post" action="search.php?mode=results">
<input type="hidden" name="show_results" value="topics">
<input type="hidden" name="search_terms" value="any">
<input type="hidden" name="search_fields" value="all">
<table border="0" cellspacing="0" cellpadding="10" width="100%">
<tr>
	  <td align="leftt" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall">{S_FORUM_LIST}&nbsp;{L_SEARCH_FOR}: </span><input class="liteoption" type="text" name="search_keywords" value="" size="20" maxlength="150" />&nbsp;<input type="submit" value="Los" alt="{L_SUBMIT_SEARCH}" class="liteoption" /><br /><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
<tr>
	     <th width="126px" cellspacing="2" cellpadding="2" class="thCornerL" height="25"</th>  
</tr>
</table
</form>
<br />
<table border="0" cellspacing="0" cellpadding="10" width="100%">
<tr>

	<td align="center" valign="top">
Vielleicht kann mir ja jemand helfen :)

Verfasst: 16.06.2006 01:08
von cback
Hi,

Du hast den Formulartag nicht abgeschlossen, es fehlt also ein </form> nach dem Submit Button des Suchfeldes, also unmittelbar nach

Code: Alles auswählen

<input type="submit" value="Los" alt="{L_SUBMIT_SEARCH}" class="liteoption" /><br />

ein

Code: Alles auswählen

</form>

einfügen, das sollte Dein Problem lösen.

Verfasst: 16.06.2006 01:15
von Malz
Danke dir vielmals :)

Verfasst: 16.06.2006 01:15
von cback
Kein Problem. :)