Browse Source

修改底部日期

pull/145/head
xiaoz 2 years ago
parent
commit
343b5c2949
  1. 2
      templates/admin/footer.php
  2. 2
      templates/default/index.php

2
templates/admin/footer.php

@ -1,6 +1,6 @@
<div class="layui-footer"> <div class="layui-footer">
<!-- 底部固定区域 --> <!-- 底部固定区域 -->
© Copyright 2022.Powered by <a href="https://github.com/helloxz/onenav" rel = "nofollow" target="_blank">OneNav</a>. © Copyright 2023.Powered by <a href="https://www.onenav.top/" rel = "nofollow" target="_blank">OneNav</a>.
</div> </div>
</div> </div>
</body> </body>

2
templates/default/index.php

@ -258,7 +258,7 @@
<!-- 未经作者授权,请勿去掉版权,否则可能影响作者更新代码的积极性或直接放弃维护此项目。 --> <!-- 未经作者授权,请勿去掉版权,否则可能影响作者更新代码的积极性或直接放弃维护此项目。 -->
<footer> <footer>
<?php if(empty( $site['custom_footer']) ){ ?> <?php if(empty( $site['custom_footer']) ){ ?>
© 2022 Powered by <a target = "_blank" href="https://github.com/helloxz/onenav" title = "简约导航/书签管理器" rel = "nofollow">OneNav</a>.The author is <a href="https://www.xiaoz.me/" target="_blank" title = "小z博客">xiaoz.me</a> © 2023 Powered by <a target = "_blank" href="https://github.com/helloxz/onenav" title = "简约导航/书签管理器" rel = "nofollow">OneNav</a>.The author is <a href="https://www.xiaoz.me/" target="_blank" title = "小z博客">xiaoz.me</a>
<?php }else{ <?php }else{
echo $site['custom_footer']; echo $site['custom_footer'];
} ?> } ?>

Loading…
Cancel
Save