Revert " 添加登陆界面logo设置选项"

pull/33/head
Mashiro 2019-01-02 10:46:09 +08:00 committed by GitHub
parent 8650d4c8ff
commit ce5ff08cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 11 deletions

View File

@ -759,7 +759,6 @@ function custom_html() {
$(document).ready(function(){
$( \'<p><div id="verification-slider"><div id="slider"><div id="slider_bg"></div><span id="label">»</span><span id="labelTip">Slide to Verificate</span></div><input type="hidden" name="verification" value="verification" /></div><p>\' ).insertBefore( $( ".submit" ) );
$(\'form\').attr(\'onsubmit\',\'return verificationOK();\');
$(\'a\').attr(\'style\',\'background-image: url('.akina_option('logo_img').'); width: 130px; height: 130px;\');
$(".forgetmenot").replaceWith(\'<p class="forgetmenot">Remember Me<input name="rememberme" id="rememberme" value="forever" type="checkbox"><label for="rememberme" style="float: right;margin-top: 5px;transform: scale(2);margin-right: -10px;"></label></p>\');
});
</script>';

View File

@ -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;*/

View File

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