Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a logout link in the admin panel


izack1981

Recommended Posts

Hi,

 

Can anyone help me with this?.. My admin panel does not have a logout link. Can i add one manually?.. Is the a contribution for it?..

 

Thanks for any help :rolleyes: :thumbsup:

"I am not a Newbie but I am not an Expert either..."
"Lets learn about osCommerce together!..."
Link to comment
Share on other sites

  • 1 year later...
any suggestion?

 

Did u really w8 ove a year to bump this!!

 

what v osC do you have, its there in the header from rc1, why not use that?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Did u really w8 ove a year to bump this!!

 

what v osC do you have, its there in the header from rc1, why not use that?

 

Thanks for reply Sam. I m using osC 2.2MS2.

"I am not a Newbie but I am not an Expert either..."
"Lets learn about osCommerce together!..."
Link to comment
Share on other sites

I have downloaded the OsC rc1 and I have tried put in the code to the header like this. But it does not display logout link. Did I miss something Sam?

<td class="headerBarContent">  <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>  |  <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a>  |  <a href="http://www.oscommerce.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?></td>
   <td class="headerBarContent" align="right"><?php echo (tep_session_is_registered('admin') ? 'Logged in as: ' . $admin['username']  . ' (<a href="' . tep_href_link(FILENAME_LOGIN, 'action=logoff') . '" class="headerLink">Logoff</a>)' : ''); ?>  </td>

"I am not a Newbie but I am not an Expert either..."
"Lets learn about osCommerce together!..."
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...