Here is the code for my header
and the code for auth.tpl
Code:
{* $Id: auth.tpl,v 1.28.2.4 2004/01/21 12:21:57 mclap Exp $ *}
{capture name=menu}
<TABLE border=0 cellPadding=0 cellSpacing=0 width=100%>
<td>
{if $config.General.use_https_login eq "Y"}
{assign var="form_url" value=$https_location}
{else}
{assign var="form_url" value=$current_location}
{/if}
<FORM action="{$form_url}/include/login.php" method=post name=authform>
{if $config.General.use_secure_login_page eq "Y"} {* use_secure_login_page *}
<tr>
<td>
{if $usertype eq "C"}
{assign var="slogin_url" value=$catalogs_secure.customer}
{elseif $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"}
{assign var="slogin_url" value=$catalogs_secure.admin}
{elseif $usertype eq "P"}
{assign var="slogin_url" value=$catalogs_secure.provider}
{elseif $usertype eq "B"}
{assign var="slogin_url" value=$catalogs_secure.partner}
{/if}
{include file="buttons/secure_login.tpl"}
</td>
</tr>
{else} {* use_secure_login_page *}
<tr>
<td class=VertMenuItems>
<font class=VertMenuItems>{$lng.lbl_username}</font><input type=text name=username size=16>
<font class=VertMenuItems>{$lng.lbl_password}</font><input type=password name=password size=16>
{if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"}
{else}
{/if}
{if $js_enabled}
{include file="buttons/login_menu.tpl"}
{else}
{include file="buttons/login_menu.tpl"}
{/if}{/if} {* use_secure_login_page *}
{if $usertype eq "C" or ($usertype eq "B" and $config.Modules.partner_register eq "Y")}
{include file="buttons/create_profile_menu.tpl"}
</td></tr>
<tr>
<td height=24 class=VertMenuItems>
{/if}
{if $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"}
</td>
</tr>
{$lng.lbl_insecure_login}
<tr>
<td height=24 nowrap class=VertMenuItems>
{/if}
{if $usertype eq "C"}
</td>
</tr>
{if $js_enabled}
{$lng.txt_javascript_disabled}
{else}
{$lng.txt_javascript_enabled}
{/if}
<td>
{/if}
</form>
</table>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_authentification.gif" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu }
Anybody see anything wrong?