Project

General

Profile

« Previous | Next » 

Revision 1137

Added by Ruud over 14 years ago

Changed the default searchform name in the installer. (ticket #775)
Fixed the recursive redirect problem when a page is called with a wrong language parm (ticket #780)

View differences:

branches/2.8.x/CHANGELOG
10 10
# = Bugfix
11 11
! = Update/Change
12 12

  
13
------------------------------------- 2.8.1 -------------------------------------
14
22-Aug-2009 Ruud Eisinga
15
# 	Changed the default searchform name in the installer. (ticket #775)
16
#	Fixed the recursive redirect problem when a page is called with a wrong language parm (ticket #780)
13 17
------------------------------------- 2.8.0 -------------------------------------
14 18
14-Aug-2009 Matthias Gallas
15 19
#	Fixed typo in dutch language file (Thanks to Argos)
branches/2.8.x/wb/framework/class.frontend.php
144 144
			// Check if the page language is also the selected language. If not, send headers again.
145 145
			if ($this->page['language']!=LANGUAGE) {
146 146
				if(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { // check if there is an query-string
147
					header('Location: '.$this->page_link($this->page['link']).'?lang='.$this->page['language'].'&'.$_SERVER['QUERY_STRING']);
147
					header('Location: '.$this->page_link($this->page['link']).'?'.$_SERVER['QUERY_STRING'].'&lang='.$this->page['language']);
148 148
				} else {
149 149
					header('Location: '.$this->page_link($this->page['link']).'?lang='.$this->page['language']);
150 150
				}
branches/2.8.x/wb/install/save.php
569 569
	$search_header = addslashes('
570 570
<h1>[TEXT_SEARCH]</h1>
571 571

  
572
<form name="search" action="[WB_URL]/search/index.php" method="get">
572
<form name="searchpage" action="[WB_URL]/search/index.php" method="get">
573 573
<table cellpadding="3" cellspacing="0" border="0" width="500">
574 574
<tr>
575 575
<td>

Also available in: Unified diff