From ed7ecb791be76223682b576af6242134cdca9496 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Tue, 15 May 2007 00:25:27 +0200 Subject: FS#744 (template developers, heed the changes) darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz --- inc/DifferenceEngine.php | 2 +- inc/fulltext.php | 2 +- inc/html.php | 6 +++--- inc/search.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'inc') diff --git a/inc/DifferenceEngine.php b/inc/DifferenceEngine.php index a885b1094..50bc0b79a 100644 --- a/inc/DifferenceEngine.php +++ b/inc/DifferenceEngine.php @@ -847,7 +847,7 @@ class _HWLDF_WordAccumulator { function _flushGroup ($new_tag) { if ($this->_group !== '') { if ($this->_tag == 'mark') - $this->_line .= ''.$this->_group.''; + $this->_line .= ''.$this->_group.''; else $this->_line .= $this->_group; } diff --git a/inc/fulltext.php b/inc/fulltext.php index 4049a753a..7cb1153fb 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -257,7 +257,7 @@ function ft_snippet($id,$poswords){ $m = "\1"; $snippets = preg_replace('#'.$re.'#iu',$m.'$1'.$m,$snippets); - $snippet = preg_replace('#'.$m.'([^'.$m.']*?)'.$m.'#iu','$1',hsc(join('... ',$snippets))); + $snippet = preg_replace('#'.$m.'([^'.$m.']*?)'.$m.'#iu','$1',hsc(join('... ',$snippets))); return $snippet; } diff --git a/inc/html.php b/inc/html.php index fa3e4c95d..3da238f5d 100644 --- a/inc/html.php +++ b/inc/html.php @@ -305,7 +305,7 @@ function html_hilight($html,$query){ function html_hilight_callback($m) { $hlight = unslash($m[0]); if ( !isset($m[2])) { - $hlight = ''.$hlight.''; + $hlight = ''.$hlight.''; } return $hlight; } @@ -654,9 +654,9 @@ function html_list_index($item){ $base = ':'.$item['id']; $base = substr($base,strrpos($base,':')+1); if($item['type']=='d'){ - $ret .= ''; + $ret .= ''; $ret .= $base; - $ret .= ''; + $ret .= ''; }else{ $ret .= html_wikilink(':'.$item['id']); } diff --git a/inc/search.php b/inc/search.php index eac70cd05..eea70f7e0 100644 --- a/inc/search.php +++ b/inc/search.php @@ -465,7 +465,7 @@ function search_regex(&$data,$base,$file,$reg,$words){ htmlspecialchars(utf8_substr($text,$f,$l)). ' ... '; $mark = '('.join('|', $words).')'; - $snippet = preg_replace('#'.$mark.'#si','\\1',$snippet); + $snippet = preg_replace('#'.$mark.'#si','\\1',$snippet); $data[] = array( 'id' => pathID($file), -- cgit v1.2.3