post_safe('action')=='admazing-save-login') { $custom = array(); $custom['active'] = $Admazing->post_safe('admazingActivateLogin'); //Outer background $custom['obmode']=$Admazing->post_safe('obmode'); $custom['obc1']=$Admazing->post_safe('obc1'); $custom['obc2']=$Admazing->post_safe('obc2'); //Dialog background $custom['dbmode']=$Admazing->post_safe('dbmode'); $custom['dbc1']=$Admazing->post_safe('dbc1'); $custom['dbc2']=$Admazing->post_safe('dbc2'); // Label color $custom['lc']=$Admazing->post_safe('lc'); // Input fields $custom['itc']=$Admazing->post_safe('itc'); $custom['itbg']=$Admazing->post_safe('itbg'); $custom['itbc']=$Admazing->post_safe('itbc'); //Button background $custom['btc']=$Admazing->post_safe('btc'); $custom['btbc']=$Admazing->post_safe('btbc'); $custom['btmode']=$Admazing->post_safe('btmode'); $custom['btc1']=$Admazing->post_safe('btc1'); $custom['btc2']=$Admazing->post_safe('btc2'); //Button background hover $custom['btch']=$Admazing->post_safe('btch'); $custom['btmodeh']=$Admazing->post_safe('btmodeh'); $custom['btc1h']=$Admazing->post_safe('btc1h'); $custom['btc2h']=$Admazing->post_safe('btc2h'); //External link $custom['loc']=$Admazing->post_safe('loc'); $custom['loch']=$Admazing->post_safe('loch'); //Logo $custom['logo']=$Admazing->post_safe('logo'); $custom['url_logo']=$Admazing->post_safe('url_logo'); $AdmazingOptions['login'] = $custom; if ($Admazing->post_safe('admazingResetLogin')=='1') $AdmazingOptions['login'] = $Admazing->defaultLogin; if ($AdmazingOptions['login']['url_logo']=='') $AdmazingOptions['login']['url_logo']=get_bloginfo('url'); update_option('admazing_opts', $AdmazingOptions); echo '

' . __('Options saved','admazing') . '

'; } function gradient_selector($name, $val) { ?>

Login page preview:



/> Customize the WordPress login through Admazing

Main

New logo Default WP logo

Input fields:

Backgrounds

Outer background:

Dialog background:

Login button

Rollover

Outer link

Reset default WP values