Add separators to header.

This commit is contained in:
reed%reedloden.com 2006-10-11 03:04:35 +00:00
parent fae8c258e4
commit 69376fccbd

View File

@ -1,9 +1,7 @@
<?php if(!isset($_SESSION['User'])): ?>
<strong>Welcome, Guest!</strong>
<a href="<?php echo $html->url('/users/login'); ?>">Login</a>
<a href="<?php echo $html->url('/users/register'); ?>">Register</a>
<a href="<?php echo $html->url('/users/login'); ?>">Login</a> | <a href="<?php echo $html->url('/users/register'); ?>">Register</a>
<?php else: ?>
<strong>Welcome, <?php echo $_SESSION['User']['name']; ?>!</strong>
<a href="<?php echo $html->url('/users'); ?>">My Account</a>
<a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
<?php endif; ?>
<a href="<?php echo $html->url('/users'); ?>">My Account</a> | <a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
<?php endif; ?>