This commit is contained in:
avene 2018-06-23 21:11:31 +08:00
parent a4932e2b0a
commit 51515bee3e
1 changed files with 8 additions and 5 deletions

View File

@ -18,7 +18,8 @@
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid" style="padding-left: 0;">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#example-navbar-collapse">
<span class="sr-only">切换导航</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@ -33,6 +34,9 @@
<li>
<a href="/data">数据服务</a>
</li>
<li>
<a href="/map">地图</a>
</li>
<li>
<a href="/archives/news/localnews">新闻动态</a>
</li>
@ -42,8 +46,7 @@
</ul>
<?php
$auth = Zend_Auth::getInstance();
if($auth->hasIdentity())
{
if ($auth->hasIdentity()) {
echo '<a href="/data/order">数据篮</a></li>';
} else {
echo '<a href="/account/login" id="login">登录</a>';