添加登陆界面logo显示

添加设置选项
pull/31/head
mlge 2019-01-02 01:56:25 +08:00 committed by GitHub
parent 5f0f234875
commit f97638c491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -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;
}
}