Skip to content

Commit 771f22d

Browse files
authored
Merge pull request #4 from LiMingYuGuang/canary
Master merge Canary
2 parents 0280795 + 2f0ac43 commit 771f22d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

functions.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ function themeConfig($form)
5050
),
5151

5252
//Default choose
53-
'1', _t('背景设置'), _t("选择背景方案, 对应填写下方的 '<b>背景颜色 / 图片</b>' 或选择 '<b>渐变样式</b>', 这里默认使用图片背景.")
53+
'0', _t('背景设置'), _t("选择背景方案, 对应填写下方的 '<b>背景颜色 / 图片</b>' 或选择 '<b>渐变样式</b>', 这里默认使用图片背景.")
5454
);
5555
$form->addInput($BGtype);
5656

57-
$bgcolor = new Typecho_Widget_Helper_Form_Element_Text('bgcolor', null, null, _t('背景颜色 / 图片'), _t('背景设置如果选择纯色背景, 这里就填写颜色代码; <br />背景设置如果选择图片背景, 这里就填写图片地址;<br />
57+
$bgcolor = new Typecho_Widget_Helper_Form_Element_Text('bgcolor', null, _t('#F5F5F5'), _t('背景颜色 / 图片'), _t('背景设置如果选择纯色背景, 这里就填写颜色代码; <br />背景设置如果选择图片背景, 这里就填写图片地址;<br />
5858
不填写则默认显示 #F5F5F5 或主题文件夹下的 /img/bg.jpg'));
5959
$form->addInput($bgcolor);
6060

@@ -134,7 +134,7 @@ function themeConfig($form)
134134
$ChromeThemeColor = new Typecho_Widget_Helper_Form_Element_Text('ChromeThemeColor', null, _t('#0097A7'), _t('Android Chrome 地址栏颜色'), null);
135135
$form->addInput($ChromeThemeColor);
136136

137-
$ButtonThemeColor = new Typecho_Widget_Helper_Form_Element_Text('ButtonThemeColor', null, _t('#00838F'), _t('按钮颜色'), null);
137+
$ButtonThemeColor = new Typecho_Widget_Helper_Form_Element_Text('ButtonThemeColor', null, _t('#757575'), _t('按钮颜色'), null);
138138
$form->addInput($ButtonThemeColor);
139139

140140
$avatarURL = new Typecho_Widget_Helper_Form_Element_Text('avatarURL', null, null, '个人头像地址', '填入头像的地址, 如不填写则使用默认头像');
@@ -180,13 +180,13 @@ function themeConfig($form)
180180
);
181181
$form->addInput($footersns);
182182

183-
$TwitterURL = new Typecho_Widget_Helper_Form_Element_Text('TwitterURL', null, _t('NULL'), _t('Twitter 地址'), null);
183+
$TwitterURL = new Typecho_Widget_Helper_Form_Element_Text('TwitterURL', null, null, _t('Twitter 地址'), null);
184184
$form->addInput($TwitterURL);
185185

186-
$FacebookURL = new Typecho_Widget_Helper_Form_Element_Text('FacebookURL', null, _t('NULL'), _t('Facebook 地址'), null);
186+
$FacebookURL = new Typecho_Widget_Helper_Form_Element_Text('FacebookURL', null, null, _t('Facebook 地址'), null);
187187
$form->addInput($FacebookURL);
188188

189-
$GooglePlusURL = new Typecho_Widget_Helper_Form_Element_Text('GooglePlusURL', null, _t('NULL'), _t('Google+ 地址'), null);
189+
$GooglePlusURL = new Typecho_Widget_Helper_Form_Element_Text('GooglePlusURL', null, null, _t('Google+ 地址'), null);
190190
$form->addInput($GooglePlusURL);
191191

192192
$WeiboURL = new Typecho_Widget_Helper_Form_Element_Text('WeiboURL', null, null, _t('新浪微博地址'), null);

0 commit comments

Comments
 (0)