mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-22 23:08:14 +08:00
Revert " 添加登陆界面logo设置选项"
This commit is contained in:
parent
8650d4c8ff
commit
ce5ff08cfa
@ -759,7 +759,6 @@ function custom_html() {
|
|||||||
$(document).ready(function(){
|
$(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" ) );
|
$( \'<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();\');
|
$(\'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>\');
|
$(".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>';
|
</script>';
|
||||||
|
@ -34,7 +34,7 @@ body { background:none !important; overflow:hidden;}
|
|||||||
left:50%;
|
left:50%;
|
||||||
width:350px;
|
width:350px;
|
||||||
padding:0px !important;
|
padding:0px !important;
|
||||||
margin:-290px 0px 0px -175px !important;
|
margin:-235px 0px 0px -175px !important;
|
||||||
background-position: center 48%;
|
background-position: center 48%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -234,7 +234,7 @@ input[type=checkbox]:checked:before {
|
|||||||
padding-left: 40px !important;
|
padding-left: 40px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*验证*/
|
/*ÑéÖ¤*/
|
||||||
#slider {
|
#slider {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
/*width: 300px;*/
|
/*width: 300px;*/
|
||||||
|
@ -668,13 +668,6 @@ function optionsframework_options() {
|
|||||||
'name' => __('前台登录', 'options_framework_theme'),
|
'name' => __('前台登录', 'options_framework_theme'),
|
||||||
'type' => 'heading' );
|
'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(
|
$options[] = array(
|
||||||
'name' => __('指定登录地址', 'options_framework_theme'),
|
'name' => __('指定登录地址', 'options_framework_theme'),
|
||||||
'desc' => __('强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况', 'options_framework_theme'),
|
'desc' => __('强制不使用后台地址登陆,填写新建的登陆页面地址,比如 http://www.xxx.com/login【注意】填写前先测试下你新建的页面是可以正常打开的,以免造成无法进入后台等情况', 'options_framework_theme'),
|
||||||
@ -867,4 +860,4 @@ function optionsframework_options() {
|
|||||||
'type' => 'upload');
|
'type' => 'upload');
|
||||||
|
|
||||||
return $options;
|
return $options;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user