更新
This commit is contained in:
parent
9c9cfb4196
commit
a539f807a0
@ -3,7 +3,7 @@
|
|||||||
/* 获取主题当前版本号 */
|
/* 获取主题当前版本号 */
|
||||||
function _getVersion()
|
function _getVersion()
|
||||||
{
|
{
|
||||||
return "5.4.1";
|
return "5.4.2";
|
||||||
};
|
};
|
||||||
|
|
||||||
/* 判断是否是手机 */
|
/* 判断是否是手机 */
|
||||||
|
@ -186,7 +186,7 @@ function themeConfig($form)
|
|||||||
NULL,
|
NULL,
|
||||||
'2019 - 2020 © Reach - <a href="https://as.js.cn" target="_blank" rel="noopener noreferrer">Joe</a>',
|
'2019 - 2020 © Reach - <a href="https://as.js.cn" target="_blank" rel="noopener noreferrer">Joe</a>',
|
||||||
'自定义底部栏左侧内容(非必填)',
|
'自定义底部栏左侧内容(非必填)',
|
||||||
'介绍:用于修改全站底部左侧内容 <br>
|
'介绍:用于修改全站底部左侧内容(wap端上方) <br>
|
||||||
例如:2019 - 2020 © Reach - Joe '
|
例如:2019 - 2020 © Reach - Joe '
|
||||||
);
|
);
|
||||||
$JFooter_Left->setAttribute('class', 'joe_content joe_global');
|
$JFooter_Left->setAttribute('class', 'joe_content joe_global');
|
||||||
@ -198,7 +198,7 @@ function themeConfig($form)
|
|||||||
'<a href="https://as.js.cn/feed/" target="_blank" rel="noopener noreferrer">RSS</a>
|
'<a href="https://as.js.cn/feed/" target="_blank" rel="noopener noreferrer">RSS</a>
|
||||||
<a href="https://as.js.cn/sitemap.xml" target="_blank" rel="noopener noreferrer" style="margin-left: 15px">MAP</a>',
|
<a href="https://as.js.cn/sitemap.xml" target="_blank" rel="noopener noreferrer" style="margin-left: 15px">MAP</a>',
|
||||||
'自定义底部栏右侧内容(非必填)',
|
'自定义底部栏右侧内容(非必填)',
|
||||||
'介绍:用于修改全站底部右侧内容 <br>
|
'介绍:用于修改全站底部右侧内容(wap端下方) <br>
|
||||||
例如:<a href="/">首页</a> <a href="/">关于</a>'
|
例如:<a href="/">首页</a> <a href="/">关于</a>'
|
||||||
);
|
);
|
||||||
$JFooter_Right->setAttribute('class', 'joe_content joe_global');
|
$JFooter_Right->setAttribute('class', 'joe_content joe_global');
|
||||||
@ -292,6 +292,28 @@ function themeConfig($form)
|
|||||||
$JCustomScript->setAttribute('class', 'joe_content joe_global');
|
$JCustomScript->setAttribute('class', 'joe_content joe_global');
|
||||||
$form->addInput($JCustomScript);
|
$form->addInput($JCustomScript);
|
||||||
|
|
||||||
|
$JCustomHeadEnd = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||||
|
'JCustomHeadEnd',
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
'自定义增加<head></head>里内容(非必填)',
|
||||||
|
'介绍:此处用于在<head></head>标签里增加自定义内容 <br />
|
||||||
|
例如:可以填写引入第三方css、js等等'
|
||||||
|
);
|
||||||
|
$JCustomHeadEnd->setAttribute('class', 'joe_content joe_global');
|
||||||
|
$form->addInput($JCustomHeadEnd);
|
||||||
|
|
||||||
|
$JCustomBodyEnd = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||||
|
'JCustomBodyEnd',
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
'自定义<body></body>末尾位置内容(非必填)',
|
||||||
|
'介绍:此处用于填写在<body></body>标签末尾位置的内容 <br>
|
||||||
|
例如:可以填写引入第三方js脚本等等'
|
||||||
|
);
|
||||||
|
$JCustomBodyEnd->setAttribute('class', 'joe_content joe_global');
|
||||||
|
$form->addInput($JCustomBodyEnd);
|
||||||
|
|
||||||
$JBirthDay = new Typecho_Widget_Helper_Form_Element_Text(
|
$JBirthDay = new Typecho_Widget_Helper_Form_Element_Text(
|
||||||
'JBirthDay',
|
'JBirthDay',
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -37,4 +37,6 @@
|
|||||||
<?php $this->options->JCustomScript() ?>
|
<?php $this->options->JCustomScript() ?>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<?php $this->options->JCustomBodyEnd() ?>
|
||||||
|
|
||||||
<?php $this->footer(); ?>
|
<?php $this->footer(); ?>
|
@ -67,3 +67,4 @@
|
|||||||
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
|
<?php if ($this->options->JCursorEffects && $this->options->JCursorEffects !== 'off') : ?>
|
||||||
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>
|
<script async src="https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/cursor/<?php $this->options->JCursorEffects() ?>"></script>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php $this->options->JCustomHeadEnd() ?>
|
Loading…
Reference in New Issue
Block a user