refactor: change to GPL-3.0 License

pull/409/head^2
Seaton Jiang 2021-08-20 07:45:10 +08:00
parent cb7889c671
commit 0e47ac65f8
No known key found for this signature in database
GPG Key ID: 0E05070D261ACFEA
23 changed files with 1311 additions and 1336 deletions

View File

@ -3,8 +3,8 @@
/**
* 404 模板
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
get_header(); ?>

View File

@ -34,6 +34,6 @@ Detailed changes for each release are documented in the [release notes](https://
## License
The code is available under the [GPL 3.0](https://github.com/vtrois/kratos/blob/main/LICENSE) license.
The code is available under the [GPL-3.0](https://github.com/vtrois/kratos/blob/main/LICENSE) license.
The document is licensed under a [Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License](http://creativecommons.org/licenses/by-nc-nd/4.0/).

View File

@ -42,4 +42,4 @@ Kratos 是一款专注于用户阅读体验的响应式 WordPress 主题,整
## 版权说明
该仓库代码文件使用 [GPL 3.0](https://github.com/vtrois/kratos/blob/main/LICENSE) 协议进行授权,文档文件使用 [署名-非商业性使用-禁止演绎 4.0 国际](http://creativecommons.org/licenses/by-nc-nd/4.0/) 协议进行授权。
该仓库代码文件使用 [GPL-3.0](https://github.com/vtrois/kratos/blob/main/LICENSE) 协议进行授权,文档文件使用 [署名-非商业性使用-禁止演绎 4.0 国际](http://creativecommons.org/licenses/by-nc-nd/4.0/) 协议进行授权。

View File

@ -3,8 +3,8 @@
/**
* 评论模板
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
if (isset($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) {

View File

@ -3,8 +3,8 @@
/**
* 主题页脚
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
?>
<div class="k-footer">

View File

@ -3,8 +3,8 @@
/**
* 模板函数
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
define('THEME_VERSION', '3.3.4');

View File

@ -3,8 +3,8 @@
/**
* 主题页眉
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
?>
<!DOCTYPE html>

View File

@ -3,8 +3,8 @@
/**
* 文章相关函数
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
// 文章链接添加 target 和 rel

View File

@ -3,7 +3,7 @@
/**
* 核心函数
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @license GPL-3.0 License
* @version 2021.08.20
*/

View File

@ -3,8 +3,8 @@
/**
* dogecloud 对象存储
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
if (kratos_option('g_cos', false)) {

View File

@ -3,7 +3,7 @@
/**
* 主题选项
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @license GPL-3.0 License
* @version 2021.08.20
*/
@ -1145,7 +1145,7 @@ CSF::createSection($prefix, array(
),
array(
'type' => 'content',
'content' => __('主题源码使用 <a href="https://github.com/vtrois/kratos/blob/main/LICENSE" target="_blank">GPL 3.0 协议</a> 进行许可,说明文档使用 <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a> 进行许可。', 'kratos'),
'content' => __('主题源码使用 <a href="https://github.com/vtrois/kratos/blob/main/LICENSE" target="_blank">GPL-3.0 协议</a> 进行许可,说明文档使用 <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a> 进行许可。', 'kratos'),
),
array(
'type' => 'subheading',

View File

@ -3,8 +3,8 @@
/**
* 站点相关函数
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
// 标题配置

View File

@ -3,8 +3,8 @@
/**
* 文章短代码
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
function h2title($atts, $content = null, $code = "")

View File

@ -3,8 +3,8 @@
/**
* SMTP 配置
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
if (kratos_option('m_smtp', false)) {

View File

@ -3,8 +3,8 @@
/**
* ImageX 图片服务
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
require_once 'volcengine-imagex/vendor/autoload.php';

View File

@ -3,8 +3,8 @@
/**
* 侧栏小工具
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
// 添加小工具

View File

@ -3,8 +3,8 @@
/**
* 首页模板
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
get_header(); ?>

View File

@ -3,8 +3,8 @@
/**
* 页面模板
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
get_header(); ?>

View File

@ -3,8 +3,8 @@
/**
* 文章列表
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
?>
<div class="article-panel">

View File

@ -3,8 +3,8 @@
/**
* 表情图标
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
$smilies = '
<a href="javascript:grin(\':razz:\')"><img src="' . ASSET_PATH . '/assets/img/smilies/razz.png" alt="" class="d-block"/></a>

View File

@ -3,8 +3,8 @@
/**
* 文章工具栏
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
?>
<div class="toolbar clearfix">

View File

@ -3,8 +3,8 @@
/**
* 文章内容
* @author Seaton Jiang <seatonjiang@vtrois.com>
* @license MIT License
* @version 2021.08.19
* @license GPL-3.0 License
* @version 2021.08.20
*/
get_header();

View File

@ -9,7 +9,7 @@ Tags: 博客, 双栏, 响应式, 自定义背景, 自定义颜色, 自定义图
Author: Seaton Jiang
Author URI: https://www.vtrois.com/
Theme URI: https://github.com/vtrois/kratos
License: MIT License
License: GPL-3.0 License
License URI: https://github.com/vtrois/kratos/blob/main/LICENSE
*/
@ -41,8 +41,7 @@ body {
background: #f5f5f5;
font-weight: 350;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, opensans, Optima,
"Microsoft Yahei", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, opensans, Optima, 'Microsoft Yahei', sans-serif;
line-height: 1.8;
}
@ -318,7 +317,7 @@ button:focus {
border-right: 0;
border-bottom: 0;
border-left: 0;
content: "\e62e";
content: '\e62e';
vertical-align: unset;
font-size: 16px;
font-family: kicon;
@ -696,7 +695,7 @@ ol {
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 4px solid #00a2ff;
content: "";
content: '';
vertical-align: top;
}
@ -917,7 +916,7 @@ ol {
margin-right: 5px;
margin-left: 5px;
color: #71777c;
content: "\B7";
content: '\B7';
}
.k-main .details .article .content {
@ -931,7 +930,7 @@ ol {
.k-main .details .article .content p::after {
clear: both;
display: block;
content: "";
content: '';
}
.k-main .details .article h1,
@ -1101,7 +1100,7 @@ ol {
.k-main .details .article .content .alignright::after {
clear: both;
display: block;
content: "";
content: '';
}
.k-main .details .article .content .alignleft {
@ -1682,15 +1681,7 @@ ol {
padding-top: 4.8px;
}
.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.tool
a
img {
.k-main .details .comments .comment-respond .comment-textarea .text-bar .tool a img {
width: 100%;
}
@ -1711,12 +1702,7 @@ ol {
color: #333333;
}
.k-main
.details
.comments
.comment-respond
.comment-textarea
#cancel-comment-reply-link {
.k-main .details .comments .comment-respond .comment-textarea #cancel-comment-reply-link {
display: inline-block;
padding: 6px 12px;
border: none;
@ -1745,14 +1731,7 @@ ol {
transform-origin: 50% 0;
}
.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.smile
a {
.k-main .details .comments .comment-respond .comment-textarea .text-bar .smile a {
float: left;
display: block;
padding: 4px;
@ -1926,7 +1905,7 @@ ol {
width: 72px;
height: 2px;
background-color: #00a2ff;
content: "";
content: '';
}
.k-main .sidebar .w-tags .item a {
@ -2159,7 +2138,7 @@ ol {
border: 2px solid #00a2ff;
border-radius: 15px;
background-color: #fff;
content: "";
content: '';
}
.k-main .sidebar .w-toc .item .ul-toc::before {
@ -2199,7 +2178,7 @@ ol {
border: 3px solid #fff;
border-radius: 15px;
background: #a7a7a7;
content: "";
content: '';
}
.k-main .sidebar .w-toc .item .li-1::before {
@ -2279,7 +2258,7 @@ ol {
width: 20px;
height: 100%;
background: #ffffff;
content: "";
content: '';
}
.k-main .page404 .overlay:before {
@ -2340,11 +2319,7 @@ ol {
}
.k-main .page404 .content .action .back-index:hover,
.k-main
.page404
.content
.action
.back-index:not(:disabled):not(.disabled):active {
.k-main .page404 .content .action .back-index:not(:disabled):not(.disabled):active {
border-color: #d8dcdf;
background-color: #f6f4f4;
color: #666;