View Single Post
  #11  
Old 07-18-2009, 12:28 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Redesign of site with CSS - new folder?

Okay, auth.tpl has this line at the bottom:

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

and menu.tpl has this part:

<tr><td>{$menu_content}<br /></td></tr>

but I can't work out where to find $smarty.capture.menu, which I presume contains the URL that the login arrow goes to. Should I be looking in a .php file for this? It's been over a year since I last edited the site in this depth, I'm afraid.


EDIT:
At the top of auth.tpl, I found this:

<form action="{$form_url}/include/login.php" method="post" name="authform">

so that must be where I need to look!

EDIT:

I think it might be this part of /include/login.php:

switch ($redirect) {
case "admin":
$redirect_to = DIR_ADMIN;
$current_type = 'A';
break;


But I'm not sure where the DIR_ADMIN variable is.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote