Re-commit #33
This commit is contained in:
parent
c0aa599016
commit
daa223dcfe
|
@ -759,6 +759,7 @@ 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>';
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue