Project

General

Profile

« Previous | Next » 

Revision 892

Added by Matthias over 15 years ago

replaced in news modul special chars with entities to get valid output;
changed SESSION ID Separator from '&' to '&' to get valid output
Removed the <p> tag around the news as it is added from the editor
set version to 2.8 BETA

View differences:

comment_page.php
29 29
	exit(0);
30 30
}
31 31

  
32
//overwrite php.ini on Apache servers for valid SESSION ID Separator
33
if(function_exists('ini_set')) {
34
	ini_set('arg_separator.output', '&amp;');
35
}
36

  
32 37
// check if frontend.css file needs to be included into the <body></body> of page
33 38
if ( (!function_exists('register_frontend_modfiles') || !defined('MOD_FRONTEND_CSS_REGISTERED')) && file_exists(WB_PATH .'/modules/news/frontend.css')) {
34 39
	echo '<style type="text/css">';
......
49 54
	// Print comments page
50 55
	echo str_replace('[POST_TITLE]', POST_TITLE, ($settings['comments_page']));
51 56
	?>
52
	<form name="comment" action="<?php echo WB_URL.'/modules/news/submit_comment.php?page_id='.PAGE_ID.'&section_id='.SECTION_ID.'&post_id='.POST_ID; ?>" method="post">
57
	<form name="comment" action="<?php echo WB_URL.'/modules/news/submit_comment.php?page_id='.PAGE_ID.'&amp;section_id='.SECTION_ID.'&amp;post_id='.POST_ID; ?>" method="post">
53 58
	<?php if(ENABLED_ASP) { // add some honeypot-fields
54 59
	?>
55 60
	<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />

Also available in: Unified diff