This commit is contained in:
parent
463343df24
commit
bc14bb53e1
|
@ -40,8 +40,16 @@
|
|||
<a href="/about">关于我们</a>
|
||||
</li>
|
||||
</ul>
|
||||
<a href="/account/register" id="register">注册</a>
|
||||
<a href="/account/login" id="login">登录</a>
|
||||
<?php
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if($auth->hasIdentity())
|
||||
{
|
||||
echo '<a href="/data/order">数据篮</a></li>';
|
||||
} else {
|
||||
echo '<a href="/account/login" id="login">登录</a>';
|
||||
} ?>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in New Issue