更新
This commit is contained in:
parent
486a3ee2c6
commit
510c2b9160
@ -3,7 +3,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "5.5.2";
|
||||
return "5.5.3";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
@ -599,7 +599,7 @@ function themeConfig($form)
|
||||
'JADContent',
|
||||
NULL,
|
||||
NULL,
|
||||
'侧边栏广告(非必填)',
|
||||
'侧边栏广告 - PC',
|
||||
'介绍:用于设置侧边栏广告 <br />
|
||||
格式:广告图片 || 跳转链接 (中间使用两个竖杠分隔)<br />
|
||||
例如:https://cdn.jsdelivr.net/gh/HaoOuBa/Joe@master/assets/thumb/1.jpg || https://as.js.cn <br />
|
||||
@ -607,7 +607,18 @@ function themeConfig($form)
|
||||
);
|
||||
$JADContent->setAttribute('class', 'joe_content joe_aside');
|
||||
$form->addInput($JADContent);
|
||||
|
||||
/* --------------------------------------- */
|
||||
$JCustomAside = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||
'JCustomAside',
|
||||
NULL,
|
||||
NULL,
|
||||
'自定义侧边栏模块 - PC',
|
||||
'介绍:用于自定义侧边栏模块 <br />
|
||||
格式:请填写前端代码,不会写请勿填写 <br />
|
||||
例如:您可以在此处添加一个搜索框、时间、宠物、恋爱计时等等'
|
||||
);
|
||||
$JCustomAside->setAttribute('class', 'joe_content joe_aside');
|
||||
$form->addInput($JCustomAside);
|
||||
|
||||
|
||||
$JThumbnail = new Typecho_Widget_Helper_Form_Element_Textarea(
|
||||
|
@ -34,6 +34,9 @@
|
||||
<div class="joe_aside__item-contain"></div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->options->JCustomAside) : ?>
|
||||
<section class="joe_aside__item"><?php $this->options->JCustomAside() ?></section>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->options->JAside_Hot_Num && $this->options->JAside_Hot_Num !== 'off') : ?>
|
||||
<section class="joe_aside__item hot">
|
||||
<div class="joe_aside__item-title">
|
||||
|
Loading…
Reference in New Issue
Block a user