diff --git a/functions.php b/functions.php index 7c357c5..78cabb0 100644 --- a/functions.php +++ b/functions.php @@ -759,6 +759,7 @@ 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/options.php b/options.php index 066e323..140cfe4 100644 --- a/options.php +++ b/options.php @@ -838,5 +838,12 @@ function optionsframework_options() { 'id' => 'login_bg', 'type' => 'upload'); + $options[] = array( + 'name' => __('后台登陆界面logo', 'options_framework_theme'), + 'desc' => __('用于登录界面显示', 'options_framework_theme'), + 'id' => 'logo_img', + 'std' => $imagepath.'mashiro-logo-s.png', + 'type' => 'upload'); + return $options; } \ No newline at end of file