管理菜单修复
This commit is contained in:
parent
a65df1965a
commit
a1e21daff5
|
@ -11,7 +11,6 @@
|
|||
<span class="font-weight-900"><?php $comments->author(); ?></span>
|
||||
<br>
|
||||
<span class="small"><?php $comments->date('F jS, Y'); ?> at <?php $comments->date('h:i a'); ?></span>
|
||||
<!-- <p><?php #$comments->content(); ?></p> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</a>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->is('page')): ?>
|
||||
<a class="badge badge-primary ml-1 mr-1" href="<?php $this->options->siteUrl();?>admin/write-post.php?cid=<?php $this->cid();?>" title="Edit">
|
||||
<a class="badge badge-primary ml-1 mr-1" href="<?php $this->options->siteUrl();?>admin/write-page.php?cid=<?php $this->cid();?>" title="Edit">
|
||||
<i class="far fa-edit"></i>
|
||||
<?php _e('编辑此页'); ?>
|
||||
</a>
|
||||
|
|
24
homepage.php
24
homepage.php
|
@ -57,6 +57,30 @@ $this->need('functions.php'); // 不知道为啥,似乎模版页面不会自
|
|||
<![endif]-->
|
||||
<body>
|
||||
|
||||
<?php if ($this->user->hasLogin()): ?>
|
||||
<nav class="container fixed-bottom p-2 navbar navbar-light">
|
||||
<div>
|
||||
欢迎,<a href="<?php $this->options->profileUrl(); ?>"><?php $this->user->screenName(); ?></a>
|
||||
<a class="badge badge-default ml-1 mr-1" href="<?php $this->options->siteUrl('admin'); ?>" title="Backstage">
|
||||
<i class="fas fa-user-cog"></i>
|
||||
<?php _e('网站后台'); ?>
|
||||
</a>
|
||||
<a class="badge badge-default ml-1 mr-1" href="<?php $this->options->siteUrl('admin/options-theme.php'); ?>" title="Settings">
|
||||
<i class="far fa-cog"></i>
|
||||
<?php _e('主题设置'); ?>
|
||||
</a>
|
||||
<a class="badge badge-default ml-1 mr-1" href="#" onclick="javascript:location.reload();" title="Refresh">
|
||||
<i class="fas fa-redo"></i>
|
||||
<?php _e('刷新'); ?>
|
||||
</a>
|
||||
<a class="badge badge-default ml-1 mr-1" href="<?php $this->options->logoutUrl(); ?>" title="Logout">
|
||||
<i class="fas fa-sign-out-alt"></i>
|
||||
<?php _e('退出'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="flex-container">
|
||||
<header id="header" class="clearfix mb-4">
|
||||
<div class="container">
|
||||
|
|
Loading…
Reference in New Issue