Compare commits

..

2 Commits

Author SHA1 Message Date
浪子 8afb1934dd 1.2.1 2025-07-19 11:11:55 +08:00
浪子 b73e465a79 1.2.0 2025-07-19 10:09:34 +08:00
2 changed files with 4 additions and 4 deletions

View File

@ -43,9 +43,9 @@
<div>
<?php if(!$this->user->hasLogin()): ?>
<div class="d-inline-block">
<a class="btn btn-primary btn-ssm" href="<?php $this->options->loginUrl(); ?>" title="登录" target="_blank">
<i class="fa fa-right-to-bracket"></i>&nbsp;登录
</a>
<button class="btn btn-primary btn-ssm pk-modal-toggle" type="button" data-once-load="true" data-id="front-login" title="快捷登录" data-url="<?php echo get_correct_url('/login/'); ?>">
<i class="fa fa-right-to-bracket"></i>&nbsp;快捷登录
</button>
</div>
<?php endif; ?>
</div>

View File

@ -75,7 +75,7 @@
</li>
<?php \Widget\Contents\Page\Rows::alloc()->to($pages); ?>
<?php while ($pages->next()): ?>
<li <?php if ($this->is('page', $pages->slug)): ?> class='current-menu-item current_page_item menu-current<?php endif; ?> menu-item menu-item-type-post_type menu-item-object-page '>
<li class="menu-item menu-item-type-post_type menu-item-object-page<?php if ($this->is('page', $pages->slug)) echo ' current-menu-item current_page_item menu-current'; ?>">
<a class='ww'
href="<?php $pages->permalink(); ?>"
title="<?php $pages->title(); ?>">