Commit 65a6196c authored by pixeldesu's avatar pixeldesu
Browse files

inbox now directly shows up in navbar

parent 807140c2
......@@ -13,12 +13,14 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
{if="$logged_in"}<li><a href="ucp.php">Inbox {if="$inbox_count > 0"}<span class="badge">{$inbox_count}</span>{/if}</a></li>{/if}
</ul>
<ul class="nav navbar-nav navbar-right">
{if="$logged_in"}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{$user_name}<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="ucp.php">Inbox{if="$inbox_count > 0"} ({$inbox_count}){/if}</a></li>
<li><a href="ucp.php?page=settings">Settings</a></li>
<li class="divider"></li>
<li><a href="ucp.php?page=logout">Logout</a></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment