From 6c657dcb0552fe014fcdd32f3a6998dbe9cd34f0 Mon Sep 17 00:00:00 2001 From: mlge Date: Wed, 2 Jan 2019 03:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=99=BB=E9=99=86=E7=95=8C?= =?UTF-8?q?=E9=9D=A2logo=E8=AE=BE=E7=BD=AE=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加设置选项 --- options.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/options.php b/options.php index 9028452..45f9d96 100644 --- a/options.php +++ b/options.php @@ -668,6 +668,13 @@ function optionsframework_options() { 'name' => __('前台登录', 'options_framework_theme'), 'type' => 'heading' ); + $options[] = array( + 'name' => __('登录logo', 'options_framework_theme'), + 'desc' => __('用于登录界面显示', 'options_framework_theme'), + 'id' => 'logo_img', + 'std' => $imagepath.'mashiro-logo-s.png', + 'type' => 'upload'); + $options[] = array( 'name' => __('指定登录地址', 'options_framework_theme'), 'desc' => __('强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况', 'options_framework_theme'), @@ -860,4 +867,4 @@ function optionsframework_options() { 'type' => 'upload'); return $options; -} \ No newline at end of file +}