mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-26 08:48:13 +08:00
Re-commit #33
This commit is contained in:
parent
c0aa599016
commit
daa223dcfe
@ -759,6 +759,7 @@ 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>';
|
||||||
|
@ -838,5 +838,12 @@ function optionsframework_options() {
|
|||||||
'id' => 'login_bg',
|
'id' => 'login_bg',
|
||||||
'type' => 'upload');
|
'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;
|
return $options;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user