更新
This commit is contained in:
parent
71834710c8
commit
4e82b7cfe9
2
assets/css/joe.census.min.css
vendored
2
assets/css/joe.census.min.css
vendored
File diff suppressed because one or more lines are too long
@ -200,9 +200,9 @@
|
||||
}
|
||||
.panel-body {
|
||||
display: none;
|
||||
padding-left: 20px;
|
||||
padding: 15px 15px 0 15px;
|
||||
li {
|
||||
margin-top: 20px;
|
||||
line-height: 2.5;
|
||||
a {
|
||||
color: var(--routine);
|
||||
&:hover {
|
||||
|
@ -14,9 +14,9 @@
|
||||
|
||||
<head>
|
||||
<?php $this->need('public/include.php'); ?>
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.census.min.css?v=202105211730'); ?>">
|
||||
<link rel="stylesheet" href="<?php $this->options->themeUrl('assets/css/joe.census.min.css?v=20210522'); ?>">
|
||||
<script src="https://cdn.jsdelivr.net/npm/echarts@5.1.1/dist/echarts.min.js"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js?v=202105211730'); ?>"></script>
|
||||
<script src="<?php $this->options->themeUrl('assets/js/joe.census.min.js?v=20210522'); ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -70,6 +70,9 @@ function themeInit($self)
|
||||
case 'article_filing':
|
||||
_getArticleFiling($self);
|
||||
break;
|
||||
case 'article_filing_list':
|
||||
_getArticleFilingList($self);
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "7.0.8";
|
||||
return "7.0.9";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
@ -328,6 +328,8 @@ function _getServerStatus($self)
|
||||
$self->response->throwJson(array(
|
||||
/* 状态 */
|
||||
"status" => $response ? true : false,
|
||||
/* 信息提示 */
|
||||
"message" => $response['msg'] ? $response['msg'] : '无',
|
||||
/* 上行流量KB */
|
||||
"up" => $response["up"] ? $response["up"] : 0,
|
||||
/* 下行流量KB */
|
||||
@ -370,6 +372,7 @@ function _getCommentLately($self)
|
||||
]);
|
||||
}
|
||||
|
||||
/* 获取文章归档 */
|
||||
function _getArticleFiling($self)
|
||||
{
|
||||
header("HTTP/1.1 200 OK");
|
||||
@ -390,7 +393,7 @@ function _getArticleFiling($self)
|
||||
foreach ($temp as $item) {
|
||||
$date = $item['date'];
|
||||
$list = [];
|
||||
$sql = "SELECT * FROM `{$prefix}contents` WHERE created < {$time} AND (password is NULL or password = '') AND status = 'publish' AND type = 'post' AND FROM_UNIXTIME(created, '%Y 年 %m 月') = '{$date}' ORDER BY created DESC";
|
||||
$sql = "SELECT * FROM `{$prefix}contents` WHERE created < {$time} AND (password is NULL or password = '') AND status = 'publish' AND type = 'post' AND FROM_UNIXTIME(created, '%Y 年 %m 月') = '{$date}' ORDER BY created DESC LIMIT 100";
|
||||
$_list = $db->fetchAll($sql);
|
||||
foreach ($_list as $_item) {
|
||||
$type = $_item['type'];
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "typecho-joe-next",
|
||||
"version": "7.0.8",
|
||||
"version": "7.0.9",
|
||||
"description": "A Theme Of Typecho",
|
||||
"main": "index.php",
|
||||
"keywords": [
|
||||
|
Loading…
Reference in New Issue
Block a user