View Single Post
  #33  
Old 08-05-2005, 07:41 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Here is the code that I have embedded within the Listed TLP files; It might make it easier to view my problem. Thanks for the help.

Login.tpl
index.tpl
auth_mod.tpl
menu_profile_mod.tpl
authbox_mod.tpl


Login.tpl

{* $Id: Login.tpl,v 1.0 2004/11/14 16:03:50 mclap Exp $ *}
{$lng.txt_login_header_1}
{capture name=dialog}
{if $login eq "" }
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR><TD>{$lng.txt_login_header_2}</TD></TR>
<TR>
<TD>{ include file="auth_mod.tpl" }</TD>
</TR>
</TABLE>
{else}
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">

<TR>
<TD width="50%">{ include file="menu_profile_mod.tpl" }</TD>
<TD width="50%">{ include file="authbox_mod.tpl" }</TD>
</TR></TABLE>
{/if}
{/capture}

{include file="dialog.tpl" title=$lng.lbl_login_account content=$smarty.capture.dialog extra="width=100%"}

index.tpl

{* $Id: index.tpl,v 1.6 2004/03/16 10:43:08 svowl Exp $ *}
{include file="page_title.tpl" title=$lng.lbl_help_zone}

{if $section eq "Login"}
{include file="help/Login.tpl"}

{elseif $section eq "Login_message"}
{include file="help/Login_message.tpl"}

{elseif $section eq "Login_error"}
{include file="help/Login.tpl"}

{elseif $section eq "Password_Recovery"}
{include file="help/Password_Recovery.tpl"}

{elseif $section eq "Password_Recovery_message"}
{include file="help/Password_Recovery_message.tpl"}

{elseif $section eq "Password_Recovery_error"}
{include file="help/Password_Recovery.tpl"}

{elseif $section eq "FAQ"}
{include file="help/FAQ_HTML.tpl"}

{elseif $section eq "contactus"}
{include file="help/contactus.tpl"}

{elseif $section eq "about"}
{include file="help/about.tpl"}

{elseif $section eq "business"}
{include file="help/business.tpl"}

{elseif $section eq "conditions"}
{include file="help/conditions.tpl"}

{elseif $section eq "publicity"}
{include file="help/publicity.tpl"}

{else}
{include file="help/general.tpl"}
{/if}

auth_mod.tpl

{* $Id: auth_mod.tpl,v 1.39 2004/06/28 11:38:38 mclap Exp $ *}
{capture name=menu}
<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
{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>
{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>

<TABLE width="100%" border="0" align="right">
<TR><TD align="right">{$lng.lbl_username}</TD><TD align="left"><INPUT type="text" name="username" size="16" value="{#default_login#}"></TD></TR>

<TR><TD align="right">{$lng.lbl_password}</TD><TD align="left"><INPUT type="password" name="password" size="16" value="{#default_password#}">
<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>

<TR>
<TD height="50"></TD>
<TD height="50" align="left">



{if $js_enabled}
{include file="buttons/login_menu.tpl"}[img]{$ImagesDir}/resources/dot_clear.gif[/img]{else}
{include file="buttons/login_menu.tpl"}
{/if}
{/if} {* use_secure_login_page *}
{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>

{if $login eq ""}
<TR>
<TD></TD>
<TD height="24" nowrap align="left">
{$lng.lbl_recover_password}
</TD>
</TR>
{/if}
</TD></TR></TABLE>

{if $usertype eq "P" and $active_modules.Simple_Mode eq "Y" or $usertype eq "A"}

<TR>
<TD colspan="2">


<DIV align="left">{$lng.lbl_insecure_login}
</DIV>
</TD>
</TR>

{/if}
{if $usertype eq "C"}
<TR>
<TD align="right" colspan="2">


{if $js_enabled}
{$lng.txt_javascript_disabled}
{else}
{$lng.txt_javascript_enabled}
{/if}
</TD>
</TR>
{/if}
</FORM>
</TABLE>
{/capture}
{ include file="menu_mod.tpl" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu }

menu_profile_mod.tpl

{* $Id: menu_profile_mod.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
<TABLE width="85%" align="center" border="0">
<TR><TD>
{include file="buttons/button_vunc.tpl" button_title=$lng.lbl_modify_details href="register.php?mode=update"}

{$lng.txt_menu_profile_option1}


{include file="buttons/button_vunc.tpl" button_title=$lng.lbl_delete_profile href="register.php?mode=delete"}

{$lng.txt_menu_profile_option2}


{if ($usertype eq 'A' || ($usertype eq 'P' && $active_modules.Simple_Mode)) && $is_merchant_password eq 'Y'}
{$lng.lbl_change_mpassword}

{/if}
{if $usertype eq "C"}
{include file="buttons/button_vunc.tpl" button_title=$lng.lbl_orders_history href="orders.php"}

{$lng.txt_menu_profile_option3}


{if $user_subscription ne ""}
{include file="modules/Subscriptions/subscriptions_menu.tpl"}</A>

{/if}
{/if}
</TD></TR></TABLE>
{/capture}
{ include file="menu_mod.tpl" menu_title=$lng.lbl_your_profile menu_content=$smarty.capture.menu }

authbox_mod.tpl

{* $Id: authbox_mod.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<FORM action="{$xcart_web_dir}/include/login.php" method="post" name="loginform">
<TR>
<TD></TD>
<TD valign="top">
<h1>{$login}{$lng.txt_logged_in}</h1>


{if $js_enabled}
{include file="buttons/logout_menu.tpl"}


{else}
{include file="buttons/logout_menu.tpl"}


{/if}


</TD>
</TR>
{if $usertype eq "C"}
<TR>
<TD colspan="2" align="right">


{if $js_enabled}
{$lng.txt_javascript_disabled}
{else}
{$lng.txt_javascript_enabled}
{/if}
</TD>
</TR>
{/if}
<INPUT type="hidden" name="mode" value="logout">
<INPUT type="hidden" name="redirect" value="{$redirect}">
</FORM>
</TABLE>
{/capture}

{include file="menu_mod.tpl" menu_title=$lng.lbl_authentication menu_content=$smarty.capture.menu}


__________________
x-cart 4.0.16v
linux server
Reply With Quote