From f15ebfc6e82ba96705a4795003660cabec3c7a93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=98=8E=E4=BD=99=E5=85=89?= Date: Sun, 16 Jul 2017 15:01:17 +0800 Subject: [PATCH 1/4] add(settings) CardElevation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 卡片阴影 设置 --- archive.php | 2 +- functions.php | 3 +++ index.php | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/archive.php b/archive.php index 5908768..a54741e 100644 --- a/archive.php +++ b/archive.php @@ -16,7 +16,7 @@ next()): ?> -
+
options->ThumbnailOption == '1'): ?> diff --git a/functions.php b/functions.php index e571e80..df94e56 100644 --- a/functions.php +++ b/functions.php @@ -137,6 +137,9 @@ function themeConfig($form) $ButtonThemeColor = new Typecho_Widget_Helper_Form_Element_Text('ButtonThemeColor', null, _t('#757575'), _t('按钮颜色'), null); $form->addInput($ButtonThemeColor); + $CardElevation = new Typecho_Widget_Helper_Form_Element_Text('CardElevation', null, _t('2'), _t('卡片阴影,默认为 2'), null); + $form->addInput($CardElevation); + $avatarURL = new Typecho_Widget_Helper_Form_Element_Text('avatarURL', null, null, '个人头像地址', '填入头像的地址, 如不填写则使用默认头像'); $form->addInput($avatarURL); diff --git a/index.php b/index.php index c09cc65..62ba7f3 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@
-
+
options->dailypic)): ?>
@@ -54,7 +54,7 @@
-
+