diff --git a/footer.php b/footer.php index fc78699..215ed24 100644 --- a/footer.php +++ b/footer.php @@ -99,7 +99,7 @@ options->beautifyBlock) && in_array('showButterflyClock',$this->options->beautifyBlock)): ?> - + - header('commentReply=1&description=0&keywords=0&generator=0&template=0&pingback=0&xmlrpc=0&wlw=0&rss2=0&rss1=0&antiSpam=0&atom'); ?> options->NewTabLink == 'on'): ?> @@ -171,7 +170,7 @@ function butterfly_swiper_injector_config() { $html=""; for($i=0;$i<$num;$i++){ $this->widget('Widget_Archive@post'.$i, 'pageSize=1&type=post', 'cid='.$cid[$i])->to($ji); -$html=$html.'
'.date('Y-m-d', $ji->modified).''.$ji->title.'
'.mb_substr($ji->content, 20, 40, 'utf-8').'
详情
';}echo $html; +$html=$html.'
'.date('Y-m-d', $ji->modified).''.$ji->title.'
'.$ji->title.'
详情
';}echo $html; ?>
`; // parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错,但不影响使用(支持pjax跳转) diff --git a/functions.php b/functions.php index b2a5a7c..f7c65b4 100644 --- a/functions.php +++ b/functions.php @@ -294,7 +294,7 @@ function themeConfig($form) { 'ShowCategory' => _t('显示分类'), 'ShowTag' => _t('显示标签'), 'ShowArchive' => _t('显示归档'), - 'ShowWebinfo' => _t('显示网站咨询'), + 'ShowWebinfo' => _t('显示网站资讯'), 'ShowOther' => _t('显示其它杂项'), 'ShowMobileSide' => _t('手机端显示侧栏'), 'ShowWeiboHot' => _t('显示微博热搜') @@ -360,8 +360,8 @@ function themeConfig($form) { ); $form->addInput($coverPosition->multiMode()); - $qweather_key = new Typecho_Widget_Helper_Form_Element_Text('qweather_key', NULL, null, _t('和风天气key'),_t('按照教程获取key')); - $gaud_map_key = new Typecho_Widget_Helper_Form_Element_Text('gaud_map_key', NULL, null, _t('高得地图web服务key'), _t('侧栏显示时钟用到的key,同上')); + $qweather_key = new Typecho_Widget_Helper_Form_Element_Text('qweather_key', NULL, null, _t('时钟和风天气key'),_t('按照教程获取key')); + $gaud_map_key = new Typecho_Widget_Helper_Form_Element_Text('gaud_map_key', NULL, null, _t('时钟高得地图web服务key'), _t('侧栏显示时钟用到的key,同上')); $form->addInput($qweather_key); $form->addInput($gaud_map_key); diff --git a/index.php b/index.php index e7b6522..236ebd5 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ * 个人网站 | 主题使用文档 * @package Typecho-Butterfly * @author b站:wehao- - * @version 1.7.1 + * @version 1.7.2 * @link https://space.bilibili.com/34174433 */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; @@ -116,7 +116,7 @@ function ver() {console.log(` # # # # # # # # # # # # ##### #### # # ###### # # # ###### # - 1.7.1 + 1.7.2 =================================================================== `);} \ No newline at end of file