View Single Post
  #3  
Old 06-11-2006, 07:43 PM
 
Arms Reach Arms Reach is offline
 

Newbie
  
Join Date: Apr 2006
Posts: 9
 

Default

I've tried that. In doing so, the submit buttons no longer work. Here's how I've reworked the auth.tpl file - I've renamed it to auth_arc.tpl so I can keep both:

Code:
{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 *} {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} {else} {* use_secure_login_page *} <td align="right" valign="middle" class="SideMenuItems" nowrap width="700" height="23"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img]/images/header/menu_register.gif[/img]</td> <td>[img]/images/header/menu_dot.gif[/img]</td> <td>[img]{$ImagesDir}/armsreach/username.gif[/img]</td><td><input type="text" name="username" size="16" value="{#default_login#}" style="font-family: Arial, sans-serif; font-size: 11px; border: #94e26c 1px solid; margin: 0 0 0 0; padding: 0 0 0 3;"></td><td>[img]{$ImagesDir}/spacer.gif[/img]</td><td>[img]{$ImagesDir}/armsreach/password.gif[/img]</td><td><input type="password" name="password" size="16" value="{#default_password#}" style="font-family: Arial, sans-serif; font-size: 11px; border: #94e26c 1px solid; margin: 0 0 0 0; padding: 0 0 0 3;"></td><td><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}">{if $js_enabled}[img]{$ImagesDir}/armsreach/log_in.gif[/img]{else}{include file="buttons/login_menu.tpl"}{/if}</td> </tr> </table> </td>{/if} </form>

I don't know what's missing; is it the capture at the beginning?

Thanks,
Matt[/code]
__________________
X-Cart Gold 4.0.18
Reply With Quote