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:

view.php
341 341
		
342 342
		// Print comments footer
343 343
		echo str_replace('[ADD_COMMENT_URL]', WB_URL.'/modules/news/comment.php?id='.POST_ID.'&sid='.$section_id, $setting_comments_footer);
344
		
345
		if(ENABLED_ASP) {
346
			$_SESSION['comes_from_view'] = true;
347
			$_SESSION['comes_from_view_time'] = time();
348
		}
349 344
	}
350
		
345
	if(ENABLED_ASP) {
346
		$_SESSION['comes_from_view'] = POST_ID;
347
		$_SESSION['comes_from_view_time'] = time();
348
	}
351 349
}
352 350

  
353 351
?>

Also available in: Unified diff