mirror of https://github.com/vtrois/kratos
refactor: change to GPL-3.0 License
parent
cb7889c671
commit
0e47ac65f8
4
404.php
4
404.php
|
@ -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(); ?>
|
||||
|
|
|
@ -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/).
|
||||
|
|
|
@ -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/) 协议进行授权。
|
||||
|
|
|
@ -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'])) {
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* 核心函数
|
||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||
* @license MIT License
|
||||
* @license GPL-3.0 License
|
||||
* @version 2021.08.20
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
// 标题配置
|
||||
|
|
|
@ -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 = "")
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
// 添加小工具
|
||||
|
|
|
@ -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(); ?>
|
||||
|
|
4
page.php
4
page.php
|
@ -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(); ?>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue