35 lines
1.5 KiB
PHTML
Executable File
35 lines
1.5 KiB
PHTML
Executable File
<div class="masthead">
|
|
<div class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
<button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav" id="mainmenu">
|
|
<!-- CSS Tabs -->
|
|
<li><a href="/"><span>前台</span></a></li>
|
|
<li><a href="/admin"><span>后台首页</span></a></li>
|
|
<li><a href="/admin/data"><span>数据管理</span></a></li>
|
|
<li><a href="/admin/down"><span>申请管理</span></a></li>
|
|
<li><a href="/admin/user"><span>用户管理</span></a></li>
|
|
<li><a href="/admin/review"><span>元数据评审</span></a></li>
|
|
<li><a href="/admin/news"><span>新闻中心</span></a></li>
|
|
<li><a href="/admin/stat"><span>统计数据</span></a></li>
|
|
<li><a href="/admin/sys"><span>系统管理</span></a></li>
|
|
</ul>
|
|
<p class="navbar-text pull-right hidden-xs hidden-sm">
|
|
<?php
|
|
$auth = Zend_Auth::getInstance();
|
|
if($auth->hasIdentity()) {
|
|
$user = $auth->getIdentity();
|
|
echo '<a href="/account/edit"><span class="glyphicon glyphicon-user"></span> '.$user->username.'</a>
|
|
<a href="/account/logout"><span class="glyphicon glyphicon-off"></span> 注销</a>';
|
|
}
|
|
?>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div><!-- /.navbar -->
|
|
</div>
|