From ce5ff08cfa520c9dfe85550c1c1675d0590209e1 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Wed, 2 Jan 2019 10:46:09 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=20=E6=B7=BB=E5=8A=A0=E7=99=BB?= =?UTF-8?q?=E9=99=86=E7=95=8C=E9=9D=A2logo=E8=AE=BE=E7=BD=AE=E9=80=89?= =?UTF-8?q?=E9=A1=B9"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 1 - inc/login.css | 4 ++-- options.php | 9 +-------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/functions.php b/functions.php index f4306b3..7c357c5 100644 --- a/functions.php +++ b/functions.php @@ -759,7 +759,6 @@ function custom_html() { $(document).ready(function(){ $( \'

»Slide to Verificate

\' ).insertBefore( $( ".submit" ) ); $(\'form\').attr(\'onsubmit\',\'return verificationOK();\'); - $(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); width: 130px; height: 130px;\'); $(".forgetmenot").replaceWith(\'

Remember Me

\'); }); '; diff --git a/inc/login.css b/inc/login.css index 40ac046..05140c1 100644 --- a/inc/login.css +++ b/inc/login.css @@ -34,7 +34,7 @@ body { background:none !important; overflow:hidden;} left:50%; width:350px; padding:0px !important; - margin:-290px 0px 0px -175px !important; + margin:-235px 0px 0px -175px !important; background-position: center 48%; } @@ -234,7 +234,7 @@ input[type=checkbox]:checked:before { padding-left: 40px !important; } -/*验证*/ +/*֤*/ #slider { margin: 0 auto; /*width: 300px;*/ diff --git a/options.php b/options.php index 45f9d96..9028452 100644 --- a/options.php +++ b/options.php @@ -668,13 +668,6 @@ 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'), @@ -867,4 +860,4 @@ function optionsframework_options() { 'type' => 'upload'); return $options; -} +} \ No newline at end of file