hi all!
i'm customizing the auth.tpl.. and the little spaces in login box on the right side is really bugging me.. so bad..
you would know what i'm talking about if you see this..
http://ekmomo.com/cart/home.php
and this is my code for auth.tpl
Code:
{* $Id: auth.tpl,v 1.39.2.1 2005/01/11 14:30:09 mclap Exp $ *}
{capture name=menu}
<TABLE border="0" cellpadding="0" cellspacing="0" width="150">
{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">
<INPUT type="hidden" name="{$XCARTSESSNAME}" value="{$XCARTSESSID}">
{if $config.General.use_secure_login_page eq "Y"} {* use_secure_login_page *}
<TR>
<TD width="150" border="0" cellspacing="0" cellpadding="0">
{assign var="slogin_url_add" value=""}
{if $usertype eq "C"}
{assign var="slogin_url" value=$catalogs_secure.customer}
{if $catalogs_secure.customer ne $catalogs.customer}
{assign var="slogin_url_add" value="?`$XCARTSESSNAME`=`$XCARTSESSID`"}
{/if}
{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 width="150" border="0" cellspacing="0" cellpadding="0" align="left">
<table align="left" width="150" border="0" cellspacing="0" cellpadding="0" background="{$ImagesDir}/id_back.gif">
<tr>
<td width="44" height="29" border="0" cellspacing="0" cellpadding="0">[img]{$ImagesDir}/id.gif[/img]</td>
<td width="106" height="29" valign="middle" border="0" cellspacing="0" cellpadding="0">
<INPUT type="text" name="username" size="16" value="{#default_login#}"></td>
</tr>
<tr>
<td width="44" height="32" border="0" cellspacing="0" cellpadding="0">[img]{$ImagesDir}/pass.gif[/img]</td>
<td width="106" height="32" valign="top" border="0" cellspacing="0" cellpadding="0">
<INPUT type="password" name="password" size="16" value="{#default_password#}"></td>
</tr>
<tr>
<td colspan="2" width="150" border="0" cellspacing="0" cellpadding="0" >
<INPUT type="hidden" name="mode" value="login">
{if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"}
<INPUT type="hidden" name="usertype" value="P">
{else}
<INPUT type="hidden" name="usertype" value="{$usertype}">
{/if}
<INPUT type="hidden" name="redirect" value="{$redirect}">
</td></tr>
</table>
</TD></TR>
<TR>
<TD width="150" border="0" cellspacing="0" cellpadding="0" height="26">
<table width="150" border="0" cellspacing="0" cellpadding="0" height="26">
<tr>
<td width="44" border="0" cellspacing="0" cellpadding="0" height="26">
[img]{$ImagesDir}/login_left.gif[/img]
</td>
<td width="43" border="0" cellspacing="0" cellpadding="0" height="26">
{if $js_enabled}
{include file="buttons/login_menu.tpl"}
{else}
{include file="buttons/login_menu.tpl"}
{/if}
</td>
{/if} {* use_secure_login_page *}
<td width="63" border="0" cellspacing="0" cellpadding="0" height="26">
{if $usertype eq "C" or ($usertype eq "B" and $config.XAffiliate.partner_register eq "Y")}
{include file="buttons/create_profile_menu.tpl"}
{/if}
</td>
</tr>
<tr>
<td colspan="3" width="150" border="0" cellspacing="0" cellpadding="0" height="21" background="{$ImagesDir}/login_bottom.gif">
{if $login eq ""}
{$lng.lbl_recover_password}
{/if}</td></tr>
</table>
</TD>
</TR>
{if $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"}
<TR>
<TD width="150" border="0" cellspacing="0" cellpadding="0" class="VertMenuItems">
<DIV align="left">
{$lng.lbl_insecure_login}
</DIV>
</TD>
</TR>
{/if}
{if $usertype eq "C"}
<TR>
<TD width="150" border="0" cellspacing="0" cellpadding="0" class="VertMenuItems" align="right">
{if $js_enabled}
{$lng.txt_javascript_disabled}
{else}
{$lng.txt_javascript_enabled}
{/if}
</TD>
</TR>
{/if}
</FORM>
</TABLE>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_login.gif" menu_content=$smarty.capture.menu }
Please help me to get rid of those spaces.. anyone..
thanks.!!