Project

General

Profile

« Previous | Next » 

Revision 941

Added by aldus almost 16 years ago

add additional tr and td tags to the text_no_results message to get valid XHTML output if the search produce no matches

View differences:

save.php
617 617
	$insert_search_results_footer = "INSERT INTO `".TABLE_PREFIX."search` VALUES ('', 'results_footer', '$search_results_footer', '')";
618 618
	$database->query($insert_search_results_footer);
619 619
	// Search no results
620
	$search_no_results = addslashes('<br />[TEXT_NO_RESULTS]');
620
	$search_no_results = addslashes('<tr><td><p>[TEXT_NO_RESULTS]</p></td></tr>');
621 621
	$insert_search_no_results = "INSERT INTO `".TABLE_PREFIX."search` VALUES ('', 'no_results', '$search_no_results', '')";
622 622
	$database->query($insert_search_no_results);
623 623
	// Search module-order

Also available in: Unified diff