Changeset 14527 for extensions/CryptograPHP/admin.php
- Timestamp:
- Apr 29, 2012, 5:04:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/admin.php
r12619 r14527 11 11 'theme' => $_POST['theme'], 12 12 'captcha_type' => $_POST['captcha_type'], 13 'case_sensitive' => $conf['cryptographp']['case_sensitive'], //not used, problem with some fonts13 'case_sensitive' => 'false', //not used, problem with some fonts 14 14 'width' => (int)$_POST['width'], 15 15 'height' => (int)$_POST['height'], … … 30 30 31 31 $presets = array( 32 'bluenoise' => array('perturbation'=>0.25, 'image_bg_color'=>'ffffff', 'text_color'=>'0000ff', 'num_lines'=>2, 'line_color'=>'0000ff', 'noise_level'=>2,'noise_color'=>'0000ff', 'ttf_file'=>'AlteHassGroteskB'),33 'gray' => array('perturbation'=>1,'image_bg_color'=>'ffffff', 'text_color'=>'8a8a8a', 'num_lines'=>2, 'line_color'=>'8a8a8a', 'noise_level'=>0.1, 'noise_color'=>'8a8a8a', 'ttf_file'=>'TopSecret'),34 'xcolor' => array('perturbation'=>0.5, 'image_bg_color'=>'ffffff', 'text_color'=>'random', 'num_lines'=>1, 'line_color'=>'ffffff', 'noise_level'=>2,'noise_color'=>'ffffff', 'ttf_file'=>'Dread'),35 'pencil' => array('perturbation'=>0.8, 'image_bg_color'=>'9e9e9e', 'text_color'=>'363636', 'num_lines'=>0, 'line_color'=>'ffffff', 'noise_level'=>0,'noise_color'=>'ffffff', 'ttf_file'=>'AllStar'),32 'bluenoise' => array('perturbation'=>0.25, 'image_bg_color'=>'ffffff', 'text_color'=>'0000ff', 'num_lines'=>2, 'line_color'=>'0000ff', 'noise_level'=>2, 'noise_color'=>'0000ff', 'ttf_file'=>'AlteHassGroteskB'), 33 'gray' => array('perturbation'=>1, 'image_bg_color'=>'ffffff', 'text_color'=>'8a8a8a', 'num_lines'=>2, 'line_color'=>'8a8a8a', 'noise_level'=>0.1, 'noise_color'=>'8a8a8a', 'ttf_file'=>'TopSecret'), 34 'xcolor' => array('perturbation'=>0.5, 'image_bg_color'=>'ffffff', 'text_color'=>'random', 'num_lines'=>1, 'line_color'=>'ffffff', 'noise_level'=>2, 'noise_color'=>'ffffff', 'ttf_file'=>'Dread'), 35 'pencil' => array('perturbation'=>0.8, 'image_bg_color'=>'9e9e9e', 'text_color'=>'363636', 'num_lines'=>0, 'line_color'=>'ffffff', 'noise_level'=>0, 'noise_color'=>'ffffff', 'ttf_file'=>'AllStar'), 36 36 ); 37 37 … … 67 67 $("input[name=noise_color]").val("'.$param['noise_color'].'"); 68 68 $("input[name=ttf_file]").val(["'.$param['ttf_file'].'"]); 69 70 69 }'; 71 70 }
Note: See TracChangeset
for help on using the changeset viewer.