Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (! Mage::getSingleton('customer/session')->isLoggedIn()): ?>
- <a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>"><?php echo $this->__('Login') ?></a>
- <?php else: ?>
- <a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo $this->__('Logout') ?></a>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment