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();

2565
style.css

File diff suppressed because it is too large Load Diff