Skip to content

Commit

Permalink
Merge pull request typecho#782 from Seevil/patch-1
Browse files Browse the repository at this point in the history
解决插件注入右上角导航会有两个 | | 出现
  • Loading branch information
joyqi authored Oct 23, 2018
2 parents a6fe58e + a920bff commit ad10000
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions admin/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<?php $menu->output(); ?>
</nav>
<div class="operate">
<?php Typecho_Plugin::factory('admin/menu.php')->navBar(); ?>
<a title="<?php
<?php Typecho_Plugin::factory('admin/menu.php')->navBar(); ?><a title="<?php
if ($user->logged > 0) {
$logged = new Typecho_Date($user->logged);
_e('最后登录: %s', $logged->word());
Expand Down

0 comments on commit ad10000

Please sign in to comment.