Project

General

Profile

« Previous | Next » 

Revision 605

Added by thorn almost 17 years ago

fixed some issues with CAPTCHA and ASP: Adjusted baseline of '*' in supplyed fonts to meet baseline of numbers. Added counter to ttf_image generation-loop. Removed now unneeded GD-lib checks. Improved ASP in news-module.

View differences:

save_settings.php
43 43
$comments_page = $admin->add_slashes(str_replace($friendly, $raw, $_POST['comments_page']));
44 44
$commenting = $_POST['commenting'];
45 45
$posts_per_page = $_POST['posts_per_page'];
46
$use_captcha = $_POST['use_captcha'];
46 47
if(extension_loaded('gd') AND function_exists('imageCreateFromJpeg')) {
47 48
	$resize = $_POST['resize'];
48
	$use_captcha = $_POST['use_captcha'];
49 49
} else {
50 50
	$resize = '';
51
	$use_captcha = false;
52 51
}
53 52

  
54 53
// Update settings

Also available in: Unified diff