mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
Add separators to header.
This commit is contained in:
parent
fae8c258e4
commit
69376fccbd
@ -1,9 +1,7 @@
|
|||||||
<?php if(!isset($_SESSION['User'])): ?>
|
<?php if(!isset($_SESSION['User'])): ?>
|
||||||
<strong>Welcome, Guest!</strong>
|
<strong>Welcome, Guest!</strong>
|
||||||
<a href="<?php echo $html->url('/users/login'); ?>">Login</a>
|
<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/register'); ?>">Register</a>
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<strong>Welcome, <?php echo $_SESSION['User']['name']; ?>!</strong>
|
<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'); ?>">My Account</a> | <a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
|
||||||
<a href="<?php echo $html->url('/users/logout'); ?>">Logout</a>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user