Project

General

Profile

« Previous | Next » 

Revision 440

Added by Matthias over 17 years ago

Added multilingual support to the search;
Fixed ticket #385;

View differences:

save.php
522 522
	
523 523
	// Search header
524 524
	$search_header = addslashes('
525
<h1>Search</h1>
525
<h1>[TEXT_SEARCH]</h1>
526 526

  
527 527
<form name="search" action="[WB_URL]/search/index[PAGE_EXTENSION]" method="get">
528 528
<table cellpadding="3" cellspacing="0" border="0" width="500">
......
577 577
	$insert_search_results_footer = "INSERT INTO `".TABLE_PREFIX."search` VALUES ('', 'results_footer', '$search_results_footer', '')";
578 578
	$database->query($insert_search_results_footer);
579 579
	// Search no results
580
	$search_no_results = addslashes('<br />No results found');
580
	$search_no_results = addslashes('<br />[TEXT_NO_RESULTS]');
581 581
	$insert_search_no_results = "INSERT INTO `".TABLE_PREFIX."search` VALUES ('', 'no_results', '$search_no_results', '')";
582 582
	$database->query($insert_search_no_results);
583 583
	// Search template

Also available in: Unified diff