mirror of https://github.com/vtrois/kratos
fix: 修复备案号重复输出及优化设置页面
parent
903002b10c
commit
9f1963fcb0
|
@ -55,9 +55,6 @@
|
|||
?>
|
||||
</p>
|
||||
<?php
|
||||
if (kratos_option('s_icp')) {
|
||||
echo '<p><a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">' . kratos_option('s_icp') . '</a></p>';
|
||||
}
|
||||
if (kratos_option('g_performance')) {
|
||||
echo '<p>'. sprintf( '请求次数:%d 次,加载用时:%.3f 秒,内存占用:%.2f MB', get_num_queries(), timer_stop(), memory_get_peak_usage() / 1024 / 1024 ) . '</p>';
|
||||
}
|
||||
|
|
|
@ -45,8 +45,11 @@ CSF::createOptions($prefix, array(
|
|||
'menu_title' => __('主题设置', 'kratos'),
|
||||
'menu_slug' => 'kratos-options',
|
||||
'show_search' => false,
|
||||
'show_bar_menu' => false,
|
||||
'show_all_options' => false,
|
||||
'sticky_header' => false,
|
||||
'enqueue_webfont' => false,
|
||||
'async_webfont' => true,
|
||||
'admin_bar_menu_icon' => 'dashicons-admin-generic',
|
||||
'framework_title' => '主题设置<small style="margin-left:10px">Kratos Pjax Edition v' . THEME_VERSION . '</small>',
|
||||
'theme' => 'light',
|
||||
|
|
Loading…
Reference in New Issue